# HG changeset patch # User lana # Date 1366125101 25200 # Node ID a5e7c2f093c9996ab3419db1565094a07b059e9c # Parent 26c840af77209315548d5345e217afbed4f6f316# Parent 0989ad8c0860a35222f2c1f13ad16a35f9fe4073 Merge diff -r 26c840af7720 -r a5e7c2f093c9 makefiles/BuildJaxws.gmk --- a/makefiles/BuildJaxws.gmk Thu Apr 11 09:40:09 2013 -0700 +++ b/makefiles/BuildJaxws.gmk Tue Apr 16 08:11:41 2013 -0700 @@ -55,7 +55,8 @@ BIN:=$(JAXWS_OUTPUTDIR)/jaxws_classes,\ COPY:=.xsd,\ COPY_FILES:=$(JAXWS_TOPDIR)/src/share/jaxws_classes/com/sun/tools/internal/xjc/runtime/JAXBContextFactory.java \ - $(JAXWS_TOPDIR)/src/share/jaxws_classes/com/sun/tools/internal/xjc/runtime/ZeroOneBooleanAdapter.java,\ + $(JAXWS_TOPDIR)/src/share/jaxws_classes/com/sun/tools/internal/xjc/runtime/ZeroOneBooleanAdapter.java \ + $(JAXWS_TOPDIR)/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws-tubes-default.xml,\ ADD_JAVAC_FLAGS=-cp $(OUTPUT_ROOT)/jaxp/dist/lib/classes.jar)) $(JAXWS_OUTPUTDIR)/jaxws_classes/META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin: \ @@ -98,7 +99,7 @@ $(eval $(call SetupArchive,ARCHIVE_JAXWS,$(BUILD_JAXWS) $(BUILD_JAF) $(TARGET_PROP_FILES),\ SRCS:=$(JAXWS_OUTPUTDIR)/jaxws_classes $(JAXWS_OUTPUTDIR)/jaf_classes,\ - SUFFIXES:=.class .properties .xsd .java \ + SUFFIXES:=.class .properties .xsd .xml .java \ com.sun.mirror.apt.AnnotationProcessorFactory \ com.sun.tools.internal.xjc.Plugin,\ JAR:=$(JAXWS_OUTPUTDIR)/dist/lib/classes.jar)) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/EnvelopeStyle.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/EnvelopeStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,126 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +import javax.xml.ws.http.HTTPBinding; +import javax.xml.ws.soap.SOAPBinding; +import javax.xml.ws.spi.WebServiceFeatureAnnotation; + +/** + * The EnvelopeStyle annotation is used to specify the message envelope style(s) + * for a web service endpoint implementation class. To smooth the migration from + * the BindingType annotation to this EnvelopeStyle annotation, each of the + * styles is mapped to a binding identifier defined in JAX-WS specification. + * Though a binding identifier includes both the envelope style and transport, + * an envelope style defined herein does NOT imply or mandate any transport protocol + * to be use together; HTTP is the default transport. An implementation may + * chose to support other transport with any of the envelope styles. + * + * This annotation may be overriden programmatically or via deployment + * descriptors, depending on the platform in use. + * + * @author shih-chang.chen@oracle.com + */ +@WebServiceFeatureAnnotation(id="", bean=com.oracle.webservices.internal.api.EnvelopeStyleFeature.class) +@Retention(RetentionPolicy.RUNTIME) +public @interface EnvelopeStyle { + + /** + * The envelope styles. If not specified, the default is the SOAP 1.1. + * + * @return The enveloping styles + */ + Style[] style() default { Style.SOAP11 }; + + public enum Style { + + /** + * SOAP1.1. For JAX-WS, this is mapped from: + * javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING + */ + SOAP11(SOAPBinding.SOAP11HTTP_BINDING), + + /** + * SOAP1.2. For JAX-WS, this is mapped from: + * javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING + */ + SOAP12(SOAPBinding.SOAP12HTTP_BINDING), + + /** + * The raw XML. For JAX-WS, this is mapped from: + * javax.xml.ws.http.HTTPBinding.HTTP_BINDING + */ + XML(HTTPBinding.HTTP_BINDING); + + /** + * The BindingID used by the BindingType annotation. + */ + public final String bindingId; + + private Style(String id) { + bindingId = id; + } + + /** + * Checks if the style is SOAP 1.1. + * + * @return true if the style is SOAP 1.1. + */ + public boolean isSOAP11() { return this.equals(SOAP11); } + + /** + * Checks if the style is SOAP 1.2. + * + * @return true if the style is SOAP 1.2. + */ + public boolean isSOAP12() { return this.equals(SOAP12); } + + /** + * Checks if the style is XML. + * + * @return true if the style is XML. + */ + public boolean isXML() { return this.equals(XML); } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/EnvelopeStyleFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/EnvelopeStyleFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api; + +import javax.xml.ws.WebServiceFeature; + +public class EnvelopeStyleFeature extends WebServiceFeature { + + private EnvelopeStyle.Style[] styles; + + public EnvelopeStyleFeature(EnvelopeStyle.Style... s) { + styles = s; + } + + public EnvelopeStyle.Style[] getStyles() { + return styles; + } + + public String getID() { + return EnvelopeStyleFeature.class.getName(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/Databinding.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/Databinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,262 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.lang.reflect.Method; +import java.net.URL; + +import javax.xml.namespace.QName; +import javax.xml.transform.Source; +import javax.xml.ws.WebServiceFeature; + +import org.xml.sax.EntityResolver; + +import com.oracle.webservices.internal.api.message.MessageContext; + +/** + * {@code Databinding} is the entry point for all the WebService Databinding + * functionality. Primarily, a Databinding is to serialize/deserialize an + * XML(SOAP) message to/from a JAVA method invocation and return which are + * represented as JavaCallInfo instances. A WSDLGenerator can + * be created from a Databinding object to genreate WSDL representation of + * a JAVA service endpoint interface. + *

+ *

+ * The supported databinding modes(flavors) are: + * + *
Following is an example that creates a {@code Databinding} which + * provides the operations to serialize/deserialize a JavaCallInfo to/from a + * SOAP message:
+ * + *
+ * DatabindingFactory factory = DatabindingFactory.newInstance();
+ * Databinding.Builder builder = factory.createBuilder(seiClass, endpointClass);
+ * Databinding databinding = builder.build();
+ * 
+ * + *
+ * + * @see com.oracle.webservices.internal.api.databinding.DatabindingFactory + * + * @author shih-chang.chen@oracle.com + */ +public interface Databinding { + + /** + * Creates a new instance of a JavaCallInfo. + * + * @param method The JAVA method + * @param args The parameter objects + * + * @return New instance of a JavaCallInfo + */ + JavaCallInfo createJavaCallInfo(Method method, Object[] args); + + /** + * Serializes a JavaCallInfo instance representing a JAVA method call to a + * request XML(SOAP) message. + * + * @param call The JavaCallInfo representing a method call + * + * @return The request XML(SOAP) message + */ + MessageContext serializeRequest(JavaCallInfo call); + + /** + * Deserializes a response XML(SOAP) message to a JavaCallInfo instance + * representing the return value or exception of a JAVA method call. + * + * @param message The response message + * @param call The JavaCallInfo instance to be updated + * + * @return The JavaCallInfo updated with the return value or exception of a + * JAVA method call + */ + JavaCallInfo deserializeResponse(MessageContext message, JavaCallInfo call); + + /** + * Deserializes a request XML(SOAP) message to a JavaCallInfo instance + * representing a JAVA method call. + * + * @param message The request message + * + * @return The JavaCallInfo representing a method call + */ + JavaCallInfo deserializeRequest(MessageContext message); + + /** + * Serializes a JavaCallInfo instance representing the return value or + * exception of a JAVA method call to a response XML(SOAP) message. + * + * @param call The JavaCallInfo representing the return value or exception + * of a JAVA method call + * + * @return The response XML(SOAP) message + */ + MessageContext serializeResponse(JavaCallInfo call); + + /** + * Gets the MessageContextFactory + * + * @return The MessageContextFactory + */ +//Wait for WLS/src1212 - wls.jaxrpc wrapper +// MessageContextFactory getMessageContextFactory(); + + /** + * {@code Databinding.Builder}, created from the DatabindingFactory, is used to + * configure how a Databinding instance is to be built from this builder. + * + * @see com.oracle.webservices.internal.api.databinding.DatabindingFactory + * @author shih-chang.chen@oracle.com + */ + public interface Builder { + + /** + * Sets the targetNamespace of the WSDL + * + * @param targetNamespace The targetNamespace to set + * + * @return this Builder instance + */ + Builder targetNamespace(String targetNamespace); + + /** + * Sets the service name of the WSDL + * + * @param serviceName The serviceName to set + * + * @return this Builder instance + */ + Builder serviceName(QName serviceName); + + /** + * Sets the port name of the WSDL + * + * @param portName The portName to set + * + * @return this Builder instance + */ + Builder portName(QName portName); + + /** + * @deprecated - no replacement - this was never implemented + * + * Sets the WSDL URL where the WSDL can be read from + * + * @param wsdlURL The wsdlURL to set + * + * @return this Builder instance + */ + Builder wsdlURL(URL wsdlURL); + + /** + * @deprecated - no replacement - this was never implemented + * + * Sets the WSDL Source where the WSDL can be read from + * + * @param wsdlSource The wsdlSource to set + * + * @return this Builder instance + */ + Builder wsdlSource(Source wsdlSource); + + /** + * @deprecated - no replacement - this was never implemented + * + * Sets the {@link EntityResolver} for reading the WSDL + * + * @param entityResolver The {@link EntityResolver} to set + * + * @return this Builder instance + */ + Builder entityResolver(EntityResolver entityResolver); + + /** + * Sets the ClassLoader which is used to load the service endpoint + * interface, implementation bean, and all the value types. If this + * value is not set, the default it uses contractClass.getClassLoader(). + * + * @param classLoader The classLoader to set + * + * @return this Builder instance + */ + Builder classLoader(ClassLoader classLoader); + + /** + * Sets A list of WebServiceFeatures + * + * @param features The list of WebServiceFeatures + * + * @return this Builder instance + */ + Builder feature(WebServiceFeature... features); + + /** + * Sets A property of the Databinding object to be created + * + * @param name The name of the property + * @param value The value of the property + * + * @return this Builder instance + */ + Builder property(String name, Object value); + + /** + * Builds a new Databinding instance + * + * @return The Builder instance + */ + Databinding build(); + + /** + * Creates the WSDLGenerator which can be used to generate the WSDL + * representation of the service endpoint interface of this Databinding + * object. + * + * @return WSDLGenerator The WSDLGenerator + */ + com.oracle.webservices.internal.api.databinding.WSDLGenerator createWSDLGenerator(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,120 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.util.Map; + +/** + * {@code DatabindingFactory} is the entry point of all the WebService + * Databinding APIs. A DatabindingFactory instance can be used to create + * Databinding.Builder instances, and Databinding.Builder + * instances are used to configure and build Databinding instances. + *

+ *

+ *
+ * Following is an example that creates a {@code Databinding} which provides the + * operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
+ *
+ * DatabindingFactory factory = DatabindingFactory.newInstance();
+ * Databinding.Builder builder = factory.createBuilder(seiClass, endpointClass);
+ * Databinding databinding = builder.build();
+ * 
+ *
+ * + * @see com.oracle.webservices.internal.api.databinding.Databinding + * + * @author shih-chang.chen@oracle.com + */ +public abstract class DatabindingFactory { + + /** + * Creates a new instance of a Databinding.Builder which is + * initialized with the specified contractClass and endpointClass. The most + * importance initial states of a Builder object is the contract class which + * is also called "service endpoint interface" or "SEI" in JAX-WS and JAX-RPC, + * and the implementation bean class (endpointClass). The the implementation + * bean class (endpointClass) should be null if the Builder is to create + * the client side proxy databinding. + * + * @param contractClass The service endpoint interface class + * @param endpointClass The service implementation bean class + * + * @return New instance of a Databinding.Builder + */ + abstract public Databinding.Builder createBuilder(Class contractClass, Class endpointClass); + + /** + * Access properties on the DatabindingFactory instance. + * + * @return properties of this WsFactory + */ + abstract public Map properties(); + + /** + * The default implementation class name. + */ + static final String ImplClass = "com.sun.xml.internal.ws.db.DatabindingFactoryImpl"; + + /** + * Create a new instance of a DatabindingFactory. This static method + * creates a new factory instance. + * + * Once an application has obtained a reference to a DatabindingFactory + * it can use the factory to obtain and configure a Databinding.Builder + * to build a Databinding instances. + * + * @return New instance of a DatabindingFactory + */ + static public DatabindingFactory newInstance() { + try { + Class cls = Class.forName(ImplClass); + return convertIfNecessary(cls); + } catch (Exception e) { + e.printStackTrace(); + } + return null; + } + + @SuppressWarnings("deprecation") + private static DatabindingFactory convertIfNecessary(Class cls) throws InstantiationException, IllegalAccessException { + return (DatabindingFactory) cls.newInstance(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingMode.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingMode.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,52 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +import javax.xml.ws.spi.WebServiceFeatureAnnotation; + +@WebServiceFeatureAnnotation(id="", bean=com.oracle.webservices.internal.api.databinding.DatabindingModeFeature.class) +@Retention(RetentionPolicy.RUNTIME) +public @interface DatabindingMode { + String value(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingModeFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/DatabindingModeFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,92 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.util.HashMap; +import java.util.Map; + +import javax.xml.ws.WebServiceFeature; + +public class DatabindingModeFeature extends WebServiceFeature { + /** + * Constant value identifying the DatabindingFeature + */ + static public final String ID = "http://jax-ws.java.net/features/databinding"; + + static public final String GLASSFISH_JAXB = "glassfish.jaxb"; + + //These constants should be defined in the corresponding plugin package +// static public final String ECLIPSELINK_JAXB = "eclipselink.jaxb"; +// static public final String ECLIPSELINK_SDO = "eclipselink.sdo"; +// static public final String TOPLINK_JAXB = "toplink.jaxb"; +// static public final String TOPLINK_SDO = "toplink.sdo"; + + private String mode; + private Map properties; + + public DatabindingModeFeature(String mode) { + super(); + this.mode = mode; + properties = new HashMap(); + } + + public String getMode() { + return mode; + } + + public String getID() { + return ID; + } + + public Map getProperties() { + return properties; + } + + public static Builder builder() { return new Builder(new DatabindingModeFeature(null)); } + + public final static class Builder { + final private DatabindingModeFeature o; + Builder(final DatabindingModeFeature x) { o = x; } + public DatabindingModeFeature build() { return o; } +// public DatabindingModeFeature build() { return (DatabindingModeFeature) FeatureValidator.validate(o); } + public Builder value(final String x) { o.mode = x; return this; } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/ExternalMetadataFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/ExternalMetadataFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,172 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import com.sun.xml.internal.ws.api.databinding.MetadataReader; +import com.sun.xml.internal.ws.model.ExternalMetadataReader; + +import javax.xml.ws.WebServiceFeature; +import java.io.File; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +/** + * WebServiceFeature allowing to define either on server or client side external xml descriptors replacing/supplementing + * WS metadata provided by class annotations. This can be useful if those annotations are missing (existing non-WS + * components) or if it is necessary to override those. + * + * @author Miroslav Kos (miroslav.kos at oracle.com) + */ +public class ExternalMetadataFeature extends WebServiceFeature { + + private static final String ID = "com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature"; + + /** + * Enable this feature. Defaults to true. + */ + private boolean enabled = true; + + private List resourceNames; + private List files; + + private ExternalMetadataFeature() { + } + + public void addResources(String... resourceNames) { + if (this.resourceNames == null) { + this.resourceNames = new ArrayList(); + } + Collections.addAll(this.resourceNames, resourceNames); + } + + public List getResourceNames() { return resourceNames; } + + public void addFiles(File... files) { + if (this.files == null) { + this.files = new ArrayList(); + } + Collections.addAll(this.files, files); + } + + public List getFiles() { return files; } + + public boolean isEnabled() { + return enabled; + } + + private void setEnabled(final boolean x) { + enabled = x; + } + + @Override + public String getID() { + return ID; + } + + public MetadataReader getMetadataReader(ClassLoader classLoader, boolean disableSecureXmlProcessing) { + return enabled ? new ExternalMetadataReader(files, resourceNames, classLoader, true, disableSecureXmlProcessing) : null; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + + ExternalMetadataFeature that = (ExternalMetadataFeature) o; + + if (enabled != that.enabled) return false; + if (files != null ? !files.equals(that.files) : that.files != null) return false; + if (resourceNames != null ? !resourceNames.equals(that.resourceNames) : that.resourceNames != null) + return false; + + return true; + } + + @Override + public int hashCode() { + int result = (enabled ? 1 : 0); + result = 31 * result + (resourceNames != null ? resourceNames.hashCode() : 0); + result = 31 * result + (files != null ? files.hashCode() : 0); + return result; + } + + @Override + public String toString() { + return "[" + getID() + + ", enabled=" + enabled + + ", resourceNames=" + resourceNames + + ", files=" + files + + ']'; + } + + public static Builder builder() { + return new Builder(new ExternalMetadataFeature()); + } + + public final static class Builder { + final private ExternalMetadataFeature o; + + Builder(final ExternalMetadataFeature x) { + o = x; + } + + public ExternalMetadataFeature build() { + return o; + } + + public Builder addResources(String... res) { + o.addResources(res); + return this; + } + + public Builder addFiles(File... files) { + o.addFiles(files); + return this; + } + + public Builder setEnabled(boolean enabled) { + o.setEnabled(enabled); + return this; + } + + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/JavaCallInfo.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/JavaCallInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,123 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.lang.reflect.Method; + +/** + * On the client or service-requestor side, a JavaCallInfo object represents a + * method call on the service proxy to be serialized as a SOAP request message + * to be sent to the service. A SOAP response message returned to the service + * client is deserialized as an update to the JavaCallInfo object which is used + * to generated the request. + *

+ *

+ * On the server or service provider side, a SOAP request message is + * deserialized to a JavaCallInfo object which can be used to determine which + * method to call, and get the parameter values to call the back-end service + * implementation object. The return value or exception returned from the + * service implementation should be set to the JavaCallInfo object which then + * can be used to serialize to a A SOAP response or fault message to be sent + * back to the service client. + * + * @author shih-chang.chen@oracle.com + */ +public interface JavaCallInfo { + + /** + * Gets the method of this JavaCallInfo + * + * @return the method + */ + public Method getMethod(); + +// /** +// * Sets the method of this JavaCallInfo +// * +// * @param method The method to set +// */ +// public void setMethod(Method method); + + /** + * Gets the parameters of this JavaCallInfo + * + * @return The parameters + */ + public Object[] getParameters(); + +// /** +// * Sets the parameters of this JavaCallInfo +// * +// * @param parameters +// * the parameters to set +// */ +// public void setParameters(Object[] parameters); + + /** + * Gets the returnValue of this JavaCallInfo + * + * @return the returnValue + */ + public Object getReturnValue(); + + /** + * Sets the returnValue of this JavaCallInfo + * + * @param returnValue + * the returnValue to set + */ + public void setReturnValue(Object returnValue); + + /** + * Gets the exception of this JavaCallInfo + * + * @return the exception + */ + public Throwable getException(); + + /** + * Sets the exception of this JavaCallInfo + * + * @param exception + * the exception to set + */ + public void setException(Throwable exception); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/WSDLGenerator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/WSDLGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,88 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import java.io.File; + +/** + * WSDLGenerator is used to generate the WSDL representation of the service + * endpoint interface of the parent Databinding object. + */ +public interface WSDLGenerator { + + /** + * Sets the inlineSchema boolean. When the inlineSchema is true, the + * generated schema documents are embedded within the type element of + * the generated WSDL. When the inlineSchema is false, the generated + * schema documents are generated as standalone schema documents and + * imported into the generated WSDL. + * + * @param inline the inlineSchema boolean. + * @return + */ + WSDLGenerator inlineSchema(boolean inline); + + /** + * Sets A property of the WSDLGenerator + * + * @param name The name of the property + * @param value The value of the property + * + * @return this WSDLGenerator instance + */ + WSDLGenerator property(String name, Object value); + + /** + * Generates the WSDL using the wsdlResolver to output the generated + * documents. + * + * @param wsdlResolver The WSDLResolver + */ + void generate(com.oracle.webservices.internal.api.databinding.WSDLResolver wsdlResolver); + + /** + * Generates the WSDL into the file directory + * + * @param outputDir The output file directory + * @param name The file name of the main WSDL document + */ + void generate(File outputDir, String name); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/WSDLResolver.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding/WSDLResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,88 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.databinding; + +import javax.xml.transform.Result; +import javax.xml.ws.Holder; + +/** + * WSDLResolver is used by WSDLGenerator while generating WSDL and its associated + * documents. It is used to control what documents need to be generated and what + * documents need to be picked from metadata. If endpont's document metadata + * already contains some documents, their systemids may be used for wsdl:import, + * and schema:import. The suggested filenames are relative urls(for e.g: EchoSchema1.xsd) + * The Result object systemids are also relative urls(for e.g: AbsWsdl.wsdl). + * + * @author Jitendra Kotamraju + */ +public interface WSDLResolver { + /** + * Create a Result object into which concrete WSDL is to be generated. + * + * @return Result for the concrete WSDL + */ + public Result getWSDL(String suggestedFilename); + + /** + * Create a Result object into which abstract WSDL is to be generated. If the the + * abstract WSDL is already in metadata, it is not generated. + * + * Update filename if the suggested filename need to be changed in wsdl:import. + * This needs to be done if the metadata contains abstract WSDL, and that systemid + * needs to be reflected in concrete WSDL's wsdl:import + * + * @return null if abstract WSDL need not be generated + */ + public Result getAbstractWSDL(Holder filename); + + /** + * Create a Result object into which schema doc is to be generated. Typically if + * there is a schema doc for namespace in metadata, then it is not generated. + * + * Update filename if the suggested filename need to be changed in xsd:import. This + * needs to be done if the metadata contains the document, and that systemid + * needs to be reflected in some other document's xsd:import + * + * @return null if schema need not be generated + */ + public Result getSchemaOutput(String namespace, Holder filename); + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/BaseDistributedPropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/BaseDistributedPropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,323 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.client.RequestContext; +import com.sun.xml.internal.ws.client.ResponseContext; + +import javax.xml.ws.WebServiceContext; + +import java.util.AbstractMap; +import java.util.Map.Entry; +import java.util.HashSet; +import java.util.IdentityHashMap; +import java.util.Map; +import java.util.Set; + +/** + * {@link PropertySet} that combines properties exposed from multiple + * {@link PropertySet}s into one. + * + *

+ * This implementation allows one {@link PropertySet} to assemble + * all properties exposed from other "satellite" {@link PropertySet}s. + * (A satellite may itself be a {@link DistributedPropertySet}, so + * in general this can form a tree.) + * + *

+ * This is useful for JAX-WS because the properties we expose to the application + * are contributed by different pieces, and therefore we'd like each of them + * to have a separate {@link PropertySet} implementation that backs up + * the properties. For example, this allows FastInfoset to expose its + * set of properties to {@link RequestContext} by using a strongly-typed fields. + * + *

+ * This is also useful for a client-side transport to expose a bunch of properties + * into {@link ResponseContext}. It simply needs to create a {@link PropertySet} + * object with methods for each property it wants to expose, and then add that + * {@link PropertySet} to {@link Packet}. This allows property values to be + * lazily computed (when actually asked by users), thus improving the performance + * of the typical case where property values are not asked. + * + *

+ * A similar benefit applies on the server-side, for a transport to expose + * a bunch of properties to {@link WebServiceContext}. + * + *

+ * To achieve these benefits, access to {@link DistributedPropertySet} is slower + * compared to {@link PropertySet} (such as get/set), while adding a satellite + * object is relatively fast. + * + * @author Kohsuke Kawaguchi + */ +public abstract class BaseDistributedPropertySet extends BasePropertySet implements DistributedPropertySet { + + /** + * All {@link PropertySet}s that are bundled into this {@link PropertySet}. + */ + private final Map, PropertySet> satellites + = new IdentityHashMap, PropertySet>(); + + private final Map viewthis; + + public BaseDistributedPropertySet() { + this.viewthis = super.createView(); + } + + @Override + public void addSatellite(@NotNull PropertySet satellite) { + addSatellite(satellite.getClass(), satellite); + } + + @Override + public void addSatellite(@NotNull Class keyClass, @NotNull PropertySet satellite) { + satellites.put(keyClass, satellite); + } + + @Override + public void removeSatellite(PropertySet satellite) { + satellites.remove(satellite.getClass()); + } + + public void copySatelliteInto(@NotNull DistributedPropertySet r) { + for (Map.Entry, PropertySet> entry : satellites.entrySet()) { + r.addSatellite(entry.getKey(), entry.getValue()); + } + } + + @Override + public void copySatelliteInto(MessageContext r) { + copySatelliteInto((DistributedPropertySet)r); + } + + @Override + public @Nullable T getSatellite(Class satelliteClass) { + T satellite = (T) satellites.get(satelliteClass); + if (satellite != null) { + return satellite; + } + + for (PropertySet child : satellites.values()) { + if (satelliteClass.isInstance(child)) { + return satelliteClass.cast(child); + } + + if (DistributedPropertySet.class.isInstance(child)) { + satellite = DistributedPropertySet.class.cast(child).getSatellite(satelliteClass); + if (satellite != null) { + return satellite; + } + } + } + return null; + } + + @Override + public Map, com.oracle.webservices.internal.api.message.PropertySet> getSatellites() { + return satellites; + } + + @Override + public Object get(Object key) { + // check satellites + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return child.get(key); + } + } + + // otherwise it must be the master + return super.get(key); + } + + @Override + public Object put(String key, Object value) { + // check satellites + for (PropertySet child : satellites.values()) { + if(child.supports(key)) { + return child.put(key,value); + } + } + + // otherwise it must be the master + return super.put(key,value); + } + + @Override + public boolean containsKey(Object key) { + if (viewthis.containsKey(key)) + return true; + for (PropertySet child : satellites.values()) { + if (child.containsKey(key)) { + return true; + } + } + return false; + } + + @Override + public boolean supports(Object key) { + // check satellites + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return true; + } + } + + return super.supports(key); + } + + @Override + public Object remove(Object key) { + // check satellites + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return child.remove(key); + } + } + + return super.remove(key); + } + + @Override + protected void createEntrySet(Set> core) { + super.createEntrySet(core); + for (PropertySet child : satellites.values()) { + ((BasePropertySet) child).createEntrySet(core); + } + } + + protected Map asMapLocal() { + return viewthis; + } + + protected boolean supportsLocal(Object key) { + return super.supports(key); + } + + class DistributedMapView extends AbstractMap { + @Override + public Object get(Object key) { + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return child.get(key); + } + } + + return viewthis.get(key); + } + + @Override + public int size() { + int size = viewthis.size(); + for (PropertySet child : satellites.values()) { + size += child.asMap().size(); + } + return size; + } + + @Override + public boolean containsKey(Object key) { + if (viewthis.containsKey(key)) + return true; + for (PropertySet child : satellites.values()) { + if (child.containsKey(key)) + return true; + } + return false; + } + + @Override + public Set> entrySet() { + Set> entries = new HashSet>(); + for (PropertySet child : satellites.values()) { + for (Entry entry : child.asMap().entrySet()) { + // the code below is here to avoid entries.addAll(child.asMap().entrySet()); which works differently on JDK6/7 + // see DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS + entries.add(new SimpleImmutableEntry(entry.getKey(), entry.getValue())); + } + } + for (Entry entry : viewthis.entrySet()) { + // the code below is here to avoid entries.addAll(child.asMap().entrySet()); which works differently on JDK6/7 + // see DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS + entries.add(new SimpleImmutableEntry(entry.getKey(), entry.getValue())); + } + + return entries; + } + + @Override + public Object put(String key, Object value) { + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return child.put(key, value); + } + } + + return viewthis.put(key, value); + } + + @Override + public void clear() { + satellites.clear(); + viewthis.clear(); + } + + @Override + public Object remove(Object key) { + for (PropertySet child : satellites.values()) { + if (child.supports(key)) { + return child.remove(key); + } + } + + return viewthis.remove(key); + } + } + + @Override + protected Map createView() { + return new DistributedMapView(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/BasePropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/BasePropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,563 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; + +import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.util.AbstractMap; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + + +/** + * A set of "properties" that can be accessed via strongly-typed fields + * as well as reflexibly through the property name. + * + * @author Kohsuke Kawaguchi + */ +@SuppressWarnings("SuspiciousMethodCalls") +public abstract class BasePropertySet implements PropertySet { + + /** + * Creates a new instance of TypedMap. + */ + protected BasePropertySet() { + } + + private Map mapView; + + /** + * Represents the list of strongly-typed known properties + * (keyed by property names.) + * + *

+ * Just giving it an alias to make the use of this class more fool-proof. + */ + protected static class PropertyMap extends HashMap { + + // the entries are often being iterated through so performance can be improved + // by their caching instead of iterating through the original (immutable) map each time + transient PropertyMapEntry[] cachedEntries = null; + + PropertyMapEntry[] getPropertyMapEntries() { + if (cachedEntries == null) { + cachedEntries = createPropertyMapEntries(); + } + return cachedEntries; + } + + private PropertyMapEntry[] createPropertyMapEntries() { + final PropertyMapEntry[] modelEntries = new PropertyMapEntry[size()]; + int i = 0; + for (final Entry e : entrySet()) { + modelEntries[i++] = new PropertyMapEntry(e.getKey(), e.getValue()); + } + return modelEntries; + } + + } + + /** + * PropertyMapEntry represents a Map.Entry in the PropertyMap with more efficient access. + */ + static public class PropertyMapEntry { + public PropertyMapEntry(String k, Accessor v) { + key = k; value = v; + } + String key; + Accessor value; + } + + /** + * Map representing the Fields and Methods annotated with {@link PropertySet.Property}. + * Model of {@link PropertySet} class. + * + *

+ * At the end of the derivation chain this method just needs to be implemented + * as: + * + *

+     * private static final PropertyMap model;
+     * static {
+     *   model = parse(MyDerivedClass.class);
+     * }
+     * protected PropertyMap getPropertyMap() {
+     *   return model;
+     * }
+     * 
+ */ + protected abstract PropertyMap getPropertyMap(); + + /** + * This method parses a class for fields and methods with {@link PropertySet.Property}. + */ + protected static PropertyMap parse(final Class clazz) { + // make all relevant fields and methods accessible. + // this allows runtime to skip the security check, so they runs faster. + return AccessController.doPrivileged(new PrivilegedAction() { + @Override + public PropertyMap run() { + PropertyMap props = new PropertyMap(); + for (Class c=clazz; c!=null; c=c.getSuperclass()) { + for (Field f : c.getDeclaredFields()) { + Property cp = f.getAnnotation(Property.class); + if(cp!=null) { + for(String value : cp.value()) { + props.put(value, new FieldAccessor(f, value)); + } + } + } + for (Method m : c.getDeclaredMethods()) { + Property cp = m.getAnnotation(Property.class); + if(cp!=null) { + String name = m.getName(); + assert name.startsWith("get") || name.startsWith("is"); + + String setName = name.startsWith("is") ? "set"+name.substring(2) : // isFoo -> setFoo + 's' +name.substring(1); // getFoo -> setFoo + Method setter; + try { + setter = clazz.getMethod(setName,m.getReturnType()); + } catch (NoSuchMethodException e) { + setter = null; // no setter + } + for(String value : cp.value()) { + props.put(value, new MethodAccessor(m, setter, value)); + } + } + } + } + + return props; + } + }); + } + + /** + * Represents a typed property defined on a {@link PropertySet}. + */ + protected interface Accessor { + String getName(); + boolean hasValue(PropertySet props); + Object get(PropertySet props); + void set(PropertySet props, Object value); + } + + static final class FieldAccessor implements Accessor { + /** + * Field with the annotation. + */ + private final Field f; + + /** + * One of the values in {@link Property} annotation on {@link #f}. + */ + private final String name; + + protected FieldAccessor(Field f, String name) { + this.f = f; + f.setAccessible(true); + this.name = name; + } + + @Override + public String getName() { + return name; + } + + @Override + public boolean hasValue(PropertySet props) { + return get(props)!=null; + } + + @Override + public Object get(PropertySet props) { + try { + return f.get(props); + } catch (IllegalAccessException e) { + throw new AssertionError(); + } + } + + @Override + public void set(PropertySet props, Object value) { + try { + f.set(props,value); + } catch (IllegalAccessException e) { + throw new AssertionError(); + } + } + } + + static final class MethodAccessor implements Accessor { + /** + * Getter method. + */ + private final @NotNull Method getter; + /** + * Setter method. + * Some property is read-only. + */ + private final @Nullable Method setter; + + /** + * One of the values in {@link Property} annotation on {@link #getter}. + */ + private final String name; + + protected MethodAccessor(Method getter, Method setter, String value) { + this.getter = getter; + this.setter = setter; + this.name = value; + getter.setAccessible(true); + if (setter!=null) { + setter.setAccessible(true); + } + } + + @Override + public String getName() { + return name; + } + + @Override + public boolean hasValue(PropertySet props) { + return get(props)!=null; + } + + @Override + public Object get(PropertySet props) { + try { + return getter.invoke(props); + } catch (IllegalAccessException e) { + throw new AssertionError(); + } catch (InvocationTargetException e) { + handle(e); + return 0; // never reach here + } + } + + @Override + public void set(PropertySet props, Object value) { + if(setter==null) { + throw new ReadOnlyPropertyException(getName()); + } + try { + setter.invoke(props,value); + } catch (IllegalAccessException e) { + throw new AssertionError(); + } catch (InvocationTargetException e) { + handle(e); + } + } + + /** + * Since we don't expect the getter/setter to throw a checked exception, + * it should be possible to make the exception propagation transparent. + * That's what we are trying to do here. + */ + private Exception handle(InvocationTargetException e) { + Throwable t = e.getTargetException(); + if (t instanceof Error) { + throw (Error)t; + } + if (t instanceof RuntimeException) { + throw (RuntimeException)t; + } + throw new Error(e); + } + } + + + /** + * Class allowing to work with PropertySet object as with a Map; it doesn't only allow to read properties from + * the map but also to modify the map in a way it is in sync with original strongly typed fields. It also allows + * (if necessary) to store additional properties those can't be found in strongly typed fields. + * + * @see com.sun.xml.internal.ws.api.PropertySet#asMap() method + */ + final class MapView extends HashMap { + + // flag if it should allow store also different properties + // than the from strongly typed fields + boolean extensible; + + MapView(boolean extensible) { + super(getPropertyMap().getPropertyMapEntries().length); + this.extensible = extensible; + initialize(); + } + + public void initialize() { + // iterate (cached) array instead of map to speed things up ... + PropertyMapEntry[] entries = getPropertyMap().getPropertyMapEntries(); + for (PropertyMapEntry entry : entries) { + super.put(entry.key, entry.value); + } + } + + @Override + public Object get(Object key) { + Object o = super.get(key); + if (o instanceof Accessor) { + return ((Accessor) o).get(BasePropertySet.this); + } else { + return o; + } + } + + @Override + public Set> entrySet() { + Set> entries = new HashSet>(); + for (String key : keySet()) { + entries.add(new SimpleImmutableEntry(key, get(key))); + } + return entries; + } + + @Override + public Object put(String key, Object value) { + + Object o = super.get(key); + if (o != null && o instanceof Accessor) { + + Object oldValue = ((Accessor) o).get(BasePropertySet.this); + ((Accessor) o).set(BasePropertySet.this, value); + return oldValue; + + } else { + + if (extensible) { + return super.put(key, value); + } else { + throw new IllegalStateException("Unknown property [" + key + "] for PropertySet [" + + BasePropertySet.this.getClass().getName() + "]"); + } + } + } + + @Override + public void clear() { + for (String key : keySet()) { + remove(key); + } + } + + @Override + public Object remove(Object key) { + Object o; + o = super.get(key); + if (o instanceof Accessor) { + ((Accessor)o).set(BasePropertySet.this, null); + } + return super.remove(key); + } + } + + @Override + public boolean containsKey(Object key) { + Accessor sp = getPropertyMap().get(key); + if (sp != null) { + return sp.get(this) != null; + } + return false; + } + + /** + * Gets the name of the property. + * + * @param key + * This field is typed as {@link Object} to follow the {@link Map#get(Object)} + * convention, but if anything but {@link String} is passed, this method + * just returns null. + */ + @Override + public Object get(Object key) { + Accessor sp = getPropertyMap().get(key); + if (sp != null) { + return sp.get(this); + } + throw new IllegalArgumentException("Undefined property "+key); + } + + /** + * Sets a property. + * + *

Implementation Note

+ * This method is slow. Code inside JAX-WS should define strongly-typed + * fields in this class and access them directly, instead of using this. + * + * @throws ReadOnlyPropertyException + * if the given key is an alias of a strongly-typed field, + * and if the name object given is not assignable to the field. + * + * @see Property + */ + @Override + public Object put(String key, Object value) { + Accessor sp = getPropertyMap().get(key); + if(sp!=null) { + Object old = sp.get(this); + sp.set(this,value); + return old; + } else { + throw new IllegalArgumentException("Undefined property "+key); + } + } + + /** + * Checks if this {@link PropertySet} supports a property of the given name. + */ + @Override + public boolean supports(Object key) { + return getPropertyMap().containsKey(key); + } + + @Override + public Object remove(Object key) { + Accessor sp = getPropertyMap().get(key); + if(sp!=null) { + Object old = sp.get(this); + sp.set(this,null); + return old; + } else { + throw new IllegalArgumentException("Undefined property "+key); + } + } + + /** + * Creates a {@link Map} view of this {@link PropertySet}. + * + *

+ * This map is partially live, in the sense that values you set to it + * will be reflected to {@link PropertySet}. + * + *

+ * However, this map may not pick up changes made + * to {@link PropertySet} after the view is created. + * + * @deprecated use newer implementation {@link PropertySet#asMap()} which produces + * readwrite {@link Map} + * + * @return + * always non-null valid instance. + */ + @Deprecated + @Override + public final Map createMapView() { + final Set> core = new HashSet>(); + createEntrySet(core); + + return new AbstractMap() { + @Override + public Set> entrySet() { + return core; + } + }; + } + + /** + * Creates a modifiable {@link Map} view of this {@link PropertySet}. + *

+ * Changes done on this {@link Map} or on {@link PropertySet} object work in both directions - values made to + * {@link Map} are reflected to {@link PropertySet} and changes done using getters/setters on {@link PropertySet} + * object are automatically reflected in this {@link Map}. + *

+ * If necessary, it also can hold other values (not present on {@link PropertySet}) - + * {@see PropertySet#mapAllowsAdditionalProperties} + * + * @return always non-null valid instance. + */ + @Override + public Map asMap() { + if (mapView == null) { + mapView = createView(); + } + return mapView; + } + + protected Map createView() { + return new MapView(mapAllowsAdditionalProperties()); + } + + /** + * Used when constructing the {@link MapView} for this object - it controls if the {@link MapView} servers only to + * access strongly typed values or allows also different values + * + * @return true if {@link Map} should allow also properties not defined as strongly typed fields + */ + protected boolean mapAllowsAdditionalProperties() { + return false; + } + + protected void createEntrySet(Set> core) { + for (final Entry e : getPropertyMap().entrySet()) { + core.add(new Entry() { + @Override + public String getKey() { + return e.getKey(); + } + + @Override + public Object getValue() { + return e.getValue().get(BasePropertySet.this); + } + + @Override + public Object setValue(Object value) { + Accessor acc = e.getValue(); + Object old = acc.get(BasePropertySet.this); + acc.set(BasePropertySet.this,value); + return old; + } + }); + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/ContentType.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/ContentType.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,93 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +//TODO Do we want to remove this implementation dependency? +import com.sun.xml.internal.ws.encoding.ContentTypeImpl; + +/** + * A Content-Type transport header that will be returned by {@link MessageContext#write(java.io.OutputStream)}. + * It will provide the Content-Type header and also take care of SOAP 1.1 SOAPAction header. + * + * @author Vivek Pandey + */ +public interface ContentType { + + /** + * Gives non-null Content-Type header value. + */ + public String getContentType(); + + /** + * Gives SOAPAction transport header value. It will be non-null only for SOAP 1.1 messages. In other cases + * it MUST be null. The SOAPAction transport header should be written out only when its non-null. + * + * @return It can be null, in that case SOAPAction header should be written. + */ + public String getSOAPActionHeader(); + + /** + * Controls the Accept transport header, if the transport supports it. + * Returning null means the transport need not add any new header. + * + *

+ * We realize that this is not an elegant abstraction, but + * this would do for now. If another person comes and asks for + * a similar functionality, we'll define a real abstraction. + */ + public String getAcceptHeader(); + + static public class Builder { + private String contentType; + private String soapAction; + private String accept; + private String charset; + + public Builder contentType(String s) {contentType = s; return this; } + public Builder soapAction (String s) {soapAction = s; return this; } + public Builder accept (String s) {accept = s; return this; } + public Builder charset (String s) {charset = s; return this; } + public ContentType build() { + //TODO Do we want to remove this implementation dependency? + return new ContentTypeImpl(contentType, soapAction, accept, charset); + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/DistributedPropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/DistributedPropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,96 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import java.util.Map; + +import com.sun.istack.internal.Nullable; + +/** + * {@link PropertySet} that combines properties exposed from multiple + * {@link PropertySet}s into one. + * + *

+ * This implementation allows one {@link PropertySet} to assemble + * all properties exposed from other "satellite" {@link PropertySet}s. + * (A satellite may itself be a {@link DistributedPropertySet}, so + * in general this can form a tree.) + * + *

+ * This is useful for JAX-WS because the properties we expose to the application + * are contributed by different pieces, and therefore we'd like each of them + * to have a separate {@link PropertySet} implementation that backs up + * the properties. For example, this allows FastInfoset to expose its + * set of properties to {@link RequestContext} by using a strongly-typed fields. + * + *

+ * This is also useful for a client-side transport to expose a bunch of properties + * into {@link ResponseContext}. It simply needs to create a {@link PropertySet} + * object with methods for each property it wants to expose, and then add that + * {@link PropertySet} to {@link Packet}. This allows property values to be + * lazily computed (when actually asked by users), thus improving the performance + * of the typical case where property values are not asked. + * + *

+ * A similar benefit applies on the server-side, for a transport to expose + * a bunch of properties to {@link WebServiceContext}. + * + *

+ * To achieve these benefits, access to {@link DistributedPropertySet} is slower + * compared to {@link PropertySet} (such as get/set), while adding a satellite + * object is relatively fast. + * + * @author Kohsuke Kawaguchi + */ +public interface DistributedPropertySet extends com.oracle.webservices.internal.api.message.PropertySet { + + public @Nullable T getSatellite(Class satelliteClass); + + public Map, com.oracle.webservices.internal.api.message.PropertySet> getSatellites(); + + public void addSatellite(com.oracle.webservices.internal.api.message.PropertySet satellite); + + public void addSatellite(Class keyClass, com.oracle.webservices.internal.api.message.PropertySet satellite); + + public void removeSatellite(com.oracle.webservices.internal.api.message.PropertySet satellite); + + public void copySatelliteInto(com.oracle.webservices.internal.api.message.MessageContext r); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/MessageContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/MessageContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,116 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import java.io.IOException; +import java.io.OutputStream; +import java.nio.ByteBuffer; +import java.nio.channels.WritableByteChannel; + +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPMessage; + +/** + * MessageContext represents a container of a SOAP message and all the properties + * including the transport headers. + * + * MessageContext is a composite {@link PropertySet} that combines properties exposed from multiple + * {@link PropertySet}s into one. + * + *

+ * This implementation allows one {@link PropertySet} to assemble + * all properties exposed from other "satellite" {@link PropertySet}s. + * (A satellite may itself be a {@link DistributedPropertySet}, so + * in general this can form a tree.) + * + * @author shih-chang.chen@oracle.com + */ +public interface MessageContext extends DistributedPropertySet { + /** + * Gets the SAAJ SOAPMessage representation of the SOAP message. + * + * @return The SOAPMessage + */ + SOAPMessage getAsSOAPMessage() throws SOAPException; + + /** + * Gets the SAAJ SOAPMessage representation of the SOAP message. + * @deprecated use getAsSOAPMessage + * @return The SOAPMessage + */ + SOAPMessage getSOAPMessage() throws SOAPException; + + /** + * Writes the XML infoset portion of this MessageContext + * (from <soap:Envelope> to </soap:Envelope>). + * + * @param out + * Must not be null. The caller is responsible for closing the stream, + * not the callee. + * + * @return + * The MIME content type of the encoded message (such as "application/xml"). + * This information is often ncessary by transport. + * + * @throws IOException + * if a {@link OutputStream} throws {@link IOException}. + */ + ContentType writeTo( OutputStream out ) throws IOException; + + /** + * The version of {@link #writeTo(OutputStream)} + * that writes to NIO {@link ByteBuffer}. + * + *

+ * TODO: for the convenience of implementation, write + * an adapter that wraps {@link WritableByteChannel} to {@link OutputStream}. + */ +// ContentType writeTo( WritableByteChannel buffer ); + + /** + * Gets the Content-type of this message. For an out-bound message that this getContentType() + * method returns a null, the Content-Type can be determined only by calling the writeTo + * method to write the MessageContext to an OutputStream. + * + * @return The MIME content type of this message + */ + ContentType getContentType(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/MessageContextFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/MessageContextFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,145 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import java.io.IOException; +import java.io.InputStream; + +import com.oracle.webservices.internal.api.EnvelopeStyle; +import com.sun.xml.internal.ws.api.SOAPVersion; // TODO leaking RI APIs +import com.sun.xml.internal.ws.util.ServiceFinder; + +import javax.xml.soap.MimeHeaders; +import javax.xml.soap.SOAPMessage; +import javax.xml.transform.Source; +import javax.xml.ws.WebServiceFeature; + +public abstract class MessageContextFactory +{ + private static final MessageContextFactory DEFAULT = new com.sun.xml.internal.ws.api.message.MessageContextFactory(new WebServiceFeature[0]); + + protected abstract MessageContextFactory newFactory(WebServiceFeature ... f); + + public abstract MessageContext createContext(); + + public abstract MessageContext createContext(SOAPMessage m); + + public abstract MessageContext createContext(Source m); + + public abstract MessageContext createContext(Source m, EnvelopeStyle.Style envelopeStyle); + + public abstract MessageContext createContext(InputStream in, String contentType) throws IOException; + + /** + * @deprecated http://java.net/jira/browse/JAX_WS-1077 + */ + @Deprecated + public abstract MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException; + + static public MessageContextFactory createFactory(WebServiceFeature ... f) { + return createFactory(null, f); + } + + static public MessageContextFactory createFactory(ClassLoader cl, WebServiceFeature ...f) { + for (MessageContextFactory factory : ServiceFinder.find(MessageContextFactory.class, cl)) { + MessageContextFactory newfac = factory.newFactory(f); + if (newfac != null) return newfac; + } + return new com.sun.xml.internal.ws.api.message.MessageContextFactory(f); + } + + @Deprecated + public abstract MessageContext doCreate(); + + @Deprecated + public abstract MessageContext doCreate(SOAPMessage m); + + //public abstract MessageContext doCreate(InputStream x); + + @Deprecated + public abstract MessageContext doCreate(Source x, SOAPVersion soapVersion); + + @Deprecated + public static MessageContext create(final ClassLoader... classLoader) { + return serviceFinder(classLoader, + new Creator() { + public MessageContext create(final MessageContextFactory f) { + return f.doCreate(); + } + }); + } + + @Deprecated + public static MessageContext create(final SOAPMessage m, final ClassLoader... classLoader) { + return serviceFinder(classLoader, + new Creator() { + public MessageContext create(final MessageContextFactory f) { + return f.doCreate(m); + } + }); + } + + @Deprecated + public static MessageContext create(final Source m, final SOAPVersion v, final ClassLoader... classLoader) { + return serviceFinder(classLoader, + new Creator() { + public MessageContext create(final MessageContextFactory f) { + return f.doCreate(m, v); + } + }); + } + + @Deprecated + private static MessageContext serviceFinder(final ClassLoader[] classLoader, final Creator creator) { + final ClassLoader cl = classLoader.length == 0 ? null : classLoader[0]; + for (MessageContextFactory factory : ServiceFinder.find(MessageContextFactory.class, cl)) { + final MessageContext messageContext = creator.create(factory); + if (messageContext != null) + return messageContext; + } + return creator.create(DEFAULT); + } + + @Deprecated + private static interface Creator { + public MessageContext create(MessageContextFactory f); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/PropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/PropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,149 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +import java.util.Map; + +import javax.xml.ws.handler.MessageContext; + +/** + * A set of "properties" that can be accessed via strongly-typed fields + * as well as reflexibly through the property name. + * + * @author Kohsuke Kawaguchi + */ +public interface PropertySet { + + /** + * Marks a field on {@link PropertySet} as a + * property of {@link MessageContext}. + * + *

+ * To make the runtime processing easy, this annotation + * must be on a public field (since the property name + * can be set through {@link Map} anyway, you won't be + * losing abstraction by doing so.) + * + *

+ * For similar reason, this annotation can be only placed + * on a reference type, not primitive type. + * + * @author Kohsuke Kawaguchi + */ + @Inherited + @Retention(RetentionPolicy.RUNTIME) + @Target({ElementType.FIELD,ElementType.METHOD}) + public @interface Property { + /** + * Name of the property. + */ + String[] value(); + } + + public boolean containsKey(Object key); + + /** + * Gets the name of the property. + * + * @param key + * This field is typed as {@link Object} to follow the {@link Map#get(Object)} + * convention, but if anything but {@link String} is passed, this method + * just returns null. + */ + public Object get(Object key); + + /** + * Sets a property. + * + *

Implementation Note

+ * This method is slow. Code inside JAX-WS should define strongly-typed + * fields in this class and access them directly, instead of using this. + * + * @see Property + */ + public Object put(String key, Object value); + + /** + * Checks if this {@link PropertySet} supports a property of the given name. + */ + public boolean supports(Object key); + + public Object remove(Object key); + + /** + * Creates a {@link Map} view of this {@link PropertySet}. + * + *

+ * This map is partially live, in the sense that values you set to it + * will be reflected to {@link PropertySet}. + * + *

+ * However, this map may not pick up changes made + * to {@link PropertySet} after the view is created. + * + * @deprecated use newer implementation {@link com.sun.xml.internal.ws.api.PropertySet#asMap()} which produces + * readwrite {@link Map} + * + * @return + * always non-null valid instance. + */ + @Deprecated + public Map createMapView(); + + /** + * Creates a modifiable {@link Map} view of this {@link PropertySet}. + *

+ * Changes done on this {@link Map} or on {@link PropertySet} object work in both directions - values made to + * {@link Map} are reflected to {@link PropertySet} and changes done using getters/setters on {@link PropertySet} + * object are automatically reflected in this {@link Map}. + *

+ * If necessary, it also can hold other values (not present on {@link PropertySet}) - + * {@see PropertySet#mapAllowsAdditionalProperties} + * + * @return always non-null valid instance. + */ + public Map asMap(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/api/message/ReadOnlyPropertyException.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/api/message/ReadOnlyPropertyException.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,63 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.api.message; + +/** + * Used to indicate that {@link PropertySet#put(String, Object)} failed + * because a property is read-only. + * + * @author Kohsuke Kawaguchi + */ +public class ReadOnlyPropertyException extends IllegalArgumentException { + private final String propertyName; + + public ReadOnlyPropertyException(String propertyName) { + super(propertyName+" is a read-only property."); + this.propertyName = propertyName; + } + + /** + * Gets the name of the property that was read-only. + */ + public String getPropertyName() { + return propertyName; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/impl/encoding/StreamDecoderImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/impl/encoding/StreamDecoderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,67 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.impl.encoding; + +import java.io.IOException; +import java.io.InputStream; + +import javax.xml.stream.XMLStreamReader; + +import com.oracle.webservices.internal.impl.internalspi.encoding.StreamDecoder; + +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.message.AttachmentSet; +import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; +import com.sun.xml.internal.ws.encoding.StreamSOAPCodec; +import com.sun.xml.internal.ws.streaming.TidyXMLStreamReader; + +public class StreamDecoderImpl implements StreamDecoder { + + @Override + public Message decode(InputStream in, String charset, + AttachmentSet att, SOAPVersion soapVersion) throws IOException { + XMLStreamReader reader = XMLStreamReaderFactory.create(null, in, charset, true); + reader = new TidyXMLStreamReader(reader, in); + return StreamSOAPCodec.decode(soapVersion, reader, att); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/webservices/internal/impl/internalspi/encoding/StreamDecoder.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/webservices/internal/impl/internalspi/encoding/StreamDecoder.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.webservices.internal.impl.internalspi.encoding; + +import java.io.IOException; +import java.io.InputStream; + +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.message.AttachmentSet; +import com.sun.xml.internal.ws.api.message.Message; + +/** + * Decodes SOAPEnvelope read from an InputStream into a Message instance. + * This SPI allows for other implementations instead of the default, which is based on XMLStreamReader. + * + * @since 2.2.9 + */ +public interface StreamDecoder { + Message decode( + InputStream in, String charset, + AttachmentSet att, SOAPVersion soapVersion) throws IOException; +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ExistingAnnotationsType.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ExistingAnnotationsType.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,92 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for existing-annotations-type. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="existing-annotations-type">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="merge"/>
+ *     <enumeration value="ignore"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "existing-annotations-type") +@XmlEnum +public enum ExistingAnnotationsType { + + @XmlEnumValue("merge") + MERGE("merge"), + @XmlEnumValue("ignore") + IGNORE("ignore"); + private final String value; + + ExistingAnnotationsType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ExistingAnnotationsType fromValue(String v) { + for (ExistingAnnotationsType c: ExistingAnnotationsType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaMethod.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaMethod.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,280 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <group ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}method-annotation" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="java-params" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-param" maxOccurs="unbounded"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <anyAttribute processContents='skip' namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "methodAnnotation", + "javaParams" +}) +@XmlRootElement(name = "java-method") +public class JavaMethod { + + @XmlElementRefs({ + @XmlElementRef(name = "web-endpoint", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebEndpoint.class, required = false), + @XmlElementRef(name = "oneway", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlOneway.class, required = false), + @XmlElementRef(name = "action", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlAction.class, required = false), + @XmlElementRef(name = "soap-binding", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlSOAPBinding.class, required = false), + @XmlElementRef(name = "web-result", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebResult.class, required = false), + @XmlElementRef(name = "web-method", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebMethod.class, required = false) + }) + @XmlAnyElement + protected List methodAnnotation; + @XmlElement(name = "java-params") + protected JavaMethod.JavaParams javaParams; + @XmlAttribute(name = "name", required = true) + protected String name; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the methodAnnotation property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the methodAnnotation property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getMethodAnnotation().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link XmlWebEndpoint } + * {@link XmlOneway } + * {@link XmlAction } + * {@link XmlSOAPBinding } + * {@link XmlWebResult } + * {@link XmlWebMethod } + * {@link Element } + * + * + */ + public List getMethodAnnotation() { + if (methodAnnotation == null) { + methodAnnotation = new ArrayList(); + } + return this.methodAnnotation; + } + + /** + * Gets the value of the javaParams property. + * + * @return + * possible object is + * {@link JavaMethod.JavaParams } + * + */ + public JavaMethod.JavaParams getJavaParams() { + return javaParams; + } + + /** + * Sets the value of the javaParams property. + * + * @param value + * allowed object is + * {@link JavaMethod.JavaParams } + * + */ + public void setJavaParams(JavaMethod.JavaParams value) { + this.javaParams = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-param" maxOccurs="unbounded"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "javaParam" + }) + public static class JavaParams { + + @XmlElement(name = "java-param", required = true) + protected List javaParam; + + /** + * Gets the value of the javaParam property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the javaParam property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getJavaParam().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link JavaParam } + * + * + */ + public List getJavaParam() { + if (javaParam == null) { + javaParam = new ArrayList(); + } + return this.javaParam; + } + + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaParam.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaParam.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,167 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <group ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}param-annotation" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="java-type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <anyAttribute processContents='skip' namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "paramAnnotation" +}) +@XmlRootElement(name = "java-param") +public class JavaParam { + + @XmlElementRef(name = "web-param", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebParam.class, required = false) + @XmlAnyElement + protected List paramAnnotation; + @XmlAttribute(name = "java-type") + protected String javaType; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the paramAnnotation property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the paramAnnotation property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getParamAnnotation().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link XmlWebParam } + * {@link Element } + * + * + */ + public List getParamAnnotation() { + if (paramAnnotation == null) { + paramAnnotation = new ArrayList(); + } + return this.paramAnnotation; + } + + /** + * Gets the value of the javaType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJavaType() { + return javaType; + } + + /** + * Sets the value of the javaType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJavaType(String value) { + this.javaType = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaWsdlMappingType.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaWsdlMappingType.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,466 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for java-wsdl-mapping-type complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="java-wsdl-mapping-type">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xml-schema-mapping" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <group ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}class-annotation" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="java-methods" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-method" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="java-type-name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="existing-annotations" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}existing-annotations-type" />
+ *       <attribute name="databinding" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <anyAttribute processContents='skip' namespace='##other'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "java-wsdl-mapping-type", propOrder = { + "xmlSchemaMapping", + "classAnnotation", + "javaMethods" +}) +public class JavaWsdlMappingType { + + @XmlElement(name = "xml-schema-mapping") + protected JavaWsdlMappingType.XmlSchemaMapping xmlSchemaMapping; + @XmlElementRefs({ + @XmlElementRef(name = "web-service-client", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebServiceClient.class, required = false), + @XmlElementRef(name = "binding-type", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlBindingType.class, required = false), + @XmlElementRef(name = "web-service", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebService.class, required = false), + @XmlElementRef(name = "web-fault", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebFault.class, required = false), + @XmlElementRef(name = "service-mode", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlServiceMode.class, required = false), + @XmlElementRef(name = "mtom", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlMTOM.class, required = false), + @XmlElementRef(name = "handler-chain", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlHandlerChain.class, required = false), + @XmlElementRef(name = "soap-binding", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlSOAPBinding.class, required = false) + }) + @XmlAnyElement + protected List classAnnotation; + @XmlElement(name = "java-methods") + protected JavaWsdlMappingType.JavaMethods javaMethods; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "java-type-name") + protected String javaTypeName; + @XmlAttribute(name = "existing-annotations") + protected ExistingAnnotationsType existingAnnotations; + @XmlAttribute(name = "databinding") + protected String databinding; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the xmlSchemaMapping property. + * + * @return + * possible object is + * {@link JavaWsdlMappingType.XmlSchemaMapping } + * + */ + public JavaWsdlMappingType.XmlSchemaMapping getXmlSchemaMapping() { + return xmlSchemaMapping; + } + + /** + * Sets the value of the xmlSchemaMapping property. + * + * @param value + * allowed object is + * {@link JavaWsdlMappingType.XmlSchemaMapping } + * + */ + public void setXmlSchemaMapping(JavaWsdlMappingType.XmlSchemaMapping value) { + this.xmlSchemaMapping = value; + } + + /** + * + * The class-annotation group defines the set of + * annotations applicable to the Java class + * declaration. + * Gets the value of the classAnnotation property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the classAnnotation property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getClassAnnotation().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link XmlWebServiceClient } + * {@link XmlBindingType } + * {@link XmlWebService } + * {@link XmlWebFault } + * {@link XmlServiceMode } + * {@link XmlMTOM } + * {@link XmlHandlerChain } + * {@link Element } + * {@link XmlSOAPBinding } + * + * + */ + public List getClassAnnotation() { + if (classAnnotation == null) { + classAnnotation = new ArrayList(); + } + return this.classAnnotation; + } + + /** + * Gets the value of the javaMethods property. + * + * @return + * possible object is + * {@link JavaWsdlMappingType.JavaMethods } + * + */ + public JavaWsdlMappingType.JavaMethods getJavaMethods() { + return javaMethods; + } + + /** + * Sets the value of the javaMethods property. + * + * @param value + * allowed object is + * {@link JavaWsdlMappingType.JavaMethods } + * + */ + public void setJavaMethods(JavaWsdlMappingType.JavaMethods value) { + this.javaMethods = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the javaTypeName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJavaTypeName() { + return javaTypeName; + } + + /** + * Sets the value of the javaTypeName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJavaTypeName(String value) { + this.javaTypeName = value; + } + + /** + * Gets the value of the classAnnotations property. + * + * @return + * possible object is + * {@link ExistingAnnotationsType } + * + */ + public ExistingAnnotationsType getExistingAnnotations() { + return existingAnnotations; + } + + /** + * Sets the value of the classAnnotations property. + * + * @param value + * allowed object is + * {@link ExistingAnnotationsType } + * + */ + public void setExistingAnnotations(ExistingAnnotationsType value) { + this.existingAnnotations = value; + } + + /** + * Gets the value of the databinding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDatabinding() { + return databinding; + } + + /** + * Sets the value of the databinding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDatabinding(String value) { + this.databinding = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-method" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "javaMethod" + }) + public static class JavaMethods { + + @XmlElement(name = "java-method") + protected List javaMethod; + + /** + * Gets the value of the javaMethod property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the javaMethod property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getJavaMethod().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link JavaMethod } + * + * + */ + public List getJavaMethod() { + if (javaMethod == null) { + javaMethod = new ArrayList(); + } + return this.javaMethod; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class XmlSchemaMapping { + + @XmlAnyElement(lax = true) + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ObjectFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/ObjectFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,283 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.sun.xml.internal.ws.ext2.java_wsdl package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _JavaWsdlMapping_QNAME = new QName("http://xmlns.oracle.com/webservices/jaxws-databinding", "java-wsdl-mapping"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.internal.ws.ext2.java_wsdl + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link JavaMethod } + * + */ + public JavaMethod createJavaMethod() { + return new JavaMethod(); + } + + /** + * Create an instance of {@link JavaWsdlMappingType } + * + */ + public JavaWsdlMappingType createJavaWsdlMappingType() { + return new JavaWsdlMappingType(); + } + + /** + * Create an instance of {@link XmlWebEndpoint } + * + */ + public XmlWebEndpoint createWebEndpoint() { + return new XmlWebEndpoint(); + } + + /** + * Create an instance of {@link XmlMTOM } + * + */ + public XmlMTOM createMtom() { + return new XmlMTOM(); + } + + /** + * Create an instance of {@link XmlWebServiceClient } + * + */ + public XmlWebServiceClient createWebServiceClient() { + return new XmlWebServiceClient(); + } + + /** + * Create an instance of {@link XmlServiceMode } + * + */ + public XmlServiceMode createServiceMode() { + return new XmlServiceMode(); + } + + /** + * Create an instance of {@link XmlBindingType } + * + */ + public XmlBindingType createBindingType() { + return new XmlBindingType(); + } + + /** + * Create an instance of {@link XmlWebServiceRef } + * + */ + public XmlWebServiceRef createWebServiceRef() { + return new XmlWebServiceRef(); + } + + /** + * Create an instance of {@link JavaParam } + * + */ + public JavaParam createJavaParam() { + return new JavaParam(); + } + + /** + * Create an instance of {@link XmlWebParam } + * + */ + public XmlWebParam createWebParam() { + return new XmlWebParam(); + } + + /** + * Create an instance of {@link XmlWebMethod } + * + */ + public XmlWebMethod createWebMethod() { + return new XmlWebMethod(); + } + + /** + * Create an instance of {@link XmlWebResult } + * + */ + public XmlWebResult createWebResult() { + return new XmlWebResult(); + } + + /** + * Create an instance of {@link XmlOneway } + * + */ + public XmlOneway createOneway() { + return new XmlOneway(); + } + + /** + * Create an instance of {@link XmlSOAPBinding } + * + */ + public XmlSOAPBinding createSoapBinding() { + return new XmlSOAPBinding(); + } + + /** + * Create an instance of {@link XmlAction } + * + */ + public XmlAction createAction() { + return new XmlAction(); + } + + /** + * Create an instance of {@link XmlFaultAction } + * + */ + public XmlFaultAction createFaultAction() { + return new XmlFaultAction(); + } + + /** + * Create an instance of {@link JavaMethod.JavaParams } + * + */ + public JavaMethod.JavaParams createJavaMethodJavaParams() { + return new JavaMethod.JavaParams(); + } + + /** + * Create an instance of {@link XmlHandlerChain } + * + */ + public XmlHandlerChain createHandlerChain() { + return new XmlHandlerChain(); + } + + /** + * Create an instance of {@link XmlWebServiceProvider } + * + */ + public XmlWebServiceProvider createWebServiceProvider() { + return new XmlWebServiceProvider(); + } + + /** + * Create an instance of {@link XmlWebFault } + * + */ + public XmlWebFault createWebFault() { + return new XmlWebFault(); + } + + /** + * Create an instance of {@link XmlResponseWrapper } + * + */ + public XmlResponseWrapper createResponseWrapper() { + return new XmlResponseWrapper(); + } + + /** + * Create an instance of {@link XmlWebService } + * + */ + public XmlWebService createWebService() { + return new XmlWebService(); + } + + /** + * Create an instance of {@link XmlRequestWrapper } + * + */ + public XmlRequestWrapper createRequestWrapper() { + return new XmlRequestWrapper(); + } + + /** + * Create an instance of {@link JavaWsdlMappingType.XmlSchemaMapping } + * + */ + public JavaWsdlMappingType.XmlSchemaMapping createJavaWsdlMappingTypeXmlSchemaMapping() { + return new JavaWsdlMappingType.XmlSchemaMapping(); + } + + /** + * Create an instance of {@link JavaWsdlMappingType.JavaMethods } + * + */ + public JavaWsdlMappingType.JavaMethods createJavaWsdlMappingTypeJavaMethods() { + return new JavaWsdlMappingType.JavaMethods(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link JavaWsdlMappingType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", name = "java-wsdl-mapping") + public JAXBElement createJavaWsdlMapping(JavaWsdlMappingType value) { + return new JAXBElement(_JavaWsdlMapping_QNAME, JavaWsdlMappingType.class, null, value); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingParameterStyle.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingParameterStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,78 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for soap-binding-parameter-style. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="soap-binding-parameter-style">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="BARE"/>
+ *     <enumeration value="WRAPPED"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "soap-binding-parameter-style") +@XmlEnum +public enum SoapBindingParameterStyle { + + BARE, + WRAPPED; + + public String value() { + return name(); + } + + public static SoapBindingParameterStyle fromValue(String v) { + return valueOf(v); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingStyle.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,78 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for soap-binding-style. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="soap-binding-style">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="DOCUMENT"/>
+ *     <enumeration value="RPC"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "soap-binding-style") +@XmlEnum +public enum SoapBindingStyle { + + DOCUMENT, + RPC; + + public String value() { + return name(); + } + + public static SoapBindingStyle fromValue(String v) { + return valueOf(v); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingUse.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/SoapBindingUse.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,78 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for soap-binding-use. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="soap-binding-use">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="LITERAL"/>
+ *     <enumeration value="ENCODED"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "soap-binding-use") +@XmlEnum +public enum SoapBindingUse { + + LITERAL, + ENCODED; + + public String value() { + return name(); + } + + public static SoapBindingUse fromValue(String v) { + return valueOf(v); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/Util.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/Util.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,72 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; + +import com.sun.xml.internal.ws.model.RuntimeModelerException; + +/** + * Simple util to handle default values. + * + * @author miroslav.kos@oracle.com + */ +class Util { + + static String nullSafe(String value) { + return value == null ? "" : value; + } + + static T nullSafe(T value, T defaultValue) { + return value == null ? defaultValue : value; + } + + @SuppressWarnings("unchecked") + static T nullSafe(Enum value, T defaultValue) { + return value == null ? defaultValue : (T) T.valueOf(defaultValue.getClass(), value.toString()); + } + + public static Class findClass(String className) { + try { + return Class.forName(className); + } catch (ClassNotFoundException e) { + throw new RuntimeModelerException("runtime.modeler.external.metadata.generic", e); + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/WebParamMode.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/WebParamMode.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,80 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for web-param-mode. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="web-param-mode">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="IN"/>
+ *     <enumeration value="OUT"/>
+ *     <enumeration value="INOUT"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "web-param-mode") +@XmlEnum +public enum WebParamMode { + + IN, + OUT, + INOUT; + + public String value() { + return name(); + } + + public static WebParamMode fromValue(String v) { + return valueOf(v); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlAction.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,188 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; +import java.util.ArrayList; +import java.util.List; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}fault-action" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="input" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="output" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "faultAction" +}) +@XmlRootElement(name = "action") +public class XmlAction implements javax.xml.ws.Action { + + @XmlElement(name = "fault-action") + protected List faultAction; + @XmlAttribute(name = "input") + protected String input; + @XmlAttribute(name = "output") + protected String output; + + /** + * Gets the value of the faultAction property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the faultAction property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getFaultAction().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link XmlFaultAction } + * + * + */ + public List getFaultAction() { + if (faultAction == null) { + faultAction = new ArrayList(); + } + return this.faultAction; + } + + /** + * Gets the value of the input property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInput() { + return nullSafe(input); + } + + /** + * Sets the value of the input property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInput(String value) { + this.input = value; + } + + /** + * Gets the value of the output property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOutput() { + return nullSafe(output); + } + + /** + * Sets the value of the output property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOutput(String value) { + this.output = value; + } + + @Override + public String input() { + return nullSafe(input); + } + + @Override + public String output() { + return nullSafe(output); + } + + @Override + public javax.xml.ws.FaultAction[] fault() { + return new javax.xml.ws.FaultAction[0]; + } + + @Override + public Class annotationType() { + return javax.xml.ws.Action.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlAddressing.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlAddressing.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,116 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.ws.soap.AddressingFeature; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "addressing") +public class XmlAddressing implements javax.xml.ws.soap.Addressing { + + @XmlAttribute(name = "enabled") + protected Boolean enabled; + + @XmlAttribute(name = "required") + protected Boolean required; + + public Boolean getEnabled() { + return enabled(); + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public Boolean getRequired() { + return required(); + } + + public void setRequired(Boolean required) { + this.required = required; + } + + @Override + public boolean enabled() { + return nullSafe(enabled, true); + } + + @Override + public boolean required() { + return nullSafe(required, false); + } + + @Override + public AddressingFeature.Responses responses() { + return AddressingFeature.Responses.ALL; + } + + @Override + public Class annotationType() { + return javax.xml.ws.soap.Addressing.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlBindingType.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlBindingType.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,109 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "binding-type") +public class XmlBindingType implements javax.xml.ws.BindingType { + + @XmlAttribute(name = "value") + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + @Override + public String value() { + return nullSafe(value); + } + @Override + public Class annotationType() { + return javax.xml.ws.BindingType.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlFaultAction.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlFaultAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,145 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.findClass; +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="className" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "fault-action") +public class XmlFaultAction implements javax.xml.ws.FaultAction { + + @XmlAttribute(name = "className", required = true) + protected String className; + @XmlAttribute(name = "value") + protected String value; + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return nullSafe(value); + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + @Override + @SuppressWarnings("unchecked") + public Class className() { + return (Class) findClass(className); + } + + @Override + public String value() { + return nullSafe(value); + } + + @Override + public Class annotationType() { + return javax.xml.ws.FaultAction.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlHandlerChain.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlHandlerChain.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "handler-chain") +public class XmlHandlerChain implements javax.jws.HandlerChain { + + @XmlAttribute(name = "file") + protected String file; + + /** + * Gets the value of the file property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFile() { + return file; + } + + /** + * Sets the value of the file property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFile(String value) { + this.file = value; + } + + @Override + public String file() { + return nullSafe(file); + } + + @Override + public String name() { + return ""; // deprecated, so let's ignore it ... + } + + @Override + public Class annotationType() { + return javax.jws.HandlerChain.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlMTOM.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlMTOM.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,153 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.ws.soap.MTOM; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ *       <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "mtom") +public class XmlMTOM implements MTOM { + + @XmlAttribute(name = "enabled") + protected Boolean enabled; + @XmlAttribute(name = "threshold") + protected Integer threshold; + + /** + * Gets the value of the enabled property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isEnabled() { + if (enabled == null) { + return true; + } else { + return enabled; + } + } + + /** + * Sets the value of the enabled property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setEnabled(Boolean value) { + this.enabled = value; + } + + /** + * Gets the value of the threshold property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public int getThreshold() { + if (threshold == null) { + return 0; + } else { + return threshold; + } + } + + /** + * Sets the value of the threshold property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setThreshold(Integer value) { + this.threshold = value; + } + + @Override + public boolean enabled() { + return nullSafe(enabled, Boolean.TRUE); + } + + @Override + public int threshold() { + return nullSafe(threshold, 0); + } + + @Override + public Class annotationType() { + return MTOM.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlOneway.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlOneway.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,79 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "oneway") +public class XmlOneway implements javax.jws.Oneway { + + @Override + public Class annotationType() { + return javax.jws.Oneway.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlRequestWrapper.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlRequestWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,203 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="local-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="class-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="part-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "request-wrapper") +public class XmlRequestWrapper implements javax.xml.ws.RequestWrapper { + + @XmlAttribute(name = "local-name") + protected String localName; + @XmlAttribute(name = "target-namespace") + protected String targetNamespace; + @XmlAttribute(name = "class-name") + protected String className; + @XmlAttribute(name = "part-name") + protected String partName; + + /** + * Gets the value of the localName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocalName() { + if (localName == null) { + return ""; + } else { + return localName; + } + } + + /** + * Sets the value of the localName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocalName(String value) { + this.localName = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + if (targetNamespace == null) { + return ""; + } else { + return targetNamespace; + } + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + if (className == null) { + return ""; + } else { + return className; + } + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + + public String getPartName() { + return partName; + } + + public void setPartName(String partName) { + this.partName = partName; + } + + @Override + public String localName() { + return nullSafe(localName); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String className() { + return nullSafe(className); + } + + @Override + public String partName() { + return nullSafe(partName); + } + + @Override + public Class annotationType() { + return javax.xml.ws.RequestWrapper.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlResponseWrapper.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlResponseWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,202 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="local-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="class-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="part-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "response-wrapper") +public class XmlResponseWrapper implements javax.xml.ws.ResponseWrapper { + + @XmlAttribute(name = "local-name") + protected String localName; + @XmlAttribute(name = "target-namespace") + protected String targetNamespace; + @XmlAttribute(name = "class-name") + protected String className; + @XmlAttribute(name = "part-name") + protected String partName; + + /** + * Gets the value of the localName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocalName() { + if (localName == null) { + return ""; + } else { + return localName; + } + } + + /** + * Sets the value of the localName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocalName(String value) { + this.localName = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + if (targetNamespace == null) { + return ""; + } else { + return targetNamespace; + } + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + if (className == null) { + return ""; + } else { + return className; + } + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + + public String getPartName() { + return partName; + } + + public void setPartName(String partName) { + this.partName = partName; + } + + @Override + public String localName() { + return nullSafe(localName); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String className() { + return nullSafe(className); + } + + @Override + public String partName() { + return nullSafe(partName); + } + + @Override + public Class annotationType() { + return javax.xml.ws.ResponseWrapper.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlSOAPBinding.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlSOAPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,186 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="style" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}soap-binding-style" default="DOCUMENT" />
+ *       <attribute name="use" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}soap-binding-use" default="LITERAL" />
+ *       <attribute name="parameter-style" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}soap-binding-parameter-style" default="WRAPPED" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "soap-binding") +public class XmlSOAPBinding implements javax.jws.soap.SOAPBinding { + + @XmlAttribute(name = "style") + protected SoapBindingStyle style; + @XmlAttribute(name = "use") + protected SoapBindingUse use; + @XmlAttribute(name = "parameter-style") + protected SoapBindingParameterStyle parameterStyle; + + /** + * Gets the value of the style property. + * + * @return + * possible object is + * {@link SoapBindingStyle } + * + */ + public SoapBindingStyle getStyle() { + if (style == null) { + return SoapBindingStyle.DOCUMENT; + } else { + return style; + } + } + + /** + * Sets the value of the style property. + * + * @param value + * allowed object is + * {@link SoapBindingStyle } + * + */ + public void setStyle(SoapBindingStyle value) { + this.style = value; + } + + /** + * Gets the value of the use property. + * + * @return + * possible object is + * {@link SoapBindingUse } + * + */ + public SoapBindingUse getUse() { + if (use == null) { + return SoapBindingUse.LITERAL; + } else { + return use; + } + } + + /** + * Sets the value of the use property. + * + * @param value + * allowed object is + * {@link SoapBindingUse } + * + */ + public void setUse(SoapBindingUse value) { + this.use = value; + } + + /** + * Gets the value of the parameterStyle property. + * + * @return + * possible object is + * {@link SoapBindingParameterStyle } + * + */ + public SoapBindingParameterStyle getParameterStyle() { + if (parameterStyle == null) { + return SoapBindingParameterStyle.WRAPPED; + } else { + return parameterStyle; + } + } + + /** + * Sets the value of the parameterStyle property. + * + * @param value + * allowed object is + * {@link SoapBindingParameterStyle } + * + */ + public void setParameterStyle(SoapBindingParameterStyle value) { + this.parameterStyle = value; + } + + @Override + public Style style() { + return nullSafe(style, Style.DOCUMENT); + } + + @Override + public Use use() { + return nullSafe(use, Use.LITERAL); + } + + @Override + public ParameterStyle parameterStyle() { + return nullSafe(parameterStyle, ParameterStyle.WRAPPED); + } + + @Override + public Class annotationType() { + return javax.jws.soap.SOAPBinding.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlServiceMode.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlServiceMode.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,118 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.ws.Service; + +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="PAYLOAD" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "service-mode") +public class XmlServiceMode implements javax.xml.ws.ServiceMode { + + @XmlAttribute(name = "value") + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + if (value == null) { + return "PAYLOAD"; + } else { + return value; + } + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + @Override + public Service.Mode value() { + return Service.Mode.valueOf(nullSafe(value, "PAYLOAD")); + } + + @Override + public Class annotationType() { + return javax.xml.ws.ServiceMode.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebEndpoint.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebEndpoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-endpoint") +public class XmlWebEndpoint implements javax.xml.ws.WebEndpoint { + + @XmlAttribute(name = "name") + protected String name; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public Class annotationType() { + return javax.xml.ws.WebEndpoint.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebFault.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,183 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="faultBean" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-fault") +public class XmlWebFault implements javax.xml.ws.WebFault { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "targetNamespace") + protected String targetNamespace; + @XmlAttribute(name = "faultBean") + protected String faultBean; + @XmlAttribute(name = "messageName") + protected String messageName; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + return targetNamespace; + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the faultBean property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFaultBean() { + return faultBean; + } + + /** + * Sets the value of the faultBean property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFaultBean(String value) { + this.faultBean = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String faultBean() { + return nullSafe(faultBean); + } + + @Override + public String messageName() { + return nullSafe(messageName); + } + + @Override + public Class annotationType() { + return javax.xml.ws.WebFault.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebMethod.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebMethod.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,187 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="action" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="exclude" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="operation-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-method") +public class XmlWebMethod implements javax.jws.WebMethod { + + @XmlAttribute(name = "action") + protected String action; + @XmlAttribute(name = "exclude") + protected Boolean exclude; + @XmlAttribute(name = "operation-name") + protected String operationName; + + /** + * Gets the value of the action property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAction() { + if (action == null) { + return ""; + } else { + return action; + } + } + + /** + * Sets the value of the action property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAction(String value) { + this.action = value; + } + + /** + * Gets the value of the exclude property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isExclude() { + if (exclude == null) { + return false; + } else { + return exclude; + } + } + + /** + * Sets the value of the exclude property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setExclude(Boolean value) { + this.exclude = value; + } + + /** + * Gets the value of the operationName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOperationName() { + if (operationName == null) { + return ""; + } else { + return operationName; + } + } + + /** + * Sets the value of the operationName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOperationName(String value) { + this.operationName = value; + } + + @Override + public String operationName() { + return nullSafe(operationName); + } + + @Override + public String action() { + return nullSafe(action); + } + + @Override + public boolean exclude() { + return nullSafe(exclude, false); + } + + @Override + public Class annotationType() { + return javax.jws.WebMethod.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebParam.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebParam.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,258 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="header" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="mode" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}web-param-mode" default="IN" />
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="part-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-param") +public class XmlWebParam implements javax.jws.WebParam { + + @XmlAttribute(name = "header") + protected Boolean header; + @XmlAttribute(name = "mode") + protected WebParamMode mode; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "part-name") + protected String partName; + @XmlAttribute(name = "target-namespace") + protected String targetNamespace; + + /** + * Gets the value of the header property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isHeader() { + if (header == null) { + return false; + } else { + return header; + } + } + + /** + * Sets the value of the header property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setHeader(Boolean value) { + this.header = value; + } + + /** + * Gets the value of the mode property. + * + * @return + * possible object is + * {@link WebParamMode } + * + */ + public WebParamMode getMode() { + if (mode == null) { + return WebParamMode.IN; + } else { + return mode; + } + } + + /** + * Sets the value of the mode property. + * + * @param value + * allowed object is + * {@link WebParamMode } + * + */ + public void setMode(WebParamMode value) { + this.mode = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + if (name == null) { + return ""; + } else { + return name; + } + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the partName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPartName() { + if (partName == null) { + return ""; + } else { + return partName; + } + } + + /** + * Sets the value of the partName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPartName(String value) { + this.partName = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + if (targetNamespace == null) { + return ""; + } else { + return targetNamespace; + } + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public String partName() { + return nullSafe(partName); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public Mode mode() { + return nullSafe(mode, Mode.IN); + } + + @Override + public boolean header() { + return nullSafe(header, false); + } + + @Override + public Class annotationType() { + return javax.jws.WebParam.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebResult.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebResult.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,222 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="header" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="part-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-result") +public class XmlWebResult implements javax.jws.WebResult { + + @XmlAttribute(name = "header") + protected Boolean header; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "part-name") + protected String partName; + @XmlAttribute(name = "target-namespace") + protected String targetNamespace; + + /** + * Gets the value of the header property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isHeader() { + if (header == null) { + return false; + } else { + return header; + } + } + + /** + * Sets the value of the header property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setHeader(Boolean value) { + this.header = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + if (name == null) { + return ""; + } else { + return name; + } + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the partName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPartName() { + if (partName == null) { + return ""; + } else { + return partName; + } + } + + /** + * Sets the value of the partName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPartName(String value) { + this.partName = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + if (targetNamespace == null) { + return ""; + } else { + return targetNamespace; + } + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public String partName() { + return nullSafe(partName); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public boolean header() { + return nullSafe(header, false); + } + + @Override + public Class annotationType() { + return javax.jws.WebResult.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebService.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebService.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,296 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="endpoint-interface" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="port-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="service-name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="target-namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *       <attribute name="wsdl-location" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-service") +public class XmlWebService implements javax.jws.WebService { + + @XmlAttribute(name = "endpoint-interface") + protected String endpointInterface; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "port-name") + protected String portName; + @XmlAttribute(name = "service-name") + protected String serviceName; + @XmlAttribute(name = "target-namespace") + protected String targetNamespace; + @XmlAttribute(name = "wsdl-location") + protected String wsdlLocation; + + /** + * Gets the value of the endpointInterface property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEndpointInterface() { + if (endpointInterface == null) { + return ""; + } else { + return endpointInterface; + } + } + + /** + * Sets the value of the endpointInterface property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEndpointInterface(String value) { + this.endpointInterface = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + if (name == null) { + return ""; + } else { + return name; + } + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the portName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPortName() { + if (portName == null) { + return ""; + } else { + return portName; + } + } + + /** + * Sets the value of the portName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPortName(String value) { + this.portName = value; + } + + /** + * Gets the value of the serviceName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getServiceName() { + if (serviceName == null) { + return ""; + } else { + return serviceName; + } + } + + /** + * Sets the value of the serviceName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setServiceName(String value) { + this.serviceName = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + if (targetNamespace == null) { + return ""; + } else { + return targetNamespace; + } + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the wsdlLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWsdlLocation() { + if (wsdlLocation == null) { + return ""; + } else { + return wsdlLocation; + } + } + + /** + * Sets the value of the wsdlLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWsdlLocation(String value) { + this.wsdlLocation = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String serviceName() { + return nullSafe(serviceName); + } + + @Override + public String portName() { + return nullSafe(portName); + } + + @Override + public String wsdlLocation() { + return nullSafe(wsdlLocation); + } + + @Override + public String endpointInterface() { + return nullSafe(endpointInterface); + } + + @Override + public Class annotationType() { + return javax.jws.WebService.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceClient.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceClient.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,174 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="wsdlLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-service-client") +public class XmlWebServiceClient implements javax.xml.ws.WebServiceClient { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "targetNamespace") + protected String targetNamespace; + @XmlAttribute(name = "wsdlLocation") + protected String wsdlLocation; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + return targetNamespace; + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the wsdlLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWsdlLocation() { + return wsdlLocation; + } + + /** + * Sets the value of the wsdlLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWsdlLocation(String value) { + this.wsdlLocation = value; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String wsdlLocation() { + return nullSafe(wsdlLocation); + } + + @Override + public Class annotationType() { + return javax.xml.ws.WebServiceClient.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceProvider.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,206 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="serviceName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="portName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="wsdlLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-service-provider") +public class XmlWebServiceProvider implements javax.xml.ws.WebServiceProvider { + + @XmlAttribute(name = "targetNamespace") + protected String targetNamespace; + @XmlAttribute(name = "serviceName") + protected String serviceName; + @XmlAttribute(name = "portName") + protected String portName; + @XmlAttribute(name = "wsdlLocation") + protected String wsdlLocation; + + /** + * Gets the value of the targetNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTargetNamespace() { + return targetNamespace; + } + + /** + * Sets the value of the targetNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTargetNamespace(String value) { + this.targetNamespace = value; + } + + /** + * Gets the value of the serviceName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getServiceName() { + return serviceName; + } + + /** + * Sets the value of the serviceName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setServiceName(String value) { + this.serviceName = value; + } + + /** + * Gets the value of the portName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPortName() { + return portName; + } + + /** + * Sets the value of the portName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPortName(String value) { + this.portName = value; + } + + /** + * Gets the value of the wsdlLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWsdlLocation() { + return wsdlLocation; + } + + /** + * Sets the value of the wsdlLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWsdlLocation(String value) { + this.wsdlLocation = value; + } + + @Override + public String wsdlLocation() { + return nullSafe(wsdlLocation); + } + + @Override + public String serviceName() { + return nullSafe(serviceName); + } + + @Override + public String targetNamespace() { + return nullSafe(targetNamespace); + } + + @Override + public String portName() { + return nullSafe(portName); + } + + @Override + public Class annotationType() { + return javax.xml.ws.WebServiceProvider.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceRef.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/XmlWebServiceRef.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,262 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ +package com.oracle.xmlns.internal.webservices.jaxws_databinding; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.ws.Service; +import java.lang.annotation.Annotation; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.findClass; +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe; + + +/** + * This file was generated by JAXB-RI v2.2.6 and afterwards modified + * to implement appropriate Annotation + * + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="mappedName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="wsdlLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "web-service-ref") +public class XmlWebServiceRef implements javax.xml.ws.WebServiceRef { + + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "type") + protected String type; + @XmlAttribute(name = "mappedName") + protected String mappedName; + @XmlAttribute(name = "value") + protected String value; + @XmlAttribute(name = "wsdlLocation") + protected String wsdlLocation; + @XmlAttribute(name = "lookup") + protected String lookup; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the mappedName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMappedName() { + return mappedName; + } + + /** + * Sets the value of the mappedName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMappedName(String value) { + this.mappedName = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the wsdlLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWsdlLocation() { + return wsdlLocation; + } + + /** + * Sets the value of the wsdlLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWsdlLocation(String value) { + this.wsdlLocation = value; + } + + public String getLookup() { + return lookup; + } + + public void setLookup(String lookup) { + this.lookup = lookup; + } + + @Override + public String name() { + return nullSafe(name); + } + + @Override + public Class type() { + if (type == null) { + return Object.class; + } + return findClass(type); + } + + @Override + public String mappedName() { + return nullSafe(mappedName); + } + + @Override + @SuppressWarnings("unchecked") + public Class value() { + if (value == null) { + return Service.class; + } + return (Class) findClass(value); + } + + @Override + public String wsdlLocation() { + return nullSafe(wsdlLocation); + } + + @Override + public String lookup() { + return nullSafe(lookup); + } + + @Override + public Class annotationType() { + return javax.xml.ws.WebServiceRef.class; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/package-info.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. + * + * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * + * The contents of this file are subject to the terms of either the GNU + * General Public License Version 2 only ("GPL") or the Common Development + * and Distribution License("CDDL") (collectively, the "License"). You + * may not use this file except in compliance with the License. You can + * obtain a copy of the License at + * http://glassfish.java.net/public/CDDL+GPL_1_1.html + * or packager/legal/LICENSE.txt. See the License for the specific + * language governing permissions and limitations under the License. + * + * When distributing the software, include this License Header Notice in each + * file and include the License file at packager/legal/LICENSE.txt. + * + * GPL Classpath Exception: + * Oracle designates this particular file as subject to the "Classpath" + * exception as provided by Oracle in the GPL Version 2 section of the License + * file that accompanied this code. + * + * Modifications: + * If applicable, add the following below the License Header, with the fields + * enclosed by brackets [] replaced by your own identifying information: + * "Portions Copyright [year] [name of copyright owner]" + * + * Contributor(s): + * If you wish your version of this file to be governed by only the CDDL or + * only the GPL Version 2, indicate your decision by adding "[Contributor] + * elects to include this software in this distribution under the [CDDL or GPL + * Version 2] license." If you don't indicate a single choice of license, a + * recipient has the option to distribute your version of this file under + * either the CDDL, the GPL Version 2 or to extend the choice of license to + * its licensees as provided above. However, if you add GPL Version 2 code + * and therefore, elected the GPL Version 2 license, then the option applies + * only if the new code is made subject to such option by the copyright + * holder. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6-SNAPSHOT +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.03.21 at 10:57:01 AM CET +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.oracle.xmlns.internal.webservices.jaxws_databinding; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/Builder.java --- a/src/share/jaxws_classes/com/sun/istack/internal/Builder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/Builder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/ByteArrayDataSource.java --- a/src/share/jaxws_classes/com/sun/istack/internal/ByteArrayDataSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/ByteArrayDataSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/FinalArrayList.java --- a/src/share/jaxws_classes/com/sun/istack/internal/FinalArrayList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/FinalArrayList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/FragmentContentHandler.java --- a/src/share/jaxws_classes/com/sun/istack/internal/FragmentContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/FragmentContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/Interned.java --- a/src/share/jaxws_classes/com/sun/istack/internal/Interned.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/Interned.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/NotNull.java --- a/src/share/jaxws_classes/com/sun/istack/internal/NotNull.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/NotNull.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/Nullable.java --- a/src/share/jaxws_classes/com/sun/istack/internal/Nullable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/Nullable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/Pool.java --- a/src/share/jaxws_classes/com/sun/istack/internal/Pool.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/Pool.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/SAXException2.java --- a/src/share/jaxws_classes/com/sun/istack/internal/SAXException2.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/SAXException2.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/SAXParseException2.java --- a/src/share/jaxws_classes/com/sun/istack/internal/SAXParseException2.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/SAXParseException2.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/XMLStreamException2.java --- a/src/share/jaxws_classes/com/sun/istack/internal/XMLStreamException2.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/XMLStreamException2.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/XMLStreamReaderToContentHandler.java --- a/src/share/jaxws_classes/com/sun/istack/internal/XMLStreamReaderToContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/XMLStreamReaderToContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/localization/Localizable.java --- a/src/share/jaxws_classes/com/sun/istack/internal/localization/Localizable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/localization/Localizable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -59,5 +59,5 @@ *

* Use of "new" is to create an unique instance. */ - public static final String NOT_LOCALIZABLE = new String("\u0000"); + public static final String NOT_LOCALIZABLE = "\u0000"; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessage.java --- a/src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,8 @@ package com.sun.istack.internal.localization; +import java.util.Arrays; + /** * @author WS Development Team */ @@ -47,7 +49,7 @@ } public Object[] getArguments() { - return _args; + return Arrays.copyOf(_args, _args.length); } public String getResourceBundleName() { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessageFactory.java --- a/src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessageFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/localization/LocalizableMessageFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/localization/Localizer.java --- a/src/share/jaxws_classes/com/sun/istack/internal/localization/Localizer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/localization/Localizer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -88,8 +88,14 @@ alternateBundleName, _locale); } catch (MissingResourceException e2) { - // give up - return getDefaultMessage(l); + //try context classloader + try { + bundle = ResourceBundle.getBundle(bundlename, _locale, Thread.currentThread().getContextClassLoader()); + } catch (MissingResourceException e3) { + // give up + return getDefaultMessage(l); + } + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/localization/NullLocalizable.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/istack/internal/localization/NullLocalizable.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,51 @@ +/* + * 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.istack.internal.localization; + +/** + * {@link Localizable} that wraps a non-localizable string. + * + * @author WS Development Team + */ +public final class NullLocalizable implements Localizable { + private final String msg; + + public NullLocalizable(String msg) { + if(msg==null) + throw new IllegalArgumentException(); + this.msg = msg; + } + + public String getKey() { + return Localizable.NOT_LOCALIZABLE; + } + public Object[] getArguments() { + return new Object[]{msg}; + } + public String getResourceBundleName() { + return ""; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/logging/Logger.java --- a/src/share/jaxws_classes/com/sun/istack/internal/logging/Logger.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/logging/Logger.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -31,7 +31,7 @@ import java.util.logging.Level; /** - * This is a helper class that provides some conveniece methods wrapped around the + * This is a helper class that provides some convenience methods wrapped around the * standard {@link java.util.logging.Logger} interface. * * The class also makes sure that logger names of each Metro subsystem are consistent @@ -129,6 +129,20 @@ logger.logp(level, componentClassName, getCallerMethodName(), message); } + public void log(final Level level, final String message, Object param1) { + if (!this.logger.isLoggable(level)) { + return; + } + logger.logp(level, componentClassName, getCallerMethodName(), message, param1); + } + + public void log(final Level level, final String message, Object[] params) { + if (!this.logger.isLoggable(level)) { + return; + } + logger.logp(level, componentClassName, getCallerMethodName(), message, params); + } + public void log(final Level level, final String message, final Throwable thrown) { if (!this.logger.isLoggable(level)) { return; @@ -143,6 +157,13 @@ logger.logp(Level.FINEST, componentClassName, getCallerMethodName(), message); } + public void finest(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.FINEST)) { + return; + } + logger.logp(Level.FINEST, componentClassName, getCallerMethodName(), message, params); + } + public void finest(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.FINEST)) { return; @@ -157,6 +178,13 @@ logger.logp(Level.FINER, componentClassName, getCallerMethodName(), message); } + public void finer(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.FINER)) { + return; + } + logger.logp(Level.FINER, componentClassName, getCallerMethodName(), message, params); + } + public void finer(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.FINER)) { return; @@ -185,6 +213,13 @@ logger.logp(Level.INFO, componentClassName, getCallerMethodName(), message); } + public void info(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.INFO)) { + return; + } + logger.logp(Level.INFO, componentClassName, getCallerMethodName(), message, params); + } + public void info(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.INFO)) { return; @@ -199,6 +234,13 @@ logger.logp(Level.CONFIG, componentClassName, getCallerMethodName(), message); } + public void config(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.CONFIG)) { + return; + } + logger.logp(Level.CONFIG, componentClassName, getCallerMethodName(), message, params); + } + public void config(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.CONFIG)) { return; @@ -213,6 +255,13 @@ logger.logp(Level.WARNING, componentClassName, getCallerMethodName(), message); } + public void warning(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.WARNING)) { + return; + } + logger.logp(Level.WARNING, componentClassName, getCallerMethodName(), message, params); + } + public void warning(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.WARNING)) { return; @@ -227,6 +276,13 @@ logger.logp(Level.SEVERE, componentClassName, getCallerMethodName(), message); } + public void severe(final String message, Object[] params) { + if (!this.logger.isLoggable(Level.SEVERE)) { + return; + } + logger.logp(Level.SEVERE, componentClassName, getCallerMethodName(), message, params); + } + public void severe(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.SEVERE)) { return; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/package-info.java --- a/src/share/jaxws_classes/com/sun/istack/internal/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/tools/DefaultAuthenticator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/istack/internal/tools/DefaultAuthenticator.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,324 @@ +/* + * Copyright (c) 1997, 2013, 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.istack.internal.tools; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.UnsupportedEncodingException; +import java.lang.reflect.Field; +import java.net.Authenticator; +import java.net.Authenticator.RequestorType; +import java.net.MalformedURLException; +import java.net.PasswordAuthentication; +import java.net.URL; +import java.net.URLDecoder; +import java.net.URLEncoder; +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.util.ArrayList; +import java.util.List; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.regex.Pattern; +import org.xml.sax.Locator; +import org.xml.sax.helpers.LocatorImpl; + +/** + * @author Vivek Pandey + * @author Lukas Jungmann + */ +public class DefaultAuthenticator extends Authenticator { + + private static DefaultAuthenticator instance; + private static Authenticator systemAuthenticator = getCurrentAuthenticator(); + private String proxyUser; + private String proxyPasswd; + private final List authInfo = new ArrayList(); + private static int counter = 0; + + DefaultAuthenticator() { + //try undocumented but often used properties + if (System.getProperty("http.proxyUser") != null) { + proxyUser = System.getProperty("http.proxyUser"); + } else { + proxyUser = System.getProperty("proxyUser"); + } + if (System.getProperty("http.proxyPassword") != null) { + proxyPasswd = System.getProperty("http.proxyPassword"); + } else { + proxyPasswd = System.getProperty("proxyPassword"); + } + } + + public static synchronized DefaultAuthenticator getAuthenticator() { + if (instance == null) { + instance = new DefaultAuthenticator(); + Authenticator.setDefault(instance); + } + counter++; + return instance; + } + + public static synchronized void reset() { + --counter; + if (instance != null && counter == 0) { + Authenticator.setDefault(systemAuthenticator); + } + } + + @Override + protected PasswordAuthentication getPasswordAuthentication() { + //If user sets proxy user and passwd and the RequestType is from proxy server then create + // PasswordAuthentication using proxyUser and proxyPasswd; + if ((getRequestorType() == RequestorType.PROXY) && proxyUser != null && proxyPasswd != null) { + return new PasswordAuthentication(proxyUser, proxyPasswd.toCharArray()); + } + for (AuthInfo auth : authInfo) { + if (auth.matchingHost(getRequestingURL())) { + return new PasswordAuthentication(auth.getUser(), auth.getPassword().toCharArray()); + } + } + return null; + } + + /** + * Proxy authorization string in form of username:password. + * + * @param proxyAuth + */ + public void setProxyAuth(String proxyAuth) { + if (proxyAuth == null) { + this.proxyUser = null; + this.proxyPasswd = null; + } else { + int i = proxyAuth.indexOf(':'); + if (i < 0) { + this.proxyUser = proxyAuth; + this.proxyPasswd = ""; + } else if (i == 0) { + this.proxyUser = ""; + this.proxyPasswd = proxyAuth.substring(1); + } else { + this.proxyUser = proxyAuth.substring(0, i); + this.proxyPasswd = proxyAuth.substring(i + 1); + } + } + } + + public void setAuth(File f, Receiver l) { + Receiver listener = l == null ? new DefaultRImpl() : l; + BufferedReader in = null; + FileInputStream fi = null; + InputStreamReader is = null; + try { + String text; + LocatorImpl locator = new LocatorImpl(); + locator.setSystemId(f.getAbsolutePath()); + try { + fi = new FileInputStream(f); + is = new InputStreamReader(fi, "UTF-8"); + in = new BufferedReader(is); + } catch (UnsupportedEncodingException e) { + listener.onError(e, locator); + return; + } catch (FileNotFoundException e) { + listener.onError(e, locator); + return; + } + try { + int lineno = 1; + locator.setSystemId(f.getCanonicalPath()); + while ((text = in.readLine()) != null) { + locator.setLineNumber(lineno++); + //ignore empty lines and treat those starting with '#' as comments + if ("".equals(text.trim()) || text.startsWith("#")) { + continue; + } + try { + AuthInfo ai = parseLine(text); + authInfo.add(ai); + } catch (Exception e) { + listener.onParsingError(text, locator); + } + } + } catch (IOException e) { + listener.onError(e, locator); + Logger.getLogger(DefaultAuthenticator.class.getName()).log(Level.SEVERE, e.getMessage(), e); + } + } finally { + try { + if (in != null) { + in.close(); + } + if (is != null) { + is.close(); + } + if (fi != null) { + fi.close(); + } + } catch (IOException ex) { + Logger.getLogger(DefaultAuthenticator.class.getName()).log(Level.SEVERE, null, ex); + } + } + } + + private AuthInfo parseLine(String text) throws Exception { + URL url; + try { + url = new URL(text); + } catch (MalformedURLException mue) { + //possible cause of this can be that password contains + //character which has to be encoded in URL, + //such as '@', ')', '#' and few others + //so try to recreate the URL with encoded string + //between 2nd ':' and last '@' + int i = text.indexOf(':', text.indexOf(':') + 1) + 1; + int j = text.lastIndexOf('@'); + String encodedUrl = + text.substring(0, i) + + URLEncoder.encode(text.substring(i, j), "UTF-8") + + text.substring(j); + url = new URL(encodedUrl); + } + + String authinfo = url.getUserInfo(); + + if (authinfo != null) { + int i = authinfo.indexOf(':'); + + if (i >= 0) { + String user = authinfo.substring(0, i); + String password = authinfo.substring(i + 1); + return new AuthInfo( + new URL(url.getProtocol(), url.getHost(), url.getPort(), url.getFile()), + user, URLDecoder.decode(password, "UTF-8")); + } + } + throw new Exception(); + } + + static Authenticator getCurrentAuthenticator() { + final Field f = getTheAuthenticator(); + if (f == null) { + return null; + } + + try { + AccessController.doPrivileged(new PrivilegedAction() { + @Override + public Void run() { + f.setAccessible(true); + return null; + } + }); + return (Authenticator) f.get(null); + } catch (Exception ex) { + return null; + } finally { + AccessController.doPrivileged(new PrivilegedAction() { + @Override + public Void run() { + f.setAccessible(false); + return null; + } + }); + } + } + + private static Field getTheAuthenticator() { + try { + return Authenticator.class.getDeclaredField("theAuthenticator"); + } catch (Exception ex) { + return null; + } + } + + public static interface Receiver { + + void onParsingError(String line, Locator loc); + + void onError(Exception e, Locator loc); + } + + private static class DefaultRImpl implements Receiver { + + @Override + public void onParsingError(String line, Locator loc) { + System.err.println(getLocationString(loc) + ": " + line); + } + + @Override + public void onError(Exception e, Locator loc) { + System.err.println(getLocationString(loc) + ": " + e.getMessage()); + Logger.getLogger(DefaultAuthenticator.class.getName()).log(Level.SEVERE, e.getMessage(), e); + } + + private String getLocationString(Locator l) { + return "[" + l.getSystemId() + "#" + l.getLineNumber() + "]"; + } + } + + /** + * Represents authorization information needed by + * {@link DefaultAuthenticator} to authenticate access to remote resources. + * + * @author Vivek Pandey + * @author Lukas Jungmann + */ + final static class AuthInfo { + + private final String user; + private final String password; + private final Pattern urlPattern; + + public AuthInfo(URL url, String user, String password) { + String u = url.toExternalForm().replaceFirst("\\?", "\\\\?"); + this.urlPattern = Pattern.compile(u.replace("*", ".*"), Pattern.CASE_INSENSITIVE); + this.user = user; + this.password = password; + } + + public String getUser() { + return user; + } + + public String getPassword() { + return password; + } + + /** + * Returns if the requesting host and port are associated with this + * {@link AuthInfo} + */ + public boolean matchingHost(URL requestingURL) { + return urlPattern.matcher(requestingURL.toExternalForm()).matches(); + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/tools/MaskingClassLoader.java --- a/src/share/jaxws_classes/com/sun/istack/internal/tools/MaskingClassLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/tools/MaskingClassLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/tools/ParallelWorldClassLoader.java --- a/src/share/jaxws_classes/com/sun/istack/internal/tools/ParallelWorldClassLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/tools/ParallelWorldClassLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/tools/SecureLoader.java --- a/src/share/jaxws_classes/com/sun/istack/internal/tools/SecureLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/tools/SecureLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -72,6 +72,19 @@ } } + static ClassLoader getParentClassLoader(final ClassLoader cl) { + if (System.getSecurityManager() == null) { + return cl.getParent(); + } else { + return (ClassLoader) java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public java.lang.Object run() { + return cl.getParent(); + } + }); + } + } + static void setContextClassLoader(final ClassLoader cl) { if (System.getSecurityManager() == null) { Thread.currentThread().setContextClassLoader(cl); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/istack/internal/tools/package-info.java --- a/src/share/jaxws_classes/com/sun/istack/internal/tools/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/istack/internal/tools/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMX.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMX.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMX.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.amx; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXGlassfish.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXGlassfish.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXGlassfish.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.amx; import javax.management.ObjectName; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXUtil.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/AMXUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.amx; import javax.management.MBeanServerConnection; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/amx/BootAMXMBean.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/BootAMXMBean.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/BootAMXMBean.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.amx; import javax.management.ObjectName; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/amx/MBeanListener.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/MBeanListener.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/MBeanListener.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.amx; import java.util.Set; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Stability.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Stability.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Stability.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,10 +23,9 @@ * questions. */ + package com.sun.org.glassfish.external.arc; - - /** Taxonomy values. See http://opensolaris.org/os/community/arc/policies/interface-taxonomy/ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Taxonomy.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Taxonomy.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/arc/Taxonomy.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.arc; import java.lang.annotation.Documented; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/PluginPoint.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/PluginPoint.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/PluginPoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -22,10 +22,8 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ + + package com.sun.org.glassfish.external.probe.provider; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProvider.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.probe.provider; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderInfo.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.probe.provider; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManager.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManager.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManager.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.probe.provider; import java.util.Vector; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManagerDelegate.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManagerDelegate.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/StatsProviderManagerDelegate.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.probe.provider; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/Probe.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/Probe.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/Probe.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -24,6 +24,7 @@ */ + package com.sun.org.glassfish.external.probe.provider.annotations; import java.lang.annotation.Retention; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeListener.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeListener.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeListener.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.probe.provider.annotations; import java.lang.annotation.Retention; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeParam.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeParam.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeParam.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -24,6 +24,7 @@ */ + package com.sun.org.glassfish.external.probe.provider.annotations; import java.lang.annotation.Retention; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeProvider.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/annotations/ProbeProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -24,6 +24,7 @@ */ + package com.sun.org.glassfish.external.probe.provider.annotations; import java.lang.annotation.Retention; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/AverageRangeStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/AverageRangeStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/AverageRangeStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + /* * AverageRangeStatistic.java * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundaryStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundaryStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundaryStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundedRangeStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundedRangeStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/BoundedRangeStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/CountStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/CountStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/CountStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/RangeStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/RangeStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/RangeStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Statistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Statistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Statistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Stats.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Stats.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/Stats.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; public interface Stats { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/StringStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/StringStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/StringStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/TimeStatistic.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/TimeStatistic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/TimeStatistic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/annotations/Reset.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/annotations/Reset.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/annotations/Reset.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.annotations; import java.lang.annotation.Retention; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import java.util.concurrent.atomic.AtomicLong; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundaryStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundaryStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundaryStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.BoundaryStatistic; import java.util.concurrent.atomic.AtomicLong; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundedRangeStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundedRangeStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/BoundedRangeStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.BoundedRangeStatistic; import java.util.concurrent.atomic.AtomicLong; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/CountStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/CountStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/CountStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.CountStatistic; import java.util.concurrent.atomic.AtomicLong; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/RangeStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/RangeStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/RangeStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.RangeStatistic; import java.util.concurrent.atomic.AtomicLong; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,7 @@ * questions. */ + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.Statistic; import java.io.Serializable; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatsImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatsImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StatsImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.Stats; import com.sun.org.glassfish.external.statistics.Statistic; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,6 +23,8 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; import com.sun.org.glassfish.external.statistics.StringStatistic; import java.util.Map; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/TimeStatisticImpl.java --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/TimeStatisticImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/TimeStatisticImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, 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 @@ -23,7 +23,10 @@ * questions. */ + + package com.sun.org.glassfish.external.statistics.impl; + import com.sun.org.glassfish.external.statistics.TimeStatistic; import java.util.concurrent.atomic.AtomicLong; import java.util.Map; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin --- a/src/share/jaxws_classes/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin Tue Apr 16 08:11:41 2013 -0700 @@ -3,3 +3,4 @@ com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn com.sun.tools.internal.xjc.addon.at_generated.PluginImpl com.sun.tools.internal.xjc.addon.episode.PluginImpl +com.sun.tools.internal.xjc.addon.accessors.PluginImpl diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ConfigReader.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/ConfigReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ConfigReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,7 @@ package com.sun.tools.internal.jxc; +import com.sun.tools.internal.jxc.ap.Options; import java.io.File; import java.io.IOException; import java.util.Collection; @@ -51,6 +52,7 @@ import com.sun.tools.internal.xjc.api.Reference; import com.sun.tools.internal.xjc.util.ForkContentHandler; +import com.sun.xml.internal.bind.v2.util.XmlFactory; import org.xml.sax.ErrorHandler; import org.xml.sax.InputSource; import org.xml.sax.SAXException; @@ -94,7 +96,7 @@ */ public ConfigReader(ProcessingEnvironment env, Collection classes, File xmlFile, ErrorHandler errorHandler) throws SAXException, IOException { this.env = env; - Config config = parseAndGetConfig(xmlFile,errorHandler); + Config config = parseAndGetConfig(xmlFile, errorHandler, env.getOptions().containsKey(Options.DISABLE_XML_SECURITY)); checkAllClasses(config,classes); String path = xmlFile.getAbsolutePath(); String xmlPath = path.substring(0,path.lastIndexOf(File.separatorChar)); @@ -150,14 +152,14 @@ private SchemaOutputResolver createSchemaOutputResolver(Config config, String xmlpath) { File baseDir = new File(xmlpath, config.getBaseDir().getPath()); - SchemaOutputResolverImpl schemaOutputResolver = new SchemaOutputResolverImpl (baseDir); + SchemaOutputResolverImpl outResolver = new SchemaOutputResolverImpl (baseDir); for( Schema schema : (List)config.getSchema() ) { String namespace = schema.getNamespace(); File location = schema.getLocation(); - schemaOutputResolver.addSchemaInfo(namespace,location); + outResolver.addSchemaInfo(namespace,location); } - return schemaOutputResolver; + return outResolver; } /** @@ -190,11 +192,10 @@ * @return * A non null Config object */ - private Config parseAndGetConfig (File xmlFile, ErrorHandler errorHandler) throws SAXException, IOException { + private Config parseAndGetConfig (File xmlFile, ErrorHandler errorHandler, boolean disableSecureProcessing) throws SAXException, IOException { XMLReader reader; try { - SAXParserFactory factory = SAXParserFactory.newInstance(); - factory.setNamespaceAware(true); + SAXParserFactory factory = XmlFactory.createParserFactory(disableSecureProcessing); reader = factory.newSAXParser().getXMLReader(); } catch (ParserConfigurationException e) { // in practice this will never happen diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +# 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 @@ -30,10 +30,10 @@ Non-existent directory: {0} VERSION = \ - schemagen 2.2.5-b10 + schemagen 2.2.7-b63 FULLVERSION = \ - schemagen full version "2.2.5-b10" + schemagen full version "2.2.7-b63" USAGE = \ Usage: schemagen [-options ...] \n\ @@ -43,6 +43,7 @@ \ \ \ \ -classpath : specify where to find user specified files\n\ \ \ \ \ -encoding : specify encoding to be used for annotation processing/javac invocation \n\ \ \ \ \ -episode : generate episode file for separate compilation\n\ +\ \ \ \ -disableXmlSecurity : disables XML security features for usage on xml parsing apis \n\ \ \ \ \ -version : display version information\n\ \ \ \ \ -fullversion : display full version information\n\ \ \ \ \ -help : display this usage message diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = Nicht erkanntes {0} in Zeile {1} Spalte {2} + +BASEDIR_DOESNT_EXIST = Nicht vorhandenes Verzeichnis: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = schemagen vollst\u00E4ndige Version "2.2.7-b63" + +USAGE = Verwendung: schemagen [-options ...] \nOptionen: \n\\ \\ \\ \\ -d : Gibt an, wo die von Prozessor und javac generierten Klassendateien gespeichert werden sollen\n\\ \\ \\ \\ -cp : Gibt an, wo die vom Benutzer angegebenen Dateien gespeichert sind\n\\ \\ \\ \\ -classpath : Gibt an, wo die vom Benutzer angegebenen Dateien gespeichert sind\n\\ \\ \\ \\ -encoding : Gibt die Codierung f\u00FCr die Annotationsverarbeitung/den javac-Aufruf an \n\\ \\ \\ \\ -episode : Generiert Episodendatei f\u00FCr separate Kompilierung\n\\ \\ \\ \\ -version : Zeigt Versionsinformation an\n\\ \\ \\ \\ -fullversion : Zeigt vollst\u00E4ndige Versionsinformationen an\n\\ \\ \\ \\ -help : Zeigt diese Verwendungsmeldung an diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = Aparece un {0} inesperado en la l\u00EDnea {1} y la columna {2} + +BASEDIR_DOESNT_EXIST = Directorio no existente: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = versi\u00F3n completa de schemagen "2.2.7-b63" + +USAGE = Sintaxis: schemagen [-options ...] \nOpciones: \n\\ \\ \\ \\ -d : especifique d\u00F3nde se colocan los archivos de clase generados por javac y el procesador\n\\ \\ \\ \\ -cp : especifique d\u00F3nde se encuentran los archivos especificados por el usuario\n\\ \\ \\ \\ -encoding : especifique la codificaci\u00F3n que se va a utilizar para el procesamiento de anotaciones/llamada de javac\n\\ \\ \\ \\ -episode : genera un archivo de episodio para una compilaci\u00F3n diferente\n\\ \\ \\ \\ -version : muestra la informaci\u00F3n de la versi\u00F3n\n\\ \\ \\ \\ -fullversion : muestra la informaci\u00F3n completa de la versi\u00F3n\n\\ \\ \\ \\ -help : muestra este mensaje de sintaxis diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = Un \u00E9l\u00E9ment {0} inattendu appara\u00EEt \u00E0 la ligne {1}, colonne {2} + +BASEDIR_DOESNT_EXIST = R\u00E9pertoire {0} inexistant + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = version compl\u00E8te de schemagen "2.2.7-b63" + +USAGE = Syntaxe : schemagen [-options ...] \nOptions : \n\ \ \ \ -d : indiquez o\u00F9 placer les fichiers de classe g\u00E9n\u00E9r\u00E9s par le processeur et le compilateur javac\n\ \ \ \ -cp : indiquez o\u00F9 trouver les fichiers sp\u00E9cifi\u00E9s par l'utilisateur\n\ \ \ \ -classpath : indiquez o\u00F9 trouver les fichiers sp\u00E9cifi\u00E9s par l'utilisateur\n\ \ \ \ -encoding : indiquez l'encodage \u00E0 utiliser pour l'appel de javac/traitement de l'annotation \n\ \ \ \ -episode : g\u00E9n\u00E9rez un fichier d'\u00E9pisode pour la compilation s\u00E9par\u00E9e\n\ \ \ \ -version : affichez les informations de version\n\ \ \ \ -fullversion : affichez les informations compl\u00E8tes de version\n\ \ \ \ -help : affichez ce message de syntaxe diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = {0} imprevisto visualizzato sulla riga {1} colonna {2} + +BASEDIR_DOESNT_EXIST = Directory non esistente: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = versione completa schemagen "2.2.7-b63" + +USAGE = Uso: schemagen [-options ...] \nOpzioni: \n\ \ \ \ -d : specifica dove posizionare il processore e i file della classe generata javac\n\ \ \ \ -cp : specifica dove trovare i file specificati dall'utente\n\ \ \ \ -classpath : specifica dove trovare i file specificati dall'utente\n\ \ \ \ -encoding : specifica la codifica da usare per l'elaborazione dell'annotazione/richiamo javac \n\ \ \ \ -episode : genera il file di episodio per la compilazione separata\n\ \ \ \ -version : visualizza le informazioni sulla versione\n\ \ \ \ -fullversion : visualizza le informazioni sulla versione completa\n\ \ \ \ -help : visualizza questo messaggio sull'uso diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = \u4E88\u671F\u3057\u306A\u3044{0}\u304C\u884C{1}\u3001\u5217{2}\u306B\u3042\u308A\u307E\u3059 + +BASEDIR_DOESNT_EXIST = \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304C\u5B58\u5728\u3057\u307E\u305B\u3093: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = schemagen\u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3"2.2.7-b63" + +USAGE = \u4F7F\u7528\u65B9\u6CD5: schemagen [-options ...] \n\u30AA\u30D7\u30B7\u30E7\u30F3: \n\ \ \ \ -d : \u30D7\u30ED\u30BB\u30C3\u30B5\u304A\u3088\u3073javac\u304C\u751F\u6210\u3057\u305F\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u7F6E\u304F\u4F4D\u7F6E\u3092\u6307\u5B9A\u3057\u307E\u3059\n\ \ \ \ -cp : \u30E6\u30FC\u30B6\u30FC\u304C\u6307\u5B9A\u3057\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u4F4D\u7F6E\u3092\u6307\u5B9A\u3057\u307E\u3059\n\ \ \ \ -classpath : \u30E6\u30FC\u30B6\u30FC\u304C\u6307\u5B9A\u3057\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22\u3059\u308B\u4F4D\u7F6E\u3092\u6307\u5B9A\u3057\u307E\u3059\n\ \ \ \ -encoding : \u6CE8\u91C8\u51E6\u7406/javac\u547C\u51FA\u3057\u306B\u4F7F\u7528\u3059\u308B\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3092\u6307\u5B9A\u3057\u307E\u3059\n\ \ \ \ -episode : \u30B3\u30F3\u30D1\u30A4\u30EB\u3054\u3068\u306B\u30A8\u30D4\u30BD\u30FC\u30C9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u3057\u307E\u3059\n\ \ \ \ -version : \u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831\u3092\u8868\u793A\u3057\u307E\u3059\n\ \ \ \ -fullversion : \u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831\u3092\u8868\u793A\u3057\u307E\u3059\n\ \ \ \ -help : \u3053\u306E\u4F7F\u7528\u4F8B\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u8868\u793A\u3057\u307E\u3059 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = \uC608\uC0C1\uCE58 \uC54A\uC740 {0}\uC774(\uAC00) {1}\uD589 {2}\uC5F4\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4. + +BASEDIR_DOESNT_EXIST = \uC874\uC7AC\uD558\uC9C0 \uC54A\uB294 \uB514\uB809\uD1A0\uB9AC: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = schemagen \uC815\uC2DD \uBC84\uC804 "2.2.7-b63" + +USAGE = \uC0AC\uC6A9\uBC95: schemagen [-options ...] \n\uC635\uC158: \n\ \ \ \ -d : \uD504\uB85C\uC138\uC11C \uBC0F javac\uC5D0\uC11C \uC0DD\uC131\uD55C \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uBC30\uCE58\uD560 \uC704\uCE58\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4.\n\ \ \ \ -cp : \uC0AC\uC6A9\uC790\uAC00 \uC9C0\uC815\uD55C \uD30C\uC77C\uC744 \uCC3E\uC744 \uC704\uCE58\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4.\n\ \ \ \ -classpath : \uC0AC\uC6A9\uC790\uAC00 \uC9C0\uC815\uD55C \uD30C\uC77C\uC744 \uCC3E\uC744 \uC704\uCE58\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4.\n\ \ \ \ -encoding : \uC8FC\uC11D \uCC98\uB9AC/javac \uD638\uCD9C\uC5D0 \uC0AC\uC6A9\uD560 \uC778\uCF54\uB529\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4. \n\ \ \ \ -episode : \uBCC4\uB3C4 \uCEF4\uD30C\uC77C\uC744 \uC704\uD574 episode \uD30C\uC77C\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n\ \ \ \ -version : \uBC84\uC804 \uC815\uBCF4\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n\ \ \ \ -fullversion : \uC815\uC2DD \uBC84\uC804 \uC815\uBCF4\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.\n\ \ \ \ -help : \uC774 \uC0AC\uC6A9\uBC95 \uBA54\uC2DC\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = {0} inesperado aparece na linha {1} coluna {2} + +BASEDIR_DOESNT_EXIST = Diret\u00F3rio n\u00E3o existente: {0} + +VERSION = gera\u00E7\u00E3o do esquema 2.2.7-b63 + +FULLVERSION = vers\u00E3o completa da gera\u00E7\u00E3o do esquema "2.2.7-b63" + +USAGE = Uso: gera\u00E7\u00E3o do esquema [-options ...] \nOp\u00E7\u00F5es: \n\\ \\ \\ \\ -d : especificar onde colocar o processador e os arquivos da classe gerados por javac\n\\ \\ \\ \\ -cp : especificar onde localizar arquivos especificados pelo usu\u00E1rio\n\\ \\ \\ \\ -classpath : especificar onde localizar os arquivos especificados pelo usu\u00E1rio\n\\ \\ \\ \\ -encoding : especificar codifica\u00E7\u00E3o a ser usada para processamento de anota\u00E7\u00E3o/chamada javac \n\\ \\ \\ \\ -episode : gerar arquivo do epis\u00F3dio para compila\u00E7\u00E3o separada\n\\ \\ \\ \\ -version : exibir informa\u00E7\u00F5es da vers\u00E3o\n\\ \\ \\ \\ -fullversion : exibir informa\u00E7\u00F5es da vers\u00E3o completa\n\\ \\ \\ \\ -help : exibir esta mensagem de uso diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = \u5728\u7B2C {1} \u884C, \u7B2C {2} \u5217\u51FA\u73B0\u610F\u5916\u7684{0} + +BASEDIR_DOESNT_EXIST = \u4E0D\u5B58\u5728\u7684\u76EE\u5F55: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.2.7-b63" + +USAGE = \u7528\u6CD5: schemagen [-options ...] \n\u9009\u9879: \n\ \ \ \ -d : \u6307\u5B9A\u653E\u7F6E\u5904\u7406\u7A0B\u5E8F\u548C javac \u751F\u6210\u7684\u7C7B\u6587\u4EF6\u7684\u4F4D\u7F6E\n\ \ \ \ -cp : \u6307\u5B9A\u67E5\u627E\u7528\u6237\u6307\u5B9A\u6587\u4EF6\u7684\u4F4D\u7F6E\n\ \ \ \ -classpath : \u6307\u5B9A\u67E5\u627E\u7528\u6237\u6307\u5B9A\u6587\u4EF6\u7684\u4F4D\u7F6E\n\ \ \ \ -encoding : \u6307\u5B9A\u7528\u4E8E\u6CE8\u91CA\u5904\u7406/javac \u8C03\u7528\u7684\u7F16\u7801\n\ \ \ \ -episode : \u751F\u6210\u7247\u6BB5\u6587\u4EF6\u4EE5\u4F9B\u5355\u72EC\u7F16\u8BD1\n\ \ \ \ -version : \u663E\u793A\u7248\u672C\u4FE1\u606F\n\ \ \ \ -fullversion : \u663E\u793A\u5B8C\u6574\u7684\u7248\u672C\u4FE1\u606F\n\ \ \ \ -help : \u663E\u793A\u6B64\u7528\u6CD5\u6D88\u606F diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/MessageBundle_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +UNEXPECTED_NGCC_TOKEN = \u672A\u9810\u671F\u7684 {0} \u986F\u793A\u65BC\u884C {1} \u8CC7\u6599\u6B04 {2} + +BASEDIR_DOESNT_EXIST = \u4E0D\u5B58\u5728\u7684\u76EE\u9304: {0} + +VERSION = schemagen 2.2.7-b63 + +FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.2.7-b63" + +USAGE = \u7528\u6CD5: schemagen [-options ...] \n\u9078\u9805: \n\\ \\ \\ \\ -d : \u6307\u5B9A\u8655\u7406\u5668\u4EE5\u53CA javac \u7522\u751F\u7684\u985E\u5225\u6A94\u6848\u653E\u7F6E\u4F4D\u7F6E\n\\ \\ \\ \\ -cp : \u6307\u5B9A\u8981\u5C0B\u627E\u4F7F\u7528\u8005\u6307\u5B9A\u6A94\u6848\u7684\u4F4D\u7F6E\n\\ \\ \\ \\ -classpath : \u6307\u5B9A\u8981\u5C0B\u627E\u4F7F\u7528\u8005\u6307\u5B9A\u6A94\u6848\u7684\u4F4D\u7F6E\n\\ \\ \\ \\ -encoding : \u6307\u5B9A\u8981\u7528\u65BC\u8A3B\u89E3\u8655\u7406/javac \u547C\u53EB\u7684\u7DE8\u78BC \n\\ \\ \\ \\ -episode : \u7522\u751F\u7368\u7ACB\u7DE8\u8B6F\u7684\u4E8B\u4EF6 (episode) \u6A94\u6848\n\\ \\ \\ \\ -version : \u986F\u793A\u7248\u672C\u8CC7\u8A0A\n\\ \\ \\ \\ -fullversion : \u986F\u793A\u5B8C\u6574\u7248\u672C\u8CC7\u8A0A\n\\ \\ \\ \\ -help : \u986F\u793A\u6B64\u7528\u6CD5\u8A0A\u606F diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/NGCCRuntimeEx.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/NGCCRuntimeEx.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/NGCCRuntimeEx.java Tue Apr 16 08:11:41 2013 -0700 @@ -83,10 +83,9 @@ * @return * A list of regular expression patterns {@link Pattern} */ - public List getIncludePatterns(List includeContent ) { + public List getIncludePatterns(List includeContent ) { List includeRegexList = new ArrayList(); - for (int i = 0 ; i < includeContent.size(); i ++){ - String includes = (String)includeContent.get(i); + for (String includes : includeContent) { String regex = convertToRegex(includes); Pattern pattern = Pattern.compile(regex); includeRegexList.add(pattern); @@ -103,10 +102,9 @@ * @return * A list of regular expression patterns {@link Pattern} */ - public List getExcludePatterns(List excludeContent ) { - List excludeRegexList = new ArrayList(); - for (int i = 0 ; i < excludeContent.size(); i ++){ - String excludes = (String)excludeContent.get(i); + public List getExcludePatterns(List excludeContent ) { + List excludeRegexList = new ArrayList(); + for (String excludes : excludeContent) { String regex = convertToRegex(excludes); Pattern pattern = Pattern.compile(regex); excludeRegexList.add(pattern); @@ -126,17 +124,16 @@ for ( int i = 0 ; i < pattern.length(); i ++ ) { char c = pattern.charAt(i); - int j = i; nc = ' '; - if ((j+1) != pattern.length()) { - nc = pattern.charAt(j+1); + if ((i +1) != pattern.length()) { + nc = pattern.charAt(i +1); } //escape single '.' - if ((c=='.') && ( nc !='.')){ + if (c == '.' && nc != '.'){ regex.append('\\'); regex.append('.'); //do not allow patterns like a..b - } else if ((c=='.') && ( nc =='.')){ + } else if (c == '.'){ continue; // "**" gets replaced by ".*" } else if ((c=='*') && (nc == '*')) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,8 +27,6 @@ import com.sun.tools.internal.jxc.ap.Options; import com.sun.tools.internal.xjc.BadCommandLineException; -import com.sun.tools.internal.xjc.api.util.ApClassLoader; -import com.sun.tools.internal.xjc.api.util.ToolsJarNotFoundException; import com.sun.xml.internal.bind.util.Which; import javax.lang.model.SourceVersion; @@ -45,7 +43,9 @@ import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; +import java.net.URLClassLoader; import java.util.ArrayList; +import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.logging.Level; @@ -70,7 +70,6 @@ if (cl==null) { cl = SecureLoader.getSystemClassLoader(); } -// ClassLoader classLoader = new ApClassLoader(cl, packagePrefixes); // todo: check if can be removed return run(args, cl); } catch(Exception e) { System.err.println(e.getMessage()); @@ -79,19 +78,6 @@ } /** - * List of package prefixes we want to load in the same package - */ - private static final String[] packagePrefixes = { - "com.sun.tools.internal.jxc.", - "com.sun.tools.internal.xjc.", - "com.sun.istack.internal.tools.", - "com.sun.tools.javac.", - "com.sun.tools.javadoc.", - "javax.annotation.processing.", - "javax.lang.model." - }; - - /** * Runs the schema generator. * * @param classLoader @@ -148,18 +134,8 @@ aptargs.add(options.encoding); } - // make jaxb-api.jar visible to classpath - File jaxbApi = findJaxbApiJar(); - if(jaxbApi!=null) { - if(options.classpath!=null) { - options.classpath = options.classpath+File.pathSeparatorChar+jaxbApi; - } else { - options.classpath = jaxbApi.getPath(); - } - } - aptargs.add("-cp"); - aptargs.add(options.classpath); + aptargs.add(setClasspath(options.classpath)); // set original classpath + jaxb-api to be visible to annotation processor if(options.targetDir!=null) { aptargs.add("-d"); @@ -172,6 +148,31 @@ return ((Boolean) compileMethod.invoke(null, argsarray, options.episodeFile)) ? 0 : 1; } + private static String setClasspath(String givenClasspath) { + StringBuilder cp = new StringBuilder(); + appendPath(cp, givenClasspath); + ClassLoader cl = Thread.currentThread().getContextClassLoader(); + while (cl != null) { + if (cl instanceof URLClassLoader) { + for (URL url : ((URLClassLoader) cl).getURLs()) { + appendPath(cp, url.getPath()); + } + } + cl = cl.getParent(); + } + + appendPath(cp, findJaxbApiJar()); + return cp.toString(); + } + + private static void appendPath(StringBuilder cp, String url) { + if (url == null || url.trim().isEmpty()) + return; + if (cp.length() != 0) + cp.append(File.pathSeparatorChar); + cp.append(url); + } + /** * Computes the file system path of jaxb-api.jar so that * Annotation Processing will see them in the -cp option. @@ -183,7 +184,7 @@ * @return * null if failed to locate it. */ - private static File findJaxbApiJar() { + private static String findJaxbApiJar() { String url = Which.which(JAXBContext.class); if(url==null) return null; // impossible, but hey, let's be defensive @@ -198,11 +199,11 @@ try { File f = new File(new URL(jarFileUrl).toURI()); if (f.exists() && f.getName().endsWith(".jar")) { // see 6510966 - return f; + return f.getPath(); } f = new File(new URL(jarFileUrl).getFile()); if (f.exists() && f.getName().endsWith(".jar")) { // this is here for potential backw. compatibility issues - return f; + return f.getPath(); } } catch (URISyntaxException ex) { Logger.getLogger(SchemaGenerator.class.getName()).log(Level.SEVERE, null, ex); @@ -212,18 +213,6 @@ return null; } - /** - * Returns true if the list of arguments have an argument - * that looks like a class name. - */ - private static boolean hasClass(List args) { - for (String arg : args) { - if(!arg.endsWith(".java")) - return true; - } - return false; - } - private static void usage( ) { System.out.println(Messages.USAGE.format()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGeneratorFacade.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGeneratorFacade.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/SchemaGeneratorFacade.java Tue Apr 16 08:11:41 2013 -0700 @@ -25,7 +25,6 @@ package com.sun.tools.internal.jxc; -import com.sun.tools.internal.jxc.SecureLoader; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/SecureLoader.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/SecureLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/SecureLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -37,9 +37,9 @@ if (System.getSecurityManager() == null) { return Thread.currentThread().getContextClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return Thread.currentThread().getContextClassLoader(); } }); @@ -50,9 +50,9 @@ if (System.getSecurityManager() == null) { return c.getClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return c.getClassLoader(); } }); @@ -63,9 +63,9 @@ if (System.getSecurityManager() == null) { return ClassLoader.getSystemClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return ClassLoader.getSystemClassLoader(); } }); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/AnnotationParser.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/AnnotationParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/AnnotationParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,10 +26,10 @@ package com.sun.tools.internal.jxc.ap; import com.sun.tools.internal.jxc.ConfigReader; +import com.sun.tools.internal.jxc.api.JXC; import com.sun.tools.internal.xjc.ErrorReceiver; import com.sun.tools.internal.xjc.api.J2SJAXBModel; import com.sun.tools.internal.xjc.api.Reference; -import com.sun.tools.internal.xjc.api.XJC; import org.xml.sax.SAXException; import javax.annotation.processing.AbstractProcessor; @@ -37,7 +37,6 @@ import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; import javax.annotation.processing.SupportedOptions; -import javax.annotation.processing.SupportedSourceVersion; import javax.lang.model.SourceVersion; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; @@ -50,7 +49,6 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Collections; -import java.util.List; import java.util.Set; import java.util.StringTokenizer; @@ -60,11 +58,12 @@ * and the config files * It also reads config files * + * Used in unit tests + * * @author Bhakti Mehta (bhakti.mehta@sun.com) */ @SupportedAnnotationTypes("javax.xml.bind.annotation.*") -@SupportedOptions("jaxb.config") // Const.CONFIG_FILE_OPTION.getValue() -@SupportedSourceVersion(SourceVersion.RELEASE_6) +@SupportedOptions("jaxb.config") public final class AnnotationParser extends AbstractProcessor { private ErrorReceiver errorListener; @@ -110,7 +109,7 @@ ); Collection classesToBeIncluded = configReader.getClassesToBeIncluded(); - J2SJAXBModel model = XJC.createJavaCompiler().bind( + J2SJAXBModel model = JXC.createJavaCompiler().bind( classesToBeIncluded, Collections.emptyMap(), null, processingEnv); SchemaOutputResolver schemaOutputResolver = configReader.getSchemaOutputResolver(); @@ -128,10 +127,19 @@ private void filterClass(Collection rootElements, Collection elements) { for (Element element : elements) { - if (element.getKind().equals(ElementKind.CLASS) || element.getKind().equals(ElementKind.INTERFACE)) { + if (element.getKind().equals(ElementKind.CLASS) || element.getKind().equals(ElementKind.INTERFACE) || + element.getKind().equals(ElementKind.ENUM)) { rootElements.add((TypeElement) element); filterClass(rootElements, ElementFilter.typesIn(element.getEnclosedElements())); } } } + + @Override + public SourceVersion getSupportedSourceVersion() { + if (SourceVersion.latest().compareTo(SourceVersion.RELEASE_6) > 0) + return SourceVersion.valueOf("RELEASE_7"); + else + return SourceVersion.RELEASE_6; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = Verzeichnis "{0}" ist nicht vorhanden. + +UNRECOGNIZED_PARAMETER = Unbekannte Option {0} ist nicht g\u00FCltig. + +OPERAND_MISSING = In Option "{0}" fehlt ein Operand. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = El directorio "{0}" no existe. + +UNRECOGNIZED_PARAMETER = La opci\u00F3n no reconocida {0} no es v\u00E1lida. + +OPERAND_MISSING = A la opci\u00F3n "{0}" le falta un operando. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = Le r\u00E9pertoire "{0}" n''existe pas. + +UNRECOGNIZED_PARAMETER = L''option {0} non reconnue n''est pas valide. + +OPERAND_MISSING = Un op\u00E9rande est manquant dans l''option "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = La directory "{0}" non esiste. + +UNRECOGNIZED_PARAMETER = L''opzione non riconosciuta {0} non \u00E8 valida. + +OPERAND_MISSING = Operando mancante nell''opzione "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA"{0}"\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002 + +UNRECOGNIZED_PARAMETER = \u8A8D\u8B58\u3055\u308C\u306A\u3044\u30AA\u30D7\u30B7\u30E7\u30F3{0}\u306F\u7121\u52B9\u3067\u3059\u3002 + +OPERAND_MISSING = \u30AA\u30D7\u30B7\u30E7\u30F3"{0}"\u306B\u30AA\u30DA\u30E9\u30F3\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = "{0}" \uB514\uB809\uD1A0\uB9AC\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +UNRECOGNIZED_PARAMETER = \uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uC635\uC158 {0}\uC740(\uB294) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. + +OPERAND_MISSING = "{0}" \uC635\uC158\uC5D0 \uD53C\uC5F0\uC0B0\uC790\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = O diret\u00F3rio "{0}" n\u00E3o existe. + +UNRECOGNIZED_PARAMETER = A op\u00E7\u00E3o {0} n\u00E3o reconhecida \u00E9 inv\u00E1lida. + +OPERAND_MISSING = A op\u00E7\u00E3o "{0}" n\u00E3o encontrou um operando. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = \u76EE\u5F55 "{0}" \u4E0D\u5B58\u5728\u3002 + +UNRECOGNIZED_PARAMETER = \u65E0\u6CD5\u8BC6\u522B\u7684\u9009\u9879{0}, \u8BE5\u9009\u9879\u65E0\u6548\u3002 + +OPERAND_MISSING = \u9009\u9879 "{0}" \u7F3A\u5C11\u64CD\u4F5C\u6570\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/MessageBundle_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +NON_EXISTENT_FILE = \u76EE\u9304 "{0}" \u4E0D\u5B58\u5728. + +UNRECOGNIZED_PARAMETER = \u7121\u6CD5\u8FA8\u8B58\u7684\u9078\u9805 {0} \u7121\u6548. + +OPERAND_MISSING = \u9078\u9805 "{0}" \u907A\u6F0F\u904B\u7B97\u5143. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/Options.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/Options.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/Options.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -39,6 +39,8 @@ */ public class Options { + public static final String DISABLE_XML_SECURITY = "-disableXmlSecurity"; + // honor CLASSPATH environment variable, but it will be overrided by -cp public String classpath = System.getenv("CLASSPATH"); @@ -46,6 +48,8 @@ public File episodeFile = null; + private boolean disableXmlSecurity = false; + // encoding is not required for JDK5, 6, but JDK 7 javac is much more strict - see issue 6859289 public String encoding = null; @@ -85,6 +89,14 @@ return 1; } + if (args[i].equals(DISABLE_XML_SECURITY)) { + if (i == args.length - 1) + throw new BadCommandLineException( + (Messages.OPERAND_MISSING.format(args[i]))); + disableXmlSecurity = true; + return 1; + } + if (args[i].equals("-encoding")) { if (i == args.length - 1) throw new BadCommandLineException( @@ -106,5 +118,13 @@ } + /** + * @return the disableXmlSecurity + */ + public boolean isDisableXmlSecurity() { + return disableXmlSecurity; + } + + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SchemaGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SchemaGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SchemaGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -27,15 +27,14 @@ package com.sun.tools.internal.jxc.ap; +import com.sun.tools.internal.jxc.api.JXC; import com.sun.tools.internal.xjc.api.J2SJAXBModel; import com.sun.tools.internal.xjc.api.Reference; -import com.sun.tools.internal.xjc.api.XJC; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Processor; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; -import javax.annotation.processing.SupportedSourceVersion; import javax.lang.model.SourceVersion; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; @@ -66,7 +65,6 @@ * @author Kohsuke Kawaguchi */ @SupportedAnnotationTypes("*") -@SupportedSourceVersion(SourceVersion.RELEASE_6) public class SchemaGenerator extends AbstractProcessor { /** @@ -96,7 +94,7 @@ // so that users won't have to manually exclude interfaces, which is silly. filterClass(classes, roundEnv.getRootElements()); - J2SJAXBModel model = XJC.createJavaCompiler().bind(classes, Collections.emptyMap(), null, processingEnv); + J2SJAXBModel model = JXC.createJavaCompiler().bind(classes, Collections.emptyMap(), null, processingEnv); if (model == null) return false; // error @@ -143,4 +141,12 @@ } } } + + @Override + public SourceVersion getSupportedSourceVersion() { + if (SourceVersion.latest().compareTo(SourceVersion.RELEASE_6) > 0) + return SourceVersion.valueOf("RELEASE_7"); + else + return SourceVersion.RELEASE_6; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SecureLoader.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SecureLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/ap/SecureLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -37,9 +37,9 @@ if (System.getSecurityManager() == null) { return Thread.currentThread().getContextClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return Thread.currentThread().getContextClassLoader(); } }); @@ -50,9 +50,9 @@ if (System.getSecurityManager() == null) { return c.getClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return c.getClassLoader(); } }); @@ -63,9 +63,9 @@ if (System.getSecurityManager() == null) { return ClassLoader.getSystemClassLoader(); } else { - return (ClassLoader) java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public java.lang.Object run() { + return java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public ClassLoader run() { return ClassLoader.getSystemClassLoader(); } }); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/api/JXC.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/api/JXC.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2005, 2010, 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.tools.internal.jxc.api; + +import com.sun.tools.internal.xjc.api.JavaCompiler; +import com.sun.tools.internal.jxc.api.impl.j2s.JavaCompilerImpl; + +/** + * User: Iaroslav Savytskyi + * Date: 25/05/12 + */ +public class JXC { + /** + * Gets a fresh {@link JavaCompiler}. + * + * @return + * always return non-null object. + */ + public static JavaCompiler createJavaCompiler() { + return new JavaCompilerImpl(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/api/impl/j2s/JAXBModelImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/api/impl/j2s/JAXBModelImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,194 @@ +/* + * Copyright (c) 1997, 2011, 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.tools.internal.jxc.api.impl.j2s; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import javax.xml.bind.SchemaOutputResolver; +import javax.xml.bind.annotation.XmlList; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import javax.xml.transform.Result; + +import javax.lang.model.element.ExecutableElement; +import javax.lang.model.element.TypeElement; +import javax.lang.model.element.VariableElement; +import javax.lang.model.type.TypeMirror; +import com.sun.tools.internal.xjc.api.ErrorListener; +import com.sun.tools.internal.xjc.api.J2SJAXBModel; +import com.sun.tools.internal.xjc.api.Reference; +import com.sun.xml.internal.bind.v2.model.annotation.AnnotationReader; +import com.sun.xml.internal.bind.v2.model.core.ArrayInfo; +import com.sun.xml.internal.bind.v2.model.core.ClassInfo; +import com.sun.xml.internal.bind.v2.model.core.Element; +import com.sun.xml.internal.bind.v2.model.core.ElementInfo; +import com.sun.xml.internal.bind.v2.model.core.EnumLeafInfo; +import com.sun.xml.internal.bind.v2.model.core.NonElement; +import com.sun.xml.internal.bind.v2.model.core.Ref; +import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet; +import com.sun.xml.internal.bind.v2.model.nav.Navigator; +import com.sun.xml.internal.bind.v2.schemagen.XmlSchemaGenerator; +import com.sun.xml.internal.txw2.output.ResultFactory; + +/** + * @author Kohsuke Kawaguchi (kk@kohsuke.org) + */ +final class JAXBModelImpl implements J2SJAXBModel { + + private final Map additionalElementDecls; + + private final List classList = new ArrayList(); + + private final TypeInfoSet types; + + private final AnnotationReader reader; + + /** + * Lazily created schema generator. + */ + private XmlSchemaGenerator xsdgen; + + /** + * Look up table from an externally visible {@link Reference} object + * to our internal format. + */ + private final Map> refMap = new HashMap>(); + + public JAXBModelImpl(TypeInfoSet types, + AnnotationReader reader, + Collection rootClasses, + Map additionalElementDecls) { + this.types = types; + this.reader = reader; + this.additionalElementDecls = additionalElementDecls; + + Navigator navigator = types.getNavigator(); + + for (ClassInfo i : types.beans().values()) { + classList.add(i.getName()); + } + + for (ArrayInfo a : types.arrays().values()) { + String javaName = navigator.getTypeName(a.getType()); + classList.add(javaName); + } + + for (EnumLeafInfo l : types.enums().values()) { + QName tn = l.getTypeName(); + if(tn!=null) { + String javaName = navigator.getTypeName(l.getType()); + classList.add(javaName); + } + } + + for (Reference ref : rootClasses) + refMap.put(ref,getXmlType(ref)); + + // check for collision between "additional" ones and the ones given to JAXB + // and eliminate duplication + Iterator> itr = additionalElementDecls.entrySet().iterator(); + while(itr.hasNext()) { + Map.Entry entry = itr.next(); + if(entry.getValue()==null) continue; + + NonElement xt = getXmlType(entry.getValue()); + + assert xt!=null; + refMap.put(entry.getValue(),xt); + if(xt instanceof ClassInfo) { + ClassInfo xct = (ClassInfo) xt; + Element elem = xct.asElement(); + if(elem!=null && elem.getElementName().equals(entry.getKey())) { + itr.remove(); + continue; + } + } + ElementInfo ei = types.getElementInfo(null, entry.getKey()); + if(ei!=null && ei.getContentType()==xt) + itr.remove(); + } + } + + public List getClassList() { + return classList; + } + + public QName getXmlTypeName(Reference javaType) { + NonElement ti = refMap.get(javaType); + + if(ti!=null) + return ti.getTypeName(); + + return null; + } + + private NonElement getXmlType(Reference r) { + if(r==null) + throw new IllegalArgumentException(); + + XmlJavaTypeAdapter xjta = r.annotations.getAnnotation(XmlJavaTypeAdapter.class); + XmlList xl = r.annotations.getAnnotation(XmlList.class); + + Ref ref = new Ref( + reader,types.getNavigator(),r.type,xjta,xl); + + return types.getTypeInfo(ref); + } + + public void generateSchema(SchemaOutputResolver outputResolver, ErrorListener errorListener) throws IOException { + getSchemaGenerator().write(outputResolver,errorListener); + } + + public void generateEpisodeFile(Result output) { + getSchemaGenerator().writeEpisodeFile(ResultFactory.createSerializer(output)); + } + + private synchronized XmlSchemaGenerator getSchemaGenerator() { + if(xsdgen==null) { + xsdgen = new XmlSchemaGenerator(types.getNavigator(), types); + + for (Map.Entry e : additionalElementDecls.entrySet()) { + Reference value = e.getValue(); + if(value!=null) { + NonElement typeInfo = refMap.get(value); + if(typeInfo==null) + throw new IllegalArgumentException(e.getValue()+" was not specified to JavaCompiler.bind"); + TypeMirror type = value.type; + xsdgen.add(e.getKey(), !(type != null && type.getKind().isPrimitive()), typeInfo); + } else { + xsdgen.add(e.getKey(),false,null); + } + } + } + return xsdgen; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/api/impl/j2s/JavaCompilerImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/api/impl/j2s/JavaCompilerImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,111 @@ +/* + * Copyright (c) 1997, 2011, 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.tools.internal.jxc.api.impl.j2s; + +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; + +import javax.xml.bind.annotation.XmlList; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + +import javax.annotation.processing.ProcessingEnvironment; +import javax.annotation.processing.Messager; +import javax.lang.model.element.ExecutableElement; +import javax.lang.model.element.TypeElement; +import javax.lang.model.element.VariableElement; +import javax.lang.model.type.TypeMirror; +import javax.tools.Diagnostic; +import com.sun.tools.internal.jxc.ap.InlineAnnotationReaderImpl; +import com.sun.tools.internal.jxc.model.nav.ApNavigator; +import com.sun.tools.internal.xjc.api.J2SJAXBModel; +import com.sun.tools.internal.xjc.api.JavaCompiler; +import com.sun.tools.internal.xjc.api.Reference; +import com.sun.xml.internal.bind.v2.model.core.ErrorHandler; +import com.sun.xml.internal.bind.v2.model.core.Ref; +import com.sun.xml.internal.bind.v2.model.core.TypeInfoSet; +import com.sun.xml.internal.bind.v2.model.impl.ModelBuilder; +import com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException; + +/** + * @author Kohsuke Kawaguchi (kk@kohsuke.org) + */ +public class JavaCompilerImpl implements JavaCompiler { + public J2SJAXBModel bind( + Collection rootClasses, + Map additionalElementDecls, + String defaultNamespaceRemap, + ProcessingEnvironment env) { + + ModelBuilder builder = + new ModelBuilder( + InlineAnnotationReaderImpl.theInstance, + new ApNavigator(env), + Collections.emptyMap(), + defaultNamespaceRemap ); + + builder.setErrorHandler(new ErrorHandlerImpl(env.getMessager())); + + for ( Reference ref : rootClasses ) { + TypeMirror t = ref.type; + + XmlJavaTypeAdapter xjta = ref.annotations.getAnnotation(XmlJavaTypeAdapter.class); + XmlList xl = ref.annotations.getAnnotation(XmlList.class); + + builder.getTypeInfo(new Ref(builder, t, xjta, xl)); + } + + TypeInfoSet r = builder.link(); + if(r==null) return null; + + if(additionalElementDecls==null) + additionalElementDecls = Collections.emptyMap(); + else { + // fool proof check + for (Map.Entry e : additionalElementDecls.entrySet()) { + if(e.getKey()==null) + throw new IllegalArgumentException("nulls in additionalElementDecls"); + } + } + return new JAXBModelImpl(r, builder.reader, rootClasses, new HashMap(additionalElementDecls)); + } + + private static final class ErrorHandlerImpl implements ErrorHandler { + private final Messager messager; + + public ErrorHandlerImpl(Messager messager) { + this.messager = messager; + } + + public void error(IllegalAnnotationException e) { + String error = e.toString(); + messager.printMessage(Diagnostic.Kind.ERROR, error); + System.err.println(error); //TODO: temporary fix problem with no ouput from messager + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/AttributesImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/AttributesImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/AttributesImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Classes.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Classes.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Classes.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -78,29 +78,6 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 12: - { - if(($__uri.equals("") && $__local.equals("classes"))) { - $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); - $_ngcc_current_state = 11; - } - else { - unexpectedEnterElement($__qname); - } - } - break; - case 2: - { - if(($__uri.equals("") && $__local.equals("excludes"))) { - $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); - $_ngcc_current_state = 6; - } - else { - $_ngcc_current_state = 1; - $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); - } - } - break; case 0: { revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); @@ -123,6 +100,29 @@ } } break; + case 2: + { + if(($__uri.equals("") && $__local.equals("excludes"))) { + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); + $_ngcc_current_state = 6; + } + else { + $_ngcc_current_state = 1; + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); + } + } + break; + case 12: + { + if(($__uri.equals("") && $__local.equals("classes"))) { + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); + $_ngcc_current_state = 11; + } + else { + unexpectedEnterElement($__qname); + } + } + break; default: { unexpectedEnterElement($__qname); @@ -137,11 +137,11 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 3: + case 8: { - if(($__uri.equals("") && $__local.equals("excludes"))) { + if(($__uri.equals("") && $__local.equals("includes"))) { $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); - $_ngcc_current_state = 1; + $_ngcc_current_state = 2; } else { unexpectedLeaveElement($__qname); @@ -159,12 +159,6 @@ } } break; - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); - } - break; case 0: { revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); @@ -176,17 +170,23 @@ $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); } break; - case 8: + case 3: { - if(($__uri.equals("") && $__local.equals("includes"))) { + if(($__uri.equals("") && $__local.equals("excludes"))) { $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); - $_ngcc_current_state = 2; + $_ngcc_current_state = 1; } else { unexpectedLeaveElement($__qname); } } break; + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); + } + break; default: { unexpectedLeaveElement($__qname); @@ -201,12 +201,6 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); - } - break; case 0: { revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); @@ -218,6 +212,12 @@ $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); } break; + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); + } + break; default: { unexpectedEnterAttribute($__qname); @@ -232,12 +232,6 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); - } - break; case 0: { revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); @@ -249,6 +243,12 @@ $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); } break; + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); + } + break; default: { unexpectedLeaveAttribute($__qname); @@ -260,27 +260,14 @@ public void text(String $value) throws SAXException { int $ai; switch($_ngcc_current_state) { - case 6: + case 9: { - __text = $value; - $_ngcc_current_state = 4; - action1(); + include_content = $value; + $_ngcc_current_state = 8; + action2(); } break; - case 3: - { - exclude_content = $value; - $_ngcc_current_state = 3; - action0(); - } - break; - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendText(super._cookie, $value); - } - break; - case 9: + case 8: { include_content = $value; $_ngcc_current_state = 8; @@ -299,6 +286,26 @@ action0(); } break; + case 3: + { + exclude_content = $value; + $_ngcc_current_state = 3; + action0(); + } + break; + case 6: + { + __text = $value; + $_ngcc_current_state = 4; + action1(); + } + break; + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendText(super._cookie, $value); + } + break; case 10: { __text = $value; @@ -306,13 +313,6 @@ action3(); } break; - case 8: - { - include_content = $value; - $_ngcc_current_state = 8; - action2(); - } - break; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Config.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Config.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Config.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -74,6 +74,22 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { + case 1: + { + if(($__uri.equals("") && $__local.equals("schema"))) { + NGCCHandler h = new Schema(this, super._source, $runtime, 31, baseDir); + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); + } + else { + unexpectedEnterElement($__qname); + } + } + break; + case 0: + { + revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); + } + break; case 7: { if(($ai = $runtime.getAttributeIndex("","baseDir"))>=0) { @@ -85,16 +101,11 @@ } } break; - case 0: + case 8: { - revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); - } - break; - case 1: - { - if(($__uri.equals("") && $__local.equals("schema"))) { - NGCCHandler h = new Schema(this, super._source, $runtime, 31, baseDir); - spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); + if(($__uri.equals("") && $__local.equals("config"))) { + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); + $_ngcc_current_state = 7; } else { unexpectedEnterElement($__qname); @@ -113,17 +124,6 @@ } } break; - case 8: - { - if(($__uri.equals("") && $__local.equals("config"))) { - $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); - $_ngcc_current_state = 7; - } - else { - unexpectedEnterElement($__qname); - } - } - break; case 4: { if(($__uri.equals("") && $__local.equals("classes"))) { @@ -149,11 +149,11 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 7: + case 1: { - if(($ai = $runtime.getAttributeIndex("","baseDir"))>=0) { - $runtime.consumeAttribute($ai); - $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); + if(($__uri.equals("") && $__local.equals("config"))) { + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); + $_ngcc_current_state = 0; } else { unexpectedLeaveElement($__qname); @@ -165,11 +165,11 @@ revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); } break; - case 1: + case 7: { - if(($__uri.equals("") && $__local.equals("config"))) { - $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); - $_ngcc_current_state = 0; + if(($ai = $runtime.getAttributeIndex("","baseDir"))>=0) { + $runtime.consumeAttribute($ai); + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); } else { unexpectedLeaveElement($__qname); @@ -196,6 +196,11 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { + case 0: + { + revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); + } + break; case 7: { if(($__uri.equals("") && $__local.equals("baseDir"))) { @@ -206,11 +211,6 @@ } } break; - case 0: - { - revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); - } - break; case 2: { $_ngcc_current_state = 1; @@ -236,6 +236,12 @@ revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); } break; + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); + } + break; case 5: { if(($__uri.equals("") && $__local.equals("baseDir"))) { @@ -246,12 +252,6 @@ } } break; - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); - } - break; default: { unexpectedLeaveAttribute($__qname); @@ -263,6 +263,18 @@ public void text(String $value) throws SAXException { int $ai; switch($_ngcc_current_state) { + case 0: + { + revertToParentFromText(this, super._cookie, $value); + } + break; + case 6: + { + bd = $value; + $_ngcc_current_state = 5; + action1(); + } + break; case 7: { if(($ai = $runtime.getAttributeIndex("","baseDir"))>=0) { @@ -271,24 +283,12 @@ } } break; - case 0: - { - revertToParentFromText(this, super._cookie, $value); - } - break; case 2: { $_ngcc_current_state = 1; $runtime.sendText(super._cookie, $value); } break; - case 6: - { - bd = $value; - $_ngcc_current_state = 5; - action1(); - } - break; } } @@ -301,6 +301,12 @@ $_ngcc_current_state = 1; } break; + case 34: + { + this.classes = ((Classes)result); + $_ngcc_current_state = 2; + } + break; case 32: { this._schema = ((Schema)result); @@ -308,12 +314,6 @@ $_ngcc_current_state = 1; } break; - case 34: - { - this.classes = ((Classes)result); - $_ngcc_current_state = 2; - } - break; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventReceiver.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventReceiver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventReceiver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventSource.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCEventSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCInterleaveFilter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCInterleaveFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCInterleaveFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Schema.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Schema.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/Schema.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -67,23 +67,6 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 6: - { - if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { - $runtime.consumeAttribute($ai); - $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); - } - else { - $_ngcc_current_state = 2; - $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); - } - } - break; - case 0: - { - revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); - } - break; case 2: { if(($ai = $runtime.getAttributeIndex("","location"))>=0) { @@ -107,6 +90,23 @@ } } break; + case 0: + { + revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); + } + break; + case 6: + { + if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { + $runtime.consumeAttribute($ai); + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); + } + else { + $_ngcc_current_state = 2; + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); + } + } + break; default: { unexpectedEnterElement($__qname); @@ -121,23 +121,6 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 6: - { - if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { - $runtime.consumeAttribute($ai); - $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); - } - else { - $_ngcc_current_state = 2; - $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); - } - } - break; - case 0: - { - revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); - } - break; case 1: { if(($__uri.equals("") && $__local.equals("schema"))) { @@ -161,6 +144,23 @@ } } break; + case 0: + { + revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); + } + break; + case 6: + { + if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { + $runtime.consumeAttribute($ai); + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); + } + else { + $_ngcc_current_state = 2; + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); + } + } + break; default: { unexpectedLeaveElement($__qname); @@ -175,13 +175,13 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { - case 6: + case 2: { - if(($__uri.equals("") && $__local.equals("namespace"))) { - $_ngcc_current_state = 8; + if(($__uri.equals("") && $__local.equals("location"))) { + $_ngcc_current_state = 4; } else { - $_ngcc_current_state = 2; + $_ngcc_current_state = 1; $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); } } @@ -191,13 +191,13 @@ revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); } break; - case 2: + case 6: { - if(($__uri.equals("") && $__local.equals("location"))) { - $_ngcc_current_state = 4; + if(($__uri.equals("") && $__local.equals("namespace"))) { + $_ngcc_current_state = 8; } else { - $_ngcc_current_state = 1; + $_ngcc_current_state = 2; $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); } } @@ -216,6 +216,12 @@ $localName = $__local; $qname = $__qname; switch($_ngcc_current_state) { + case 2: + { + $_ngcc_current_state = 1; + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); + } + break; case 7: { if(($__uri.equals("") && $__local.equals("namespace"))) { @@ -226,23 +232,6 @@ } } break; - case 6: - { - $_ngcc_current_state = 2; - $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); - } - break; - case 0: - { - revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); - } - break; - case 2: - { - $_ngcc_current_state = 1; - $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); - } - break; case 3: { if(($__uri.equals("") && $__local.equals("location"))) { @@ -253,6 +242,17 @@ } } break; + case 0: + { + revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); + } + break; + case 6: + { + $_ngcc_current_state = 2; + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); + } + break; default: { unexpectedLeaveAttribute($__qname); @@ -264,14 +264,14 @@ public void text(String $value) throws SAXException { int $ai; switch($_ngcc_current_state) { - case 6: + case 2: { - if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { + if(($ai = $runtime.getAttributeIndex("","location"))>=0) { $runtime.consumeAttribute($ai); $runtime.sendText(super._cookie, $value); } else { - $_ngcc_current_state = 2; + $_ngcc_current_state = 1; $runtime.sendText(super._cookie, $value); } } @@ -283,25 +283,25 @@ action0(); } break; - case 0: - { - revertToParentFromText(this, super._cookie, $value); - } - break; case 8: { namespace = $value; $_ngcc_current_state = 7; } break; - case 2: + case 0: { - if(($ai = $runtime.getAttributeIndex("","location"))>=0) { + revertToParentFromText(this, super._cookie, $value); + } + break; + case 6: + { + if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { $runtime.consumeAttribute($ai); $runtime.sendText(super._cookie, $value); } else { - $_ngcc_current_state = 1; + $_ngcc_current_state = 2; $runtime.sendText(super._cookie, $value); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java Tue Apr 16 08:11:41 2013 -0700 @@ -31,7 +31,6 @@ import com.sun.xml.internal.bind.v2.model.nav.Navigator; import com.sun.xml.internal.bind.v2.runtime.Location; -import java.lang.annotation.Annotation; import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.Element; @@ -53,6 +52,7 @@ import javax.lang.model.util.Elements; import javax.lang.model.util.SimpleTypeVisitor6; import javax.lang.model.util.Types; +import java.lang.annotation.Annotation; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; @@ -375,17 +375,17 @@ throw new IllegalStateException(); } - @Override +// @Override public List getAnnotationMirrors() { throw new IllegalStateException(); } - @Override +// @Override public A getAnnotation(Class annotationType) { throw new IllegalStateException(); } - @Override +// @Override public A[] getAnnotationsByType(Class annotationType) { throw new IllegalStateException(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/Invoker.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/Invoker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/Invoker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -55,6 +55,45 @@ * @author Kohsuke Kawaguchi */ public final class Invoker { + + /** + * The list of package prefixes we want the + * {@link MaskingClassLoader} to prevent the parent + * classLoader from loading + */ + static final String[] maskedPackages = new String[]{ + "com.sun.istack.internal.tools.", + "com.sun.tools.internal.jxc.", + "com.sun.tools.internal.xjc.", + "com.sun.tools.internal.ws.", + "com.sun.codemodel.internal.", + "com.sun.relaxng.", + "com.sun.xml.internal.xsom.", + "com.sun.xml.internal.bind.", + "com.ctc.wstx.", //wsimport, wsgen ant task + "org.codehaus.stax2.", //wsimport, wsgen ant task + "com.sun.xml.internal.messaging.saaj.", //wsgen ant task + "com.sun.xml.internal.ws.", + "com.oracle.webservices.internal.api." //wsgen + }; + + /** + * Escape hatch to work around IBM JDK problem. + * See http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?nav=false&forum=367&thread=164718&cat=10 + */ + public static final boolean noSystemProxies; + + static { + boolean noSysProxiesProperty = false; + try { + noSysProxiesProperty = Boolean.getBoolean(Invoker.class.getName()+".noSystemProxies"); + } catch(SecurityException e) { + // ignore + } finally { + noSystemProxies = noSysProxiesProperty; + } + } + static int invoke(String mainClass, String[] args) throws Throwable { // use the platform default proxy if available. // see sun.net.spi.DefaultProxySelector for details. @@ -107,7 +146,7 @@ // finally load the rest of the RI. The actual class files are loaded from ancestors cl = new ParallelWorldClassLoader(cl,""); - } + } } @@ -194,29 +233,6 @@ } /** - * Creates a classloader for loading JAXB/WS 2.1 jar and tools.jar - */ - private static URL[] findIstack21APIs(ClassLoader cl) throws ClassNotFoundException, MalformedURLException, ToolsJarNotFoundException { - List urls = new ArrayList(); - - if(Service.class.getClassLoader()==null) { - // JAX-WS API is loaded from bootstrap classloader - URL res = cl.getResource("javax/xml/ws/EndpointReference.class"); - if(res==null) - throw new ClassNotFoundException("There's no JAX-WS 2.1 API in the classpath"); - urls.add(ParallelWorldClassLoader.toJarUrl(res)); - - res = cl.getResource("javax/xml/bind/annotation/XmlSeeAlso.class"); - if(res==null) - throw new ClassNotFoundException("There's no JAXB 2.1 API in the classpath"); - urls.add(ParallelWorldClassLoader.toJarUrl(res)); - } - - findToolsJar(cl, urls); - - return urls.toArray(new URL[urls.size()]); - } - /** * Creates a classloader for loading JAXB/WS 2.2 jar and tools.jar */ private static URL[] findIstack22APIs(ClassLoader cl) throws ClassNotFoundException, IOException, ToolsJarNotFoundException { @@ -258,37 +274,4 @@ } } - /** - * The list of package prefixes we want the - * {@link MaskingClassLoader} to prevent the parent - * classLoader from loading - */ - public static String[] maskedPackages = new String[]{ - "com.sun.istack.internal.tools.", - "com.sun.tools.internal.jxc.", - "com.sun.tools.internal.xjc.", - "com.sun.tools.internal.ws.", - "com.sun.codemodel.internal.", - "com.sun.relaxng.", - "com.sun.xml.internal.xsom.", - "com.sun.xml.internal.bind.", - "com.ctc.wstx.", //wsimport, wsgen ant task - "org.codehaus.stax2.", //wsimport, wsgen ant task - "com.sun.xml.internal.messaging.saaj.", //wsgen ant task - "com.sun.xml.internal.ws." - }; - - /** - * Escape hatch to work around IBM JDK problem. - * See http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?nav=false&forum=367&thread=164718&cat=10 - */ - public static boolean noSystemProxies = false; - - static { - try { - noSystemProxies = Boolean.getBoolean(Invoker.class.getName()+".noSystemProxies"); - } catch(SecurityException e) { - // ignore - } - } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/ToolVersion.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/ToolVersion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/ToolVersion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/WsGen.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/WsGen.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/WsGen.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/WsImport.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/WsImport.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/WsImport.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/TJavaGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/TJavaGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/TJavaGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenExtension.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenProtocol.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenProtocol.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/WsgenProtocol.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 @@ -41,13 +41,13 @@ public @interface WsgenProtocol { /** * Token for wsgen -wsdl[:protocol] - * @return + * @return Token for wsgen -wsdl[:protocol] */ String token(); /** * The corresponding lexical string used to create BindingID - * @return + * @return lexical string used to create BindingID */ String lexical(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensible.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensible.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensible.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtension.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLOperation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLParserContext.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLParserContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/api/wsdl/TWSDLParserContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/package-info.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/ProcessorException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/ProcessorException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/ProcessorException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/CustomExceptionGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/CustomExceptionGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/CustomExceptionGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorBase.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -60,11 +60,11 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; +import javax.annotation.processing.Filer; +import javax.tools.FileObject; -/** - * - * @author WS Development Team - */ +import javax.tools.StandardLocation; + public abstract class GeneratorBase implements ModelVisitor { private File destDir; private String targetVersion; @@ -96,28 +96,33 @@ } } + @Override public void visit(Model model) throws Exception { for (Service service : model.getServices()) { service.accept(this); } } + @Override public void visit(Service service) throws Exception { for (Port port : service.getPorts()) { port.accept(this); } } + @Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } } + @Override public void visit(Operation operation) throws Exception { operation.getRequest().accept(this); - if (operation.getResponse() != null) + if (operation.getResponse() != null) { operation.getResponse().accept(this); + } Iterator faults = operation.getFaultsSet().iterator(); if (faults != null) { Fault fault; @@ -128,21 +133,20 @@ } } - public void visit(Parameter param) throws Exception { - } + @Override + public void visit(Parameter param) throws Exception {} - public void visit(Block block) throws Exception { - } + @Override + public void visit(Block block) throws Exception {} - public void visit(Response response) throws Exception { - } - + @Override + public void visit(Response response) throws Exception {} - public void visit(Request request) throws Exception { - } + @Override + public void visit(Request request) throws Exception {} - public void visit(Fault fault) throws Exception { - } + @Override + public void visit(Fault fault) throws Exception {} public List getJAXWSClassComment(){ return getJAXWSClassComment(targetVersion); @@ -162,8 +166,9 @@ cls = cm._class(className, type); } catch (JClassAlreadyExistsException e){ cls = cm._getClass(className); - if(cls == null) + if (cls == null) { throw e; + } } return cls; } @@ -181,8 +186,9 @@ protected void writeHandlerConfig(String className, JDefinedClass cls, WsimportOptions options) { Element e = options.getHandlerChainConfiguration(); - if(e == null) + if (e == null) { return; + } JAnnotationUse handlerChainAnn = cls.annotate(cm.ref(HandlerChain.class)); NodeList nl = e.getElementsByTagNameNS( "http://java.sun.com/xml/ns/javaee", "handler-chain"); @@ -199,17 +205,25 @@ } private void generateHandlerChainFile(Element hChains, String name) { - String hcName = getHandlerConfigFileName(name); - File packageDir = DirectoryUtil.getOutputDirectoryFor(name, destDir); - File hcFile = new File(packageDir, hcName); - - options.addGeneratedFile(hcFile); + Filer filer = options.filer; try { - IndentingWriter p = - new IndentingWriter( - new OutputStreamWriter(new FileOutputStream(hcFile))); + IndentingWriter p; + FileObject jfo; + if (filer != null) { + jfo = filer.createResource(StandardLocation.SOURCE_OUTPUT, + Names.getPackageName(name), getHandlerConfigFileName(name)); + options.addGeneratedFile(new File(jfo.toUri())); + p = new IndentingWriter(new OutputStreamWriter(jfo.openOutputStream())); + } else { // leave for backw. compatibility now + String hcName = getHandlerConfigFileName(name); + File packageDir = DirectoryUtil.getOutputDirectoryFor(name, destDir); + File hcFile = new File(packageDir, hcName); + options.addGeneratedFile(hcFile); + p = new IndentingWriter(new OutputStreamWriter(new FileOutputStream(hcFile))); + } + Transformer it = XmlUtil.newTransformer(); it.setOutputProperty(OutputKeys.METHOD, "xml"); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -62,7 +62,7 @@ /** * Allow additional wsimport options - * @param name, for instance, "-neoption" + * @param name for instance, "-neoption" * @return whether the name specifies an option recognized by the extension */ public boolean validateOption(String name) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorUtil.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/GeneratorUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JavaGeneratorExtensionFacade.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JavaGeneratorExtensionFacade.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JavaGeneratorExtensionFacade.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JwsImplGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JwsImplGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/JwsImplGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -50,6 +50,7 @@ import javax.xml.namespace.QName; import javax.xml.ws.Holder; import java.io.File; +import java.text.MessageFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -84,12 +85,12 @@ jwsImplGenerator.init(model, options, receiver); jwsImplGenerator.doGeneration(); // print a warning message while implFiles.size() is zero - if (jwsImplGenerator.implFiles.size() == 0) { - StringBuffer msg = new StringBuffer(); + if (jwsImplGenerator.implFiles.isEmpty()) { + StringBuilder msg = new StringBuilder(); if (options.implServiceName != null) - msg.append("serviceName=[" + options.implServiceName + "] "); + msg.append("serviceName=[").append(options.implServiceName).append("] "); if (options.implPortName != null) - msg.append("portName=[" + options.implPortName + "] "); + msg.append("portName=[").append(options.implPortName).append("] "); if (msg.length() > 0) msg.append(", Not found in wsdl file.\n"); @@ -107,7 +108,7 @@ public static boolean moveToImplDestDir(List gImplFiles, WsimportOptions options, ErrorReceiver receiver) { if (options.implDestDir == null || gImplFiles == null - || gImplFiles.size() == 0) + || gImplFiles.isEmpty()) return true; List generatedImplFiles = ImplFile.toImplFiles(gImplFiles); @@ -335,24 +336,29 @@ webServiceAnn.param("wsdlLocation", wsdlLocation); webServiceAnn.param("endpointInterface", port.getJavaInterface().getName()); } + //CR373098 To transform the java class name as validate. - private String transToValidJavaIdentifier(String s) { - if (s == null) return null; - final int len = s.length(); - StringBuffer retSB = new StringBuffer(); - if (len == 0 || !Character.isJavaIdentifierStart(s.charAt(0))) - retSB.append("J"); //update to a default start char - else - retSB.append(s.charAt(0)); + private String transToValidJavaIdentifier(String s) { + if (s == null) { + return null; + } + final int len = s.length(); + StringBuilder retSB = new StringBuilder(); + if (len == 0 || !Character.isJavaIdentifierStart(s.charAt(0))) { + retSB.append("J"); //update to a default start char + } else { + retSB.append(s.charAt(0)); + } - for (int i = 1; i < len; i++) { - if (!Character.isJavaIdentifierPart(s.charAt(i))) - ; //delete it if it is illegal //TODO: It might conflict "a-b" vs. "ab" - else - retSB.append(s.charAt(i)); - } - return retSB.toString(); - } + for (int i = 1; i < len; i++) { + if (!Character.isJavaIdentifierPart(s.charAt(i))) + ; //delete it if it is illegal //TODO: It might conflict "a-b" vs. "ab" + else { + retSB.append(s.charAt(i)); + } + } + return retSB.toString(); + } private String makePackageQualified(String s) { s = transToValidJavaIdentifier(s); @@ -446,21 +452,20 @@ } } - // process the bindings in backup list of model + // process the bindings in whole document if (value == null) { - // TODO: The property "BAKEUP_BINDINGS" is set in WsdlModeler when init - // the model - // make this as a const if needed. - HashMap hm = (HashMap) model.getProperty("BAKEUP_BINDINGS"); - Binding b = (Binding) hm.get(bName); - if (b != null) { + if (model.getEntity() instanceof Definitions) { + Definitions definitions = (Definitions) model.getEntity(); + Binding b = (Binding) definitions.resolveBindings().get(bName); + if (b != null) { List bindextends = (List) b .extensions(); for (TWSDLExtension wsdlext : bindextends) { - value = resolveBindingValue(wsdlext); - if (value != null) - break; + value = resolveBindingValue(wsdlext); + if (value != null) + break; } + } } } @@ -478,14 +483,14 @@ * retrieved from WSDL * @return Standard BindingType URI defined by JAX-WS 2.0 specification. */ - private String translate(String transportURI) - { - String translatedBindingId = TRANSLATION_MAP.get(transportURI); - if (translatedBindingId == null) - translatedBindingId = transportURI; - - return translatedBindingId; - } +// private String translate(String transportURI) +// { +// String translatedBindingId = TRANSLATION_MAP.get(transportURI); +// if (translatedBindingId == null) +// translatedBindingId = transportURI; +// +// return translatedBindingId; +// } /***************************************************************************** * Inner classes definition @@ -529,7 +534,10 @@ ret = options.implDestDir; } - ret.mkdirs(); + boolean created = ret.mkdirs(); + if (options.verbose && !created) { + System.out.println(MessageFormat.format("Directory not created: {0}", ret)); + } return ret; } @@ -549,7 +557,7 @@ private static File findFile(WsimportOptions options, String qualifiedFileName) throws java.io.IOException { - String baseDir = options.destDir.getCanonicalPath(); + String baseDir = options.sourceDir.getCanonicalPath(); String fp = null; for (File f : options.getGeneratedFiles()) { fp = getQualifiedFileName(baseDir, f); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/Names.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/Names.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/Names.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/SeiGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/SeiGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/SeiGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -36,10 +36,8 @@ import com.sun.tools.internal.ws.wscompile.ErrorReceiver; import com.sun.tools.internal.ws.wscompile.Options; import com.sun.tools.internal.ws.wscompile.WsimportOptions; -import com.sun.tools.internal.ws.wscompile.AbortException; import com.sun.tools.internal.ws.wsdl.document.soap.SOAPStyle; import com.sun.tools.internal.ws.wsdl.document.PortType; -import com.sun.tools.internal.ws.wsdl.document.Kinds; import com.sun.tools.internal.ws.resources.GeneratorMessages; import javax.jws.WebMethod; @@ -55,7 +53,6 @@ import org.xml.sax.Locator; public class SeiGenerator extends GeneratorBase { - private String serviceNS; private TJavaGeneratorExtension extension; private List extensionHandlers; @@ -76,10 +73,11 @@ register(new W3CAddressingJavaGeneratorExtension()); } - for (TJavaGeneratorExtension j : extensions) + for (TJavaGeneratorExtension j : extensions) { register(j); + } - this.extension = new JavaGeneratorExtensionFacade(extensionHandlers.toArray(new TJavaGeneratorExtension[0])); + this.extension = new JavaGeneratorExtensionFacade(extensionHandlers.toArray(new TJavaGeneratorExtension[extensionHandlers.size()])); } private void write(Port port) { @@ -92,7 +90,7 @@ } - JDefinedClass cls = null; + JDefinedClass cls; try { cls = getClass(className, ClassType.INTERFACE); } catch (JClassAlreadyExistsException e) { @@ -102,16 +100,18 @@ Locator loc = null; if(portTypeName != null){ PortType pt = port.portTypes.get(portTypeName); - if(pt!=null) + if (pt!=null) { loc = pt.getLocator(); + } } receiver.error(loc, GeneratorMessages.GENERATOR_SEI_CLASS_ALREADY_EXIST(intf.getName(), portTypeName)); return; } // If the class has methods it has already been defined // so skip it. - if (!cls.methods().isEmpty()) + if (!cls.methods().isEmpty()) { return; + } //write class comment - JAXWS warning JDocComment comment = cls.javadoc(); @@ -138,8 +138,9 @@ writeSOAPBinding(port, cls); //@XmlSeeAlso - if(options.target.isLaterThan(Options.Target.V2_1)) + if (options.target.isLaterThan(Options.Target.V2_1)) { writeXmlSeeAlso(cls); + } for (Operation operation: port.getOperations()) { JavaMethod method = operation.getJavaMethod(); @@ -159,8 +160,9 @@ JCommentPart ret = methodDoc.addReturn(); ret.add("returns "+retType.getName()); } - if(methodJavaDoc != null) + if (methodJavaDoc != null) { methodDoc.add(methodJavaDoc); + } writeWebMethod(operation, m); JClass holder = cm.ref(Holder.class); @@ -196,8 +198,9 @@ List objectFactories = model.getJAXBModel().getS2JJAXBModel().getAllObjectFactories(); //if there are no object facotires, dont generate @XmlSeeAlso - if(objectFactories.size() == 0) + if (objectFactories.isEmpty()) { return; + } JAnnotationUse xmlSeeAlso = cls.annotate(cm.ref(XmlSeeAlso.class)); JAnnotationArrayMember paramArray = xmlSeeAlso.paramArray("value"); @@ -261,21 +264,24 @@ wr = m.annotate(javax.jws.WebResult.class); wr.param("name", resultName); } - if((nsURI != null) && (!nsURI.equals(serviceNS) || (isDocStyle && operation.isWrapped()))){ - if(wr == null) + if (nsURI != null || (isDocStyle && operation.isWrapped())) { + if(wr == null) { wr = m.annotate(javax.jws.WebResult.class); + } wr.param("targetNamespace", nsURI); } //doclit wrapped could have additional headers if(!(isDocStyle && operation.isWrapped()) || (parameter.getBlock().getLocation() == Block.HEADER)){ - if(wr == null) + if (wr == null) { wr = m.annotate(javax.jws.WebResult.class); + } wr.param("partName", parameter.getName()); } if(parameter.getBlock().getLocation() == Block.HEADER){ - if(wr == null) + if (wr == null) { wr = m.annotate(javax.jws.WebResult.class); + } wr.param("header",true); } } @@ -318,34 +324,43 @@ } private boolean isHeaderParam(Parameter param, Message message) { - if (message.getHeaderBlockCount() == 0) + if (message.getHeaderBlockCount() == 0) { return false; + } - for (Block headerBlock : message.getHeaderBlocksMap().values()) - if (param.getBlock().equals(headerBlock)) + for (Block headerBlock : message.getHeaderBlocksMap().values()) { + if (param.getBlock().equals(headerBlock)) { return true; + } + } return false; } private boolean isAttachmentParam(Parameter param, Message message){ - if (message.getAttachmentBlockCount() == 0) + if (message.getAttachmentBlockCount() == 0) { return false; + } - for (Block attBlock : message.getAttachmentBlocksMap().values()) - if (param.getBlock().equals(attBlock)) + for (Block attBlock : message.getAttachmentBlocksMap().values()) { + if (param.getBlock().equals(attBlock)) { return true; + } + } return false; } private boolean isUnboundParam(Parameter param, Message message){ - if (message.getUnboundBlocksCount() == 0) + if (message.getUnboundBlocksCount() == 0) { return false; + } - for (Block unboundBlock : message.getUnboundBlocksMap().values()) - if (param.getBlock().equals(unboundBlock)) + for (Block unboundBlock : message.getUnboundBlocksMap().values()) { + if (param.getBlock().equals(unboundBlock)) { return true; + } + } return false; } @@ -361,10 +376,11 @@ String name; boolean isWrapped = operation.isWrapped(); - if((param.getBlock().getLocation() == Block.HEADER) || (isDocStyle && !isWrapped)) + if ((param.getBlock().getLocation() == Block.HEADER) || (isDocStyle && !isWrapped)) { name = param.getBlock().getName().getLocalPart(); - else + } else { name = param.getName(); + } paramAnno.param("name", name); @@ -379,8 +395,9 @@ ns = param.getBlock().getName().getNamespaceURI(); } - if((ns != null) && (!ns.equals(serviceNS) || (isDocStyle && isWrapped))) + if (ns != null || (isDocStyle && isWrapped)) { paramAnno.param("targetNamespace", ns); + } if (header) { paramAnno.param("header", true); @@ -394,8 +411,9 @@ } //doclit wrapped could have additional headers - if(!(isDocStyle && isWrapped) || header) + if (!(isDocStyle && isWrapped) || header) { paramAnno.param("partName", javaParameter.getParameter().getName()); + } } private boolean isDocStyle = true; @@ -418,15 +436,18 @@ continue; } sameParamStyle = (isWrapper == operation.isWrapped()); - if(!sameParamStyle) + if (!sameParamStyle) { break; + } } - if(sameParamStyle) + if (sameParamStyle) { port.setWrapped(isWrapper); + } } if(sameParamStyle && !port.isWrapped()){ - if(soapBindingAnn == null) + if (soapBindingAnn == null) { soapBindingAnn = cls.annotate(SOAPBinding.class); + } soapBindingAnn.param("parameterStyle", SOAPBinding.ParameterStyle.BARE); } } @@ -437,15 +458,14 @@ wsa.param("targetNamespace", name.getNamespaceURI()); } - - - + @Override public void visit(Model model) throws Exception { for(Service s:model.getServices()){ s.accept(this); } } + @Override public void visit(Service service) throws Exception { String jd = model.getJavaDoc(); if(jd != null){ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/ServiceGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/ServiceGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/ServiceGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -66,6 +66,7 @@ import java.net.URL; import com.sun.xml.internal.ws.util.ServiceFinder; +import java.util.Locale; /** * @author WS Development Team @@ -100,7 +101,7 @@ } cls._extends(javax.xml.ws.Service.class); - String serviceFieldName = BindingHelper.mangleNameToClassName(service.getName().getLocalPart()).toUpperCase(); + String serviceFieldName = BindingHelper.mangleNameToClassName(service.getName().getLocalPart()).toUpperCase(Locale.ENGLISH); String wsdlLocationName = serviceFieldName + "_WSDL_LOCATION"; JFieldVar urlField = cls.field(JMod.PRIVATE | JMod.STATIC | JMod.FINAL, URL.class, wsdlLocationName); @@ -219,8 +220,9 @@ Locator loc = null; if (portTypeName != null) { PortType pt = port.portTypes.get(portTypeName); - if (pt != null) + if (pt != null) { loc = pt.getLocator(); + } } receiver.error(loc, GeneratorMessages.GENERATOR_SEI_CLASS_ALREADY_EXIST(port.getJavaInterface().getName(), portTypeName)); return; @@ -230,8 +232,9 @@ writeDefaultGetPort(port, retType, cls); //write getXyzPort(WebServicesFeature...) - if (options.target.isLaterThan(Options.Target.V2_1)) + if (options.target.isLaterThan(Options.Target.V2_1)) { writeGetPort(port, retType, cls); + } } writeGetWsdlLocation(cm.ref(URL.class), cls, urlField, exField); @@ -240,8 +243,9 @@ private void writeGetPort(Port port, JType retType, JDefinedClass cls) { JMethod m = cls.method(JMod.PUBLIC, retType, port.getPortGetter()); JDocComment methodDoc = m.javadoc(); - if (port.getJavaDoc() != null) + if (port.getJavaDoc() != null) { methodDoc.add(port.getJavaDoc()); + } JCommentPart ret = methodDoc.addReturn(); JCommentPart paramDoc = methodDoc.addParam("features"); paramDoc.append("A list of "); @@ -250,7 +254,7 @@ ret.add("returns " + retType.name()); m.varParam(WebServiceFeature.class, "features"); JBlock body = m.body(); - StringBuffer statement = new StringBuffer("return "); + StringBuilder statement = new StringBuilder("return "); statement.append("super.getPort(new QName(\"").append(port.getName().getNamespaceURI()).append("\", \"").append(port.getName().getLocalPart()).append("\"), "); statement.append(retType.name()); statement.append(".class, features);"); @@ -389,12 +393,13 @@ String portGetter = port.getPortGetter(); JMethod m = cls.method(JMod.PUBLIC, retType, portGetter); JDocComment methodDoc = m.javadoc(); - if (port.getJavaDoc() != null) + if (port.getJavaDoc() != null) { methodDoc.add(port.getJavaDoc()); + } JCommentPart ret = methodDoc.addReturn(); ret.add("returns " + retType.name()); JBlock body = m.body(); - StringBuffer statement = new StringBuffer("return "); + StringBuilder statement = new StringBuilder("return "); statement.append("super.getPort(new QName(\"").append(port.getName().getNamespaceURI()).append("\", \"").append(port.getName().getLocalPart()).append("\"), "); statement.append(retType.name()); statement.append(".class);"); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/W3CAddressingJavaGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/W3CAddressingJavaGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/generator/W3CAddressingJavaGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AbstractType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AbstractType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AbstractType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperationType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperationType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/AsyncOperationType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Block.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Block.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Block.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ExtendedModelVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ExtendedModelVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ExtendedModelVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Fault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Fault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Fault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,7 +26,6 @@ package com.sun.tools.internal.ws.processor.model; import com.sun.codemodel.internal.JClass; -import com.sun.tools.internal.ws.processor.generator.GeneratorUtil; import com.sun.tools.internal.ws.processor.model.java.JavaException; import com.sun.tools.internal.ws.wsdl.framework.Entity; @@ -34,7 +33,6 @@ import java.util.HashSet; import java.util.Iterator; import java.util.Set; -import java.util.TreeSet; /** * @@ -49,7 +47,6 @@ public Fault(String name, Entity entity) { super(entity); this.name = name; - parentFault = null; } public String getName() { @@ -80,12 +77,8 @@ visitor.visit(this); } - public Fault getParentFault() { - return parentFault; - } - public Iterator getSubfaults() { - if (subfaults.size() == 0) { + if (subfaults.isEmpty()) { return null; } return subfaults.iterator(); @@ -103,7 +96,7 @@ public Iterator getAllFaults() { Set allFaults = getAllFaultsSet(); - if (allFaults.size() == 0) { + if (allFaults.isEmpty()) { return null; } return allFaults.iterator(); @@ -160,7 +153,6 @@ private String name; private Block block; private JavaException javaException; - private Fault parentFault; private Set subfaults = new HashSet(); private QName elementName = null; private String javaMemberName = null; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/HeaderFault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/HeaderFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/HeaderFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Message.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Message.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Message.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Model.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Model.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Model.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.tools.internal.ws.processor.model; +import com.sun.istack.internal.localization.Localizable; import com.sun.tools.internal.ws.processor.ProcessorException; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * ModelException represents an exception that occurred while diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelObject.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelObject.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelObject.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelProperties.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/ModelVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Operation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Operation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Operation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Parameter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Parameter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Parameter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Port.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Port.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Port.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Request.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Request.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Request.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Response.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Response.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Response.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Service.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Service.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/Service.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/exporter/ExternalObject.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/exporter/ExternalObject.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/exporter/ExternalObject.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaArrayType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaArrayType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaArrayType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaInterface.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaInterface.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaInterface.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaMethod.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaMethod.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaMethod.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -86,14 +86,14 @@ public void addParameter(JavaParameter param) { // verify that this member does not already exist if (hasParameter(param.getName())) { - if(options.isExtensionMode()){ + if (options.isExtensionMode()) { param.setName(getUniqueName(param.getName())); - }else{ + } else { Parameter duplicParam = getParameter(param.getName()); if(param.getParameter().isEmbedded()){ errorReceiver.error(param.getParameter().getLocator(), ModelMessages.MODEL_PARAMETER_NOTUNIQUE_WRAPPER(param.getName(), param.getParameter().getEntityName())); errorReceiver.error(duplicParam.getLocator(), ModelMessages.MODEL_PARAMETER_NOTUNIQUE_WRAPPER(param.getName(), duplicParam.getEntityName())); - }else{ + } else { errorReceiver.error(param.getParameter().getLocator(), ModelMessages.MODEL_PARAMETER_NOTUNIQUE(param.getName(), param.getParameter().getEntityName())); errorReceiver.error(duplicParam.getLocator(), ModelMessages.MODEL_PARAMETER_NOTUNIQUE(param.getName(), duplicParam.getEntityName())); } @@ -121,7 +121,7 @@ private String getUniqueName(String param){ int parmNum = 0; - while(hasParameter(param)){ + while (hasParameter(param)) { param = param + Integer.toString(parmNum++); } return param; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaParameter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaParameter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaParameter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaSimpleType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaSimpleType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaSimpleType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureMember.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureMember.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureMember.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaStructureType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/JavaType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBElementMember.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBElementMember.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBElementMember.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBMapping.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBMapping.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBMapping.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBModel.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBProperty.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBProperty.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBProperty.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBStructuredType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBStructuredType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBStructuredType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeAndAnnotation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeAndAnnotation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeAndAnnotation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitMember.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitMember.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitMember.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitStructure.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitStructure.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitStructure.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/Util.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/Util.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/Util.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/JavaSimpleTypeCreator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/JavaSimpleTypeCreator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/JavaSimpleTypeCreator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/Modeler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/Modeler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/Modeler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/ModelerException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,8 +25,8 @@ package com.sun.tools.internal.ws.processor.modeler; +import com.sun.istack.internal.localization.Localizable; import com.sun.tools.internal.ws.processor.ProcessorException; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * ModelerException represents an exception that occurred while @@ -38,6 +38,10 @@ */ public class ModelerException extends ProcessorException { + public ModelerException(String key) { + super(key); + } + public ModelerException(String key, Object... args) { super(key, args); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/AnnotationProcessorContext.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/AnnotationProcessorContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/AnnotationProcessorContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -57,7 +57,7 @@ public SeiContext getSeiContext(Name seiName) { SeiContext context = seiContextMap.get(seiName); if (context == null) { - context = new SeiContext(seiName); + context = new SeiContext(); addSeiContext(seiName, context); } return context; @@ -107,14 +107,17 @@ private Map resOperationWrapperMap = new HashMap(); private Map exceptionBeanMap = new HashMap(); - private Name seiName; private Name seiImplName; private boolean implementsSei; private String namespaceUri; - public SeiContext(Name seiName) { - this.seiName = seiName; - } + public SeiContext() {}; + + /** + * @deprecated use empty constructor, seiName value is ignored + * @param seiName + */ + public SeiContext(Name seiName) {}; public void setImplementsSei(boolean implementsSei) { this.implementsSei = implementsSei; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/FaultInfo.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/FaultInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/FaultInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MakeSafeTypeVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MakeSafeTypeVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MakeSafeTypeVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MemberInfo.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MemberInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/MemberInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -31,7 +31,7 @@ import java.util.List; /** - * + * Note: this class has a natural ordering that is inconsistent with equals. * @author WS Development Team */ final class MemberInfo implements Comparable { @@ -57,7 +57,23 @@ return paramName; } + @Override public int compareTo(MemberInfo member) { return paramName.compareTo(member.paramName); } + + @Override + public boolean equals(Object o) { + return super.equals(o); + } + + @Override + public int hashCode() { + int hash = 5; + hash = 47 * hash + (this.paramType != null ? this.paramType.hashCode() : 0); + hash = 47 * hash + (this.paramName != null ? this.paramName.hashCode() : 0); + hash = 47 * hash + (this.jaxbAnnotations != null ? this.jaxbAnnotations.hashCode() : 0); + return hash; + } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/ModelBuilder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/ModelBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/ModelBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeModeler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeModeler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeModeler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -63,8 +63,9 @@ retClass = getDeclaringClassMethod(superClass, methodName, args); } if (retClass == null) { - for (TypeMirror interfaceType : theClass.getInterfaces()) + for (TypeMirror interfaceType : theClass.getInterfaces()) { retClass = getDeclaringClassMethod(interfaceType, methodName, args); + } } if (retClass == null) { Collection methods = ElementFilter.methodsIn(theClass.getEnclosedElements()); @@ -105,7 +106,7 @@ Collection argTypes = ((DeclaredType) type).getTypeArguments(); if (argTypes.size() == 1) { return argTypes.iterator().next(); - } else if (argTypes.size() == 0) { + } else if (argTypes.isEmpty()) { VariableElement member = getValueMember(typeElement); if (member != null) { return member.asType(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMoniker.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMoniker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMoniker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMonikerFactory.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMonikerFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMonikerFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceAp.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceAp.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceAp.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2013, 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 @@ -25,6 +25,7 @@ package com.sun.tools.internal.ws.processor.modeler.annotation; +import com.sun.istack.internal.logging.Logger; import com.sun.tools.internal.ws.processor.generator.GeneratorUtil; import com.sun.tools.internal.ws.processor.modeler.ModelerException; import com.sun.tools.internal.ws.resources.WebserviceapMessages; @@ -36,7 +37,6 @@ import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; import javax.annotation.processing.SupportedOptions; -import javax.annotation.processing.SupportedSourceVersion; import javax.jws.WebService; import javax.lang.model.SourceVersion; import javax.lang.model.element.Element; @@ -51,12 +51,15 @@ import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintStream; +import java.lang.reflect.Method; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; +import java.util.Scanner; import java.util.Set; +import java.util.logging.Level; /** * WebServiceAp is a AnnotationProcessor for processing javax.jws.* and @@ -87,9 +90,10 @@ "javax.xml.ws.WebServiceRef" }) @SupportedOptions({WebServiceAp.DO_NOT_OVERWRITE, WebServiceAp.IGNORE_NO_WEB_SERVICE_FOUND_WARNING}) -@SupportedSourceVersion(SourceVersion.RELEASE_6) public class WebServiceAp extends AbstractProcessor implements ModelBuilder { + private static final Logger LOGGER = Logger.getLogger(WebServiceAp.class); + public static final String DO_NOT_OVERWRITE = "doNotOverWrite"; public static final String IGNORE_NO_WEB_SERVICE_FOUND_WARNING = "ignoreNoWebServiceFoundWarning"; @@ -120,7 +124,7 @@ } @Override - public void init(ProcessingEnvironment processingEnv) { + public synchronized void init(ProcessingEnvironment processingEnv) { super.init(processingEnv); remoteElement = processingEnv.getElementUtils().getTypeElement(Remote.class.getName()); remoteExceptionElement = processingEnv.getElementUtils().getTypeElement(RemoteException.class.getName()).asType(); @@ -135,18 +139,67 @@ doNotOverWrite = getOption(DO_NOT_OVERWRITE); ignoreNoWebServiceFoundWarning = getOption(IGNORE_NO_WEB_SERVICE_FOUND_WARNING); - String property = System.getProperty("sun.java.command"); // todo: check if property can be null - options.verbose = property != null && property.contains("-verbose"); - // todo: check how to get -s and -d, -classpath options - String classDir = "."; - sourceDir = new File(classDir); - property = System.getProperty("java.class.path"); + String classDir = parseArguments(); + String property = System.getProperty("java.class.path"); options.classpath = classDir + File.pathSeparator + (property != null ? property : ""); isCommandLineInvocation = true; } options.filer = processingEnv.getFiler(); } + private String parseArguments() { + // let's try to parse JavacOptions + + String classDir = null; + try { + ClassLoader cl = WebServiceAp.class.getClassLoader(); + Class javacProcessingEnvironmentClass = Class.forName("com.sun.tools.javac.processing.JavacProcessingEnvironment", false, cl); + if (javacProcessingEnvironmentClass.isInstance(processingEnv)) { + Method getContextMethod = javacProcessingEnvironmentClass.getDeclaredMethod("getContext"); + Object tmpContext = getContextMethod.invoke(processingEnv); + Class optionsClass = Class.forName("com.sun.tools.javac.util.Options", false, cl); + Class contextClass = Class.forName("com.sun.tools.javac.util.Context", false, cl); + Method instanceMethod = optionsClass.getDeclaredMethod("instance", new Class[]{contextClass}); + Object tmpOptions = instanceMethod.invoke(null, tmpContext); + if (tmpOptions != null) { + Method getMethod = optionsClass.getDeclaredMethod("get", new Class[]{String.class}); + Object result = getMethod.invoke(tmpOptions, "-s"); // todo: we have to check for -d also + if (result != null) { + classDir = (String) result; + } + this.options.verbose = getMethod.invoke(tmpOptions, "-verbose") != null; + } + } + } catch (Exception e) { + /// some Error was here - problems with reflection or security + processWarning(WebserviceapMessages.WEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR()); + report(e.getMessage()); + } + + if (classDir == null) { // some error within reflection block + String property = System.getProperty("sun.java.command"); + if (property != null) { + Scanner scanner = new Scanner(property); + boolean sourceDirNext = false; + while (scanner.hasNext()) { + String token = scanner.next(); + if (sourceDirNext) { + classDir = token; + sourceDirNext = false; + } else if ("-verbose".equals(token)) { + options.verbose = true; + } else if ("-s".equals(token)) { + sourceDirNext = true; + } + } + } + } + if (classDir != null) { + sourceDir = new File(classDir); + } + return classDir; + } + private boolean getOption(String key) { String value = processingEnv.getOptions().get(key); if (value != null) { @@ -186,8 +239,9 @@ } if (!processedEndpoint) { if (isCommandLineInvocation) { - if (!ignoreNoWebServiceFoundWarning) + if (!ignoreNoWebServiceFoundWarning) { processWarning(WebserviceapMessages.WEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND()); + } } else { processError(WebserviceapMessages.WEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND()); } @@ -214,9 +268,14 @@ } protected void report(String msg) { - PrintStream outStream = out != null ? out : new PrintStream(out, true); - outStream.println(msg); - outStream.flush(); + if (out == null) { + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "No output set for web service annotation processor reporting."); + } + return; + } + out.println(msg); + out.flush(); } @Override @@ -296,4 +355,9 @@ public String getOperationName(Name messageName) { return messageName != null ? messageName.toString() : null; } + + @Override + public SourceVersion getSupportedSourceVersion() { + return SourceVersion.latest(); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -31,6 +31,7 @@ import com.sun.tools.internal.ws.wsdl.document.soap.SOAPStyle; import com.sun.xml.internal.ws.model.RuntimeModeler; +import javax.annotation.processing.ProcessingEnvironment; import javax.jws.Oneway; import javax.jws.WebMethod; import javax.jws.WebParam; @@ -53,6 +54,7 @@ import javax.lang.model.util.ElementFilter; import javax.lang.model.util.SimpleElementVisitor6; import javax.lang.model.util.SimpleTypeVisitor6; +import javax.lang.model.util.Types; import java.lang.annotation.Annotation; import java.util.Collection; import java.util.HashSet; @@ -139,7 +141,10 @@ serviceImplName = null; postProcessWebService(webService, e); serviceImplName = null; + break; } + default: + break; } return null; } @@ -281,6 +286,8 @@ soapStyle = SOAPStyle.DOCUMENT; wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED); } + } else { + pushedSoapBinding = false; } return soapBinding; } @@ -366,6 +373,7 @@ } for (TypeMirror superType : element.getInterfaces()) processMethods((TypeElement) ((DeclaredType) superType).asElement()); + break; } case CLASS: { builder.log("ProcessedMethods Class: " + element); @@ -382,7 +390,10 @@ if (!superclass.getKind().equals(TypeKind.NONE)) { processMethods((TypeElement) ((DeclaredType) superclass).asElement()); } + break; } + default: + break; } } @@ -504,7 +515,7 @@ boolean hasDefaultConstructor = false; for (ExecutableElement constructor : ElementFilter.constructorsIn(classElement.getEnclosedElements())) { if (constructor.getModifiers().contains(Modifier.PUBLIC) && - constructor.getParameters().size() == 0) { + constructor.getParameters().isEmpty()) { hasDefaultConstructor = true; break; } @@ -547,7 +558,7 @@ if (((DeclaredType) interfaceType).asElement().equals(interfaceElement)) return true; } - List classMethods = ElementFilter.methodsIn(classElement.getEnclosedElements()); + List classMethods = getClassMethods(classElement); boolean implementsMethod; for (ExecutableElement interfaceMethod : ElementFilter.methodsIn(interfaceElement.getEnclosedElements())) { implementsMethod = false; @@ -566,17 +577,32 @@ return true; } + private static List getClassMethods(TypeElement classElement) { + if (classElement.getQualifiedName().toString().equals(Object.class.getName())) // we don't need Object's methods + return null; + TypeElement superclassElement = (TypeElement) ((DeclaredType) classElement.getSuperclass()).asElement(); + List superclassesMethods = getClassMethods(superclassElement); + List classMethods = ElementFilter.methodsIn(classElement.getEnclosedElements()); + if (superclassesMethods == null) + return classMethods; + else + superclassesMethods.addAll(classMethods); + return superclassesMethods; + } + protected boolean sameMethod(ExecutableElement method1, ExecutableElement method2) { if (!method1.getSimpleName().equals(method2.getSimpleName())) return false; - if (!method1.getReturnType().equals(method2.getReturnType())) + Types typeUtils = builder.getProcessingEnvironment().getTypeUtils(); + if(!typeUtils.isSameType(method1.getReturnType(), method2.getReturnType()) + && !typeUtils.isSubtype(method2.getReturnType(), method1.getReturnType())) return false; List parameters1 = method1.getParameters(); List parameters2 = method2.getParameters(); if (parameters1.size() != parameters2.size()) return false; for (int i = 0; i < parameters1.size(); i++) { - if (!builder.getProcessingEnvironment().getTypeUtils().isSameType(parameters1.get(i).asType(), parameters2.get(i).asType())) + if (!typeUtils.isSameType(parameters1.get(i).asType(), parameters2.get(i).asType())) return false; } return true; @@ -616,9 +642,9 @@ } DeclaredType superClass = (DeclaredType) element.getSuperclass(); - TypeElement typeElement = (TypeElement) superClass.asElement(); - return typeElement.getQualifiedName().toString().equals(Object.class.getName()) - || methodsAreLegal(typeElement); + TypeElement tE = (TypeElement) superClass.asElement(); + return tE.getQualifiedName().toString().equals(Object.class.getName()) + || methodsAreLegal(tE); } default: { throw new IllegalArgumentException("Class or interface was expecting. But element: " + element); @@ -800,12 +826,12 @@ protected boolean isLegalType(TypeMirror type) { if (!(type != null && type.getKind().equals(TypeKind.DECLARED))) return true; - TypeElement typeElement = (TypeElement) ((DeclaredType) type).asElement(); - if (typeElement == null) { + TypeElement tE = (TypeElement) ((DeclaredType) type).asElement(); + if (tE == null) { // can be null, if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file. builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(type.toString(), context.getRound())); } - return !builder.isRemote(typeElement); + return !builder.isRemote(tE); } protected VariableElement getOutParameter(ExecutableElement method) { @@ -821,18 +847,22 @@ protected static class MySoapBinding implements SOAPBinding { + @Override public Style style() { return SOAPBinding.Style.DOCUMENT; } + @Override public Use use() { return SOAPBinding.Use.LITERAL; } + @Override public ParameterStyle parameterStyle() { return SOAPBinding.ParameterStyle.WRAPPED; } + @Override public Class annotationType() { return SOAPBinding.class; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -124,14 +124,17 @@ super(annReader, nav, beanMemberFactory); } + @Override protected TypeMirror getSafeType(TypeMirror type) { return WebServiceWrapperGenerator.this.getSafeType(type); } + @Override protected TypeMirror getHolderValueType(TypeMirror paramType) { return builder.getHolderValueType(paramType); } + @Override protected boolean isVoidType(TypeMirror type) { return type != null && type.getKind().equals(TypeKind.VOID); } @@ -140,6 +143,7 @@ private static final class FieldFactory implements AbstractWrapperBeanGenerator.BeanMemberFactory { + @Override public MemberInfo createWrapperBeanMember(TypeMirror paramType, String paramName, List jaxb) { return new MemberInfo(paramType, paramName, jaxb); @@ -151,17 +155,20 @@ makeSafeVisitor = new MakeSafeTypeVisitor(builder.getProcessingEnvironment()); } + @Override protected void processWebService(WebService webService, TypeElement d) { cm = new JCodeModel(); wrapperNames = new HashSet(); processedExceptions = new HashSet(); } + @Override protected void postProcessWebService(WebService webService, TypeElement d) { super.postProcessWebService(webService, d); doPostProcessWebService(webService, d); } + @SuppressWarnings("CallToThreadDumpStack") protected void doPostProcessWebService(WebService webService, TypeElement d) { if (cm != null) { File sourceDir = builder.getSourceDir(); @@ -178,6 +185,7 @@ } } + @Override protected void processMethod(ExecutableElement method, WebMethod webMethod) { builder.log("WrapperGen - method: "+method); builder.log("method.getDeclaringType(): " + method.asType()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WrapperInfo.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WrapperInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/WrapperInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/AccessorElement.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/AccessorElement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/AccessorElement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ClassNameAllocatorImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ClassNameAllocatorImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ClassNameAllocatorImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ConsoleErrorReporter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ConsoleErrorReporter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ConsoleErrorReporter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/JAXBModelBuilder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/JAXBModelBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/JAXBModelBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ModelerUtils.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ModelerUtils.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/ModelerUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -107,7 +107,7 @@ * @param prop * @param jaxbType * @param block - * @return + * @return unwrapped parameter */ private static Parameter createUnwrappedParameter(JAXBProperty prop, JAXBType jaxbType, Block block, JAXBStructuredType type, diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/PseudoSchemaBuilder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/PseudoSchemaBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/PseudoSchemaBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -128,13 +128,15 @@ } private void build() { - for(Iterator itr=wsdlDocument.getDefinitions().services(); itr.hasNext(); ) + for(Iterator itr=wsdlDocument.getDefinitions().services(); itr.hasNext(); ) { build(itr.next()); + } } private void build(Service service) { - for( Iterator itr=service.ports(); itr.hasNext(); ) + for( Iterator itr=service.ports(); itr.hasNext(); ) { build(itr.next() ); + } } private void build(Port port) { @@ -193,7 +195,7 @@ outputMessage = operation.getOutput().resolveMessage(wsdlDocument); if(outputMessage != null){ List allParts = new ArrayList(outputMessage.getParts()); - if(options.additionalHeaders) { + if(options != null && options.additionalHeaders) { List addtionalHeaderParts = wsdlModeler.getAdditionHeaderParts(bindingOperation, outputMessage, false); allParts.addAll(addtionalHeaderParts); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModeler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModeler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModeler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,7 @@ package com.sun.tools.internal.ws.processor.modeler.wsdl; import com.sun.codemodel.internal.JType; +import com.sun.istack.internal.NotNull; import com.sun.istack.internal.SAXParseException2; import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible; import com.sun.tools.internal.ws.processor.generator.Names; @@ -54,7 +55,6 @@ import com.sun.tools.internal.xjc.api.S2JJAXBModel; import com.sun.tools.internal.xjc.api.TypeAndAnnotation; import com.sun.tools.internal.xjc.api.XJC; -import com.sun.xml.internal.ws.spi.db.BindingContext; import com.sun.xml.internal.ws.spi.db.BindingHelper; import com.sun.xml.internal.ws.util.xml.XmlUtil; import org.xml.sax.InputSource; @@ -95,10 +95,12 @@ private JAXBModelBuilder jaxbModelBuilder; + @Override public Model buildModel() { try { parser = new WSDLParser(options, errReceiver, forest); parser.addParserListener(new ParserListener() { + @Override public void ignoringExtension(Entity entity, QName name, QName parent) { if (parent.equals(WSDLConstants.QNAME_TYPES)) { // check for a schema element with the wrong namespace URI @@ -110,23 +112,27 @@ } + @Override public void doneParsingEntity(QName element, Entity entity) { } }); document = parser.parse(); - if (document == null || document.getDefinitions() == null) + if (document == null || document.getDefinitions() == null) { return null; + } document.validateLocally(); Model model = internalBuildModel(document); - if(model == null || errReceiver.hadError()) + if (model == null || errReceiver.hadError()) { return null; + } //ClassNameCollector classNameCollector = new ClassNameCollector(); classNameCollector.process(model); if (classNameCollector.getConflictingClassNames().isEmpty()) { - if(errReceiver.hadError()) + if (errReceiver.hadError()) { return null; + } return model; } // do another pass, this time with conflict resolution enabled @@ -135,12 +141,13 @@ classNameCollector.process(model); if (classNameCollector.getConflictingClassNames().isEmpty()) { // we're done - if(errReceiver.hadError()) + if (errReceiver.hadError()) { return null; + } return model; } // give up - StringBuffer conflictList = new StringBuffer(); + StringBuilder conflictList = new StringBuilder(); boolean first = true; for (Iterator iter = classNameCollector.getConflictingClassNames().iterator(); @@ -208,7 +215,6 @@ ) { processService((com.sun.tools.internal.ws.wsdl.document.Service) iter.next(), model, document); - hasServices = true; } } else { // emit a warning if there are no service definitions @@ -276,8 +282,9 @@ return false; } } - if(soapAddress != null) + if (soapAddress != null) { port.setAddress(soapAddress.getLocation()); + } Binding binding = wsdlPort.resolveBinding(document); QName bindingName = getQNameOf(binding); PortType portType = binding.resolvePortType(document); @@ -393,7 +400,7 @@ null; Set operations = portType.getOperationsNamed(bindingOperation.getName()); - if (operations.size() == 0) { + if (operations.isEmpty()) { // the WSDL document is invalid error(bindingOperation, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(bindingOperation.getName(), binding.getName())); } else if (operations.size() == 1) { @@ -455,9 +462,9 @@ Operation operation; - if(soapBinding != null) + if (soapBinding != null) { operation = processSOAPOperation(); - else{ + } else { operation = processNonSOAPOperation(); } if (operation != null) { @@ -600,19 +607,21 @@ private void setNonSoapStyle(Message inputMessage, Message outputMessage) { SOAPStyle style = SOAPStyle.DOCUMENT; for(MessagePart part:inputMessage.getParts()){ - if(part.getDescriptorKind() == SchemaKinds.XSD_TYPE) + if (part.getDescriptorKind() == SchemaKinds.XSD_TYPE) { style = SOAPStyle.RPC; - else + } else { style = SOAPStyle.DOCUMENT; + } } //check the outputMessage parts if(outputMessage != null){ for(MessagePart part:outputMessage.getParts()){ - if(part.getDescriptorKind() == SchemaKinds.XSD_TYPE) + if (part.getDescriptorKind() == SchemaKinds.XSD_TYPE) { style = SOAPStyle.RPC; - else + } else { style = SOAPStyle.DOCUMENT; + } } } info.modelPort.setStyle(style); @@ -666,7 +675,6 @@ } info.operation = operation; - info.uniqueOperationName = uniqueOperationName; //attachment SOAPBody soapRequestBody = getSOAPRequestBody(); @@ -692,8 +700,9 @@ protected Operation processLiteralSOAPOperation(StyleAndUse styleAndUse) { //returns false if the operation name is not acceptable - if (!applyOperationNameCustomization()) + if (!applyOperationNameCustomization()) { return null; + } boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; Message inputMessage = getInputMessage(); @@ -724,9 +733,9 @@ //ignore operation if there are more than one root part if (!validateMimeParts(getMimeParts(info.bindingOperation.getInput())) || - !validateMimeParts(getMimeParts(info.bindingOperation.getOutput()))) + !validateMimeParts(getMimeParts(info.bindingOperation.getOutput()))) { return null; - + } if (!validateBodyParts(info.bindingOperation)) { // BP 1.1 @@ -735,16 +744,18 @@ // R2203 An rpc-literal binding in a DESCRIPTION MUST refer, in its soapbind:body element(s), // only to wsdNl:part element(s) that have been defined using the type attribute. - if (isOperationDocumentLiteral(styleAndUse)) - if (options.isExtensionMode()) + if (isOperationDocumentLiteral(styleAndUse)) { + if (options.isExtensionMode()) { warning(info.portTypeOperation, ModelerMessages.WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(info.portTypeOperation.getName())); - else + } else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_DOCLITOPERATION(info.portTypeOperation.getName())); - else if (isOperationRpcLiteral(styleAndUse)) { - if (options.isExtensionMode()) + } + } else if (isOperationRpcLiteral(styleAndUse)) { + if (options.isExtensionMode()) { warning(info.portTypeOperation, ModelerMessages.WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(info.portTypeOperation.getName())); - else + } else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_RPCLITOPERATION(info.portTypeOperation.getName())); + } } return null; } @@ -753,8 +764,9 @@ List parameterList = getParameterOrder(); //binding is invalid in the wsdl, ignore the operation. - if (!setMessagePartsBinding(styleAndUse)) + if (!setMessagePartsBinding(styleAndUse)) { return null; + } List params = null; boolean unwrappable = isUnwrappable(); @@ -902,13 +914,15 @@ private boolean validateParameterName(List params) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { return true; + } Message msg = getInputMessage(); for (Parameter param : params) { - if (param.isOUT()) + if (param.isOUT()) { continue; + } if (param.getCustomName() != null) { if (Names.isJavaReservedWord(param.getCustomName())) { error(param.getEntity(), ModelerMessages.WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(info.operation.getName(), param.getCustomName())); @@ -935,8 +949,9 @@ if (isRequestResponse) { msg = getOutputMessage(); for (Parameter param : params) { - if (param.isIN()) + if (param.isIN()) { continue; + } if (param.getCustomName() != null) { if (Names.isJavaReservedWord(param.getCustomName())) { error(param.getEntity(), ModelerMessages.WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(info.operation.getName(), param.getCustomName())); @@ -946,15 +961,17 @@ } //process doclit wrapper style if (param.isEmbedded() && !(param.getBlock().getType() instanceof RpcLitStructure)) { - if (param.isReturn()) + if (param.isReturn()) { continue; + } if (!param.getName().equals("return") && Names.isJavaReservedWord(param.getName())) { error(param.getEntity(), ModelerMessages.WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(info.operation.getName(), param.getName(), param.getBlock().getName())); return false; } } else { - if (param.isReturn()) + if (param.isReturn()) { continue; + } //non-wrapper style and rpclit if (Names.isJavaReservedWord(param.getName())) { @@ -972,21 +989,24 @@ //first we look at binding operation JAXWSBinding jaxwsCustomization = (JAXWSBinding) getExtensionOfType(info.bindingOperation, JAXWSBinding.class); Boolean mimeContentMapping = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableMimeContentMapping() : null; - if (mimeContentMapping != null) + if (mimeContentMapping != null) { return mimeContentMapping; + } //then in wsdl:binding Binding binding = info.port.resolveBinding(info.document); jaxwsCustomization = (JAXWSBinding) getExtensionOfType(binding, JAXWSBinding.class); mimeContentMapping = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableMimeContentMapping() : null; - if (mimeContentMapping != null) + if (mimeContentMapping != null) { return mimeContentMapping; + } //at last look in wsdl:definitions jaxwsCustomization = (JAXWSBinding) getExtensionOfType(info.document.getDefinitions(), JAXWSBinding.class); mimeContentMapping = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableMimeContentMapping() : null; - if (mimeContentMapping != null) + if (mimeContentMapping != null) { return mimeContentMapping; + } return false; } @@ -995,10 +1015,11 @@ String operationName = (jaxwsCustomization != null) ? ((jaxwsCustomization.getMethodName() != null) ? jaxwsCustomization.getMethodName().getName() : null) : null; if (operationName != null) { if (Names.isJavaReservedWord(operationName)) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(info.portTypeOperation, ModelerMessages.WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(info.operation.getName(), operationName)); - else + } else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(info.operation.getName(), operationName)); + } return false; } @@ -1006,10 +1027,11 @@ } if (Names.isJavaReservedWord(info.operation.getJavaMethodName())) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(info.portTypeOperation, ModelerMessages.WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(info.operation.getName())); - else + } else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(info.operation.getName())); + } return false; } return true; @@ -1017,8 +1039,9 @@ protected String getAsyncOperationName(Operation operation) { String name = operation.getCustomizedName(); - if (name == null) + if (name == null) { name = operation.getUniqueName(); + } return name; } @@ -1027,28 +1050,32 @@ */ private void addAsyncOperations(Operation syncOperation, StyleAndUse styleAndUse) { Operation operation = createAsyncOperation(syncOperation, styleAndUse, AsyncOperationType.POLLING); - if (operation != null) + if (operation != null) { info.modelPort.addOperation(operation); + } operation = createAsyncOperation(syncOperation, styleAndUse, AsyncOperationType.CALLBACK); - if (operation != null) + if (operation != null) { info.modelPort.addOperation(operation); + } } private Operation createAsyncOperation(Operation syncOperation, StyleAndUse styleAndUse, AsyncOperationType asyncType) { boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; - if (!isRequestResponse) + if (!isRequestResponse) { return null; + } //create async operations AsyncOperation operation = new AsyncOperation(info.operation, info.bindingOperation); //creation the async operation name: operationName+Async or customized name //operation.setName(new QName(operation.getName().getNamespaceURI(), getAsyncOperationName(info.portTypeOperation, operation))); - if (asyncType.equals(AsyncOperationType.CALLBACK)) + if (asyncType.equals(AsyncOperationType.CALLBACK)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_callback"); - else if (asyncType.equals(AsyncOperationType.POLLING)) + } else if (asyncType.equals(AsyncOperationType.POLLING)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_polling"); + } setDocumentationIfPresent( operation, @@ -1149,7 +1176,7 @@ //create response bean String nspace = ""; QName responseBeanName = new QName(nspace, getAsyncOperationName(info.operation) + "Response"); - JAXBType responseBeanType = jaxbModelBuilder.getJAXBType(responseBeanName); + JAXBType responseBeanType = getJAXBModelBuilder().getJAXBType(responseBeanName); if (responseBeanType == null) { error(info.operation.getEntity(), ModelerMessages.WSDLMODELER_RESPONSEBEAN_NOTFOUND(info.operation.getName())); } @@ -1166,20 +1193,19 @@ operation.setProperty(WSDL_RESULT_PARAMETER, respParam.getName()); - List definitiveParameterList = new ArrayList(); int parameterOrderPosition = 0; for (String name : parameterList) { Parameter inParameter = ModelerUtils.getParameter(name, inParameters); if (inParameter == null) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(info.operation.getEntity(), ModelerMessages.WSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(info.operation.getName().getLocalPart(), name)); - else + } else { error(info.operation.getEntity(), ModelerMessages.WSDLMODELER_ERROR_PART_NOT_FOUND(info.operation.getName().getLocalPart(), name)); + } return null; } request.addParameter(inParameter); inParameter.setParameterIndex(parameterOrderPosition); - definitiveParameterList.add(name); parameterOrderPosition++; } @@ -1203,25 +1229,27 @@ JAXWSBinding jaxwsCustomization = (JAXWSBinding) getExtensionOfType(wsdlOperation, JAXWSBinding.class); Boolean isAsync = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableAsyncMapping() : null; - if (isAsync != null) + if (isAsync != null) { return isAsync; + } // then into wsdl:portType - QName portTypeName = new QName(portType.getDefining().getTargetNamespaceURI(), portType.getName()); jaxwsCustomization = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); isAsync = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableAsyncMapping() : null; - if (isAsync != null) + if (isAsync != null) { return isAsync; + } //then wsdl:definitions jaxwsCustomization = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); isAsync = (jaxwsCustomization != null) ? jaxwsCustomization.isEnableAsyncMapping() : null; - if (isAsync != null) + if (isAsync != null) { return isAsync; + } return false; } - protected void handleLiteralSOAPHeaders(Request request, Response response, Iterator headerParts, Set duplicateNames, List definitiveParameterList, boolean processRequest) { + protected void handleLiteralSOAPHeaders(Request request, Response response, Iterator headerParts, Set duplicateNames, @NotNull List definitiveParameterList, boolean processRequest) { QName headerName; Block headerBlock; JAXBType jaxbType; @@ -1248,25 +1276,21 @@ Parameter parameter = ModelerUtils.createParameter(part.getName(), jaxbType, headerBlock); parameter.setParameterIndex(parameterOrderPosition); setCustomizedParameterName(info.bindingOperation, headerMessage, part, parameter, false); - if (processRequest && definitiveParameterList != null) { + if (processRequest) { request.addParameter(parameter); definitiveParameterList.add(parameter.getName()); } else { - if (definitiveParameterList != null) { - for (Iterator iterInParams = definitiveParameterList.iterator(); iterInParams.hasNext();) { - String inParamName = - (String) iterInParams.next(); - if (inParamName.equals(parameter.getName())) { - Parameter inParam = request.getParameterByName(inParamName); - parameter.setLinkedParameter(inParam); - inParam.setLinkedParameter(parameter); - //its in/out parameter, input and output parameter have the same order position. - parameter.setParameterIndex(inParam.getParameterIndex()); - } + for (String inParamName : definitiveParameterList) { + if (inParamName.equals(parameter.getName())) { + Parameter inParam = request.getParameterByName(inParamName); + parameter.setLinkedParameter(inParam); + inParam.setLinkedParameter(parameter); + //its in/out parameter, input and output parameter have the same order position. + parameter.setParameterIndex(inParam.getParameterIndex()); } - if (!definitiveParameterList.contains(parameter.getName())) { - definitiveParameterList.add(parameter.getName()); - } + } + if (!definitiveParameterList.contains(parameter.getName())) { + definitiveParameterList.add(parameter.getName()); } response.addParameter(parameter); } @@ -1311,7 +1335,6 @@ Fault fault = new Fault(faultName, portTypeFault); fault.setWsdlFaultName(portTypeFault.getName()); setDocumentationIfPresent(fault, portTypeFault.getDocumentation()); - String faultNamespaceURI = null; if (bindingFault != null) { //get the soapbind:fault from wsdl:fault in the binding SOAPFault soapFault = (SOAPFault) getExtensionOfType(bindingFault, SOAPFault.class); @@ -1328,10 +1351,11 @@ //the soapbind:fault must have use="literal" or no use attribute, in that case its assumed "literal" if (!soapFault.isLiteral()) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(soapFault, ModelerMessages.WSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(bindingFault.getName(), info.bindingOperation.getName())); - else + } else { error(soapFault, ModelerMessages.WSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(bindingFault.getName(), info.bindingOperation.getName())); + } continue; } @@ -1344,10 +1368,6 @@ warning(soapFault, ModelerMessages.WSDLMODELER_WARNING_R_2716_R_2726("soapbind:fault", soapFault.getName())); } - faultNamespaceURI = soapFault.getNamespace(); - } - if (faultNamespaceURI == null) { - faultNamespaceURI = portTypeFault.getMessage().getNamespaceURI(); } com.sun.tools.internal.ws.wsdl.document.Message faultMessage = portTypeFault.resolveMessage(info.document); @@ -1371,7 +1391,11 @@ } if (faultPart.getDescriptorKind() != SchemaKinds.XSD_ELEMENT) { - error(faultPart, ModelerMessages.WSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(faultMessage.getName(), faultPart.getName())); + if (options.isExtensionMode()) { + warning(faultPart, ModelerMessages.WSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(faultMessage.getName(), faultPart.getName())); + } else { + error(faultPart, ModelerMessages.WSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(faultMessage.getName(), faultPart.getName())); + } } JAXBType jaxbType = getJAXBType(faultPart); @@ -1383,8 +1407,9 @@ fault.setBlock(faultBlock); //createParentFault(fault); //createSubfaults(fault); - if (!response.getFaultBlocksMap().containsKey(faultBlock.getName())) + if (!response.getFaultBlocksMap().containsKey(faultBlock.getName())) { response.addFaultBlock(faultBlock); + } info.operation.addFault(fault); } } @@ -1403,21 +1428,22 @@ protected boolean setMessagePartsBinding(StyleAndUse styleAndUse) { SOAPBody inBody = getSOAPRequestBody(); Message inMessage = getInputMessage(); - if (!setMessagePartsBinding(inBody, inMessage, styleAndUse, true)) + if (!setMessagePartsBinding(inBody, inMessage, styleAndUse, true)) { return false; + } if (isRequestResponse()) { SOAPBody outBody = getSOAPResponseBody(); Message outMessage = getOutputMessage(); - if (!setMessagePartsBinding(outBody, outMessage, styleAndUse, false)) + if (!setMessagePartsBinding(outBody, outMessage, styleAndUse, false)) { return false; + } } return true; } //returns false if the wsdl is invalid and operation should be ignored protected boolean setMessagePartsBinding(SOAPBody body, Message message, StyleAndUse styleAndUse, boolean isInput) { - List parts = new ArrayList(); //get Mime parts List mimeParts; @@ -1448,10 +1474,11 @@ if (mimeParts.contains(mPart) || headerParts.contains(mPart) || boundToFault(mPart.getName())) { //throw error that a part cant be bound multiple times, not ignoring operation, if there //is conflict it will fail latter - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(mPart, ModelerMessages.WSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(info.bindingOperation.getName(), mPart.getName())); - else + } else { error(mPart, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(info.bindingOperation.getName(), mPart.getName())); + } } bodyParts.add(mPart); } @@ -1462,23 +1489,21 @@ MessagePart mPart = (MessagePart) iter.next(); if (mimeParts.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.WSDL_MIME_BINDING); - parts.add(mPart); } else if (headerParts.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.SOAP_HEADER_BINDING); - parts.add(mPart); } else if (bodyParts.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.SOAP_BODY_BINDING); - parts.add(mPart); } else { mPart.setBindingExtensibilityElementKind(MessagePart.PART_NOT_BOUNDED); } } if (isOperationDocumentLiteral(styleAndUse) && bodyParts.size() > 1) { - if (options.isExtensionMode()) + if (options.isExtensionMode()) { warning(message, ModelerMessages.WSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(info.portTypeOperation.getName())); - else + } else { error(message, ModelerMessages.WSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(info.portTypeOperation.getName())); + } return false; } return true; @@ -1486,8 +1511,9 @@ private boolean boundToFault(String partName) { for (BindingFault bindingFault : info.bindingOperation.faults()) { - if (partName.equals(bindingFault.getName())) + if (partName.equals(bindingFault.getName())) { return true; + } } return false; } @@ -1518,8 +1544,9 @@ List headers = getHeaderParts(bindingOperation, isInput); for(MessagePart part: headers){ - if(parts.contains(part)) + if (parts.contains(part)) { continue; + } headerParts.add(part); } return headerParts; @@ -1542,15 +1569,18 @@ Iterator headers = getHeaderExtensions(ext).iterator(); while (headers.hasNext()) { SOAPHeader header = headers.next(); - if (!header.isLiteral()) + if (!header.isLiteral()) { continue; + } com.sun.tools.internal.ws.wsdl.document.Message headerMessage = findMessage(header.getMessage(), document); - if (headerMessage == null) + if (headerMessage == null) { continue; + } MessagePart headerPart = headerMessage.getPart(header.getPart()); - if (headerPart == part) + if (headerPart == part) { return headerMessage; + } } return null; } @@ -1584,7 +1614,11 @@ error(header, ModelerMessages.WSDLMODELER_INVALID_HEADER_NOT_FOUND(header.getPart(), bindingOperation.getName())); } if (part.getDescriptorKind() != SchemaKinds.XSD_ELEMENT) { - error(part, ModelerMessages.WSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(part.getName(), bindingOperation.getName())); + if (options.isExtensionMode()) { + warning(part, ModelerMessages.WSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(part.getName(), bindingOperation.getName())); + } else { + error(part, ModelerMessages.WSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(part.getName(), bindingOperation.getName())); + } } part.setBindingExtensibilityElementKind(MessagePart.SOAP_HEADER_BINDING); parts.add(part); @@ -1608,7 +1642,7 @@ JAXBType type; QName name = part.getDescriptor(); if (part.getDescriptorKind().equals(SchemaKinds.XSD_ELEMENT)) { - type = jaxbModelBuilder.getJAXBType(name); + type = getJAXBModelBuilder().getJAXBType(name); if(type == null){ error(part, ModelerMessages.WSDLMODELER_JAXB_JAVATYPE_NOTFOUND(name, part.getName())); } @@ -1625,8 +1659,9 @@ } private List getDoclitParameters(Request req, Response res, List parameterList) { - if (parameterList.size() == 0) + if (parameterList.isEmpty()) { return new ArrayList(); + } List params = new ArrayList(); Message inMsg = getInputMessage(); Message outMsg = getOutputMessage(); @@ -1651,15 +1686,14 @@ res.addBodyBlock(block); } } else if (ModelerUtils.isUnbound(part)) { - if (part.isIN()) + if (part.isIN()) { req.addUnboundBlock(block); - else if (part.isOUT()) + } else if (part.isOUT()) { res.addUnboundBlock(block); - else if (part.isINOUT()) { + } else if (part.isINOUT()) { req.addUnboundBlock(block); res.addUnboundBlock(block); } - } if (part.isIN() || part.isINOUT()) { params = ModelerUtils.createUnwrappedParameters(jaxbStructType, block); @@ -1756,10 +1790,11 @@ param.setParameterIndex(pIndex++); } - if (part.isIN()) + if (part.isIN()) { setCustomizedParameterName(info.portTypeOperation, inMsg, part, param, false); - else if (outMsg != null) + } else if (outMsg != null) { setCustomizedParameterName(info.portTypeOperation, outMsg, part, param, false); + } params.add(param); } @@ -1807,8 +1842,9 @@ S2JJAXBModel jaxbModel = ((RpcLitStructure) reqBlock.getType()).getJaxbModel().getS2JJAXBModel(); List inParams = ModelerUtils.createRpcLitParameters(inMsg, reqBlock, jaxbModel, errReceiver); List outParams = null; - if (outMsg != null) + if (outMsg != null) { outParams = ModelerUtils.createRpcLitParameters(outMsg, resBlock, jaxbModel, errReceiver); + } //create parameters for header and mime parts int index = 0; @@ -1835,12 +1871,13 @@ } } else if (ModelerUtils.isBoundToMimeContent(part)) { List mimeContents; - if (part.isIN() || part.isINOUT()) + if (part.isIN() || part.isINOUT()) { mimeContents = getMimeContents(info.bindingOperation.getInput(), getInputMessage(), part.getName()); - else + } else { mimeContents = getMimeContents(info.bindingOperation.getOutput(), getOutputMessage(), part.getName()); + } JAXBType type = getAttachmentType(mimeContents, part); //create Parameters in request or response @@ -1892,10 +1929,11 @@ } } for (Parameter param : params) { - if (param.isIN()) + if (param.isIN()) { setCustomizedParameterName(info.portTypeOperation, inMsg, inMsg.getPart(param.getName()), param, false); - else if (outMsg != null) + } else if (outMsg != null) { setCustomizedParameterName(info.portTypeOperation, outMsg, outMsg.getPart(param.getName()), param, false); + } } return params; } @@ -1903,8 +1941,9 @@ private List getRequestParameters(Request request, List parameterList) { Message inputMessage = getInputMessage(); //there is no input message, return zero parameters - if (inputMessage != null && !inputMessage.parts().hasNext()) + if (inputMessage != null && !inputMessage.parts().hasNext()) { return new ArrayList(); + } List inParameters = null; QName reqBodyName; @@ -1915,8 +1954,9 @@ //setup request parameters for (String inParamName : parameterList) { MessagePart part = inputMessage.getPart(inParamName); - if (part == null) + if (part == null) { continue; + } reqBodyName = part.getDescriptor(); jaxbReqType = getJAXBType(part); if (unwrappable) { @@ -1949,8 +1989,9 @@ } else if (ModelerUtils.isUnbound(part)) { request.addUnboundBlock(reqBlock); } - if (inParameters == null) + if (inParameters == null) { inParameters = new ArrayList(); + } Parameter param = ModelerUtils.createParameter(part.getName(), jaxbReqType, reqBlock); setCustomizedParameterName(info.portTypeOperation, inputMessage, part, param, false); inParameters.add(param); @@ -1966,25 +2007,29 @@ */ private void setCustomizedParameterName(TWSDLExtensible extension, Message msg, MessagePart part, Parameter param, boolean wrapperStyle) { JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(extension, JAXWSBinding.class); - if (jaxwsBinding == null) + if (jaxwsBinding == null) { return; + } String paramName = part.getName(); QName elementName = part.getDescriptor(); - if (wrapperStyle) + if (wrapperStyle) { elementName = param.getType().getName(); + } String customName = jaxwsBinding.getParameterName(msg.getName(), paramName, elementName, wrapperStyle); if (customName != null && !customName.equals("")) { param.setCustomName(customName); } } + @Override protected boolean isConflictingPortClassName(String name) { return false; } protected boolean isUnwrappable() { - if (!getWrapperStyleCustomization()) + if (!getWrapperStyleCustomization()) { return false; + } com.sun.tools.internal.ws.wsdl.document.Message inputMessage = getInputMessage(); com.sun.tools.internal.ws.wsdl.document.Message outputMessage = getOutputMessage(); @@ -2006,14 +2051,16 @@ // is equal to the operation name // Wrapper style if the output message part refers to a global element declaration if ((inputPart != null && !inputPart.getDescriptor().getLocalPart().equals(operationName)) || - (outputPart != null && outputPart.getDescriptorKind() != SchemaKinds.XSD_ELEMENT)) + (outputPart != null && outputPart.getDescriptorKind() != SchemaKinds.XSD_ELEMENT)) { return false; + } //check to see if either input or output message part not bound to soapbing:body //in that case the operation is not wrapper style if (((inputPart != null) && (inputPart.getBindingExtensibilityElementKind() != MessagePart.SOAP_BODY_BINDING)) || - ((outputPart != null) && (outputPart.getBindingExtensibilityElementKind() != MessagePart.SOAP_BODY_BINDING))) + ((outputPart != null) && (outputPart.getBindingExtensibilityElementKind() != MessagePart.SOAP_BODY_BINDING))) { return false; + } // Wrapper style if the elements referred to by the input and output message parts // (henceforth referred to as wrapper elements) are both complex types defined @@ -2034,8 +2081,9 @@ return inputWrappable; } JAXBType outputType = getJAXBType(outputPart); - if ((inputType != null) && (outputType != null)) + if ((inputType != null) && (outputType != null)) { return inputType.isUnwrappable() && outputType.isUnwrappable(); + } } return false; @@ -2047,8 +2095,9 @@ JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeOperation, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); - if (isWrappable != null) + if (isWrappable != null) { return isWrappable; + } } //then into wsdl:portType @@ -2056,16 +2105,18 @@ jaxwsBinding = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); - if (isWrappable != null) + if (isWrappable != null) { return isWrappable; + } } //then wsdl:definitions jaxwsBinding = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); - if (isWrappable != null) + if (isWrappable != null) { return isWrappable; + } } return true; } @@ -2083,8 +2134,9 @@ Iterator iter = getInputMessage().parts(); while (iter.hasNext()) { MessagePart part = (MessagePart) iter.next(); - if (outputPart.getName().equals(part.getName()) && outputPart.getDescriptor().equals(part.getDescriptor())) + if (outputPart.getName().equals(part.getName()) && outputPart.getDescriptor().equals(part.getDescriptor())) { return true; + } } } else if (soapOperation != null && soapOperation.isRPC() || info.soapBinding.isRPC()) { com.sun.tools.internal.ws.wsdl.document.Message inputMessage = getInputMessage(); @@ -2105,11 +2157,13 @@ //create parameters for header and mime parts for (String paramName : parameterList) { MessagePart part = message.getPart(paramName); - if (part == null) + if (part == null) { continue; + } if (ModelerUtils.isBoundToSOAPHeader(part)) { - if (parameters == null) + if (parameters == null) { parameters = new ArrayList(); + } QName headerName = part.getDescriptor(); JAXBType jaxbType = getJAXBType(part); Block headerBlock = new Block(headerName, jaxbType, part); @@ -2119,8 +2173,9 @@ parameters.add(param); } } else if (ModelerUtils.isBoundToMimeContent(part)) { - if (parameters == null) + if (parameters == null) { parameters = new ArrayList(); + } List mimeContents = getMimeContents(info.bindingOperation.getInput(), getInputMessage(), paramName); @@ -2134,8 +2189,9 @@ parameters.add(param); } } else if (ModelerUtils.isUnbound(part)) { - if (parameters == null) + if (parameters == null) { parameters = new ArrayList(); + } QName name = part.getDescriptor(); JAXBType type = getJAXBType(part); Block unboundBlock = new Block(name, type, part); @@ -2186,10 +2242,8 @@ if(typeAnno == null){ error(part, ModelerMessages.WSDLMODELER_JAXB_JAVATYPE_NOTFOUND(part.getDescriptor(), part.getName())); } - for (Iterator mimeTypeIter = mimeTypes.iterator(); mimeTypeIter.hasNext();) { - String mimeType = (String) mimeTypeIter.next(); - if ((!mimeType.equals("text/xml") && - !mimeType.equals("application/xml"))) { + for (String mimeType : mimeTypes) { + if ((!mimeType.equals("text/xml") && !mimeType.equals("application/xml"))) { //According to AP 1.0, //RZZZZ: In a DESCRIPTION, if a wsdl:part element refers to a //global element declaration (via the element attribute of the wsdl:part @@ -2210,13 +2264,13 @@ } protected void buildJAXBModel(WSDLDocument wsdlDocument) { - JAXBModelBuilder jaxbModelBuilder = new JAXBModelBuilder(options, classNameCollector, forest, errReceiver); + JAXBModelBuilder tempJaxbModelBuilder = new JAXBModelBuilder(options, classNameCollector, forest, errReceiver); //set the java package where wsdl artifacts will be generated //if user provided package name using -p switch (or package property on wsimport ant task) //ignore the package customization in the wsdl and schema bidnings //formce the -p option only in the first pass if (explicitDefaultPackage != null) { - jaxbModelBuilder.getJAXBSchemaCompiler().forcePackageName(options.defaultPackage); + tempJaxbModelBuilder.getJAXBSchemaCompiler().forcePackageName(options.defaultPackage); } else { options.defaultPackage = getJavaPackage(); } @@ -2224,10 +2278,10 @@ //create pseudo schema for async operations(if any) response bean List schemas = PseudoSchemaBuilder.build(this, options, errReceiver); for (InputSource schema : schemas) { - jaxbModelBuilder.getJAXBSchemaCompiler().parseSchema(schema); + tempJaxbModelBuilder.getJAXBSchemaCompiler().parseSchema(schema); } - jaxbModelBuilder.bind(); - this.jaxbModelBuilder = jaxbModelBuilder; + tempJaxbModelBuilder.bind(); + this.jaxbModelBuilder = tempJaxbModelBuilder; } protected String getJavaPackage() { @@ -2270,8 +2324,9 @@ for (JavaParameter jParam : operation.getJavaMethod().getParametersList()) { Parameter param = jParam.getParameter(); - if (param.getCustomName() != null) + if (param.getCustomName() != null) { jParam.setName(param.getCustomName()); + } } } @@ -2283,8 +2338,9 @@ JAXWSBinding jaxwsCust = (JAXWSBinding) getExtensionOfType(wsdlService, JAXWSBinding.class); if (jaxwsCust != null && jaxwsCust.getClassName() != null) { CustomName name = jaxwsCust.getClassName(); - if (name != null && !name.getName().equals("")) + if (name != null && !name.getName().equals("")) { return makePackageQualified(name.getName()); + } } return makePackageQualified(BindingHelper.mangleNameToClassName(serviceName)); } @@ -2323,28 +2379,13 @@ JavaInterface intf) { String candidateName = getJavaNameForOperation(operation); JavaMethod method = new JavaMethod(candidateName, options, errReceiver); - Request request = operation.getRequest(); - Iterator requestBodyBlocks = request.getBodyBlocks(); - Block requestBlock = - (requestBodyBlocks.hasNext() - ? request.getBodyBlocks().next() - : null); + assert (operation.getRequest() != null); Response response = operation.getResponse(); - Iterator responseBodyBlocks = null; - Block responseBlock; - if (response != null) { - responseBodyBlocks = response.getBodyBlocks(); - responseBlock = - responseBodyBlocks.hasNext() - ? response.getBodyBlocks().next() - : null; - } // build a signature of the form "opName%arg1type%arg2type%...%argntype so that we // detect overloading conflicts in the generated java interface/classes - String signature = candidateName; - for (Iterator iter = request.getParameters(); iter.hasNext();) { + for (Iterator iter = operation.getRequest().getParameters(); iter.hasNext();) { Parameter parameter = (Parameter) iter.next(); if (parameter.getJavaParameter() != null) { @@ -2364,7 +2405,6 @@ method.addParameter(javaParameter); parameter.setJavaParameter(javaParameter); - signature += "%" + parameterType.getName(); } if (response != null) { @@ -2390,7 +2430,6 @@ } String candidateName = getJavaNameForOperation(operation); JavaMethod method = new JavaMethod(candidateName, options, errReceiver); - Request request = operation.getRequest(); Parameter returnParam = (Parameter) operation.getProperty(WSDL_RESULT_PARAMETER); if (returnParam != null) { JavaType parameterType = returnParam.getType().getJavaType(); @@ -2514,7 +2553,7 @@ protected List getParameterOrder() { List params = new ArrayList(); String parameterOrder = info.portTypeOperation.getParameterOrder(); - java.util.List parameterList = new ArrayList(); + java.util.List parameterList; boolean parameterOrderPresent = false; if ((parameterOrder != null) && !(parameterOrder.trim().equals(""))) { parameterList = XmlUtil.parseTokenList(parameterOrder); @@ -2636,7 +2675,6 @@ } //parameterOrder attribute is not valid, we ignore it warning(info.operation.getEntity(), ModelerMessages.WSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(info.operation.getName().getLocalPart())); - parameterOrderPresent = false; parameterList.clear(); } @@ -2660,8 +2698,9 @@ //append the out parts to the parameterList for (MessagePart part : outParts) { - if (outParts.size() == 1) + if (outParts.size() == 1) { part.setReturn(true); + } params.add(part); } } @@ -2678,6 +2717,7 @@ return options.defaultPackage + "." + prefix + suffix; } + @Override protected boolean isConflictingServiceClassName(String name) { return conflictsWithSEIClass(name) || conflictsWithJAXBClass(name) || conflictsWithExceptionClass(name); } @@ -2697,6 +2737,7 @@ return exceptionNames != null && exceptionNames.contains(name); } + @Override protected boolean isConflictingExceptionClassName(String name) { return conflictsWithSEIClass(name) || conflictsWithJAXBClass(name); } @@ -2710,15 +2751,17 @@ (SOAPBinding) getExtensionOfType(binding, SOAPBinding.class); //dont process the binding - if (soapBinding == null) - soapBinding = - (SOAPBinding) getExtensionOfType(binding, SOAP12Binding.class); - if (soapBinding == null) + if (soapBinding == null) { + soapBinding = (SOAPBinding) getExtensionOfType(binding, SOAP12Binding.class); + } + if (soapBinding == null) { return false; + } //if soapbind:binding has no style attribute, the default is DOCUMENT - if (soapBinding.getStyle() == null) + if (soapBinding.getStyle() == null) { soapBinding.setStyle(SOAPStyle.DOCUMENT); + } SOAPStyle opStyle = soapBinding.getStyle(); for (Iterator iter = binding.operations(); iter.hasNext();) { @@ -2730,8 +2773,9 @@ if (soapOperation != null) { SOAPStyle currOpStyle = (soapOperation.getStyle() != null) ? soapOperation.getStyle() : soapBinding.getStyle(); //dont check for the first operation - if (!currOpStyle.equals(opStyle)) + if (!currOpStyle.equals(opStyle)) { return false; + } } } return true; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModelerBase.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModelerBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModelerBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,7 +32,6 @@ import com.sun.tools.internal.ws.processor.model.Operation; import com.sun.tools.internal.ws.processor.model.Port; import com.sun.tools.internal.ws.processor.model.java.JavaException; -import com.sun.tools.internal.ws.processor.modeler.JavaSimpleTypeCreator; import com.sun.tools.internal.ws.processor.modeler.Modeler; import com.sun.tools.internal.ws.resources.ModelerMessages; import com.sun.tools.internal.ws.wscompile.AbortException; @@ -49,10 +48,8 @@ import com.sun.tools.internal.ws.wsdl.framework.Entity; import com.sun.tools.internal.ws.wsdl.framework.GloballyKnown; import com.sun.tools.internal.ws.wsdl.framework.NoSuchEntityException; -import com.sun.tools.internal.ws.wsdl.parser.DOMForest; import com.sun.tools.internal.ws.wsdl.parser.WSDLParser; import com.sun.tools.internal.ws.wsdl.parser.MetadataFinder; -import com.sun.xml.internal.ws.spi.db.BindingContext; import com.sun.xml.internal.ws.spi.db.BindingHelper; import org.xml.sax.helpers.LocatorImpl; @@ -84,8 +81,9 @@ * @param wsdlPort */ protected void applyPortMethodCustomization(Port port, com.sun.tools.internal.ws.wsdl.document.Port wsdlPort) { - if(isProvider(wsdlPort)) + if (isProvider(wsdlPort)) { return; + } JAXWSBinding jaxwsBinding = (JAXWSBinding)getExtensionOfType(wsdlPort, JAXWSBinding.class); String portMethodName = (jaxwsBinding != null)?((jaxwsBinding.getMethodName() != null)?jaxwsBinding.getMethodName().getName():null):null; @@ -108,8 +106,9 @@ JAXWSBinding jaxwsGlobalCustomization = (JAXWSBinding)getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); isProvider = (jaxwsGlobalCustomization != null)?jaxwsGlobalCustomization.isProvider():null; - if(isProvider != null) + if (isProvider != null) { return isProvider; + } return false; } @@ -157,8 +156,9 @@ } protected com.sun.tools.internal.ws.wsdl.document.Message getOutputMessage() { - if (info.portTypeOperation.getOutput() == null) + if (info.portTypeOperation.getOutput() == null) { return null; + } return info.portTypeOperation.getOutput().resolveMessage(info.document); } @@ -180,10 +180,11 @@ //get Mime parts List mimeParts; - if(isInput) + if (isInput) { mimeParts = getMimeContentParts(message, info.bindingOperation.getInput()); - else + } else { mimeParts = getMimeContentParts(message, info.bindingOperation.getOutput()); + } if (bodyParts != null) { StringTokenizer in = new StringTokenizer(bodyParts.trim(), " "); @@ -198,17 +199,18 @@ } } else { for (MessagePart mPart : message.getParts()) { - if (!mimeParts.contains(mPart)) + if (!mimeParts.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.SOAP_BODY_BINDING); + } partsList.add(mPart); } } for (MessagePart mPart : message.getParts()) { - if(mimeParts.contains(mPart)) { + if (mimeParts.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.WSDL_MIME_BINDING); parts.add(mPart); - }else if(partsList.contains(mPart)) { + } else if(partsList.contains(mPart)) { mPart.setBindingExtensibilityElementKind(MessagePart.SOAP_BODY_BINDING); parts.add(mPart); } @@ -226,8 +228,9 @@ for (MIMEPart mimePart : getMimeParts(ext)) { MessagePart part = getMimeContentPart(message, mimePart); - if (part != null) + if (part != null) { mimeContentParts.add(part); + } } return mimeContentParts; } @@ -250,8 +253,9 @@ mimeContents.add((MIMEContent) obj); } } - if(!validateMimeContentPartNames(mimeContents)) + if (!validateMimeContentPartNames(mimeContents)) { return false; + } if(mPart.getName() != null) { warning(mPart, ModelerMessages.MIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(info.portTypeOperation.getName())); } @@ -281,8 +285,9 @@ // String mimeType = null; for(MIMEContent mimeContent:mimeContents){ String mimeType = getMimeContentType(mimeContent); - if(!mimeTypes.contains(mimeType)) + if (!mimeTypes.contains(mimeType)) { mimeTypes.add(mimeType); + } } return mimeTypes; } @@ -432,8 +437,9 @@ */ private boolean isRootPart(MIMEPart part) { for (TWSDLExtension twsdlExtension : part.extensions()) { - if (twsdlExtension instanceof SOAPBody) + if (twsdlExtension instanceof SOAPBody) { return true; + } } return false; } @@ -506,13 +512,15 @@ info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; List inputParts = getMessageParts(getSOAPRequestBody(), getInputMessage(), true); - if(!validateStyleAndPart(operation, inputParts)) + if (!validateStyleAndPart(operation, inputParts)) { return false; + } if(isRequestResponse){ List outputParts = getMessageParts(getSOAPResponseBody(), getOutputMessage(), false); - if(!validateStyleAndPart(operation, outputParts)) + if (!validateStyleAndPart(operation, outputParts)) { return false; + } } return true; } @@ -526,8 +534,9 @@ (SOAPOperation) getExtensionOfType(operation, SOAPOperation.class); for (MessagePart part : parts) { if (part.getBindingExtensibilityElementKind() == MessagePart.SOAP_BODY_BINDING) { - if (!isStyleAndPartMatch(soapOperation, part)) + if (!isStyleAndPartMatch(soapOperation, part)) { return false; + } } } return true; @@ -538,8 +547,9 @@ QName memberName = fault.getElementName(); javaMemberName = fault.getJavaMemberName(); - if (javaMemberName == null) + if (javaMemberName == null) { javaMemberName = memberName.getLocalPart(); + } return javaMemberName; } @@ -553,8 +563,9 @@ for (MIMEPart mimePart : getMimeParts(ext)) { List mimeContents = getMimeContents(mimePart); for (MIMEContent mimeContent : mimeContents) { - if (mimeContent.getPart().equals(name)) + if (mimeContent.getPart().equals(name)) { return mimeContents; + } } } return null; @@ -605,8 +616,9 @@ protected TWSDLExtension getAnyExtensionOfType( TWSDLExtensible extensible, Class type) { - if(extensible == null) + if (extensible == null) { return null; + } for (TWSDLExtension extension:extensible.extensions()) { if(extension.getClass().equals(type)) { return extension; @@ -616,8 +628,9 @@ for (MIMEPart part : ((MIMEMultipartRelated)extension).getParts()) { //bug fix: 5024001 TWSDLExtension extn = getExtensionOfType(part, type); - if (extn != null) + if (extn != null) { return extn; + } } } } @@ -660,11 +673,11 @@ protected String getUniqueClassName(String className) { int cnt = 2; String uniqueName = className; - while (reqResNames.contains(uniqueName.toLowerCase())) { + while (reqResNames.contains(uniqueName.toLowerCase(Locale.ENGLISH))) { uniqueName = className + cnt; cnt++; } - reqResNames.add(uniqueName.toLowerCase()); + reqResNames.add(uniqueName.toLowerCase(Locale.ENGLISH)); return uniqueName; } @@ -700,19 +713,22 @@ protected void warning(Entity entity, String message){ //avoid duplicate warning for the second pass - if(numPasses > 1) + if (numPasses > 1) { return; - if(entity == null) + } + if (entity == null) { errReceiver.warning(null, message); - else + } else { errReceiver.warning(entity.getLocator(), message); + } } protected void error(Entity entity, String message){ - if(entity == null) + if (entity == null) { errReceiver.error(null, message); - else + } else { errReceiver.error(entity.getLocator(), message); + } throw new AbortException(); } @@ -732,11 +748,10 @@ protected Map _javaExceptions; protected Map _faultTypeToStructureMap; protected Map _bindingNameToPortMap; - protected boolean useWSIBasicProfile = true; private final Set reqResNames = new HashSet(); - public class ProcessSOAPOperationInfo { + public static class ProcessSOAPOperationInfo { public ProcessSOAPOperationInfo( Port modelPort, @@ -768,18 +783,8 @@ // additional data public Operation operation; - public String uniqueOperationName; } - public static class WSDLExceptionInfo { - public String exceptionType; - public QName wsdlMessage; - public String wsdlMessagePartName; - public HashMap constructorOrder; // mapping of element name to - // constructor order (of type Integer) - } - - protected WSDLParser parser; protected WSDLDocument document; protected static final LocatorImpl NULL_LOCATOR = new LocatorImpl(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/ClassNameCollector.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/ClassNameCollector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/ClassNameCollector.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -144,9 +144,6 @@ _exceptions.add(fault.getJavaException()); addExceptionClassName(fault.getJavaException().getName()); - if (fault.getParentFault() != null) { - preVisit(fault.getParentFault()); - } for (Iterator iter = fault.getSubfaults(); iter != null && iter.hasNext();) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/DirectoryUtil.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/DirectoryUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/DirectoryUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -96,12 +96,10 @@ } - private static void ensureDirectory(File dir) - throws GeneratorException { - + private static void ensureDirectory(File dir) throws GeneratorException { if (!dir.exists()) { - dir.mkdirs(); - if (!dir.exists()) { + boolean created = dir.mkdirs(); + if (!created || !dir.exists()) { throw new GeneratorException("generator.cannot.create.dir", dir.getAbsolutePath()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/IndentingWriter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/IndentingWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/util/IndentingWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ConfigurationMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ConfigurationMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ConfigurationMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/GeneratorMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/GeneratorMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/GeneratorMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/JavacompilerMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/JavacompilerMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/JavacompilerMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelerMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelerMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ModelerMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -460,6 +459,18 @@ return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(arg0, arg1)); } + public static Localizable localizableWSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED(Object arg0, Object arg1) { + return messageFactory.getMessage("wsdlmodeler.warning.memberSubmissionAddressingUsed", arg0, arg1); + } + + /** + * obsolete addressing version 08-2004:"{0}" used; version "{1}" should be used instead. + * + */ + public static String WSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED(Object arg0, Object arg1) { + return localizer.localize(localizableWSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED(arg0, arg1)); + } + public static Localizable localizableWSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) { return messageFactory.getMessage("wsdlmodeler.warning.bindingOperation.multiplePartBinding", arg0, arg1); } @@ -988,6 +999,18 @@ return localizer.localize(localizableWSDLMODELER_WARNING_R_2716_R_2726(arg0, arg1)); } + public static Localizable localizableWSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING(Object arg0, Object arg1) { + return messageFactory.getMessage("wsdlmodeler.invalid.ignoringMemberSubmissionAddressing", arg0, arg1); + } + + /** + * ignoring wsa:Action attribute since obsolete addressing version 08-2004:"{0}" used; expecting addressing version "{1}". To use version 08-2004 anyway run wsimport with -extension switch. + * + */ + public static String WSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING(Object arg0, Object arg1) { + return localizer.localize(localizableWSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING(arg0, arg1)); + } + public static Localizable localizableWSDLMODELER_WARNING_NO_SOAP_ADDRESS(Object arg0) { return messageFactory.getMessage("wsdlmodeler.warning.noSOAPAddress", arg0); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ProcessorMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ProcessorMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/ProcessorMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,11 +23,10 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/UtilMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/UtilMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/UtilMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -700,6 +699,18 @@ return localizer.localize(localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(arg0, arg1, arg2)); } + public static Localizable localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() { + return messageFactory.getMessage("webserviceap.parsing.javac.options.error"); + } + + /** + * Can't get javac options from processingEnv. + * + */ + public static String WEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() { + return localizer.localize(localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR()); + } + public static Localizable localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) { return messageFactory.getMessage("webservice.encoded.not.supported", arg0, arg1); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -213,7 +212,7 @@ } /** - * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. + * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. * */ public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { @@ -331,7 +330,8 @@ * result in applications that are not portable or * may not interoperate with other implementations * -help display help - * -httpproxy:: specify a HTTP proxy server (port defaults to 8080) + * -httpproxy: set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort + * (port defaults to 8080) * -keep keep generated files * -p specifies the target package * -quiet suppress wsimport output @@ -568,7 +568,7 @@ } /** - * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. + * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. * */ public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { @@ -910,6 +910,18 @@ return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); } + public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) { + return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0); + } + + /** + * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort + * + */ + public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) { + return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0)); + } + public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { return messageFactory.getMessage("wsgen.portname.missing.localname", arg0); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WsdlMessages.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WsdlMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WsdlMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.tools.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -730,6 +729,18 @@ return localizer.localize(localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(arg0)); } + public static Localizable localizablePARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(Object arg0, Object arg1) { + return messageFactory.getMessage("parsing.unknownExtensibilityElementOrAttribute", arg0, arg1); + } + + /** + * unknown extensibility element or attribute "{0}" (in namespace "{1}") + * + */ + public static String PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(Object arg0, Object arg1) { + return localizer.localize(localizablePARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(arg0, arg1)); + } + public static Localizable localizableVALIDATION_DUPLICATED_ELEMENT(Object arg0) { return messageFactory.getMessage("validation.duplicatedElement", arg0); } @@ -927,7 +938,7 @@ } /** - * failed.noservice=Could not find wsdl:service in the provided WSDL(s): + * Could not find wsdl:service in the provided WSDL(s): * * {0} At least one WSDL with at least one service definition needs to be provided. * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=Wird ignoriert: Binding-Datei "\\"{0}\\". Es handelt sich nicht um eine jaxws- oder jaxb-Binding-Datei. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=Ignorando el archivo de enlace "\\"{0}\\". No es un archivo de enlace jaxws ni jaxb. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=Non-prise en compte : fichier de binding "\"{0}\". Il ne s''agit pas d''un fichier de binding jaxws ou jaxb. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=Il file di associazione "\"{0}\" verr\u00E0 ignorato. Non si tratta di un file di associazione jaxws o jaxb. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=\u7121\u8996\u3057\u307E\u3059: \u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB"\"{0}\"\u3002\u3053\u308C\u306FJAXWS\u307E\u305F\u306FJAXB\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=\uBC14\uC778\uB529 \uD30C\uC77C "\"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. JAXWS \uB610\uB294 JAXB \uBC14\uC778\uB529 \uD30C\uC77C\uC774 \uC544\uB2D9\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=Ignorando: arquivo de bind "\"{0}\". N\u00E3o \u00E9 um arquivo bind jaxws ou jaxb. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=\u5FFD\u7565: \u7ED1\u5B9A\u6587\u4EF6 "\"{0}\"\u3002\u8BE5\u6587\u4EF6\u4E0D\u662F jaxws \u6216 jaxb \u7ED1\u5B9A\u6587\u4EF6\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/configuration_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#configuration.invalidElement=invalid element \"{2}\" in file \"{0}\" (line {1}) +configuration.notBindingFile=\u5FFD\u7565: \u9023\u7D50\u6A94 "\"{0}\". \u8A72\u6A94\u6848\u4E0D\u662F jaxws \u6216 jaxb \u9023\u7D50\u6A94. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=Generatorfehler: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=Verzeichnis {0} kann nicht erstellt werden +generator.internal.error.should.not.happen=Interner Fehler (sollte nicht auftreten): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL enth\u00E4lt einige Zeichen, die der native Java Encoder nicht codieren kann: \\"{0}\\" +generator.sei.classAlreadyExist=SEI konnte nicht generiert werden, Klasse {0} ist bereits vorhanden. Benennen Sie wsdl:portType \\"{1}\\" mit der JAX-WS-Anpassung um +generator.service.classAlreadyExist=Service konnte nicht generiert werden, Klasse {0} ist bereits vorhanden. Benennen Sie wsdl:Service \\"{1}\\" mit der JAX-WS-Anpassung um diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=error del generador: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=No se puede crear el directorio: {0}. +generator.internal.error.should.not.happen=error interno (no debe ocurrir): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=El WSDL posee algunos caracteres que no puede codificar el codificador de java nativo: \\"{0}\\" +generator.sei.classAlreadyExist=No se ha podido generar la interfaz de punto final de servicio; la clase {0} ya existe. Cambie el nombre de wsdl:portType \\"{1}\\" utilizando la personalizaci\u00F3n JAX-WS +generator.service.classAlreadyExist=No se ha podido generar el servicio; la clase {0} ya existe. Cambie el nombre de wsdl:Service \\"{1}\\" utilizando la personalizaci\u00F3n JAX-WS diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=erreur de g\u00E9n\u00E9rateur : {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=impossible de cr\u00E9er le r\u00E9pertoire : {0} +generator.internal.error.should.not.happen=erreur interne (inattendue) : {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL contient certains caract\u00E8res que l''encodeur Java natif ne peut pas encoder : \"{0}\" +generator.sei.classAlreadyExist=Impossible de g\u00E9n\u00E9rer l''interface d''adresse de service, la classe {0} existe d\u00E9j\u00E0. Renommez wsdl:portType \"{1}\" \u00E0 l''aide de la personnalisation JAX-WS +generator.service.classAlreadyExist=Impossible de g\u00E9n\u00E9rer le service, la classe {0} existe d\u00E9j\u00E0. Renommez wsdl:Service \"{1}\" \u00E0 l''aide de la personnalisation JAX-WS diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=errore del generatore: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=impossibile creare la directory: {0} +generator.internal.error.should.not.happen=errore interno (non deve verificarsi): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL contiene dei caratteri che il codificatore Java nativo non riesce a codificare: \"{0}\" +generator.sei.classAlreadyExist=Impossibile generare SEI. La classe: {0} esiste gi\u00E0. Rinominare wsdl:portType \"{1}\" usando la personalizzazione JAX-WS. +generator.service.classAlreadyExist=Impossibile generare il servizio. La classe: {0} esiste gi\u00E0. Rinominare wsdl:portType \"{1}\" usando la personalizzazione JAX-WS. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=\u30B8\u30A7\u30CD\u30EC\u30FC\u30BF\u30FB\u30A8\u30E9\u30FC: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093: {0} +generator.internal.error.should.not.happen=\u5185\u90E8\u30A8\u30E9\u30FC(\u7981\u6B62\u3055\u308C\u3066\u3044\u307E\u3059): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL\u306B\u306F\u3001\u30CD\u30A4\u30C6\u30A3\u30D6Java\u30A8\u30F3\u30B3\u30FC\u30C0\u3067\u30A8\u30F3\u30B3\u30FC\u30C9\u3067\u304D\u306A\u3044\u6587\u5B57\u304C\u542B\u307E\u308C\u307E\u3059: \"{0}\" +generator.sei.classAlreadyExist=SEI\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30AF\u30E9\u30B9: {0}\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002JAX-WS\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001wsdl:portType \"{1}\"\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044 +generator.service.classAlreadyExist=\u30B5\u30FC\u30D3\u30B9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30AF\u30E9\u30B9: {0}\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002JAX-WS\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001wsdl:Service \"{1}\"\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=\uC0DD\uC131\uAE30 \uC624\uB958: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=\uB514\uB809\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} +generator.internal.error.should.not.happen=\uB0B4\uBD80 \uC624\uB958(\uBC1C\uC0DD\uD558\uBA74 \uC548\uB428): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL\uC5D0 \uACE0\uC720 java \uC778\uCF54\uB354\uAC00 \uC778\uCF54\uB529\uD560 \uC218 \uC5C6\uB294 \uBB38\uC790\uAC00 \uC788\uC74C: \"{0}\" +generator.sei.classAlreadyExist=SEI\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {0} \uD074\uB798\uC2A4\uAC00 \uC874\uC7AC\uD569\uB2C8\uB2E4. JAX-WS \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 wsdl:portType \"{1}\"\uC758 \uC774\uB984\uC744 \uBC14\uAFB8\uC2ED\uC2DC\uC624. +generator.service.classAlreadyExist=\uC11C\uBE44\uC2A4\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {0} \uD074\uB798\uC2A4\uAC00 \uC874\uC7AC\uD569\uB2C8\uB2E4. JAX-WS \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 wsdl:Service \"{1}\"\uC758 \uC774\uB984\uC744 \uBC14\uAFB8\uC2ED\uC2DC\uC624. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=erro do gerador: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=n\u00E3o \u00E9 poss\u00EDvel criar o diret\u00F3rio: {0} +generator.internal.error.should.not.happen=Erro interno (n\u00E3o deve ocorrer): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=O WSDL tem alguns caracteres cujo codificador java nativo n\u00E3o pode codificar: \"{0}\" +generator.sei.classAlreadyExist=N\u00E3o foi poss\u00EDvel gerar SEI, a classe: {0} j\u00E1 existe. Renomeie wsdl:portType \"{1}\" usando a personaliza\u00E7\u00E3o JAX-WS +generator.service.classAlreadyExist=N\u00E3o foi poss\u00EDvel gerar o Servi\u00E7o, a classe: {0} j\u00E1 existe. Renomeie o wsdl:Service \"{1}\" usando a personaliza\u00E7\u00E3o JAX-WS diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=\u751F\u6210\u5668\u9519\u8BEF: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=\u65E0\u6CD5\u521B\u5EFA\u76EE\u5F55: {0} +generator.internal.error.should.not.happen=\u5185\u90E8\u9519\u8BEF (\u4E0D\u5E94\u51FA\u73B0): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=WSDL \u5305\u542B\u672C\u673A java \u7F16\u7801\u5668\u65E0\u6CD5\u7F16\u7801\u7684\u4E00\u4E9B\u5B57\u7B26: \"{0}\" +generator.sei.classAlreadyExist=\u65E0\u6CD5\u751F\u6210 SEI, \u7C7B{0}\u5DF2\u5B58\u5728\u3002\u8BF7\u4F7F\u7528 JAX-WS \u5B9A\u5236\u8BBE\u7F6E\u91CD\u547D\u540D wsdl:portType \"{1}\" +generator.service.classAlreadyExist=\u65E0\u6CD5\u751F\u6210\u670D\u52A1, \u7C7B{0}\u5DF2\u5B58\u5728\u3002\u8BF7\u4F7F\u7528 JAX-WS \u5B9A\u5236\u8BBE\u7F6E\u91CD\u547D\u540D wsdl:Service \"{1}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/generator_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +# +# Copyright (c) 2005, 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. +# + +# Generator +# Wrapped into an Exception. {0} - exception message of another exception. +generator.nestedGeneratorError=\u7522\u751F\u5668\u932F\u8AA4: {0} +# Usage not found. TODO Remove +#generator.cant.write=can''t write file: {0} +# Wrapped into an Exception. Not concatenated with any other string. +generator.cannot.create.dir=\u7121\u6CD5\u5EFA\u7ACB\u76EE\u9304: {0} +generator.internal.error.should.not.happen=\u5167\u90E8\u932F\u8AA4 (\u4E0D\u61C9\u8A72\u767C\u751F): {0} + + +#IndentingWriter +generator.indentingwriter.charset.cantencode=\u539F\u751F Java \u7DE8\u78BC\u5668\u7121\u6CD5\u7DE8\u78BC WSDL \u7684\u67D0\u4E9B\u5B57\u5143: \"{0}\" +generator.sei.classAlreadyExist=\u7121\u6CD5\u7522\u751F SEI, \u985E\u5225: {0} \u5DF2\u5B58\u5728. \u8ACB\u4F7F\u7528 JAX-WS \u81EA\u8A02\u9805\u76EE\u91CD\u65B0\u547D\u540D wsdl:portType \"{1}\" +generator.service.classAlreadyExist=\u7121\u6CD5\u7522\u751F Service, \u985E\u5225: {0} \u5DF2\u5B58\u5728. \u8ACB\u4F7F\u7528 JAX-WS \u81EA\u8A02\u9805\u76EE\u91CD\u65B0\u547D\u540D wsdl:Service \\"{1}\\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0} ist im Classpath nicht vorhanden, erfordert Sun JDK Version 5.0 oder h\u00F6her. +javacompiler.nosuchmethod.error=Es ist keine derartige Methode {0} verf\u00FCgbar, erfordert Sun JDK Version 5.0 oder h\u00F6her. +javacompiler.error=Fehler: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0} no est\u00E1 disponible en la classpath; se necesita la versi\u00F3n 5.0 o posterior de JDK de Sun. +javacompiler.nosuchmethod.error=Ese m\u00E9todo {0} no est\u00E1 disponible. Se necesita la versi\u00F3n 5.0 o posterior de JDK de Sun. +javacompiler.error=error: {0}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0} n''est pas disponible dans le classpath, il exige Sun JDK version 5.0 ou sup\u00E9rieure. +javacompiler.nosuchmethod.error=Aucune m\u00E9thode de type {0} n''est disponible, exige Sun JDK version 5.0 ou sup\u00E9rieure. +javacompiler.error=erreur : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0} non \u00E8 disponibile nel classpath. \u00C8 richiesta la versione 5.0 o successiva di JDK Sun. +javacompiler.nosuchmethod.error=Nessun metodo {0} disponibile. \u00C8 richiesta la versione 5.0 o successiva di JDK Sun. +javacompiler.error=errore: {0}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error=\u30AF\u30E9\u30B9\u30D1\u30B9\u3067{0}\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002Sun\u306EJDK\u30D0\u30FC\u30B8\u30E7\u30F35.0\u4EE5\u4E0A\u304C\u5FC5\u8981\u3067\u3059\u3002 +javacompiler.nosuchmethod.error=\u3053\u3046\u3057\u305F\u30E1\u30BD\u30C3\u30C9{0}\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002Sun\u306EJDK\u30D0\u30FC\u30B8\u30E7\u30F35.0\u4EE5\u4E0A\u304C\u5FC5\u8981\u3067\u3059\u3002 +javacompiler.error=\u30A8\u30E9\u30FC: {0}\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0}\uC744(\uB97C) \uD074\uB798\uC2A4 \uACBD\uB85C\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. Sun\uC758 JDK 5.0 \uB610\uB294 \uC774\uD6C4 \uBC84\uC804\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +javacompiler.nosuchmethod.error=\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uD574\uB2F9 \uBA54\uC18C\uB4DC {0}\uC774(\uAC00) \uC5C6\uC2B5\uB2C8\uB2E4. Sun\uC758 JDK 5.0 \uB610\uB294 \uC774\uD6C4 \uBC84\uC804\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +javacompiler.error=\uC624\uB958: {0}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0} n\u00E3o est\u00E1 dispon\u00EDvel no classpath, requer a vers\u00E3o 5.0 ou posterior de JDK da Sun. +javacompiler.nosuchmethod.error=N\u00E3o h\u00E1 m\u00E9todo {0} dispon\u00EDvel, requer a vers\u00E3o 5.0 ou posterior de JDK da Sun. +javacompiler.error=erro : {0}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error={0}\u5728\u7C7B\u8DEF\u5F84\u4E2D\u4E0D\u53EF\u7528, \u9700\u8981 Sun \u7684 JDK \u7248\u672C 5.0 \u6216\u66F4\u9AD8\u7248\u672C\u3002 +javacompiler.nosuchmethod.error=\u8FD9\u79CD\u65B9\u6CD5{0}\u4E0D\u53EF\u7528, \u9700\u8981 Sun \u7684 JDK \u7248\u672C 5.0 \u6216\u66F4\u9AD8\u7248\u672C\u3002 +javacompiler.error=\u9519\u8BEF: {0}\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/javacompiler_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# Copyright (c) 2005, 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. +# + +# +# Generic Messages +# +javacompiler.classpath.error=\u985E\u5225\u8DEF\u5F91\u4E2D\u7121\u6CD5\u4F7F\u7528 {0}, \u9700\u8981 Sun \u7684 JDK \u7248\u672C 5.0 \u6216\u66F4\u65B0\u7248\u672C. +javacompiler.nosuchmethod.error=\u6B64\u65B9\u6CD5 {0} \u7121\u6CD5\u4F7F\u7528, \u9700\u8981 Sun \u7684 JDK \u7248\u672C 5.0 \u6216\u66F4\u65B0\u7248\u672C. +javacompiler.error=\u932F\u8AA4 : {0}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=Modellfehler: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=Ung\u00FCltiger Meldungstyp: {0} + +model.schema.notImplemented=Nicht unterst\u00FCtztes XML-Schema-Feature ({0}) +model.schema.circularity=Zirkularit\u00E4t in Schema ermittelt: \\"{0}\\" + +model.schema.unsupportedType=nicht unterst\u00FCtzter Typ ({0}): \\"{1}\\" (Namespace: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=ung\u00FCltiges Literal \\"{0}\\" in anonymer Enumeration + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=Facet \\"{0}\\" bei einfachem Typ nicht unterst\u00FCtzt: \\"{0}\\" +model.schema.unionNotSupported=simpleType: \\"{0}\\" Ableitung durch xsd:union nicht unterst\u00FCtzt +model.schema.listNotSupported=simpleType: \\"{0}\\" Ableitung durch xsd:list nicht unterst\u00FCtzt +model.schema.invalidSimpleType.invalidItemType=in simpleType: \\"{0}\\", kann itemType \\"{1}\\" nicht durch Liste abgeleitet werden +model.schema.invalidSimpleType.noItemLiteralType=in simpleType: \"{0}\", ist xsd:list itemType \"{1}\" ung\u00FCltig +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=xsd:all-Gestaltung f\u00FCr den Platzhalter in Schematyp nicht unterst\u00FCtzt: \\"{0}\\" + +model.uniqueness=Verletzung des UNIQUE Constraints +model.part.notUnique=Teile in wsdl:message \\"{0}\\", referenzieren \\"{1}\\", sie m\u00FCssen eindeutige globale Elemente referenzieren. +model.exception.notunique=Java-Signatur konnte nicht generiert werden: Doppelte Ausnahmenamen {0}. Verwenden Sie JAXWS-Binding-Anpassung, um wsdl:part \\"{1}\\" umzubenennen +model.uniqueness.javastructuretype=Verletzung des UNIQUE Constraints, doppeltes Member \\"{0}\\" wurde JavaStructureType \\"{1}\\" hinzugef\u00FCgt +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=\u00DCbergeordnetes Objekt von Typ \"{0}\" ist bereits auf \"{1}\" festgelegt. Neuer Wert = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=Modell-Exporter: Nicht unterst\u00FCtzte Klasse: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=ung\u00FCltige Version \"{1}\" in Modelldokument (Zeile {0}) +model.importer.invalidMinorMinorOrPatchVersion=Modellversion \"{1}\" neuer als Laufzeitversion \"{2}\" (Zeile {0}): Upgrade auf neuere Laufzeitumgebung ist erforderlich +model.importer.invalidClass=ung\u00FCltiger Klassenname \"{1}\" in Modelldokument (Zeile {0}) +model.importer.invalidId=ung\u00FCltige ID \"{1} in Modelldokument (Zeile {0}) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper darf nur ein Element-Member haben. +model.arraywrapper.member.already.set=LiteralArrayWrapper-Element-Member ist bereits festgelegt. +model.arraywrapper.no.parent=LiteralArrayWrapper darf keinen \u00FCbergeordneten Typ haben +model.arraywrapper.no.subtypes=LiteralArrayWrapper darf keine untergeordneten Typen haben +model.arraywrapper.no.content.member=LiteralArrayWrapper darf kein Inhalts-Member haben +model.complexType.simpleContent.reservedName=ung\u00FCltiger Attributname: "_value" in complexType: \\"{0}\\", _value ist reservierter JAXWS-Name, dieser Name wird in der generierten Javabean-Klasse zur Aufnahme des Contentwertes in der generierten Javabean-Klasse f\u00FCr complexType/simpleContent generiert. +model.parameter.notunique.wrapper=Java-Signatur konnte nicht generiert werden: doppelter Parametername \\"{0}\\". Versuchen Sie eine der folgenden L\u00F6sungen\n\t1. Verwenden Sie die JAXWS-Binding-Anpassung, um wsdl:part \\"{1}\\" umzubenennen.\n\t2. F\u00FChren Sie wsimport mit dem Switch "-extension" aus.\n\t3. Dies ist ein Wrapper-Vorgang; um den Parameternamenskonflikt zu l\u00F6sen, k\u00F6nnen Sie auch versuchen, den Wrapper-Vorgang mit der WSDL-Anpassung false zu deaktivieren. +model.parameter.notunique=Java-Signatur konnte nicht generiert werden: doppelter Parametername \\"{0}\\". Versuchen Sie eine der folgenden L\u00F6sungen\n\t1. Verwenden Sie JAXWS-Binding-Anpassung, um wsdl:part \\"{1}\\" umzubenennen\n\t2. F\u00FChren Sie wsimport mit dem Switch "-extension" aus. + +#JAXWS 2.0 +model.schema.elementNotFound=Element \"{0}\" wurde nicht gefunden. +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = unbekanntes Verzeichnis + +ConsoleErrorReporter.LineXOfY = \ \ Zeile {0} von {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=error de modelo: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=tipo de mensaje no v\u00E1lido: {0} + +model.schema.notImplemented=funci\u00F3n de esquema XML no soportada ({0}) +model.schema.circularity=se ha detectado una circularidad en el esquema: \\"{0}\\" + +model.schema.unsupportedType=tipo no soportado ({0}): \"{1}\" (espacio de nombres: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=literal no v\u00E1lido \\"{0}\\" en la enumeraci\u00F3n an\u00F3nima + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=la faceta \"{0}\" no est\u00E1 soportada en un tipo simple: \"{0}\" +model.schema.unionNotSupported=simpleType: \\"{0}\\" la derivaci\u00F3n por xsd:union no est\u00E1 soportada +model.schema.listNotSupported=simpleType: \\"{0}\\" la derivaci\u00F3n por xsd:list no est\u00E1 soportada +model.schema.invalidSimpleType.invalidItemType=en simpleType: \\"{0}\\", itemType \\"{1}\\" no se puede derivar por lista +model.schema.invalidSimpleType.noItemLiteralType=en simpleType: \"{0}\", xsd:list itemType \"{1}\" no es v\u00E1lido +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=el compositor xsd:all no est\u00E1 soportado para el comod\u00EDn en el tipo de esquema: \\"{0}\\" + +model.uniqueness=violaci\u00F3n de la restricci\u00F3n de unicidad +model.part.notUnique=partes de wsdl:message \\"{0}\\", referencia \\"{1}\\", deben hacer referencia a elementos globales \u00FAnicos. +model.exception.notunique=Fallo al generar la firma de Java: nombres de excepci\u00F3n duplicados {0}. Utilice la personalizaci\u00F3n de enlaces JAX-WS para cambiar el nombre de wsdl:part \\"{1}\\" +model.uniqueness.javastructuretype=violaci\u00F3n de la restricci\u00F3n de unicidad; se ha agregado un miembro duplicado \\"{0}\\" a JavaStructureType \\"{1}\\" +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=El principal del tipo \"{0}\" ya se ha definido en \"{1}\", nuevo valor = \"{2}\". +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=exportador de modelo: clase no soportada: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=versi\u00F3n no v\u00E1lida \"{1}\" en el documento del modelo (l\u00EDnea {0}) +model.importer.invalidMinorMinorOrPatchVersion=la versi\u00F3n del modelo \\"{1}\\" es m\u00E1s reciente que la versi\u00F3n en tiempo de ejecuci\u00F3n \\"{2}\\" (l\u00EDnea {0}): hay que actualizarla a un tiempo de ejecuci\u00F3n m\u00E1s reciente +model.importer.invalidClass=nombre de clase no v\u00E1lido \"{1}\" en el documento del modelo (l\u00EDnea {0}) +model.importer.invalidId=Identificador no v\u00E1lido \\"{1}\\" en el documento del modelo (l\u00EDnea {0}) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper s\u00F3lo puede tener un miembro de elemento. +model.arraywrapper.member.already.set=El miembro del elemento LiteralArrayWrapper ya est\u00E1 definido. +model.arraywrapper.no.parent=LiteralArrayWrapper no puede tener un tipo principal +model.arraywrapper.no.subtypes=LiteralArrayWrapper no puede tener subtipos +model.arraywrapper.no.content.member=LiteralArrayWrapper no puede tener un miembro de contenido +model.complexType.simpleContent.reservedName=nombre de atributo no v\u00E1lido: "_value" en complexType: \\"{0}\\", _value es un nombre reservado de JAX-WS; este nombre se genera en la clase javabean generada para incluir el valor de contenido en la clase javabean generada para complexType/simpleContent. +model.parameter.notunique.wrapper=Fallo al generar la firma de Java: nombre de par\u00E1metro duplicado \\"{0}\\". Intente una de las siguientes acciones\n\t1. Utilice la personalizaci\u00F3n de enlace JAX-WS para cambiar el nombre de wsdl:part \\"{1}\\"\n\t2. Ejecute wsimport con el conmutador -extension.\n\t3. Esta operaci\u00F3n es de estilo de envoltorio. Para resolver el conflicto de nombres de par\u00E1metros, intente tambi\u00E9n desactivar el estilo de envoltorio utilizando la personalizaci\u00F3n wsdl false. +model.parameter.notunique=Fallo al generar la firma de Java: nombre de par\u00E1metro duplicado \\"{0}\\". Intente realizar una de las siguientes acciones\n\t1. Utilice la personalizaci\u00F3n de enlace JAX-WS para cambiar el nombre de wsdl:part \\"{1}\\"\n\t2. Ejecute wsimport con el conmutador -extension. + +#JAXWS 2.0 +model.schema.elementNotFound=No se ha encontrado el elemento \"{0}\". +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = ubicaci\u00F3n desconocida + +ConsoleErrorReporter.LineXOfY = \ \ l\u00EDnea {0} de {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=erreur de mod\u00E8le : {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=type de message non valide : {0} + +model.schema.notImplemented=fonction XML Schema ({0}) non prise en charge +model.schema.circularity=circularit\u00E9 d\u00E9tect\u00E9e dans le sch\u00E9ma : \"{0}\" + +model.schema.unsupportedType=type non pris en charge ({0}) : \"{1}\" (espace de noms : {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=litt\u00E9ral non valide \"{0}\" dans l''\u00E9num\u00E9ration anonyme + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=facet \"{0}\" non pris en charge sur le type simple : \"{0}\" +model.schema.unionNotSupported=simpleType : \"{0}\" d\u00E9rivation par xsd:union non prise en charge +model.schema.listNotSupported=simpleType : \"{0}\" d\u00E9rivation par xsd:list non prise en charge +model.schema.invalidSimpleType.invalidItemType=dans simpleType : \"{0}\", l''\u00E9l\u00E9ment itemType \"{1}\" ne peut pas \u00EAtre d\u00E9riv\u00E9 par liste +model.schema.invalidSimpleType.noItemLiteralType=dans simpleType : \"{0}\", l''\u00E9l\u00E9ment xsd:list itemType \"{1}\" n''est pas valide +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=compositeur xsd:all non pris en charge pour le caract\u00E8re g\u00E9n\u00E9rique dans le type de sch\u00E9ma : \"{0}\" + +model.uniqueness=violation de contrainte d'unicit\u00E9 +model.part.notUnique=les parties dans wsdl:message \"{0}\", r\u00E9f\u00E9rence \"{1}\", doivent r\u00E9f\u00E9rencer des \u00E9l\u00E9ments globaux uniques. +model.exception.notunique=Echec de la g\u00E9n\u00E9ration de la signature Java : noms d''exception {0} en double. Utilisez la personnalisation de binding JAXWS pour renommer l''\u00E9l\u00E9ment wsdl:part \"{1}\" +model.uniqueness.javastructuretype=violation de la contrainte d''unicit\u00E9, membre \"{0}\" en double ajout\u00E9 \u00E0 JavaStructureType \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=le parent de type \"{0}\" a d\u00E9j\u00E0 la valeur \"{1}\" ; nouvelle valeur = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=programme d''export de mod\u00E8le : classe non prise en charge : {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=version \"{1}\" non valide dans le document de mod\u00E8le (ligne {0}) +model.importer.invalidMinorMinorOrPatchVersion=version de mod\u00E8le \"{1}\" plus r\u00E9cente que la version d''ex\u00E9cution \"{2}\" (ligne {0}) : vous devez mettre \u00E0 jour vers une version d''ex\u00E9cution plus r\u00E9cente +model.importer.invalidClass=nom de classe \"{1}\" non valide dans le document de mod\u00E8le (ligne {0}) +model.importer.invalidId=ID \"{1}\ non valide dans le document de mod\u00E8le (ligne {0}) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper ne peut avoir qu'un membre d'\u00E9l\u00E9ment. +model.arraywrapper.member.already.set=Le membre de l'\u00E9l\u00E9ment LiteralArrayWrapper existe d\u00E9j\u00E0. +model.arraywrapper.no.parent=LiteralArrayWrapper ne peut pas avoir de type parent +model.arraywrapper.no.subtypes=LiteralArrayWrapper ne peut pas avoir de sous-types +model.arraywrapper.no.content.member=LiteralArrayWrapper ne peut pas avoir de membre de contenu +model.complexType.simpleContent.reservedName=nom d''attribut non valide : "_value" dans complexType : \"{0}\", _value est un nom r\u00E9serv\u00E9 JAXWS, ce nom est g\u00E9n\u00E9r\u00E9 dans la classe JavaBean g\u00E9n\u00E9r\u00E9e pour contenir la valeur de contenu dans la classe JavaBean g\u00E9n\u00E9r\u00E9e pour complexType/simpleContent. +model.parameter.notunique.wrapper=Echec de la g\u00E9n\u00E9ration de la signature Java : nom de param\u00E8tre en double \"{0}\". Essayez l''une de ces solutions :\n\t1. Utilisez la personnalisation de binding JAXWS pour renommer l''\u00E9l\u00E9ment wsdl:part \"{1}\".\n\t2. Ex\u00E9cutez wsimport avec le commutateur -extension.\n\t3. Il s''agit d''une op\u00E9ration de style wrapper ; pour r\u00E9soudre le conflit de nom de param\u00E8tre, vous pouvez \u00E9galement essayer de d\u00E9sactiver le style wrapper \u00E0 l''aide de la personnalisation WSDL false. +model.parameter.notunique=Echec de la g\u00E9n\u00E9ration de la signature Java : nom de param\u00E8tre en double \"{0}\". Essayez l''une de ces solutions :\n\t1. Utilisez la personnalisation de binding JAXWS pour renommer l''\u00E9l\u00E9ment wsdl:part \"{1}\".\n\t2. Ex\u00E9cutez wsimport avec le commutateur -extension. + +#JAXWS 2.0 +model.schema.elementNotFound=El\u00E9ment \"{0}\" introuvable. +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = emplacement inconnu + +ConsoleErrorReporter.LineXOfY = \ \ ligne {0} sur {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=errore del modello: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=tipo di messaggio non valido: {0} + +model.schema.notImplemented=funzione di schema XML ({0}) non supportata +model.schema.circularity=circolarit\u00E0 rilevata nello schema: \"{0}\" + +model.schema.unsupportedType=tipo non supportato ({0}): \"{1}\" (spazio di nomi: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=valore non valido \"{0}\" nell''enumerazione anonima + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=facet \"{0}\" non supportato sul tipo semplice: \"{0}\" +model.schema.unionNotSupported=simpleType: derivazione \"{0}\" mediante xsd:union non supportata +model.schema.listNotSupported=simpleType: derivazione \"{0}\" mediante xsd:list non supportata +model.schema.invalidSimpleType.invalidItemType=in simpleType: \"{0}\", impossibile derivare itemType \"{1}\" mediante lista +model.schema.invalidSimpleType.noItemLiteralType=in simpleType: \"{0}\", xsd:list itemType \"{1}\" non valido +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=compositore xsd:all non supportato per il carattere jolly nel tipo di schema: \"{0}\" + +model.uniqueness=Violazione del vincolo di univocit\u00E0 +model.part.notUnique=parti di wsdl:message \"{0}\", riferimento \"{1}\", devono fare riferimento a elementi globali univoci. +model.exception.notunique=Generazione della firma Java non riuscita: nomi di eccezioni duplicati {0}. Usare la personalizzazione dell''associazione JAXWS per rinominare wsdl:part \"{1}\" +model.uniqueness.javastructuretype=violazione del vincolo di univocit\u00E0, membro duplicato \"{0}\" aggiunto a JavaStructureType \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=elemento padre del tipo \"{0}\" gi\u00E0 impostato su \"{1}\"; nuovo valore = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=strumento di esportazione del modello: classe non supportata: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=versione non valida \"{1}\" nel documento del modello (riga {0}) +model.importer.invalidMinorMinorOrPatchVersion=la versione del modello \"{1}\" \u00E8 pi\u00F9 recente della versione di runtime \"{2}\" (riga {0}): \u00E8 necessario eseguire l''aggiornamento a un runtime pi\u00F9 recente +model.importer.invalidClass=nome di classe non valido \"{1}\" nel documento del modello (riga {0}) +model.importer.invalidId=ID non valido \"{1}\" nel documento del modello (riga {0}) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper pu\u00F2 avere solo un membro di elemento. +model.arraywrapper.member.already.set=membro dell'elemento LiteralArrayWrapper gi\u00E0 impostato. +model.arraywrapper.no.parent=LiteralArrayWrapper non pu\u00F2 avere un tipo padre +model.arraywrapper.no.subtypes=LiteralArrayWrapper non pu\u00F2 avere sottotipi +model.arraywrapper.no.content.member=LiteralArrayWrapper non pu\u00F2 avere un membro di contenuto +model.complexType.simpleContent.reservedName=nome attributo non valido: "_value" in complexType: \"{0}\", _value \u00E8 un nome riservato JAXWS. Questo nome viene generato nella classe javabean generata per contenere il valore del contenuto per complexType/simpleContent. +model.parameter.notunique.wrapper=Generazione della firma Java non riuscita: nome di parametro duplicato \"{0}\". Tentare una delle seguenti operazioni:\n\t1. Usare la personalizzazione dell''associazione JAXWS per rinominare wsdl:part \"{1}\"\n\t2. Eseguire wsimport con il parametro -extension.\n\t3. Poich\u00E9 questa \u00E8 un''operazione con stile wrapper, per risolvere il conflitto del nome del parametro, \u00E8 anche possibile provare a disabilitare lo stile wrapper usando la personalizzazione WSDL false. +model.parameter.notunique=Generazione della firma Java non riuscita: nome di parametro duplicato \"{0}\". Tentare una delle seguenti operazioni:\n\t1. Usare la personalizzazione dell''associazione JAXWS per rinominare wsdl:part \"{1}\"\n\t2. Eseguire wsimport con il parametro -extension. + +#JAXWS 2.0 +model.schema.elementNotFound=Elemento \"{0}\" non trovato. +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = posizione sconosciuta + +ConsoleErrorReporter.LineXOfY = \ \ riga {0} di {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=\u30E2\u30C7\u30EB\u30FB\u30A8\u30E9\u30FC: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=\u7121\u52B9\u306A\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30BF\u30A4\u30D7: {0} + +model.schema.notImplemented=\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044XML\u30B9\u30AD\u30FC\u30DE\u6A5F\u80FD({0}) +model.schema.circularity=\u30B9\u30AD\u30FC\u30DE: \"{0}\"\u306B\u5FAA\u74B0\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F + +model.schema.unsupportedType=\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u30BF\u30A4\u30D7({0}): \"{1}\" (\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=\u533F\u540D\u5217\u6319\u306E\u30EA\u30C6\u30E9\u30EB\"{0}\"\u304C\u7121\u52B9\u3067\u3059 + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=\u30D5\u30A1\u30BB\u30C3\u30C8\"{0}\"\u306F\u5358\u7D14\u578B: \"{0}\"\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +model.schema.unionNotSupported=xsd:union\u306B\u3088\u308BsimpleType: \"{0}\"\u306E\u5C0E\u51FA\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +model.schema.listNotSupported=xsd:list\u306B\u3088\u308BsimpleType: \"{0}\"\u306E\u5C0E\u51FA\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +model.schema.invalidSimpleType.invalidItemType=simpleType: \"{0}\"\u3067\u3001itemType \"{1}\"\u3092\u30EA\u30B9\u30C8\u306B\u3088\u308A\u5C0E\u51FA\u3067\u304D\u307E\u305B\u3093 +model.schema.invalidSimpleType.noItemLiteralType=simpleType: \"{0}\"\u3067\u3001xsd:list itemType \"{1}\"\u304C\u7121\u52B9\u3067\u3059 +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=xsd:all\u30B3\u30F3\u30DD\u30B8\u30BF\u306F\u3001\u30B9\u30AD\u30FC\u30DE\u30FB\u30BF\u30A4\u30D7: \"{0}\"\u306E\u30EF\u30A4\u30EB\u30C9\u30AB\u30FC\u30C9\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 + +model.uniqueness=\u4E00\u610F\u6027\u5236\u7D04\u9055\u53CD +model.part.notUnique=wsdl:message \"{0}\"\u306E\u30D1\u30FC\u30C8\u3001\u53C2\u7167\"{1}\"\u306F\u3001\u4E00\u610F\u306E\u30B0\u30ED\u30FC\u30D0\u30EB\u8981\u7D20\u3092\u53C2\u7167\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +model.exception.notunique=Java\u7F72\u540D\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F: \u4F8B\u5916\u540D{0}\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059\u3002JAXWS\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001wsdl:part \"{1}\"\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044 +model.uniqueness.javastructuretype=\u4E00\u610F\u6027\u5236\u7D04\u9055\u53CD\u3067\u3059\u3002\u91CD\u8907\u3057\u305F\u30E1\u30F3\u30D0\u30FC\"{0}\"\u304CJavaStructureType \"{1}\"\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=\u30BF\u30A4\u30D7\"{0}\"\u306E\u89AA\u304C\u3059\u3067\u306B\"{1}\"\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u65B0\u898F\u306E\u5024= \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=\u30E2\u30C7\u30EB\u30FB\u30A8\u30AF\u30B9\u30DD\u30FC\u30BF: \u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u30AF\u30E9\u30B9: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=\u30E2\u30C7\u30EB\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8(\u884C{0})\u3067\u30D0\u30FC\u30B8\u30E7\u30F3\"{1}\"\u304C\u7121\u52B9\u3067\u3059 +model.importer.invalidMinorMinorOrPatchVersion=\u30E2\u30C7\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3\"{1}\"\u304C\u30E9\u30F3\u30BF\u30A4\u30E0\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3\"{2}\" (\u884C{0})\u3088\u308A\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u3067\u3059: \u65B0\u3057\u3044\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u30A2\u30C3\u30D7\u30B0\u30EC\u30FC\u30C9\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +model.importer.invalidClass=\u30E2\u30C7\u30EB\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8(\u884C{0})\u3067\u30AF\u30E9\u30B9\u540D\"{1}\"\u304C\u7121\u52B9\u3067\u3059 +model.importer.invalidId=\u30E2\u30C7\u30EB\u30FB\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8(\u884C{0})\u3067ID \"{1}\"\u304C\u7121\u52B9\u3067\u3059 +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper\u306F\u3001\u8981\u7D20\u30E1\u30F3\u30D0\u30FC1\u3064\u306E\u307F\u306E\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002 +model.arraywrapper.member.already.set=LiteralArrayWrapper\u8981\u7D20\u306E\u30E1\u30F3\u30D0\u30FC\u306F\u3059\u3067\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002 +model.arraywrapper.no.parent=LiteralArrayWrapper\u306F\u89AA\u30BF\u30A4\u30D7\u3092\u6301\u3066\u307E\u305B\u3093 +model.arraywrapper.no.subtypes=LiteralArrayWrapper\u306F\u30B5\u30D6\u30BF\u30A4\u30D7\u3092\u6301\u3066\u307E\u305B\u3093 +model.arraywrapper.no.content.member=LiteralArrayWrapper\u306F\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E1\u30F3\u30D0\u30FC\u3092\u6301\u3066\u307E\u305B\u3093 +model.complexType.simpleContent.reservedName=complexType: \"{0}\"\u306E\u5C5E\u6027\u540D: "_value"\u304C\u7121\u52B9\u3067\u3059\u3002_value\u306FJAXWS\u4E88\u7D04\u540D\u3067\u3042\u308A\u3001\u3053\u306E\u540D\u524D\u306F\u3001complexType/simpleContent\u306E\u751F\u6210\u6E08\u306EJavaBean\u30AF\u30E9\u30B9\u306B\u30B3\u30F3\u30C6\u30F3\u30C4\u5024\u3092\u4FDD\u6301\u3059\u308B\u305F\u3081\u306B\u3001\u751F\u6210\u6E08\u306EJavaBean\u30AF\u30E9\u30B9\u3067\u751F\u6210\u3055\u308C\u307E\u3059\u3002 +model.parameter.notunique.wrapper=Java\u7F72\u540D\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F: \u30D1\u30E9\u30E1\u30FC\u30BF\u5024\"{0}\"\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059\u3002\u6B21\u306E\u3044\u305A\u308C\u304B\u3092\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\n\t1.JAXWS\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001wsdl:part \"{1}\"\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u307E\u3059\n\t2.-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002\n\t3.\u3053\u308C\u306F\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u306E\u7AF6\u5408\u3092\u89E3\u6C7A\u3059\u308B\u305F\u3081\u306E\u30E9\u30C3\u30D1\u30FC\u30FB\u30B9\u30BF\u30A4\u30EB\u306E\u64CD\u4F5C\u3067\u3042\u308A\u3001false wsdl\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u30E9\u30C3\u30D1\u30FC\u30FB\u30B9\u30BF\u30A4\u30EB\u3092\u7121\u52B9\u306B\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002 +model.parameter.notunique=Java\u7F72\u540D\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F: \u30D1\u30E9\u30E1\u30FC\u30BF\u540D\"{0}\"\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059\u3002\u6B21\u306E\u3044\u305A\u308C\u304B\u3092\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\n\t1.JAXWS\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001wsdl:part \"{1}\"\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\n\t2.-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +#JAXWS 2.0 +model.schema.elementNotFound=\u8981\u7D20\"{0}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002 +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = \u4E0D\u660E\u306A\u5834\u6240 + +ConsoleErrorReporter.LineXOfY = \ \ \u884C{0}/{1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=\uBAA8\uB378 \uC624\uB958: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=\uBD80\uC801\uD569\uD55C \uBA54\uC2DC\uC9C0 \uC720\uD615: {0} + +model.schema.notImplemented=\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 XML \uC2A4\uD0A4\uB9C8 \uAE30\uB2A5({0}) +model.schema.circularity=\uC2A4\uD0A4\uB9C8\uC5D0\uC11C \uC21C\uD658\uC131\uC774 \uAC10\uC9C0\uB428: \"{0}\" + +model.schema.unsupportedType=\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC720\uD615({0}): \"{1}\"(\uB124\uC784\uC2A4\uD398\uC774\uC2A4: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=\uC775\uBA85 \uBAA9\uB85D\uC5D0 \uBD80\uC801\uD569\uD55C \uB9AC\uD130\uB7F4 \"{0}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=\uB2E8\uC21C \uC720\uD615\uC5D0\uC11C\uB294 \"{0}\" \uD328\uC2EF\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC74C: \"{0}\" +model.schema.unionNotSupported=xsd:union\uC5D0 \uC758\uD55C simpleType \"{0}\" \uD30C\uC0DD\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +model.schema.listNotSupported=xsd:list\uC5D0 \uC758\uD55C simpleType \"{0}\" \uD30C\uC0DD\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +model.schema.invalidSimpleType.invalidItemType=simpleType \"{0}\"\uC5D0\uC11C itemType \"{1}\"\uC740(\uB294) list\uC5D0 \uC758\uD574 \uD30C\uC0DD\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +model.schema.invalidSimpleType.noItemLiteralType=simpleType \"{0}\"\uC5D0\uC11C xsd:list itemType \"{1}\"\uC740(\uB294) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=\uC2A4\uD0A4\uB9C8 \uC720\uD615 \"{0}\"\uC5D0\uC11C\uB294 \uC640\uC77C\uB4DC \uCE74\uB4DC \uBB38\uC790\uC5D0 \uB300\uD574 xsd:all compositor\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +model.uniqueness=\uACE0\uC720\uC131 \uC81C\uC57D \uC870\uAC74 \uC704\uBC18 +model.part.notUnique=wsdl:message \"{0}\"\uC758 \uBD80\uBD84\uC774 \"{1}\"\uC744(\uB97C) \uCC38\uC870\uD569\uB2C8\uB2E4. \uACE0\uC720\uD55C \uC804\uC5ED \uC694\uC18C\uB97C \uCC38\uC870\uD574\uC57C \uD569\uB2C8\uB2E4. +model.exception.notunique=Java \uC11C\uBA85 \uC0DD\uC131 \uC2E4\uD328: \uC608\uC678 \uC0AC\uD56D \uC774\uB984 {0}\uC774(\uAC00) \uC911\uBCF5\uB429\uB2C8\uB2E4. JAXWS \uBC14\uC778\uB529 \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 wsdl:part \"{1}\"\uC758 \uC774\uB984\uC744 \uBC14\uAFB8\uC2ED\uC2DC\uC624. +model.uniqueness.javastructuretype=\uACE0\uC720\uC131 \uC81C\uC57D \uC870\uAC74 \uC704\uBC18\uC785\uB2C8\uB2E4. \uC911\uBCF5 \uBA64\uBC84 \"{0}\"\uC774(\uAC00) JavaStructureType \"{1}\"\uC5D0 \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=\"{0}\" \uC720\uD615\uC758 \uC0C1\uC704\uAC00 \uC774\uBBF8 \"{1}\"\uC73C(\uB85C) \uC124\uC815\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. \uC0C8 \uAC12 = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=\uBAA8\uB378 \uC775\uC2A4\uD3EC\uD130: \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uD074\uB798\uC2A4: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=\uBAA8\uB378 \uBB38\uC11C({0}\uD589)\uC5D0 \uBD80\uC801\uD569\uD55C \uBC84\uC804 \"{1}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +model.importer.invalidMinorMinorOrPatchVersion=\uBAA8\uB378 \uBC84\uC804 \"{1}\"\uC774(\uAC00) \uB7F0\uD0C0\uC784 \uBC84\uC804 \"{2}\"({0}\uD589)\uBCF4\uB2E4 \uCD5C\uC2E0\uC784: \uCD5C\uC2E0 \uB7F0\uD0C0\uC784\uC73C\uB85C \uC5C5\uADF8\uB808\uC774\uB4DC\uD574\uC57C \uD569\uB2C8\uB2E4. +model.importer.invalidClass=\uBAA8\uB378 \uBB38\uC11C({0}\uD589)\uC5D0 \uBD80\uC801\uD569\uD55C \uD074\uB798\uC2A4 \uC774\uB984 \"{1}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +model.importer.invalidId=\uBAA8\uB378 \uBB38\uC11C({0}\uD589)\uC5D0 \uBD80\uC801\uD569\uD55C ID \"{1}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper\uB294 \uC694\uC18C \uBA64\uBC84\uB97C \uD558\uB098\uB9CC \uAC00\uC9C8 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +model.arraywrapper.member.already.set=LiteralArrayWrapper \uC694\uC18C \uBA64\uBC84\uAC00 \uC774\uBBF8 \uC124\uC815\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +model.arraywrapper.no.parent=LiteralArrayWrapper\uB294 \uC0C1\uC704 \uC720\uD615\uC744 \uAC00\uC9C8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +model.arraywrapper.no.subtypes=LiteralArrayWrapper\uB294 \uD558\uC704 \uC720\uD615\uC744 \uAC00\uC9C8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +model.arraywrapper.no.content.member=LiteralArrayWrapper\uB294 \uCF58\uD150\uCE20 \uBA64\uBC84\uB97C \uAC00\uC9C8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +model.complexType.simpleContent.reservedName=complexType \"{0}\"\uC5D0 \uBD80\uC801\uD569\uD55C \uC18D\uC131 \uC774\uB984 "_value"\uAC00 \uC788\uC2B5\uB2C8\uB2E4. _value\uB294 JAXWS \uC608\uC57D \uC774\uB984\uC785\uB2C8\uB2E4. \uC774 \uC774\uB984\uC740 complexType/simpleContent\uC5D0 \uB300\uD574 \uC0DD\uC131\uB41C javabean \uD074\uB798\uC2A4\uC5D0 \uCF58\uD150\uCE20 \uAC12\uC744 \uBCF4\uAD00\uD558\uAE30 \uC704\uD574 \uC0DD\uC131\uB41C javabean \uD074\uB798\uC2A4\uC5D0\uC11C \uC0DD\uC131\uB429\uB2C8\uB2E4. +model.parameter.notunique.wrapper=Java \uC11C\uBA85 \uC0DD\uC131 \uC2E4\uD328: \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984 \"{0}\"\uC774(\uAC00) \uC911\uBCF5\uB429\uB2C8\uB2E4. \uB2E4\uC74C \uC791\uC5C5 \uC911 \uD558\uB098\uB97C \uC2DC\uB3C4\uD574 \uBCF4\uC2ED\uC2DC\uC624.\n\t1. JAXWS \uBC14\uC778\uB529 \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 wsdl:part \"{1}\"\uC758 \uC774\uB984\uC744 \uBC14\uAFC9\uB2C8\uB2E4.\n\t2. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.\n\t3. \uC774\uB294 \uB798\uD37C \uC2A4\uD0C0\uC77C \uC791\uC5C5\uC785\uB2C8\uB2E4. \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984 \uCDA9\uB3CC\uC744 \uD574\uACB0\uD558\uAE30 \uC704\uD574 false WSDL \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uB798\uD37C \uC2A4\uD0C0\uC77C\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD574 \uBCFC \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. +model.parameter.notunique=Java \uC11C\uBA85 \uC0DD\uC131 \uC2E4\uD328: \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984 \"{0}\"\uC774(\uAC00) \uC911\uBCF5\uB429\uB2C8\uB2E4. \uB2E4\uC74C \uC791\uC5C5 \uC911 \uD558\uB098\uB97C \uC2DC\uB3C4\uD574 \uBCF4\uC2ED\uC2DC\uC624.\n\t1. JAXWS \uBC14\uC778\uB529 \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 wsdl:part \"{1}\"\uC758 \uC774\uB984\uC744 \uBC14\uAFC9\uB2C8\uB2E4.\n\t2. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4. + +#JAXWS 2.0 +model.schema.elementNotFound=\"{0}\" \uC694\uC18C\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = \uC54C \uC218 \uC5C6\uB294 \uC704\uCE58 + +ConsoleErrorReporter.LineXOfY = \ \ {1}\uC758 {0}\uD589 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=erro do modelo: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=tipo de mensagem inv\u00E1lida: {0} + +model.schema.notImplemented=recurso do Esquema XML n\u00E3o suportado ({0}) +model.schema.circularity=circularidade detectada no esquema: \"{0}\" + +model.schema.unsupportedType=tipo n\u00E3o suportado ({0}): \"{1}\" (namespace: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=literal inv\u00E1lida \"{0}\" na enumera\u00E7\u00E3o an\u00F4nima + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=faceta \"{0}\" n\u00E3o suportada no tipo simples: \"{0}\" +model.schema.unionNotSupported=simpleType: \"{0}\" deriva\u00E7\u00E3o de xsd:union n\u00E3o suportada +model.schema.listNotSupported=simpleType: \"{0}\" deriva\u00E7\u00E3o de xsd:list n\u00E3o suportada +model.schema.invalidSimpleType.invalidItemType=no simpleType: \"{0}\", itemType \"{1}\" n\u00E3o pode ser derivado pela lista +model.schema.invalidSimpleType.noItemLiteralType=no simpleType: \"{0}\", xsd:list itemType \"{1}\" \u00E9 inv\u00E1lido +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=o compositor xsd:all n\u00E3o \u00E9 suportado para o curinga no tipo de esquema: \"{0}\" + +model.uniqueness=viola\u00E7\u00E3o de constraint de exclusividade +model.part.notUnique=partes em wsdl:message \\"{0}\\", refer\u00EAncia \\"{1}\\", elas devem fazer refer\u00EAncia aos elementos globais exclusivos. +model.exception.notunique=Falha ao gerar a assinatura Java: nomes da exce\u00E7\u00E3o duplicadas {0}. Use a personaliza\u00E7\u00E3o JAXWS de bind para renomear o wsdl:part \\"{1}\\" +model.uniqueness.javastructuretype=viola\u00E7\u00E3o de constraint de exclusividade, membro \\"{0}\\" duplicado adicionado ao JavaStructureType \\"{1}\\" +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=pai do tipo \"{0}\" j\u00E1 definido como \"{1}\", novo valor = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=exportador de modelo: classe n\u00E3o suportada: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=vers\u00E3o inv\u00E1lida \"{1}\" no documento do modelo (linha {0}) +model.importer.invalidMinorMinorOrPatchVersion=vers\u00E3o do modelo \"{1}\" mais recente que a vers\u00E3o \"{2}\" de runtime (linha {0}): \u00E9 necess\u00E1rio fazer upgrade para um runtime mais recente +model.importer.invalidClass=nome de classe \"{1}\" inv\u00E1lido no documento do modelo (linha {0}) +model.importer.invalidId=id \"{1}\ inv\u00E1lido no documento do modelo (linha {0}) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper somente pode ter um membro do elemento. +model.arraywrapper.member.already.set=o membro do elemento LiteralArrayWrapper j\u00E1 foi definido. +model.arraywrapper.no.parent=LiteralArrayWrapper n\u00E3o pode ter um tipo pai +model.arraywrapper.no.subtypes=LiteralArrayWrapper n\u00E3o pode ter subtipos +model.arraywrapper.no.content.member=LiteralArrayWrapper n\u00E3o pode ter um membro do conte\u00FAdo +model.complexType.simpleContent.reservedName=nome do atributo inv\u00E1lido: "_value" no complexType: \"{0}\", o _value \u00E9 um nome de JAXWS reservado, este nome \u00E9 gerado na classe javabean gerada para manter o valor de conte\u00FAdo na classe javabean gerada para complexType/simpleContent. +model.parameter.notunique.wrapper=Falha ao gerar a assinatura Java: nome do par\u00E2metro \\"{0}\\" duplicado. Tente uma das seguintes a\u00E7\u00F5es\n\t1. Use personaliza\u00E7\u00E3o de bind de JAXWS para renomear wsdl:part \\"{1}\\"\n\t2. Execute wsimport com a chave -extension.\n\t3. Esta \u00E9 a opera\u00E7\u00E3o de estilo do encapsulador, para resolver o conflito de nome do par\u00E2metro, voc\u00EA tamb\u00E9m pode tentar desativar o estilo do encapsulador usando a personaliza\u00E7\u00E3o false wsdl. +model.parameter.notunique=Falha ao gerar a assinatura Java: nome do par\u00E2metro \"{0}\" duplicado. Tente uma das seguintes op\u00E7\u00F5es\n\t1. Use a personaliza\u00E7\u00E3o de bind de JAXWS para renomear a wsdl:part \"{1}\"\n\t2. Execute wsimport com a chave -extension. + +#JAXWS 2.0 +model.schema.elementNotFound=Elemento \"{0}\" n\u00E3o encontrado. +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = localiza\u00E7\u00E3o desconhecida + +ConsoleErrorReporter.LineXOfY = \ \ linha {0} de {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=\u6A21\u578B\u9519\u8BEF: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=\u6D88\u606F\u7C7B\u578B\u65E0\u6548: {0} + +model.schema.notImplemented=\u4E0D\u652F\u6301\u7684 XML \u6A21\u5F0F\u529F\u80FD ({0}) +model.schema.circularity=\u5728\u6A21\u5F0F\u4E2D\u68C0\u6D4B\u5230\u5FAA\u73AF: \"{0}\" + +model.schema.unsupportedType=\u4E0D\u652F\u6301\u7C7B\u578B ({0}): \"{1}\" (\u540D\u79F0\u7A7A\u95F4: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=\u533F\u540D\u679A\u4E3E\u4E2D\u7684\u6587\u5B57 \"{0}\" \u65E0\u6548 + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=\u7B80\u5355\u7C7B\u578B\u4E0D\u652F\u6301\u9762 \"{0}\": \"{0}\" +model.schema.unionNotSupported=\u4E0D\u652F\u6301\u7531 xsd:union \u6D3E\u751F\u7684 simpleType: \"{0}\" +model.schema.listNotSupported=\u4E0D\u652F\u6301\u7531 xsd:list \u6D3E\u751F\u7684 simpleType: \"{0}\" +model.schema.invalidSimpleType.invalidItemType=\u5728 simpleType: \"{0}\" \u4E2D, \u4E0D\u80FD\u7531\u5217\u8868\u6D3E\u751F itemType \"{1}\" +model.schema.invalidSimpleType.noItemLiteralType=\u5728 simpleType: \"{0}\" \u4E2D, xsd:list itemType \"{1}\" \u65E0\u6548 +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=xsd:all \u7EC4\u5408\u5668\u4E0D\u652F\u6301\u6A21\u5F0F\u7C7B\u578B\u4E2D\u7684\u901A\u914D\u7B26: \"{0}\" + +model.uniqueness=\u8FDD\u53CD\u4E86\u552F\u4E00\u6027\u7EA6\u675F\u6761\u4EF6 +model.part.notUnique=wsdl:message \"{0}\", \u5F15\u7528 \"{1}\" \u4E2D\u7684\u90E8\u5206\u5FC5\u987B\u5F15\u7528\u552F\u4E00\u7684\u5168\u5C40\u5143\u7D20\u3002 +model.exception.notunique=\u65E0\u6CD5\u751F\u6210 Java \u7B7E\u540D: \u5F02\u5E38\u9519\u8BEF\u540D\u79F0{0}\u91CD\u590D\u3002\u8BF7\u4F7F\u7528 JAXWS \u7ED1\u5B9A\u5B9A\u5236\u8BBE\u7F6E\u91CD\u547D\u540D wsdl:part \"{1}\" +model.uniqueness.javastructuretype=\u8FDD\u53CD\u4E86\u552F\u4E00\u6027\u7EA6\u675F\u6761\u4EF6, \u6DFB\u52A0\u5230 JavaStructureType \"{1}\" \u7684\u6210\u5458 \"{0}\" \u91CD\u590D +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=\u7C7B\u578B \"{0}\" \u7684\u7236\u7EA7\u5DF2\u8BBE\u7F6E\u4E3A \"{1}\", \u65B0\u503C = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=\u6A21\u578B\u5BFC\u51FA\u7A0B\u5E8F: \u4E0D\u652F\u6301\u7684\u7C7B: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=\u6A21\u578B\u6587\u6863\u4E2D\u7684\u7248\u672C \"{1}\" \u65E0\u6548 (\u7B2C {0} \u884C) +model.importer.invalidMinorMinorOrPatchVersion=\u6A21\u578B\u7248\u672C \"{1}\" \u6BD4\u8FD0\u884C\u65F6\u7248\u672C \"{2}\" \u66F4\u65B0 (\u7B2C {0} \u884C): \u9700\u8981\u5347\u7EA7\u5230\u66F4\u65B0\u7684\u8FD0\u884C\u65F6 +model.importer.invalidClass=\u6A21\u578B\u6587\u6863\u4E2D\u7684\u7C7B\u540D \"{1}\" \u65E0\u6548 (\u7B2C {0} \u884C) +model.importer.invalidId=\u6A21\u578B\u6587\u6863\u4E2D\u7684 ID \"{1}\" \u65E0\u6548 (\u7B2C {0} \u884C) +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper \u53EA\u80FD\u6709\u4E00\u4E2A\u5143\u7D20\u6210\u5458\u3002 +model.arraywrapper.member.already.set=LiteralArrayWrapper \u5143\u7D20\u6210\u5458\u5DF2\u8BBE\u7F6E\u3002 +model.arraywrapper.no.parent=LiteralArrayWrapper \u4E0D\u80FD\u6709\u7236\u7C7B\u578B +model.arraywrapper.no.subtypes=LiteralArrayWrapper \u4E0D\u80FD\u6709\u5B50\u7C7B\u578B +model.arraywrapper.no.content.member=LiteralArrayWrapper \u4E0D\u80FD\u6709\u5185\u5BB9\u6210\u5458 +model.complexType.simpleContent.reservedName=complexType \"{0}\" \u4E2D\u7684\u5C5E\u6027\u540D "_value" \u65E0\u6548, _value \u662F JAXWS \u4FDD\u7559\u540D\u79F0, \u5C06\u5728\u751F\u6210\u7684 javabean \u7C7B\u4E2D\u751F\u6210\u6B64\u540D\u79F0, \u4EE5\u4FBF\u5728\u4E3A complexType/simpleContent \u751F\u6210\u7684 javabean \u7C7B\u4E2D\u4FDD\u5B58\u5185\u5BB9\u503C\u3002 +model.parameter.notunique.wrapper=\u65E0\u6CD5\u751F\u6210 Java \u7B7E\u540D: \u53C2\u6570\u540D \"{0}\" \u91CD\u590D\u3002\u8BF7\u5C1D\u8BD5\u4EE5\u4E0B\u64CD\u4F5C\u4E4B\u4E00\n\t1. \u4F7F\u7528 JAXWS \u7ED1\u5B9A\u5B9A\u5236\u8BBE\u7F6E\u91CD\u547D\u540D wsdl:part \"{1}\"\n\t2. \u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002\n\t3. \u8FD9\u662F\u5305\u88C5\u6837\u5F0F\u64CD\u4F5C, \u7528\u4E8E\u89E3\u51B3\u53C2\u6570\u540D\u51B2\u7A81, \u4E5F\u53EF\u4EE5\u5C1D\u8BD5\u4F7F\u7528 false wsdl \u5B9A\u5236\u8BBE\u7F6E\u6765\u7981\u7528\u5305\u88C5\u6837\u5F0F\u3002 +model.parameter.notunique=\u65E0\u6CD5\u751F\u6210 Java \u7B7E\u540D: \u53C2\u6570\u540D \"{0}\" \u91CD\u590D\u3002\u8BF7\u5C1D\u8BD5\u4EE5\u4E0B\u64CD\u4F5C\u4E4B\u4E00\n\t1. \u4F7F\u7528 JAXWS \u7ED1\u5B9A\u5B9A\u5236\u8BBE\u7F6E\u91CD\u547D\u540D wsdl:part \"{1}\"\n\t2. \u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 + +#JAXWS 2.0 +model.schema.elementNotFound=\u672A\u627E\u5230\u5143\u7D20 \"{0}\"\u3002 +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = \u672A\u77E5\u4F4D\u7F6E + +ConsoleErrorReporter.LineXOfY = \ \ {1}\u7684\u7B2C {0} \u884C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/model_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +# +# Copyright (c) 2005, 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. +# + + +model.nestedModelError=\u6A21\u578B\u932F\u8AA4: {0} +# Usage not found. TODO Remove +#model.duplicate.porttype=duplicate PortType added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.operation=duplicate Operation added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.faultmessage=duplicate fault message added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.part=duplicate part added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.property=duplicate property added to model: {0} +# Usage not found. TODO Remove +#model.duplicate.service=duplicate service added to model: {0} +model.invalid.message.type=\u7121\u6548\u7684\u8A0A\u606F\u985E\u578B: {0} + +model.schema.notImplemented=\u4E0D\u652F\u63F4\u7684 XML \u7DB1\u8981\u529F\u80FD ({0}) +model.schema.circularity=\u5728\u7DB1\u8981\u4E2D\u5075\u6E2C\u5230\u5FAA\u74B0: \"{0}\" + +model.schema.unsupportedType=\u4E0D\u652F\u63F4\u7684\u985E\u578B ({0}): \"{1}\" (\u547D\u540D\u7A7A\u9593: {2}) +# Usage not found. TODO Remove +#model.schema.unsupportedType.anonymous=unsupported anonymous type ({0}) +# Usage not found. TODO Remove +#model.schema.invalidLiteralInEnumeration=invalid literal \"{0}\" in enumeration \"{1}\" (namespace: {2}) +model.schema.invalidLiteralInEnumeration.anonymous=\u533F\u540D\u5217\u8209\u4E2D\u6709\u7121\u6548\u7684\u6587\u5B57 \"{0}\" + +# Usage not found. TODO Remove +#model.schema.notImplemented.generatingSOAPElement=unsupported XML Schema feature: \"{0}\" in component {1}, mapping it to javax.xml.soap.SOAPElement + +//replacement for Uxxx codes +# Usage not found. TODO Remove +#model.schema.unsupportedSchemaType=unsupported schema type: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType=invalid simpleType: \"{0}\" +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noJavaType=no java mapping for simpleType: \"{0}\" +model.schema.simpleTypeWithFacets=\u7C21\u55AE\u985E\u578B: \"{0}\" \u4E0D\u652F\u63F4 Facet \"{0}\" +model.schema.unionNotSupported=\u4E0D\u652F\u63F4 xsd:union \u884D\u751F\u7684 simpleType: \\"{0}\\" +model.schema.listNotSupported=\u4E0D\u652F\u63F4 xsd:list \u884D\u751F\u7684 simpleType: \\"{0}\\" +model.schema.invalidSimpleType.invalidItemType=\u5728 simpleType: \\"{0}\\" \u4E2D, \u7121\u6CD5\u4EE5 list \u884D\u751F itemType \\"{1}\\" +model.schema.invalidSimpleType.noItemLiteralType=\u5728 simpleType: \"{0}\" \u4E2D, xsd:list itemType \"{1}\" \u7121\u6548 +# Usage not found. TODO Remove +#model.schema.invalidSimpleType.noNamespaceURI=invalid simpleType: \"{0}\", had null namespaceURI +# Usage not found. TODO Remove +#model.schema.encoderNotFound=no encoder found for simpleType: \"{0}\" +model.schema.invalidWildcard.allCompositor=\u7DB1\u8981\u985E\u578B: \"{0}\" \u4E2D\u7684\u842C\u7528\u5B57\u5143\u4E0D\u652F\u63F4 xsd:all \u5408\u6210\u5668 + +model.uniqueness=\u9055\u53CD\u552F\u4E00\u6027\u9650\u5236\u689D\u4EF6 +model.part.notUnique=wsdl:message \\"{0}\\"\u3001\u53C3\u7167 \\"{1}\\" \u4E2D\u7684\u67D0\u4E9B\u90E8\u5206, \u5FC5\u9808\u53C3\u7167\u552F\u4E00\u7684\u5168\u57DF\u5143\u7D20. +model.exception.notunique=\u7121\u6CD5\u7522\u751F Java \u7C3D\u7AE0: \u7570\u5E38\u72C0\u6CC1\u540D\u7A31 {0} \u91CD\u8907. \u8ACB\u4F7F\u7528 JAXWS \u9023\u7D50\u81EA\u8A02\u9805\u76EE, \u5C07 wsdl:part \\"{1}\\" \u91CD\u65B0\u547D\u540D +model.uniqueness.javastructuretype=\u9055\u53CD\u552F\u4E00\u6027\u9650\u5236\u689D\u4EF6, \u91CD\u8907\u7684\u6210\u54E1 \\"{0}\\" \u65B0\u589E\u5230 JavaStructureType \\"{1}\\" +# Wrapped into an Exception. Not concatenated with any other string. +model.parent.type.already.set=\u985E\u578B \"{0}\" \u7684\u7236\u9805\u5DF2\u7D93\u8A2D\u5B9A\u6210 \"{1}\", \u65B0\u503C = \"{2}\" +# Usage not found. TODO Remove +#model.parent.fault.already.set=parent of fault \"{0}\" already set to \"{1}\", new value = \"{2}\" +model.exporter.unsupportedClass=\u6A21\u578B\u532F\u51FA: \u4E0D\u652F\u63F4\u7684\u985E\u5225: {0} +# Usage not found. TODO Remove +#model.importer.nonModel=not a valid model document +# Usage not found. TODO Remove +#model.importer.syntaxError=syntax error in model document (line {0}) +model.importer.invalidVersion=\u6A21\u578B\u6587\u4EF6 (\u884C {0}) \u4E2D\u7684\u7248\u672C \"{1}\" \u7121\u6548 +model.importer.invalidMinorMinorOrPatchVersion=\u6A21\u578B\u7248\u672C \"{1}\" \u6BD4\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u7248\u672C \"{2}\" \u66F4\u65B0 (\u884C {0}): \u5FC5\u9808\u5347\u7D1A\u81F3\u8F03\u65B0\u7684\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C +model.importer.invalidClass=\u6A21\u578B\u6587\u4EF6 (\u884C {0}) \u4E2D\u7684\u985E\u5225\u540D\u7A31 \"{1}\" \u7121\u6548 +model.importer.invalidId=\u6A21\u578B\u6587\u4EF6 (\u884C {0}) \u4E2D\u7684 ID \"{1}\ \u7121\u6548 +# Usage not found. TODO Remove +#model.importer.invalidLiteral=invalid literal value in model document (line {0}) +# Usage not found. TODO Remove +#model.importer.invalidProperty=invalid property in model document (line {0}) +model.arraywrapper.only.one.member=LiteralArrayWrapper \u53EA\u80FD\u6709\u4E00\u500B\u5143\u7D20\u6210\u54E1. +model.arraywrapper.member.already.set=\u5DF2\u7D93\u8A2D\u5B9A LiteralArrayWrapper \u5143\u7D20\u6210\u54E1. +model.arraywrapper.no.parent=LiteralArrayWrapper \u4E0D\u53EF\u4EE5\u6709\u4E00\u500B\u7236\u9805\u985E\u578B +model.arraywrapper.no.subtypes=LiteralArrayWrapper \u4E0D\u53EF\u4EE5\u6709\u5B50\u985E\u578B +model.arraywrapper.no.content.member=LiteralArrayWrapper \u4E0D\u53EF\u4EE5\u6709\u5167\u5BB9\u6210\u54E1 +model.complexType.simpleContent.reservedName=complexType: \\"{0}\\" \u4E2D\u7684\u5C6C\u6027\u540D\u7A31: "_value" \u7121\u6548, _value \u662F JAXWS \u4FDD\u7559\u540D\u7A31, \u6B64\u540D\u7A31\u6703\u5728\u7522\u751F\u7684 JavaBean \u985E\u5225\u4E2D\u7522\u751F, \u7528\u65BC\u4FDD\u7559\u91DD\u5C0D complexType/simpleContent \u7522\u751F\u4E4B JavaBean \u985E\u5225\u4E2D\u7684\u5167\u5BB9\u503C. +model.parameter.notunique.wrapper=\u7121\u6CD5\u7522\u751F Java \u7C3D\u7AE0: \u53C3\u6578\u540D\u7A31 \"{0}\" \u91CD\u8907. \u8ACB\u5617\u8A66\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u52D5\u4F5C\n\t1. \u4F7F\u7528 JAXWS \u9023\u7D50\u81EA\u8A02\u9805\u76EE\u4F86\u91CD\u65B0\u547D\u540D wsdl:part \"{1}\"\n\t2. \u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport.\n\t3. \u6B64\u70BA\u5305\u88DD\u51FD\u5F0F\u6A23\u5F0F\u4F5C\u696D, \u53EF\u89E3\u6C7A\u53C3\u6578\u540D\u7A31\u885D\u7A81, \u60A8\u4E5F\u53EF\u4F7F\u7528 false wsdl \u81EA\u8A02\u9805\u76EE\u5617\u8A66\u505C\u7528\u5305\u88DD\u51FD\u5F0F. +model.parameter.notunique=\u7121\u6CD5\u7522\u751F Java \u7C3D\u7AE0: \u53C3\u6578\u540D\u7A31 \"{0}\" \u91CD\u8907. \u8ACB\u5617\u8A66\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u52D5\u4F5C\n\t1. \u4F7F\u7528 JAXWS \u9023\u7D50\u81EA\u8A02\u9805\u76EE\u4F86\u91CD\u65B0\u547D\u540D wsdl:part \"{1}\"\n\t2. \u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. + +#JAXWS 2.0 +model.schema.elementNotFound=\u627E\u4E0D\u5230\u5143\u7D20 \"{0}\". +model.schema.jaxbException.message="{0}" +model.saxparser.exception:{0}\n{1} + +ConsoleErrorReporter.UnknownLocation = \u4E0D\u660E\u7684\u4F4D\u7F6E + +ConsoleErrorReporter.LineXOfY = \ \ {1} \u7684\u7B2C {0} \u884C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 @@ -106,6 +106,8 @@ wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=ignoring operation \"{0}\": message part does not refer to a schema type declaration wsdlmodeler.invalid.rpclitoperation=Invalid wsdl:operation \"{0}\": its a rpc-literal operation, message part must refer to a schema type declaration +wsdlmodeler.invalid.ignoringMemberSubmissionAddressing=ignoring wsa:Action attribute since obsolete addressing version 08-2004:\"{0}\" used; expecting addressing version \"{1}\". To use version 08-2004 anyway run wsimport with -extension switch. +wsdlmodeler.warning.memberSubmissionAddressingUsed=obsolete addressing version 08-2004:\"{0}\" used; version \"{1}\" should be used instead. wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=ignoring operation \"{0}\": cannot handle document-style operations wsdlmodeler.warning.bindingOperation.multiplePartBinding=Check the abstract operation \"{0}\" binding, part \"{1}\" has multiple binding. Will try to generated artifacts anyway... diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=Modeler-Fehler: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=Ung\u00FCltiger Vorgang: {0} +wsdlmodeler.invalidState.modelingOperation=Ung\u00FCltiger Status beim Modellieren des Vorgangs: {0} +wsdlmodeler.resultIsInOutParameter=Ergebnis ist der \"inout\"-Parameter in Vorgang: {0} +wsdlmodeler.invalid.parameterorder.parameter=\\"{0}\\" wurde in dem parameterOrder-Attribut von Vorgang \\"{1}\\" angegeben und ist kein g\u00FCltiger Teil der Nachricht. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=Mehr als ein Teil wurde im parameterOrder-Attribut von Vorgang \"{0}\" ausgelassen +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=parameterOrder-Attribut f\u00FCr Vorgang \\"{0}\\" ist ung\u00FCltig, parameterOrder-Hinweis wird ignoriert +wsdlmodeler.invalid.parameter.differentTypes=Parameter \"{0}\" von Vorgang \"{1}\" wird mit unterschiedlichen Typen in Eingangs- und Ausgangsnachrichten angezeigt +wsdlmodeler.invalid.bindingOperation.notInPortType=In Binding \"{1}\" wird Vorgang \"{0}\" nicht im entsprechenden Porttyp angezeigt +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=Eingangsnachricht des Binding-Vorgangs \"{0}\" hat keine SOAP-Inhaltserweiterung +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=Ausgangsnachricht des Binding-Vorgangs \"{0}\" hat keine SOAP-Inhaltserweiterung +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=Binding-Vorgang \"{0}\" muss einen Namen f\u00FCr die Eingabemeldung angeben +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=Binding-Vorgang \"{0}\" muss einen Namen f\u00FCr die Ausgabemeldung angeben +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=In Binding \\"{1}\\" referenziert Vorgang \\"{0}\\" keinen eindeutigen Vorgang im entsprechenden Porttyp +wsdlmodeler.invalid.bindingOperation.notFound=In Binding \\"{1}\\" stimmt Vorgang \\"{0}\\" mit keinem Vorgang im entsprechenden Porttyp \u00FCberein +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=Eingangsnachricht des Binding-Vorgangs \"{0}\" muss einen Wert f\u00FCr das \"namespace\"-Attribut angeben +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=Ausgangsnachricht des Binding-Vorgangs \"{0}\" muss einen Wert f\u00FCr das \"namespace\"-Attribut angeben +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=Eingabe-Header "{1}" des Binding-Vorgangs \\"{0}\\" muss einen Wert f\u00FCr das \\"namespace\\"-Attribut angeben +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=Ausgabe-Header "{1}" des Binding-Vorgangs \\"{0}\\" muss einen Wert f\u00FCr das \\"namespace\\"-Attribut angeben +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=Fault \"{0}\" in Vorgang \"{1}\" stimmt im entsprechenden Porttypvorgang mit mehr als einem Fault \u00FCberein +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=Fault \"{0}\" in Vorgang \"{1}\" stimmt im entsprechenden Porttypvorgang mit keinem Fault \u00FCberein +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=Fault \\"{0}\\" in portType-Vorgang \\"{1}\\" stimmt im entsprechenden Binding-Vorgang mit keinem Fault \u00FCberein +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=Fault \"{0}\" in Vorgang \"{1}\" hat keine SOAP-Fault-Erweiterung +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=Fault \\"{0}\\" in Vorgang \\"{1}\\" muss einen Wert f\u00FCr das \\"name\\"-Attribut angeben +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=Fault \\"{0}\\" in Vorgang \\"{1}\\" muss einen Wert f\u00FCr das \\"namespace\\"-Attribut angeben +wsdlmodeler.invalid.bindingFault.emptyMessage=Fault \"{0}\" referenziert Nachricht \"{1}\", die Nachricht hat aber keine Teile +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=Fault \"{0}\" referenziert Nachricht \"{1}\", die Nachricht hat aber mehr als ein Teil +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=In Nachricht \\"{0}\\" muss Teil \\"{1}\\" ein \\"element\\"-Attribut angeben +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=die folgenden Benennungskonflikte sind aufgetreten: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=Schemaelement wird ignoriert (nicht unterst\u00FCtzte Version): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes={0} unbekannte Typen wurden ermittelt +wsdlmodeler.warning.noServiceDefinitionsFound=WSDL-Dokument definiert keine Services +wsdlmodeler.warning.noPortsInService=Service \"{0}\" enth\u00E4lt keine verwendbaren Ports. Versuchen Sie, wsimport mit dem Switch "-extension" auszuf\u00FChren. +wsdlmodeler.warning.noOperationsInPort=Port \"{0}\" enth\u00E4lt keine verwendbaren Vorg\u00E4nge +wsdlmodeler.warning.ignoringNonSOAPPort=Port \\"{0}\\" wird ignoriert: Kein Standard-SOAP-Port. Versuchen Sie, wsimport mit dem Switch "-extension" auszuf\u00FChren. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=Port \\"{0}\\": Kein Standard-SOAP-Port. Die generierten Artefakte k\u00F6nnen m\u00F6glicherweise nicht mit der JAX-WS-Laufzeitumgebung ausgef\u00FChrt werden. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=Port \\"{0}\\" wird ignoriert: Keine SOAP-Adresse angegeben. Versuchen Sie, wsimport mit dem Switch "-extension" auszuf\u00FChren. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=Port \\"{0}\\" ist kein SOAP-Port, er enth\u00E4lt keine soap:address +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:SOAP-Port \\"{0}\\" wird ignoriert: Unbekannter Transport. Versuchen Sie, wsimport mit dem Switch "-extension" auszuf\u00FChren. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=Port \\"{0}\\" wird ignoriert, er ist nicht mit WS-I BP 1.1 konform: Das WSDL-Binding hat einen gemischten Stil. Es muss ein rpc-literal- oder document-literal-Vorgang sein. Versuchen Sie, wsimport mit dem Switch "-extension" auszuf\u00FChren. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=kein mit WS-I BP1.1 konformer SOAP-Port \\"{0}\\": Das WSDL-Binding hat einen gemischten Stil. Es muss ein rpc-literal- oder document-literal-Vorgang sein. + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=Vorgang \"{0}\" wird ignoriert: keine Anforderungsantwort oder unidirektionaler Vorgang +wsdlmodeler.invalid.operation.notSupportedStyle=Ung\u00FCltige WSDL, wsdl:operation \\"{0}\\" in wsdl:portType \\"{1}\\": Keine request-response oder unidirektional +wsdlmodeler.warning.ignoringOperation.notEncoded=RPC-konformer Vorgang \"{0}\" wird ignoriert: Parameter sind nicht codiert +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=Vorgang \\"{0}\\" wird ignoriert: \\"parts\\"-Attribut von \\"soap:body\\"-Element kann nicht bearbeitet werden + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=Vorgang \"{0}\" wird ignoriert: Nachrichtenteil referenziert keine Schemaelementdeklaration +wsdlmodeler.invalid.doclitoperation=Ung\u00FCltiger wsdl:-Vorgang \\"{0}\\": Es handelt sich um einen document-literal-Vorgang, der Nachrichtenteil muss jedoch eine Schemaelementdeklaration referenzieren + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=Vorgang \\"{0}\\" wird ignoriert: Nachrichtenteil referenziert keine Schematypdeklaration +wsdlmodeler.invalid.rpclitoperation=Ung\u00FCltiger wsdl:-Vorgang \\"{0}\\": Es handelt sich um einen rpc-literal-Vorgang, der Nachrichtenteil muss jedoch eine Schematypdeklaration referenzieren + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=Vorgang \\"{0}\\" wird ignoriert: document-style-Vorg\u00E4nge k\u00F6nnen nicht verarbeitet werden +wsdlmodeler.warning.bindingOperation.multiplePartBinding=Pr\u00FCfen Sie den abstrakten Vorgang \"{0}\" Binding, Teil \"{1}\" hat mehrere Bindings. Es wird dennoch versucht, Artefakte zu generieren ... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=abstrakter Vorgang \"{0}\" Binding, Teil \"{1}\" hat mehrere Bindings. +wsdlmodeler.warning.ignoringFaults=Von Vorgang \\"{0}\\" deklarierte Faults werden ignoriert +wsdlmodeler.warning.ignoringFault.notEncoded=Literal-Fault \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert +wsdlmodeler.warning.ignoringFault.notLiteral=Codierter Fault \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert +wsdlmodeler.invalid.operation.fault.notLiteral=Codierter Fault \\"{0}\\" in literalem Binding-Vorgang \\"{1}\\" wird ignoriert +wsdlmodeler.warning.ignoringHeader=Header \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert +wsdlmodeler.warning.ignoringHeader.partFromBody=Header-Teil: \\"{0}\\" ist bereits durch soapbind:body gebunden, der Teil kann nicht zweimal gebunden werden +wsdlmodeler.warning.ignoringHeader.notLiteral=Header \"{0}\" des Binding-Vorgangs \"{1}\" wird ignoriert: Nicht literal +wsdlmodeler.invalid.header.notLiteral=Ung\u00FCltiger Header \\"{0}\\" des Binding-Vorgangs \\"{1}\\": Nicht literal +wsdlmodeler.warning.ignoringHeader.notFound=Header \"{0}\" des Binding-Vorgangs \"{1}\" wird ignoriert: Nicht gefunden +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=Header \"{0}\" des Binding-Vorgangs \"{1}\" nicht gefunden +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=Header \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert: Nachricht kann nicht aufgel\u00F6st werden +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=Header \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert: Nachricht kann nicht aufgel\u00F6st werden + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=Fault \\"{0}\\" des Binding-Vorgangs \\"{1}\\" wird ignoriert: Nachricht kann nicht aufgel\u00F6st werden +wsdlmodeler.invalid.fault.cant.resolve.message=Fault-Nachricht \\"{0}\\" in Binding-Vorgang \\"{1}\\" konnte nicht aufgel\u00F6st werden + +wsdlmodeler.warning.ignoringHeader.notEncoded=Header \"{0}\" des Binding-Vorgangs \"{1}\" wird ignoriert: Nicht SOAP-codiert +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=Header \"{0}\" des Vorgangs \"{1}\" wird ignoriert: Teil nicht gefunden +# +wsdlmodeler.warning.ignoringOperation.notLiteral=Dokumentkonformer Vorgang \"{0}\" wird ignoriert: Parameter sind keine Literale +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=Vorgang \\"{0}\\" wird ignoriert: mehr als ein Teil in Eingabenachricht +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=Vorgang \"{0}\" wird ignoriert: Eingabenachricht ist leer +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=Vorgang \\"{0}\\" wird ignoriert: mehr als ein Teil in Ausgabenachricht +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=Vorgang \\"{0}\\" wird ignoriert: mehr als ein Teil an Nachrichtentext gebunden +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=Vorgang \\"{0}\\": mehr als ein Teil an Nachrichtentext gebunden +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=Vorgang \"{0}\" wird ignoriert: Ausgabenachricht ist leer +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=Vorgang \"{0}\" wird ignoriert: Binding-Stil und Vorgangsstil stimmen nicht \u00FCberein +wsdlmodeler.warning.ignoringOperation.partNotFound=Vorgang \"{0}\" wird ignoriert: Teil \"{1}\" nicht gefunden +wsdlmodeler.error.partNotFound=Teil \"{1}\" des Vorgangs \"{0}\" konnte nicht aufgel\u00F6st werden. +wsdlmodeler.warning.ignoringFault.documentOperation=Fault \\"{0}\\" des document-style-Vorgangs \\"{1}\\" wird ignoriert +wsdlmodler.warning.operation.use=Die verwendete WSDL-Datei hat Vorg\u00E4nge mit Literalen und codierter Verwendung. -f:searchschema wird f\u00FCr dieses Szenario nicht unterst\u00FCtzt. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=Name von soap:fault \\"{0}\\" stimmt nicht mit Name von wsdl:fault \\"{1}\\" in Vorgang \\"{2}\\" \u00FCberein +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=soap:fault-Name nicht angegeben, wsdl:fault \\"{0}\\" in Vorgang \\"{1}\\" + +wsdlmodeler.duplicate.fault.part.name=Fault \"{0}\" von Vorgang \"{1}\" wird ignoriert. Teilname \"{2}\" ist nicht eindeutig +wsdlmodeler.duplicate.fault.soap.name=Fault \"{0}\" von Vorgang \"{1}\" wird ignoriert. soap:fault-Name \"{2}\" ist nicht eindeutig + +wsdlmodeler.warning.ignoringHeaderFault.notFound=Header Fault \"{0}\" wird ignoriert, Teil \"{1}\" kann in Binding \"{2}\" nicht gefunden werden +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=Header Fault-Teil=\\"{0}\\" Nachricht=\\"{1}\\" von Vorgang {2} wird ignoriert, use-Attribut muss \\"literal\\" sein + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=Header Fault-Teil=\"{0}\" Nachricht=\"{1}\" von Vorgang {2} wird ignoriert + +wsdlmodeler.invalid.headerfault.notLiteral=Ung\u00FCltiger Header Fault \\"{0}\\" des Binding-Vorgangs \\"{1}\\": Nicht literal +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=Ung\u00FCltiger Header Fault \\"{0}\\" f\u00FCr Header {1} in Vorgang {2}: Teil muss ein \\"element\\"-Attribut angeben +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=Ung\u00FCltiger Header \"{0}\" in Vorgang {1}: Teil muss ein \"element\"-Attribut angeben + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=Nicht konformes WS-I-WSDL f\u00FCr wsdl:import verwendet +wsdlmodeler.warning.nonconforming.wsdl.types=Nicht konformes WS-I-WSDL f\u00FCr wsdl:types verwendet +wsdlmodeler.warning.nonconforming.wsdl.use=Nicht konformer WS-I-Vorgang \\"{0}\\" wird mit RPC und SOAP-codiert verarbeitet + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=Teil \"{0}\" wurde in Nachricht \"{1}\" nicht gefunden, falsche WSDL + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=SOAP-Port \\"{0}\\": Verwendet ein Nicht-Standard-SOAP 1.2-Binding. +wsdlmodeler.warning.ignoringSOAPBinding12=SOAP-Port \"{0}\" wird ignoriert: Er verwendet Nicht-Standard-SOAP 1.2-Binding.\nSie m\u00FCssen die Option \"-extension\" angeben, um dieses Binding zu verwenden. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile Version 1.0, Namespace-Attribut nicht zul\u00E4ssig in doc/lit f\u00FCr {0}: \\"{1}\\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile Version 1.0, Namespace-Attribut nicht zul\u00E4ssig in doc/lit oder rpc/lit f\u00FCr {0}: \\"{1}\\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=Vorgang \\"{0}\\" wird ignoriert. Die Multipart/Related-Struktur enth\u00E4lt einen ung\u00FCltigen Root Part: mehr als ein soap:body Part gefunden + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=Header nicht in Root mime:part mit soap:body, Header in Vorgang \\"{0}\\" werden ignoriert + +# R2909 +mimemodeler.invalidMimeContent.differentPart=Mime:part wird ignoriert. mime:part ung\u00FCltig, mime:content enth\u00E4lt anderes Part-Attribut. + +mimemodeler.invalidMimeContent.invalidSchemaType=Mime:part wird ignoriert. MIME-Part: {0} kann Schematyp nicht zugeordnet werden: {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=wsdl:part-Element, das von mime:content Part-Attribut referenziert wird: {0} muss mit type-Attribut definiert werden. + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=Vorgang \\"{0}\\" wird ignoriert, Part-Attribut in mime:content fehlt. Part-Attribut muss in mime:content-Deklaration vorhanden sein. + +mimemodeler.invalidMimeContent.missingTypeAttribute=Type-Attribut fehlt in mime:content in Vorgang \"{0}\". Part-Attribut muss in mime:content-Deklaration vorhanden sein. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=Unbekannter Schematyp: {1} f\u00FCr mime:content Part: {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=Klasse \\"{0}\\" f\u00FCr MIME-Typ \\"{1}\\" konnte nicht gefunden werden + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=Mime:part wird ignoriert, Part-Element \\"{0}\\", das von mime:content im WSDL-Vorgang \\"{1}\\" referenziert wird, kann nicht gefunden werden + +mimemodeler.elementPart.invalidElementMimeType=Das mime:content-Part-Element bezieht sich auf wsdl:part \\"{0}\\", das mit element-Attribut definiert wird. Stellen Sie sicher, dass der MIME-Typ: \\"{1}\\" zur Serialisierung von XML geeignet ist. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=Name-Attribut in wsdl:part in Vorgang \"{0}\" wird ignoriert. Es ist gem\u00E4\u00DF WS-I AP 1.0 nicht zul\u00E4ssig. + + +wsdlmodeler20.rpcenc.not.supported=RPC-/codierte WSDLs werden in JAXWS 2.0 nicht unterst\u00FCtzt. +wsdlmodeler.warning.ignoringOperation.notNCName=Vorgang \\"{0}\\" wird ignoriert, sein Name enth\u00E4lt ein ung\u00FCltiges Zeichen ''{1}''. Es handelt sich um einen rpc-literal-Vorgang - jaxws kann diesen nicht serialisieren. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=Vorgang \\"{0}\\" wird ignoriert, Java-Methode kann nicht generiert werden. Parameter: part "{2}\\" in wsdl:message \\"{1}\\", ist ein Java-Schl\u00FCsselwort. Verwenden Sie die Anpassung, um den Parameternamen zu \u00E4ndern, oder \u00E4ndern Sie den wsdl:part-Namen. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=Ung\u00FCltiger Vorgang \\"{0}\\", Java-Methode kann nicht generiert werden. Parameter: part "{2}\\" in wsdl:message \\"{1}\\", ist ein Java-Schl\u00FCsselwort. Verwenden Sie die Anpassung, um den Parameternamen zu \u00E4ndern, oder \u00E4ndern Sie den wsdl:part-Namen. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=Vorgang \\"{0}\\" wird ignoriert, Java-Methodenparameter kann nicht generiert werden. Lokaler Name des untergeordneten Elements des Wrappers \\"{1}\\" im globalen Element \\"{2}\\" ist ein Java-Schl\u00FCsselwort. Verwenden Sie die Anpassung, um den Parameternamen zu \u00E4ndern. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=Ung\u00FCltiger Vorgang \\"{0}\\", Java-Methodenparameter kann nicht generiert werden. Lokaler Name des untergeordneten Elements des Wrappers \\"{1}\\" im globalen Element \\"{2}\\" ist ein Java-Schl\u00FCsselwort. Verwenden Sie die Anpassung, um den Parameternamen zu \u00E4ndern. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=Vorgang \"{0}\" wird ignoriert, Java-Methode kann nicht generiert werden. Parameter, angepasster Name \"{1}\" ist ein Java-Schl\u00FCsselwort. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=Ung\u00FCltiger Vorgang \"{0}\", Java-Methode kann nicht generiert werden. Parameter, angepasster Name \"{1}\" ist ein Java-Schl\u00FCsselwort. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=Vorgang \"{0}\" wird ignoriert, er ist ein reserviertes Java-Wort, Java-Methode kann nicht generiert werden. Verwenden Sie die Anpassung, um den Vorgangsnamen zu \u00E4ndern. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=Ung\u00FCltiger Vorgang \"{0}\", er ist ein reserviertes Java-Wort, Java-Methode kann nicht generiert werden. Verwenden Sie die Anpassung, um den Vorgangsnamen zu \u00E4ndern. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=Vorgang \\"{0}\\" wird ignoriert, Java-Methode kann nicht generiert werden, angepasster Name \\"{1}\\" von wsdl:operation ist ein Java-Schl\u00FCsselwort. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=Ung\u00FCltiger Vorgang \\"{0}\\", Java-Methode kann nicht generiert werden, angepasster Name \\"{1}\\" von wsdl:operation ist ein Java-Schl\u00FCsselwort. + +wsdlmodeler.jaxb.javatype.notfound=Schemabeschreibung {0} in Nachrichtenteil \\"{1}\\" ist nicht definiert und konnte nicht an Java gebunden werden. M\u00F6glicherweise ist der Schemadeskriptor {0} nicht in dem Schema definiert, das in WSDL importiert/einbezogen wurde. Sie k\u00F6nnen diese Importe/Includes entweder hinzuf\u00FCgen oder wsimport ausf\u00FChren und das Schemaverzeichnis mit dem Switch "-b" angeben. +wsdlmodeler.unsupportedBinding.mime=WSDL-MIME-Binding wird aktuell nicht unterst\u00FCtzt. + +wsdlmodeler.nonUnique.body.error=Keine eindeutigen Nachrichtentextteile. Gem\u00E4\u00DF BP 1.1 R2710 m\u00FCssen Vorg\u00E4nge in einem Port eine eindeutige Vorgangssignatur bei dem Transport enthalten, um eine erfolgreiche \u00DCbertragung zu gew\u00E4hrleisten. In Port {0} haben die Vorg\u00E4nge \\"{1}\\" und \\"{2}\\" denselben Anforderungsnachrichtentextblock {3}. Versuchen Sie, wsimport mit -extension Switch auszuf\u00FChren, die Laufzeitumgebung wird versuchen, die \u00DCbertragung mit SOAPAction vorzunehmen +wsdlmodeler.nonUnique.body.warning=Keine eindeutigen Nachrichtentextteile. Gem\u00E4\u00DF BP 1.1 R2710 m\u00FCssen Vorg\u00E4nge in einem Port eine eindeutige Vorgangssignatur bei dem Transport enthalten, um eine erfolgreiche \u00DCbertragung zu gew\u00E4hrleisten. In Port {0} haben die Vorg\u00E4nge \\"{1}\\" und \\"{2}\\" denselben Anforderungsnachrichtentextblock {3}. Die Methode kann m\u00F6glicherweise nicht gesendet werden, die Laufzeitumgebung wird versuchen, die \u00DCbertragung mit SOAPAction vorzunehmen + +wsdlmodeler.rpclit.unkownschematype=XML-Typ \\"{0}\\" konnte nicht aufgel\u00F6st werden, Binding von XML mit JAVA war nicht erfolgreich. Pr\u00FCfen Sie wsdl:part \\"{1}\\" in wsdl:message \\"{2}\\". + +wsdlmodeler.responsebean.notfound=Wsimport konnte kein asynchrones Antwort-Bean f\u00FCr Vorgang {0} generieren diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=error de modelador: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=operaci\u00F3n no v\u00E1lida: {0} +wsdlmodeler.invalidState.modelingOperation=estado no v\u00E1lido al modelar la operaci\u00F3n: {0} +wsdlmodeler.resultIsInOutParameter=el resultado es el par\u00E1metro \"inout\" en la operaci\u00F3n: {0} +wsdlmodeler.invalid.parameterorder.parameter=\\"{0}\\" especificado en el atributo parameterOrder de la operaci\u00F3n \\"{1}\\" no es una parte v\u00E1lida del mensaje. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=se ha dejado m\u00E1s de una parte en el atributo parameterOrder de la operaci\u00F3n \"{0}\" +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=El atributo parameterOrder en la operaci\u00F3n \\"{0}\\" no es v\u00E1lido; ignorando la indicaci\u00F3n parameterOrder +wsdlmodeler.invalid.parameter.differentTypes=el par\u00E1metro \"{0}\" de la operaci\u00F3n \"{1}\" aparece con diferentes tipos en los mensajes de entrada y salida +wsdlmodeler.invalid.bindingOperation.notInPortType=en el enlace \"{1}\", la operaci\u00F3n \"{0}\" no aparece en el tipo de puerto correspondiente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=El mensaje de entrada de la operaci\u00F3n de enlace \"{0}\" no tiene ninguna extensi\u00F3n de cuerpo de SOAP. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=El mensaje de salida de la operaci\u00F3n de enlace \"{0}\" no tiene ninguna extensi\u00F3n de cuerpo de SOAP. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=La operaci\u00F3n de enlace \"{0}\" debe especificar un nombre para su mensaje de entrada. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=La operaci\u00F3n de enlace \"{0}\" debe especificar un nombre para su mensaje de salida. +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=en el enlace \\"{1}\\", la operaci\u00F3n \\"{0}\\" no hace referencia a una operaci\u00F3n \u00FAnica en el tipo de puerto correspondiente +wsdlmodeler.invalid.bindingOperation.notFound=en el enlace \\"{1}\\", la operaci\u00F3n \\"{0}\\" no coincide con ninguna operaci\u00F3n en el tipo de puerto correspondiente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=El mensaje de entrada de la operaci\u00F3n de enlace \\"{0}\\" debe especificar un valor para el atributo \\"namespace\\". +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=El mensaje de salida de la operaci\u00F3n de enlace \"{0}\" debe especificar un valor para el atributo \"namespace\". +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=la cabecera de entrada \\"{1}\\" de la operaci\u00F3n de enlace \\"{0}\\" debe especificar un valor para el atributo \\"namespace\\" +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=la cabecera de salida \\"{1}\\" de la operaci\u00F3n de enlace \\"{0}\\" debe especificar un valor para el atributo \\"namespace\\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=El fallo \"{0}\" de la operaci\u00F3n \"{1}\" coincide con m\u00E1s de un fallo de la operaci\u00F3n de tipo de puerto correspondiente. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=El fallo \"{0}\" de la operaci\u00F3n \"{1}\" no coincide con ning\u00FAn fallo de la operaci\u00F3n de tipo de puerto correspondiente. +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=El fallo \\"{0}\\" de la operaci\u00F3n portType \\"{1}\\" no coincide con ning\u00FAn fallo en la operaci\u00F3n de enlace correspondiente. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=El fallo \"{0}\" de la operaci\u00F3n \"{1}\" no tiene ninguna extensi\u00F3n de fallo de SOAP. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=El fallo \\"{0}\\" en la operaci\u00F3n \\"{1}\\" debe especificar un valor para el atributo \\"name\\". +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=El fallo \\"{0}\\" en la operaci\u00F3n \\"{1}\\" debe especificar un valor para el atributo \\"namespace\\". +wsdlmodeler.invalid.bindingFault.emptyMessage=el fallo \"{0}\" hace referencia al mensaje \"{1}\", pero el mensaje no tiene partes +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=el fallo \"{0}\" hace referencia al mensaje \"{1}\", pero el mensaje tiene varias partes +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=En el mensaje \\"{0}\\", la parte \\"{1}\\" debe especificar un atributo \\"element\\". +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=se han producido los siguientes conflictos de nomenclatura: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=ignorando elemento de esquema (versi\u00F3n no soportada): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes=se han encontrado {0} tipos no reconocidos +wsdlmodeler.warning.noServiceDefinitionsFound=en el documento WSDL no se define ning\u00FAn servicio +wsdlmodeler.warning.noPortsInService=El servicio \\"{0}\\" no contiene ning\u00FAn puerto que se pueda utilizar. Pruebe a ejecutar wsimport con el conmutador -extension. +wsdlmodeler.warning.noOperationsInPort=El puerto \"{0}\" no contiene ninguna operaci\u00F3n que se pueda utilizar +wsdlmodeler.warning.ignoringNonSOAPPort=ignorando puerto \"{0}\": no es un puerto SOAP est\u00E1ndar. Pruebe a ejecutar wsimport con el conmutador -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=El puerto \"{0}\": no es un puerto SOAP est\u00E1ndar. Es posible que los artefactos generados no funcionen con JAV-WS en tiempo de ejecuci\u00F3n. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=ignorando puerto \"{0}\": no se ha especificado ninguna direcci\u00F3n SOAP. Pruebe a ejecutar wsimport con el conmutador -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=El puerto \\"{0}\\" no es un puerto SOAP. No tiene soap:address. +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:ignorando puerto SOAP \"{0}\": transporte no reconocido. Pruebe a ejecutar wsimport con el conmutador -extension. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=ignorando puerto \\"{0}\\"; no es compatible con WS-I BP 1.1: el enlace WSDL tiene un estilo mixto. Debe ser una operaci\u00F3n de literal RPC o literal de documento. Pruebe a ejecutar wsimport con el conmutador -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=No es un puerto SOAP compatible con WS-I BP 1.1 \\"{0}\\": el enlace WSDL tiene un estilo mixto. Debe ser una operaci\u00F3n de literal RPC o literal de documento. + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=ignorando operaci\u00F3n \"{0}\": No es petici\u00F3n-respuesta o unidireccional +wsdlmodeler.invalid.operation.notSupportedStyle=WSDL no v\u00E1lido, wsdl:operation \\"{0}\\" en wsdl:portType \\"{1}\\": no es una respuesta de solicitud ni unidireccional +wsdlmodeler.warning.ignoringOperation.notEncoded=ignorando operaci\u00F3n de estilo RPC \"{0}\": Los par\u00E1metros no est\u00E1n codificados +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=ignorando operaci\u00F3n \\"{0}\\": no se puede manejar el atributo \\"parts\\" del elemento \\"soap:body\\" + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=ignorando operaci\u00F3n \"{0}\": la parte del mensaje no hace referencia a una declaraci\u00F3n de elemento de esquema +wsdlmodeler.invalid.doclitoperation=wsdl:operation \\"{0}\\" no v\u00E1lido: es una operaci\u00F3n de literal de documento; la parte del mensaje debe hacer referencia a una declaraci\u00F3n de elemento de esquema + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=ignorando operaci\u00F3n \"{0}\": la parte del mensaje no hace referencia a una declaraci\u00F3n de tipo de esquema +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \\"{0}\\" no v\u00E1lido: es una operaci\u00F3n de literal RPC; la parte del mensaje debe hacer referencia a una declaraci\u00F3n de tipo de esquema + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=ignorando la operaci\u00F3n \"{0}\": no se pueden manejar operaciones de estilo de documento +wsdlmodeler.warning.bindingOperation.multiplePartBinding=Compruebe el enlace \\"{0}\\" de la operaci\u00F3n abstracta; la parte \\"{1}\\" tiene varios enlaces. De todas formas, se intentar\u00E1 generar artefactos... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=enlace \"{0}\" de la operaci\u00F3n abstracta; la parte \"{1}\" tiene varios enlaces. +wsdlmodeler.warning.ignoringFaults=ignorando los fallos declarados por la operaci\u00F3n \\"{0}\\" +wsdlmodeler.warning.ignoringFault.notEncoded=ignorando el fallo de literal \"{0}\" de la operaci\u00F3n de enlace \"{1}\" +wsdlmodeler.warning.ignoringFault.notLiteral=ignorando el fallo codificado \"{0}\" de la operaci\u00F3n de enlace \"{1}\" +wsdlmodeler.invalid.operation.fault.notLiteral=ignorando el fallo codificado \"{0}\"en la operaci\u00F3n de enlace de literal \"{1}\" +wsdlmodeler.warning.ignoringHeader=ignorando cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\" +wsdlmodeler.warning.ignoringHeader.partFromBody=la parte de la cabecera: \\"{0}\\" ya est\u00E1 enlazada por soapbind:body; no es v\u00E1lido enlazar dos veces la parte +wsdlmodeler.warning.ignoringHeader.notLiteral=ignorando cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\": No es literal +wsdlmodeler.invalid.header.notLiteral=Cabecera no v\u00E1lida \"{0}\" de la operaci\u00F3n de enlace \"{1}\": no es literal +wsdlmodeler.warning.ignoringHeader.notFound=ignorando cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\": no se ha encontrado +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=No se ha encontrado la cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\". +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=ignorando cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\": no se puede resolver el mensaje +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=Cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\": no se puede resolver el mensaje. + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=ignorando fallo \"{0}\" de la operaci\u00F3n de enlace \"{1}\": no se puede resolver el mensaje +wsdlmodeler.invalid.fault.cant.resolve.message=el mensaje de fallo \\"{0}\\" de la operaci\u00F3n de enlace \\"{1}\\" no se ha podido resolver + +wsdlmodeler.warning.ignoringHeader.notEncoded=ignorando cabecera \"{0}\" de la operaci\u00F3n de enlace \"{1}\": No es SOAP-Encoded +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=ignorando cabecera \"{0}\" de la operaci\u00F3n \"{1}\": parte no encontrada +# +wsdlmodeler.warning.ignoringOperation.notLiteral=ignorando operaci\u00F3n de estilo de documento \"{0}\": Los par\u00E1metros no son literales +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=ignorando operaci\u00F3n \"{0}\": hay m\u00E1s de una parte en el mensaje de entrada +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=ignorando operaci\u00F3n \\"{0}\\": el mensaje de entrada est\u00E1 vac\u00EDo +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=ignorando operaci\u00F3n \"{0}\": hay m\u00E1s de una parte en el mensaje de salida +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=Ignorando operaci\u00F3n \"{0}\": hay m\u00E1s de una parte enlazada al cuerpo +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=Operaci\u00F3n \"{0}\": hay m\u00E1s de una parte enlazada al cuerpo. +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=ignorando operaci\u00F3n \\"{0}\\": el mensaje de salida est\u00E1 vac\u00EDo +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=ignorando operaci\u00F3n \"{0}\": hay un conflicto entre el estilo del enlace y el estilo de la operaci\u00F3n +wsdlmodeler.warning.ignoringOperation.partNotFound=ignorando operaci\u00F3n \"{0}\": la parte \"{1}\" no se ha encontrado +wsdlmodeler.error.partNotFound=la parte \"{1}\" de la operaci\u00F3n \"{0}\" no se ha podido resolver. +wsdlmodeler.warning.ignoringFault.documentOperation=ignorando el fallo \"{0}\" de la operaci\u00F3n de estilo de documento \"{1}\" +wsdlmodler.warning.operation.use=El WSDL utilizado tiene operaciones con uso literal y codificado. -f:searchschema no est\u00E1 soportado para este caso. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=el nombre de soap:fault \\"{0}\\" no coincide con el nombre de wsdl:fault \\"{1}\\" en la operaci\u00F3n \\"{2}\\" +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=no se ha especificado el nombre de soap:fault, wsdl:fault \\"{0}\\" en la operaci\u00F3n \\"{1}\\" + +wsdlmodeler.duplicate.fault.part.name=ignorando fallo \"{0}\" de la operaci\u00F3n \"{1}\", el nombre de parte \"{2}\" no es \u00FAnico +wsdlmodeler.duplicate.fault.soap.name=ignorando fallo \\"{0}\\" de la operaci\u00F3n \\"{1}\\"; el nombre de soap:fault \\"{2}\\" no es \u00FAnico + +wsdlmodeler.warning.ignoringHeaderFault.notFound=ignorando fallo de cabecera \"{0}\"; no se ha encontrado la parte \"{1}\" en el enlace \"{2}\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=ignorando parte de fallo de la cabecera=\\"{0}\\" mensaje=\\"{1}\\" de operaci\u00F3n {2}; el atributo de uso debe ser \\"literal\\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=ignorando parte de fallo de la cabecera=\\"{0}\\" mensaje=\\"{1}\\" de operaci\u00F3n {2} + +wsdlmodeler.invalid.headerfault.notLiteral=Headerfault \\"{0}\\" no v\u00E1lido de la operaci\u00F3n de enlace \\"{1}\\": no es literal +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=Headerfault no v\u00E1lido \\"{0}\\" para la cabecera {1} en la operaci\u00F3n {2}: la parte debe especificar un atributo \\"element\\" +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=Cabecera no v\u00E1lida \\"{0}\\" en la operaci\u00F3n {1}: la parte debe especificar un atributo \\"element\\" + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=Se ha utilizado un WSDL no compatible con WS-I para wsdl:import +wsdlmodeler.warning.nonconforming.wsdl.types=Se ha utilizado un WSDL no compatible con WS-I para wsdl:types +wsdlmodeler.warning.nonconforming.wsdl.use=Procesando operaci\u00F3n incompatible con WS-I \"{0}\" con estilo RPC y codificada con SOAP + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=No se han encontrado las partes \"{0}\" en el mensaje \"{1}\", WSDL incorrecto. + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=El puerto de SOAP \"{0}\": utiliza un enlace SOAP 1.2 no est\u00E1ndar. +wsdlmodeler.warning.ignoringSOAPBinding12=Ignorando el puerto SOAP \\"{0}\\": utiliza un enlace SOAP 1.2 no est\u00E1ndar.\nDebe especificar la opci\u00F3n \\"-extension\\" para utilizar este enlace. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=El atributo namespace de R2716 WSI-BasicProfile ver. 1.0 no est\u00E1 permitido en doc/lit para {0}: \\"{1}\\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=El atributo namespace de R2716/R2726 WSI-BasicProfile ver. 1.0 no est\u00E1 permitido en doc/lit o RPC/lit para {0}: \\"{1}\\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=Ignorando operaci\u00F3n \\"{0}\\". La estructura de varias partes/relacionada tiene una parte ra\u00EDz no v\u00E1lida: se ha encontrado m\u00E1s de una parte soap:body + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=Las cabeceras no est\u00E1n en mime:part ra\u00EDz con soap:body; ignorando cabeceras en la operaci\u00F3n \\"{0}\\" + +# R2909 +mimemodeler.invalidMimeContent.differentPart=Ignorando mime:part. Mime:part no v\u00E1lida; mime:content tiene un atributo part diferente. + +mimemodeler.invalidMimeContent.invalidSchemaType=Ignorando mime:part. La mime part: {0} no se puede asignar a un tipo de esquema {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=El elemento wsdl:part al que hace referencia el atributo part de mime:content: {0} se debe definir utilizando el atributo type. + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=Ignorando operaci\u00F3n \"{0}\"; falta el atributo part en mime:content. El atributo part debe encontrarse en la declaraci\u00F3n de mime:content. + +mimemodeler.invalidMimeContent.missingTypeAttribute=Falta el atributo type en mime:content en la operaci\u00F3n \"{0}\". El atributo part debe encontrarse en la declaraci\u00F3n de mime:content. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=Tipo de esquema desconocido: {1} para la parte mime:content: {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=No se ha encontrado la clase \"{0}\" para el tipo mime \"{1}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=ignorando mime:part; no se ha encontrado la parte \\"{0}\\" a la que hace referencia mime:content en wsdl:operation \\"{1}\\" + +mimemodeler.elementPart.invalidElementMimeType=La parte mime:content hace referencia a wsdl:part \\"{0}\\", que se ha definido utilizando el atributo element. Aseg\u00FArese de que el tipo mime: \\"{1}\\" es adecuado para serializar XML. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=se ha ignorado el atributo name en wsdl:part en la operaci\u00F3n \\"{0}\\". No est\u00E1 permitido de acuerdo con WS-I AP 1.0. + + +wsdlmodeler20.rpcenc.not.supported=las WSDL de RPC/codificadas no est\u00E1n soportadas en JAX-WS 2.0. +wsdlmodeler.warning.ignoringOperation.notNCName=Ignorando operaci\u00F3n \\"{0}\\"; tiene el car\u00E1cter no v\u00E1lido ''{1}'' en el nombre. Su operaci\u00F3n de literal RPC, jaxws, no podr\u00E1 serializarla. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=Ignorando operaci\u00F3n \\"{0}\\"; no se puede generar el m\u00E9todo Java. El par\u00E1metro part "{2}\\" de wsdl:message \\"{1}\\" es una palabra clave de Java. Utilice la personalizaci\u00F3n para cambiar el nombre del par\u00E1metro o el nombre de wsdl:part. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=Operaci\u00F3n \"{0}\" no v\u00E1lida; no se puede generar el m\u00E9todo Java. El par\u00E1metro part "{2}\\" de wsdl:message \\"{1}\\" es una palabra clave de Java. Utilice la personalizaci\u00F3n para cambiar el nombre del par\u00E1metro o el nombre de wsdl:part. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=Ignorando operaci\u00F3n \"{0}\"; no se puede generar el par\u00E1metro del m\u00E9todo Java. El nombre local del envoltorio secundario \"{1}\" en el elemento global \"{2}\" es una palabra clave de Java. Utilice la personalizaci\u00F3n para cambiar el nombre del par\u00E1metro. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=Operaci\u00F3n no v\u00E1lida \"{0}\"; no se puede generar el par\u00E1metro del m\u00E9todo Java. El nombre local del envoltorio secundario \"{1}\" en el elemento global \"{2}\" es una palabra clave de Java. Utilice la personalizaci\u00F3n para cambiar el nombre del par\u00E1metro. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=Ignorando operaci\u00F3n \\"{0}\\"; no se puede generar el m\u00E9todo Java. El nombre personalizado del par\u00E1metro \\"{1}\\" es una palabra clave de Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=Operaci\u00F3n \"{0}\" no v\u00E1lida; no se puede generar el m\u00E9todo Java. El nombre personalizado del par\u00E1metro \\"{1}\\" es una palabra clave de Java. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=Ignorando operaci\u00F3n \\"{0}\\"; es una palabra reservada de Java. No se puede generar el m\u00E9todo Java. Utilice la personalizaci\u00F3n para cambiar el nombre de la operaci\u00F3n. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=Operaci\u00F3n no v\u00E1lida \"{0}\"; es una palabra reservada de Java. No se puede generar el m\u00E9todo Java. Utilice la personalizaci\u00F3n para cambiar el nombre de la operaci\u00F3n. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=Ignorando operaci\u00F3n \\"{0}\\"; no se puede generar el m\u00E9todo Java. El nombre personalizado \\"{1}\\" de wsdl:operation es una palabra clave de Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=Operaci\u00F3n no v\u00E1lida \"{0}\"; no se puede generar el m\u00E9todo Java. El nombre personalizado \\"{1}\\" de wsdl:operation es una palabra clave de Java. + +wsdlmodeler.jaxb.javatype.notfound=No se ha definido el descriptor de esquema {0} en la parte del mensaje \\"{1}\\" y no puede estar enlazada a Java. Quiz\u00E1 el descriptor de esquema {0} no est\u00E1 definido en el esquema importado/incluido en el WSDL. Puede agregar dichas importaciones/inclusiones o ejecutar wsimport y proporcionar la ubicaci\u00F3n del esquema utilizando el conmutador -b. +wsdlmodeler.unsupportedBinding.mime=El enlace WSDL MIME no est\u00E1 soportado actualmente. + +wsdlmodeler.nonUnique.body.error=Partes de cuerpo no \u00FAnicas. De acuerdo con RBP 1.1 R2710, en un puerto, las operaciones deben tener una firma de operaci\u00F3n \u00FAnica en la transmisi\u00F3n para que se distribuyan correctamente. En el puerto {0}, las operaciones \\"{1}\\" y \\"{2}\\" tienen el mismo bloque de cuerpo de solicitud {3}. Pruebe a ejecutar wsimport con el conmutador -extension. El tiempo de ejecuci\u00F3n intentar\u00E1 distribuirlo utilizando SOAPAction +wsdlmodeler.nonUnique.body.warning=Partes de cuerpo no \u00FAnicas. De acuerdo con RBP 1.1 R2710, en un puerto, las operaciones deben tener una firma de operaci\u00F3n \u00FAnica en la transmisi\u00F3n para que se distribuyan correctamente. En el puerto {0}, las operaciones \\"{1}\\" y \\"{2}\\" tienen el mismo bloque de cuerpo de solicitud {3}. Puede que la distribuci\u00F3n del m\u00E9todo falle. El tiempo de ejecuci\u00F3n intentar\u00E1 distribuirlo utilizando SOAPAction. + +wsdlmodeler.rpclit.unkownschematype=El tipo XML \\"{0}\\" no se ha podido resolver. Fallo del enlace entre XML y JAVA. Compruebe wsdl:part \\"{1}\\" en wsdl:message \\"{2}\\". + +wsdlmodeler.responsebean.notfound=Fallo de wsimport al generar el bean de respuesta as\u00EDncrona para la operaci\u00F3n: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=erreur de modeleur : {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=op\u00E9ration non valide : {0} +wsdlmodeler.invalidState.modelingOperation=\u00E9tat non valide lors de la mod\u00E9lisation de l''op\u00E9ration : {0} +wsdlmodeler.resultIsInOutParameter=le r\u00E9sultat est le param\u00E8tre \"inout\" dans l''op\u00E9ration : {0} +wsdlmodeler.invalid.parameterorder.parameter=\"{0}\" indiqu\u00E9 dans l''attribut parameterOrder de l''op\u00E9ration \"{1}\" n''est pas une partie valide du message. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=plusieurs \u00E9l\u00E9ments PART n''ont pas \u00E9t\u00E9 indiqu\u00E9s dans l''attribut parameterOrder de l''op\u00E9ration \"{0}\" +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=L''attribut parameterOrder sur l''op\u00E9ration \"{0}\" n''est pas valide, non-prise en compte du conseil parameterOrder +wsdlmodeler.invalid.parameter.differentTypes=le param\u00E8tre \"{0}\" de l''op\u00E9ration \"{1}\" comporte des types diff\u00E9rents dans les messages d''entr\u00E9e et de sortie +wsdlmodeler.invalid.bindingOperation.notInPortType=dans le binding \"{1}\", l''op\u00E9ration \"{0}\" n''appara\u00EEt pas dans le type de port correspondant +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=le message d''entr\u00E9e de l''op\u00E9ration bind \"{0}\" ne comporte pas d''extension de corps SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=le message de sortie de l''op\u00E9ration bind \"{0}\" ne comporte pas d''extension de corps SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=l''op\u00E9ration de binding \"{0}\" doit indiquer un nom pour son message d''entr\u00E9e +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=l''op\u00E9ration de binding \"{0}\" doit indiquer un nom pour son message de sortie +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=dans le binding \"{1}\", l''op\u00E9ration \"{0}\" ne r\u00E9f\u00E9rence pas une op\u00E9ration unique dans le type de port correspondant +wsdlmodeler.invalid.bindingOperation.notFound=dans le binding \"{1}\", l''op\u00E9ration \"{0}\" ne correspond \u00E0 aucune op\u00E9ration dans le type de port correspondant +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=le message d''entr\u00E9e de l''op\u00E9ration bind \"{0}\" doit indiquer une valeur pour l''attribut \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=le message de sortie de l''op\u00E9ration bind \"{0}\" doit indiquer une valeur pour l''attribut \"namespace\" +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=l''en-t\u00EAte d''entr\u00E9e \"{1}\" de l''op\u00E9ration de binding \"{0}\" doit indiquer une valeur pour l''attribut \"namespace\" +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=l''en-t\u00EAte de sortie \"{1}\" de l''op\u00E9ration de binding \"{0}\" doit indiquer une valeur pour l''attribut \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=l''erreur \"{0}\" dans l''op\u00E9ration \"{1}\" concorde avec plus d''une erreur dans l''op\u00E9ration de type port correspondant +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=l''erreur \"{0}\" dans l''op\u00E9ration \"{1}\" ne concorde avec aucune erreur dans l''op\u00E9ration de type port correspondant +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=l''erreur \"{0}\" dans l''op\u00E9ration portType \"{1}\" ne concorde avec aucune erreur dans l''op\u00E9ration de binding correspondant +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=l''erreur \"{0}\" dans l''op\u00E9ration \"{1}\" ne comporte pas d''extension d''erreur SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=l''erreur \"{0}\" dans l''op\u00E9ration \"{1}\" doit indiquer une valeur pour l''attribut \"name\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=l''erreur \"{0}\" dans l''op\u00E9ration \"{1}\" doit indiquer une valeur pour l''attribut \"namespace\" +wsdlmodeler.invalid.bindingFault.emptyMessage=l''erreur \"{0}\" fait r\u00E9f\u00E9rence au message \"{1}\", mais celui-ci ne comporte pas d''\u00E9l\u00E9ment PART +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=l''erreur \"{0}\" fait r\u00E9f\u00E9rence au message \"{1}\", mais celui-ci comporte plus d''un \u00E9l\u00E9ment PART +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=dans le message \"{0}\", la partie \"{1}\" doit indiquer un attribut \"element\" +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=les conflits de d\u00E9nomination suivants sont survenus : {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=non-prise en compte de l''\u00E9l\u00E9ment de sch\u00E9ma (version non prise en charge) : {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes={0} types non reconnus d\u00E9tect\u00E9s +wsdlmodeler.warning.noServiceDefinitionsFound=Le document WSDL ne d\u00E9finit aucun service +wsdlmodeler.warning.noPortsInService=Le service \"{0}\" ne contient aucun port utilisable. Essayez d''utiliser wsimport avec le commutateur -extension. +wsdlmodeler.warning.noOperationsInPort=Le port \"{0}\" ne contient aucune op\u00E9ration utilisable +wsdlmodeler.warning.ignoringNonSOAPPort=non-prise en compte du port \"{0}\" : il ne s''agit pas d''un port SOAP standard. Essayez d''ex\u00E9cuter wsimport avec le commutateur -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=port \"{0}\" : il ne s''agit pas d''un port SOAP standard. Les artefacts g\u00E9n\u00E9r\u00E9s peuvent ne pas fonctionner avec l''ex\u00E9cution JAX-WS. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=non-prise en compte du port \"{0}\" : aucune adresse SOAP indiqu\u00E9e. Essayez d''ex\u00E9cuter wsimport avec le commutateur -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=Le port \"{0}\" n''est pas un port SOAP, il n''a aucun \u00E9l\u00E9ment soap:address +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:non-prise en compte du port SOAP \"{0}\" : transport non reconnu. Essayez d''ex\u00E9cuter wsimport avec le commutateur -extension. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=non-prise en compte du port \"{0}\", il n''est pas conforme \u00E0 WS-I BP 1.1 : le binding WSDL a un style mixte, il doit s''agir d''une op\u00E9ration rpc-literal ou document-literal. Essayez d''ex\u00E9cuter wsimport avec le commutateur -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=n''est pas un port SOAP conforme \u00E0 WS-I BP1.1 \"{0}\" : le binding WSDL comporte un environnement mixte, il doit s''agir d''une op\u00E9ration rpc-literal ou document-literal. + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=non-prise en compte de l''op\u00E9ration \"{0}\" : le type n''est pas request-response ou one-way +wsdlmodeler.invalid.operation.notSupportedStyle=WSDL non valide, wsdl:operation \"{0}\" dans wsdl:portType \"{1}\" : n''est pas de type request-response ou one-way +wsdlmodeler.warning.ignoringOperation.notEncoded=non-prise en compte de l''op\u00E9ration RPC-style \"{0}\" : les param\u00E8tres ne sont pas encod\u00E9s +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=non-prise en compte de l''op\u00E9ration \"{0}\" : impossible de g\u00E9rer l''attribut \"parts\" de l''\u00E9l\u00E9ment \"soap:body\" + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=non-prise en compte de l''op\u00E9ration \"{0}\" : la partie message ne fait pas r\u00E9f\u00E9rence \u00E0 une d\u00E9claration d''\u00E9l\u00E9ment de sch\u00E9ma +wsdlmodeler.invalid.doclitoperation=wsdl:operation \"{0}\" non valide : il s''agit d''une op\u00E9ration document-literal, la partie message doit faire r\u00E9f\u00E9rence \u00E0 une d\u00E9claration d''\u00E9l\u00E9ment de sch\u00E9ma + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=non-prise en compte de l''op\u00E9ration \"{0}\" : la partie message ne fait pas r\u00E9f\u00E9rence \u00E0 une d\u00E9claration de type de sch\u00E9ma +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \"{0}\"non valide : il s''agit d''une op\u00E9ration rpc-literal, la partie message doit faire r\u00E9f\u00E9rence \u00E0 une d\u00E9claration de type de sch\u00E9ma + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=non-prise en compte de l''op\u00E9ration \"{0}\" : impossible de g\u00E9rer les op\u00E9rations document-style +wsdlmodeler.warning.bindingOperation.multiplePartBinding=V\u00E9rifiez le binding \"{0}\" de l''op\u00E9ration abstract, la partie \"{1}\" a un binding multiple. Le syst\u00E8me essaiera tout de m\u00EAme de g\u00E9n\u00E9rer des artefacts... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=binding \"{0}\" de l''op\u00E9ration abstract, la partie \"{1}\" a un binding multiple. +wsdlmodeler.warning.ignoringFaults=non-prise en compte des erreurs d\u00E9clar\u00E9es par l''op\u00E9ration \"{0}\" +wsdlmodeler.warning.ignoringFault.notEncoded=non-prise en compte de l''erreur de type literal \"{0}\" de l''op\u00E9ration de binding \"{1}\" +wsdlmodeler.warning.ignoringFault.notLiteral=non-prise en compte de l''erreur de type encoded \"{0}\" de l''op\u00E9ration de binding \"{1}\" +wsdlmodeler.invalid.operation.fault.notLiteral=non-prise en compte de l''erreur de type encoded \"{0}\" dans l''op\u00E9ration de binding de type literal \"{1}\" +wsdlmodeler.warning.ignoringHeader=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration de binding \"{1}\" +wsdlmodeler.warning.ignoringHeader.partFromBody=partie d''en-t\u00EAte \"{0}\" d\u00E9j\u00E0 li\u00E9e par soapbind:body, la partie ne peut pas \u00EAtre li\u00E9e deux fois +wsdlmodeler.warning.ignoringHeader.notLiteral=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration bind \"{1}\" : le type n''est pas literal +wsdlmodeler.invalid.header.notLiteral=en-t\u00EAte \"{0}\" non valide de l''op\u00E9ration de binding \"{1}\" : le type n''est pas literal +wsdlmodeler.warning.ignoringHeader.notFound=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration de binding \"{1}\" : introuvable +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=en-t\u00EAte \"{0}\" de l''op\u00E9ration de binding \"{1}\" : introuvable +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration de binding \"{1}\" : impossible de r\u00E9soudre le message +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=en-t\u00EAte \"{0}\" de l''op\u00E9ration de binding \"{1}\" : impossible de r\u00E9soudre le message + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=non-prise en compte de l''erreur \"{0}\" de l''op\u00E9ration de binding \"{1}\" : impossible de r\u00E9soudre le message +wsdlmodeler.invalid.fault.cant.resolve.message=le message d''erreur \"{0}\" dans l''op\u00E9ration de binding \"{1}\" n''a pas pu \u00EAtre r\u00E9solu + +wsdlmodeler.warning.ignoringHeader.notEncoded=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration bind \"{1}\" : le type n''est pas SOAP-encoded +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=non-prise en compte de l''en-t\u00EAte \"{0}\" de l''op\u00E9ration \"{1}\" : partie introuvable +# +wsdlmodeler.warning.ignoringOperation.notLiteral=non-prise en compte de l''op\u00E9ration document-style \"{0}\" : les param\u00E8tres ne sont pas de type literal +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=non-prise en compte de l''op\u00E9ration \"{0}\" : plusieurs parties dans le message d''entr\u00E9e +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=non-prise en compte de l''op\u00E9ration \"{0}\" : le message d''entr\u00E9e est vide +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=non-prise en compte de l''op\u00E9ration \"{0}\" : plusieurs parties dans le message de sortie +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=non-prise en compte de l''op\u00E9ration \"{0}\" : plusieurs parties li\u00E9es au corps +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=op\u00E9ration \"{0}\" : plusieurs parties li\u00E9es au corps +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=non-prise en compte de l''op\u00E9ration \"{0}\" : le message de sortie est vide +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=non-prise en compte de l''op\u00E9ration \"{0}\" : style de binding et style d''op\u00E9ration en conflit +wsdlmodeler.warning.ignoringOperation.partNotFound=non-prise en compte de l''op\u00E9ration \"{0}\" : partie \"{1}\" introuvable +wsdlmodeler.error.partNotFound=la partie \"{1}\" de l''op\u00E9ration \"{0}\" n''a pas pu \u00EAtre r\u00E9solue. +wsdlmodeler.warning.ignoringFault.documentOperation=non-prise en compte de l''erreur \"{0}\" de l''op\u00E9ration document-style \"{1}\" +wsdlmodler.warning.operation.use=Le WSDL utilis\u00E9 comporte des op\u00E9rations avec utilisation de type literal et encoded. -f:searchschema n'est pas pris en charge pour ce sc\u00E9nario. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=le nom de soap:fault \"{0}\" ne correspond pas au nom de wsdl:fault \"{1}\" dans l''op\u00E9ration \"{2}\" +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=nom soap:fault non indiqu\u00E9, wsdl:fault \"{0}\" dans l''op\u00E9ration \"{1}\" + +wsdlmodeler.duplicate.fault.part.name=non-prise en compte de l''erreur \"{0}\" de l''op\u00E9ration \"{1}\" : le nom d''\u00E9l\u00E9ment PART \"{2}\" n''est pas unique +wsdlmodeler.duplicate.fault.soap.name=non-prise en compte de l''erreur \"{0}\" de l''op\u00E9ration \"{1}\" : le nom soap:fault \"{2}\" n''est pas unique + +wsdlmodeler.warning.ignoringHeaderFault.notFound=non-prise en compte de l''\u00E9l\u00E9ment headerfault \"{0}\", partie \"{1}\" introuvable dans le binding \"{2}\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=non-prise en compte de la partie headerfault \"{0}\" du message \"{1}\" de l''op\u00E9ration {2}, l''attribut utilis\u00E9 doit \u00EAtre \"literal\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=non-prise en compte de la partie headerfault \"{0}\" du message \"{1}\" de l''op\u00E9ration {2} + +wsdlmodeler.invalid.headerfault.notLiteral=El\u00E9ment headerfault \"{0}\" non valide de l''op\u00E9ration de binding \"{1}\" : le type n''est pas literal +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=El\u00E9ment headerfault \"{0}\" non valide pour l''en-t\u00EAte {1} dans l''op\u00E9ration {2} : la partie doit indiquer un attribut \"element\" +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=En-t\u00EAte \"{0}\" non valide dans l''op\u00E9ration {1} : la partie doit indiquer un attribut \"element\" + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=WSDL non conforme \u00E0 WS-I utilis\u00E9 pour wsdl:import +wsdlmodeler.warning.nonconforming.wsdl.types=WSDL non conforme \u00E0 WS-I utilis\u00E9 pour wsdl:types +wsdlmodeler.warning.nonconforming.wsdl.use=Traitement de l''op\u00E9ration non conforme \u00E0 WS-I \"{0}\" avec RPC-Style et SOAP-encoded + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=\u00E9l\u00E9ments PART \"{0}\" introuvable dans le message \"{1}\" ; WSDL erron\u00E9 + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=Port SOAP \"{0}\" : utilise un binding SOAP 1.2 non standard. +wsdlmodeler.warning.ignoringSOAPBinding12=Non-prise en compte du port SOAP \"{0}\" : il utilise un binding SOAP 1.2 non standard.\nVous devez indiquer l''option \"-extension\" pour utiliser ce binding. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile version 1.0, attribut d''espace de noms non autoris\u00E9 dans doc/lit pour {0} : \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile version 1.0, attribut d''espace de noms non autoris\u00E9 dans doc/lit ou rpc/lit pour {0} : \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=Non-prise en compte de l''op\u00E9ration \"{0}\". La structure Multipart/Related comporte un \u00E9l\u00E9ment Part racine non valide : plusieurs \u00E9l\u00E9ment Part soap:body trouv\u00E9s + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=Les en-t\u00EAtes ne figurent pas dans l''\u00E9l\u00E9ment mime:part racine avec soap:body, non-prise en compte des en-t\u00EAtes dans l''op\u00E9ration \"{0}\" + +# R2909 +mimemodeler.invalidMimeContent.differentPart=Non-prise en compte de mime:part. mime:part non valide, mime:content a un autre attribut d'\u00E9l\u00E9ment Part. + +mimemodeler.invalidMimeContent.invalidSchemaType=Non-prise en compte de mime:part. L''\u00E9l\u00E9ment Part MIME {0} ne peut pas \u00EAtre mapp\u00E9 avec le type de sch\u00E9ma : {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=l''\u00E9l\u00E9ment wsdl:part r\u00E9f\u00E9renc\u00E9 par l''attribut d''\u00E9l\u00E9ment Part mime:content {0} doit \u00EAtre d\u00E9fini \u00E0 l''aide de l''attribut de type. + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=Non-prise en compte de l''op\u00E9ration \"{0}\", attribut d''\u00E9l\u00E9ment Part manquant dans mime:content. L''attribut d''\u00E9l\u00E9ment Part doit figurer dans la d\u00E9claration mime:content. + +mimemodeler.invalidMimeContent.missingTypeAttribute=Attribut de type manquant dans mime:content dans l''op\u00E9ration \"{0}\". L''attribut d''\u00E9l\u00E9ment Part doit figurer dans la d\u00E9claration mime:content. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=Type de sch\u00E9ma {1} inconnu pour l''\u00E9l\u00E9ment Part mime:content : {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=Classe \"{0}\" introuvable pour le type MIME \"{1}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=non-prise en compte de mime:part, \u00E9l\u00E9ment Part \"{0}\" r\u00E9f\u00E9renc\u00E9 par la d\u00E9claration mime:content introuvable dans l''\u00E9l\u00E9ment wsdl:operation \"{1}\" + +mimemodeler.elementPart.invalidElementMimeType=L''\u00E9l\u00E9ment Part mime:content fait r\u00E9f\u00E9rence \u00E0 l''\u00E9l\u00E9ment wsdl:part \"{0}\", d\u00E9finie \u00E0 l''aide de l''attribut d''\u00E9l\u00E9ment. Assurez-vous que le type MIME \"{1}\" est appropri\u00E9 pour s\u00E9rialiser XML. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=l''attribut de nom sur l''\u00E9l\u00E9ment wsdl:part dans l''op\u00E9ration \"{0}\" n''est pas pris en compte. Il n''est pas autoris\u00E9 comme WS-I AP 1.0. + + +wsdlmodeler20.rpcenc.not.supported=Les WSDL RPC/encoded ne sont pas pris en charge dans JAXWS 2.0. +wsdlmodeler.warning.ignoringOperation.notNCName=Non-prise en compte de l''op\u00E9ration \"{0}\", son nom comporte le caract\u00E8re interdit ''{1}''. Son op\u00E9ration rpc-literal -jaxws ne pourra pas le s\u00E9rialiser. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=Non-prise en compte de l''op\u00E9ration \"{0}\", impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Param\u00E8tre : la partie "{2}\" de wsdl:message \"{1}\" est un mot-cl\u00E9 Java. Utilisez la personnalisation pour modifier le nom de param\u00E8tre ou le nom wsdl:part. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=Op\u00E9ration \"{0}\" non valide, impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Param\u00E8tre : la partie "{2}\" de wsdl:message \"{1}\" est un mot-cl\u00E9 Java. Utilisez la personnalisation pour modifier le nom de param\u00E8tre ou le nom wsdl:part. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=Non-prise en compte de l''op\u00E9ration \"{0}\", impossible de g\u00E9n\u00E9rer le param\u00E8tre de m\u00E9thode Java. Le nom local de l''enfant wrapper \"{1}\" dans l''\u00E9l\u00E9ment global \"{2}\" est un mot-cl\u00E9 Java. Utilisez la personnalisation pour modifier le nom de param\u00E8tre. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=Op\u00E9ration \"{0}\" non valide, impossible de g\u00E9n\u00E9rer le param\u00E8tre de m\u00E9thode Java. Le nom local de l''enfant wrapper \"{1}\" dans l''\u00E9l\u00E9ment global \"{2}\" est un mot-cl\u00E9 Java. Utilisez la personnalisation pour modifier le nom de param\u00E8tre. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=Non-prise en compte de l''op\u00E9ration \"{0}\", impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Le nom personnalis\u00E9 de param\u00E8tre \"{1}\" est un mot-cl\u00E9 Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=Op\u00E9ration \"{0}\" non valide, impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Le nom personnalis\u00E9 de param\u00E8tre \"{1}\" est un mot-cl\u00E9 Java. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=Non-prise en compte de l''op\u00E9ration \"{0}\", il s''agit d''un mot r\u00E9serv\u00E9 Java, impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Utilisez la personnalisation pour modifier le nom de l''op\u00E9ration. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=Op\u00E9ration \"{0}\" non valide, il s''agit d''un mot r\u00E9serv\u00E9 Java, impossible de g\u00E9n\u00E9rer la m\u00E9thode Java. Utilisez la personnalisation pour modifier le nom de l''op\u00E9ration. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=Non-prise en compte de l''op\u00E9ration \"{0}\", impossible de g\u00E9n\u00E9rer la m\u00E9thode Java, le nom personnalis\u00E9 \"{1}\" de l''\u00E9l\u00E9ment wsdl:operation est un mot-cl\u00E9 Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=Op\u00E9ration \"{0}\"non valide, impossible de g\u00E9n\u00E9rer la m\u00E9thode Java, le nom personnalis\u00E9 \"{1}\" de l''\u00E9l\u00E9ment wsdl:operation est un mot-cl\u00E9 Java. + +wsdlmodeler.jaxb.javatype.notfound=Le descripteur de sch\u00E9ma {0} dans la partie message \"{1}\" n''est pas d\u00E9fini et n''a pas pu \u00EAtre li\u00E9 \u00E0 Java. Le descripteur de sch\u00E9ma {0} n''est peut-\u00EAtre pas d\u00E9fini dans le sch\u00E9ma import\u00E9/inclus dans le WSDL. Vous pouvez ajouter ces imports/inclusions ou ex\u00E9cuter wsimport et fournir l''emplacement du sch\u00E9ma \u00E0 l''aide du commutateur -b. +wsdlmodeler.unsupportedBinding.mime=Le binding MIME WSDL n'est pas pris en charge actuellement. + +wsdlmodeler.nonUnique.body.error=Parties du corps non uniques. Dans un port, les op\u00E9rations BP 1.1 R2710 doivent comporter une signature d''op\u00E9ration unique sur le wire pour une r\u00E9partition r\u00E9ussie. Dans le port {0}, les op\u00E9rations \"{1}\" et \"{2}\" comportent le m\u00EAme bloc de corps de demande {3}. Essayez d''ex\u00E9cuter wsimport avec le commutateur -extension, le runtime essaiera d''effectuer la r\u00E9partition \u00E0 l''aide de SOAPAction +wsdlmodeler.nonUnique.body.warning=Parties du corps non uniques. Dans un port, les op\u00E9rations BP 1.1 R2710 doivent comporter une signature d''op\u00E9ration unique sur le wire pour une r\u00E9partition r\u00E9ussie. Dans le port {0}, les op\u00E9rations \"{1}\" et \"{2}\" comportent le m\u00EAme bloc de corps de demande {3}. La r\u00E9partition de m\u00E9thode risque d''\u00E9chouer, le runtime essaiera d''effectuer la r\u00E9partition \u00E0 l''aide de SOAPAction + +wsdlmodeler.rpclit.unkownschematype=Le type XML \"{0}\" n''a pas pu \u00EAtre r\u00E9solu, \u00E9chec du binding XML vers JAVA. V\u00E9rifiez l''\u00E9l\u00E9ment wsdl:part \"{1}\" dans wsdl:message \"{2}\". + +wsdlmodeler.responsebean.notfound=wsimport n''a pas pu g\u00E9n\u00E9rer le bean de r\u00E9ponse asynchrone pour l''op\u00E9ration : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=errore del modeler: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=operazione non valida: {0} +wsdlmodeler.invalidState.modelingOperation=stato non valido durante la modellazione dell''operazione: {0} +wsdlmodeler.resultIsInOutParameter=il risultato \u00E8 il parametro \"inout\" nell''operazione: {0} +wsdlmodeler.invalid.parameterorder.parameter=\"{0}\" specificato nell''attributo parameterOrder dell''operazione \"{1}\" non \u00E8 una parte valida del messaggio. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=sono state escluse pi\u00F9 parti nell''attributo parameterOrder dell''operazione \"{0}\" +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=l''attributo parameterOrder sull''operazione \"{0}\" non \u00E8 valido. Il suggerimento parameterOrder verr\u00E0 ignorato. +wsdlmodeler.invalid.parameter.differentTypes=il parametro \"{0}\" dell''operazione \"{1}\" ha tipi diversi nei messaggi di input e di output +wsdlmodeler.invalid.bindingOperation.notInPortType=durante l''associazione di \"{1}\", l''operazione \"{0}\" non compare nel tipo di porta corrispondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=il messaggio di input dell''operazione di associazione \"{0}\" non contiene un''estensione del corpo SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=il messaggio di output dell''operazione di associazione \"{0}\" non contiene un''estensione del corpo SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=l''operazione di associazione \"{0}\" deve specificare un nome per il relativo messaggio di input +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=l''operazione di associazione \"{0}\" deve specificare un nome per il relativo messaggio di output +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=durante l''associazione di \"{1}\", l''operazione \"{0}\" non fa riferimento a un''operazione univoca nel tipo di porta corrispondente +wsdlmodeler.invalid.bindingOperation.notFound=durante l''associazione di \"{1}\", l''operazione \"{0}\" non corrisponde ad alcuna operazione nel tipo di porta corrispondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=il messaggio di input dell''operazione di associazione \"{0}\" deve specificare un valore per l''attributo \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=il messaggio di output dell''operazione di associazione \"{0}\" deve specificare un valore per l''attributo \"namespace\" +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=l''intestazione di input \"{1}\" dell''operazione di associazione \"{0}\" deve specificare un valore per l''attributo \"namespace\" +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=l''intestazione di output \"{1}\" dell''operazione di associazione \"{0}\" deve specificare un valore per l''attributo \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=l''errore \"{0}\" nell''operazione \"{1}\" corrisponde a pi\u00F9 di un errore nell''operazione del tipo di porta corrispondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=l''errore \"{0}\" nell''operazione \"{1}\" non corrisponde a nessun errore nell''operazione del tipo di porta corrispondente +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=l''errore \"{0}\" nell''operazione portType \"{1}\" non corrisponde a nessun errore nell''operazione di associazione corrispondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=l''errore \"{0}\" nell''operazione \"{1}\" non ha un''estensione di errore SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=l''errore \"{0}\" nell''operazione \"{1}\" deve specificare un valore per l''attributo \"name\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=l''errore \"{0}\" nell''operazione \"{1}\" deve specificare un valore per l''attributo \"namespace\" +wsdlmodeler.invalid.bindingFault.emptyMessage=l''errore \"{0}\" fa riferimento al messaggio \"{1}\", ma il messaggio non contiene parti +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=l''errore \"{0}\" fa riferimento al messaggio \"{1}\", ma il messaggio ha pi\u00F9 parti +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=nel messaggio \"{0}\", la parte \"{1}\" deve specificare un attributo \"element\" +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=si sono verificati i seguenti conflitti di denominazione: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=l''elemento dello schema verr\u00E0 ignorato (versione non supportata): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes=rilevati {0} tipi non riconosciuti +wsdlmodeler.warning.noServiceDefinitionsFound=il documento WSDL non definisce alcun servizio +wsdlmodeler.warning.noPortsInService=Il servizio \"{0}\" non contiene porte utilizzabili. Provare a eseguire wsimport con il parametro -extension. +wsdlmodeler.warning.noOperationsInPort=La porta \"{0}\" non contiene operazioni utilizzabili +wsdlmodeler.warning.ignoringNonSOAPPort=la porta \"{0}\" verr\u00E0 ignorata: non \u00E8 una porta SOAP standard. Provare a eseguire wsimport con il parametro -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=la porta \"{0}\": non \u00E8 una porta SOAP standard. Gli artifact generati potrebbero non funzionare con il runtime JAX-WS. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=la porta \"{0}\" verr\u00E0 ignorata: nessun indirizzo SOAP specificato. Provare a eseguire wsimport con il parametro -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=La porta \"{0}\" non \u00E8 una porta SOAP. Non contiene soap:address. +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:la porta SOAP \"{0}\" verr\u00E0 ignorata: trasporto non riconosciuto. Provare a eseguire wsimport con il parametro -extension. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=la porta \"{0}\" verr\u00E0 ignorata poich\u00E9 non \u00E8 conforme a WS-I BP 1.1: l''associazione WSDL ha uno stile misto e deve essere un''operazione rpc-literal o document-literal. Provare a eseguire wsimport con il parametro -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=non \u00E8 una porta SOAP \"{0}\" conforme a WS-I BP1.1: l''associazione WSDL ha uno stile misto e deve essere un''operazione rpc-literal o document-literal. + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=l''operazione \"{0}\" verr\u00E0 ignorata: non \u00E8 di tipo richiesta/risposta o monodirezionale +wsdlmodeler.invalid.operation.notSupportedStyle=WSDL non valido, wsdl:operation \"{0}\" in wsdl:portType \"{1}\": non \u00E8 di tipo richiesta/risposta o monodirezionale +wsdlmodeler.warning.ignoringOperation.notEncoded=l''operazione con stile RPC \"{0}\" verr\u00E0 ignorata: parametri non codificati +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=l''operazione \"{0}\" verr\u00E0 ignorata: impossibile gestire l''attributo \"parts\" dell''elemento \"soap:body\" + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=l''operazione \"{0}\" verr\u00E0 ignorata: la parte del messaggio non fa riferimento a una dichiarazione di elemento di schema +wsdlmodeler.invalid.doclitoperation=wsdl:operation \"{0}\" non valido: \u00E8 un''operazione document-literal e la parte del messaggio deve fare riferimento a una dichiarazione di elemento di schema + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=l''operazione \"{0}\" verr\u00E0 ignorata: la parte del messaggio non fa riferimento a una dichiarazione di tipo di schema +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \"{0}\" non valido: \u00E8 un''operazione rpc-literal e la parte del messaggio deve fare riferimento a una dichiarazione di tipo di schema + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=l''operazione \"{0}\" verr\u00E0 ignorata: impossibile gestire le operazioni per lo stile del documento +wsdlmodeler.warning.bindingOperation.multiplePartBinding=Controllare l''associazione \"{0}\" dell''operazione astratta, la parte \"{1}\" ha pi\u00F9 associazioni. Verr\u00E0 comunque tentato di generare gli artifact... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=associazione \"{0}\" dell''operazione astratta, la parte \"{1}\" ha pi\u00F9 associazioni. +wsdlmodeler.warning.ignoringFaults=gli errori dichiarati dall''operazione \"{0}\" verranno ignorati +wsdlmodeler.warning.ignoringFault.notEncoded=l''errore del valore \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorato +wsdlmodeler.warning.ignoringFault.notLiteral=l''errore codificato \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorato +wsdlmodeler.invalid.operation.fault.notLiteral=l''errore codificato \"{0}\" nell''operazione di associazione del valore \"{1}\" verr\u00E0 ignorato +wsdlmodeler.warning.ignoringHeader=l''intestazione \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorata +wsdlmodeler.warning.ignoringHeader.partFromBody=parte dell''intestazione: \"{0}\" gi\u00E0 associata da soapbind:body. L''operazione di associazione della parte due volte non \u00E8 valida +wsdlmodeler.warning.ignoringHeader.notLiteral=l''intestazione \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorata: non \u00E8 un valore +wsdlmodeler.invalid.header.notLiteral=Intestazione \"{0}\" dell''operazione di associazione \"{1}\" non valida: non \u00E8 un valore +wsdlmodeler.warning.ignoringHeader.notFound=l''intestazione \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorata: non trovata +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=intestazione \"{0}\" dell''operazione di associazione \"{1}\": non trovata +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=l''intestazione \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorata: impossibile risolvere il messaggio +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=intestazione \"{0}\" dell''operazione di associazione \"{1}\": impossibile risolvere il messaggio + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=l''errore \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorato: impossibile risolvere il messaggio +wsdlmodeler.invalid.fault.cant.resolve.message=impossibile risolvere il messaggio di errore \"{0}\" nell''operazione di associazione \"{1}\" + +wsdlmodeler.warning.ignoringHeader.notEncoded=l''intestazione \"{0}\" dell''operazione di associazione \"{1}\" verr\u00E0 ignorata: non ha una codifica SOAP +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=l''intestazione \"{0}\" dell''operazione \"{1}\" verr\u00E0 ignorata: parte non trovata +# +wsdlmodeler.warning.ignoringOperation.notLiteral=l''operazione \"{0}\" per lo stile del documento verr\u00E0 ignorata: i parametri non sono valori +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=l''operazione \"{0}\" verr\u00E0 ignorata: pi\u00F9 parti nel messaggio di input +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=l''operazione \"{0}\" verr\u00E0 ignorata: il messaggio di input \u00E8 vuoto +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=l''operazione \"{0}\" verr\u00E0 ignorata: pi\u00F9 parti nel messaggio di output +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=L''operazione \"{0}\" viene ignorata: pi\u00F9 parti associate al corpo +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=operazione \"{0}\": pi\u00F9 parti associate al corpo +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=l''operazione \"{0}\" verr\u00E0 ignorata: il messaggio di output \u00E8 vuoto +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=l''operazione \"{0}\" verr\u00E0 ignorata: lo stile di associazione e quello dell''operazione sono in conflitto +wsdlmodeler.warning.ignoringOperation.partNotFound=l''operazione \"{0}\" verr\u00E0 ignorata: parte \"{1}\" non trovata +wsdlmodeler.error.partNotFound=impossibile risolvere la parte \"{1}\" dell''operazione \"{0}\" +wsdlmodeler.warning.ignoringFault.documentOperation=l''errore \"{0}\" dell''operazione per lo stile del documento \"{1}\" verr\u00E0 ignorato +wsdlmodler.warning.operation.use=Il WSDL usato comprende operazioni con uso \"literal\" e \"encoded\". -f:searchschema non supportato in questo scenario. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=il nome di soap:fault \"{0}\" non corrisponde al nome di wsdl:fault \"{1}\" nell''operazione \"{2}\" +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=nome di soap:fault non specificato, wsdl:fault \"{0}\" nell''operazione \"{1}\" + +wsdlmodeler.duplicate.fault.part.name=l''errore \"{0}\" dell''operazione \"{1}\" verr\u00E0 ignorato: il nome parte \"{2}\" non \u00E8 univoco +wsdlmodeler.duplicate.fault.soap.name=l''errore \"{0}\" dell''operazione \"{1}\" verr\u00E0 ignorato: il nome soap:fault \"{2}\" non \u00E8 univoco + +wsdlmodeler.warning.ignoringHeaderFault.notFound=l''errore di intestazione \"{0}\" verr\u00E0 ignorato: impossibile trovare la parte \"{1}\" nell''associazione \"{2}\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=l''errore di intestazione part=\"{0}\" message=\"{1}\" dell''operazione {2} verr\u00E0 ignorato. L''attributo di uso deve essere \"literal\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=l''errore di intestazione part=\"{0}\" message=\"{1}\" dell''operazione {2} verr\u00E0 ignorato + +wsdlmodeler.invalid.headerfault.notLiteral=Errore di intestazione \"{0}\" dell''operazione di associazione \"{1}\" non valido: non \u00E8 un valore +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=Errore di intestazione \"{0}\" non valido per l''intestazione {1} nell''operazione {2}: la parte deve specificare un attributo \"element\" +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=Intestazione \"{0}\" non valida nell''operazione {1}: la parte deve specificare un attributo \"element\" + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=\u00C8 stato usato un WS-I WSDL non conforme per wsdl:import +wsdlmodeler.warning.nonconforming.wsdl.types=\u00C8 stato usato un WS-I WSDL non conforme per wsdl:types +wsdlmodeler.warning.nonconforming.wsdl.use=Elaborazione dell''operazione \"{0}\" non conforme a WS-I con stile RPC e codifica SOAP + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=parti \"{0}\" non trovate nel messaggio \"{1}\": WSDL errato + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=La porta SOAP \"{0}\": usa un''associazione SOAP 1.2 non standard. +wsdlmodeler.warning.ignoringSOAPBinding12=La porta SOAP \"{0}\" verr\u00E0 ignorata: usa un''associazione SOAP 1.2 non standard.\nPer usare questa associazione, \u00E8 necessario specificare l''opzione \"-extension\". + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile ver. 1.0, attributo namespace non consentito in doc/lit per {0}: \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile ver. 1.0, attributo namespace non consentito in doc/lit o rpc/lit per {0}: \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=L''operazione \"{0}\" verr\u00E0 ignorata. La struttura Multipart/Related ha una parte radice non valida: sono state trovate pi\u00F9 parti soap:body + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=Intestazioni non in mime:part radice con soap:body. Le intestazioni nell''operazione \"{0}\" verranno ignorate. + +# R2909 +mimemodeler.invalidMimeContent.differentPart=mime:part verr\u00E0 ignorato. mime:part non valido, mime:content ha un attributo part diverso. + +mimemodeler.invalidMimeContent.invalidSchemaType=mime:part verr\u00E0 ignorato. mime part: {0} non pu\u00F2 essere mappato al tipo di schema: {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=L''elemento wsdl:part a cui fa riferimento l''attributo part mime:content: {0} deve essere definito usando l''attributo type. + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=L''operazione \"{0}\" verr\u00E0 ignorata, attributo part mancante in mime:content. L''attributo part deve essere presente nella dichiarazione mime:content. + +mimemodeler.invalidMimeContent.missingTypeAttribute=Attributo type mancante in mime:content nell''operazione \"{0}\". L''attributo part deve essere presente nella dichiarazione mime:content. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=Tipo di schema: {1} sconosciuto per la parte mime:content: {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=Impossibile trovare la classe \"{0}\" per il tipo MIME \"{1}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=mime:part verr\u00E0 ignorato. Impossibile trovare la parte \"{0}\" a cui viene fatto riferimento da mime:content in wsdl:operation \"{1}\" + +mimemodeler.elementPart.invalidElementMimeType=La parte mime:content fa riferimento a wsdl:part \"{0}\" definita usando l''attributo element. Assicurarsi che il tipo MIME: \"{1}\" sia appropriato per serializzare XML. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=L''attributo name su wsdl:part nell''operazione \"{0}\" viene ignorato. Non \u00E8 consentito come per WS-I AP 1.0. + + +wsdlmodeler20.rpcenc.not.supported=I WSDL RPC/codificati non sono supportati in JAXWS 2.0. +wsdlmodeler.warning.ignoringOperation.notNCName=L''operazione \"{0}\" verr\u00E0 ignorata poich\u00E9 nel nome \u00E8 contenuto il carattere non valido ''{1}''. Il valore - jaxws dell''operazione rpc-literal non sar\u00E0 in grado di serializzarlo. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=L''operazione \"{0}\" verr\u00E0 ignorata: impossibile generare il metodo Java. Il parametro: part "{2}\" in wsdl:message \"{1}\", \u00E8 una parola chiave Java. Usare la personalizzazione per modificare il nome del parametro o il nome di wsdl:part. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=Operazione \"{0}\" non valida: impossibile generare il metodo Java. Il parametro: part "{2}\" in wsdl:message \"{1}\", \u00E8 una parola chiave Java. Usare la personalizzazione per modificare il nome del parametro o il nome di wsdl:part. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=L''operazione \"{0}\" verr\u00E0 ignorata: impossibile generare il parametro del metodo Java. Il nome locale dell''elemento figlio del wrapper "{1}\" nell''elemento globale \"{2}\" \u00E8 una parola chiave Java. Usare la personalizzazione per modificare il nome del parametro. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=Operazione \"{0}\" non valida: impossibile generare il parametro del metodo Java. Il nome locale dell''elemento figlio del wrapper "{1}\" nell''elemento globale \"{2}\" \u00E8 una parola chiave Java. Usare la personalizzazione per modificare il nome del parametro. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=L''operazione \"{0}\" verr\u00E0 ignorata: impossibile generare il metodo Java. Il nome personalizzato del parametro "{1}\" \u00E8 una parola chiave Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=Operazione \"{0}\" non valida: impossibile generare il metodo Java. Il nome personalizzato del parametro "{1}\" \u00E8 una parola chiave Java. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=L''operazione \"{0}\" verr\u00E0 ignorata: \u00E8 una parola riservata Java e non pu\u00F2 generare il metodo Java. Usare la personalizzazione per modificare il nome dell''operazione. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=Operazione \"{0}\" non valida: \u00E8 una parola riservata Java e non pu\u00F2 generare il metodo Java. Usare la personalizzazione per modificare il nome dell''operazione. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=L''operazione \"{0}\" verr\u00E0 ignorata: impossibile generare il metodo Java. Il nome personalizzato "{1}\" di wsdl:operation \u00E8 una parola chiave Java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=Operazione \"{0}\" non valida: impossibile generare il metodo Java. Il nome personalizzato "{1}\" di wsdl:operation \u00E8 una parola chiave Java. + +wsdlmodeler.jaxb.javatype.notfound=Il descrittore dello schema {0} nella parte del messaggio \"{1}\" non \u00E8 definito e non pu\u00F2 essere associato a Java. Il descrittore dello schema {0} potrebbe non essere definito nello schema importato/incluso in WSDL. \u00C8 possibile aggiungere tali importazioni/inclusioni oppure eseguire wsimport e fornire la posizione dello schema usando il parametro -b. +wsdlmodeler.unsupportedBinding.mime=Associazione MIME WSDL attualmente non supportata + +wsdlmodeler.nonUnique.body.error=Parti del corpo non univoche. In una porta, come per BP 1.1 R2710, le operazioni devono avere una firma dell''operazione univoca in rete affinch\u00E9 la spedizione riesca. Nella porta {0}, le operazioni \"{1}\" e \"{2}\" hanno lo stesso blocco del corpo della richiesta {3}. Se si prova a eseguire wsimport con il parametro -extension, runtime prover\u00E0 a spedire usando SOAPAction +wsdlmodeler.nonUnique.body.warning=Parti del corpo non univoche. In una porta, come per BP 1.1 R2710, le operazioni devono avere una firma dell''operazione univoca in rete affinch\u00E9 la spedizione riesca. Nella porta {0}, le operazioni \"{1}\" e \"{2}\" hanno lo stesso blocco del corpo della richiesta {3}. Se il metodo di spedizione non riesce, runtime prover\u00E0 a spedire usando SOAPAction + +wsdlmodeler.rpclit.unkownschematype=Impossibile risolvere il tipo XML \"{0}\". Associazione di XML a JAVA non riuscita. Controllare wsdl:part \"{1}\" in wsdl:message \"{2}\". + +wsdlmodeler.responsebean.notfound=Generazione del bean di risposta asincrona da parte di wsimport non riuscita per l''operazione: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=\u30E2\u30C7\u30E9\u30FC\u30FB\u30A8\u30E9\u30FC: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=\u7121\u52B9\u306A\u64CD\u4F5C: {0} +wsdlmodeler.invalidState.modelingOperation=\u64CD\u4F5C\u306E\u30E2\u30C7\u30EA\u30F3\u30B0\u6642\u306E\u7121\u52B9\u306A\u72B6\u614B: {0} +wsdlmodeler.resultIsInOutParameter=\u7D50\u679C\u3068\u3057\u3066\u64CD\u4F5C: {0}\u306B\"inout\"\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u8A2D\u5B9A\u3055\u308C\u307E\u3059 +wsdlmodeler.invalid.parameterorder.parameter=\u64CD\u4F5C\"{1}\"\u306EparameterOrder\u5C5E\u6027\u306B\u6307\u5B9A\u3055\u308C\u305F\"{0}\"\u306F\u3001\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u6709\u52B9\u306A\u30D1\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=2\u3064\u4EE5\u4E0A\u306E\u30D1\u30FC\u30C8\u304C\u64CD\u4F5C\"{0}\"\u306EparameterOrder\u5C5E\u6027\u306B\u6B8B\u3055\u308C\u3066\u3044\u307E\u3059 +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=\u64CD\u4F5C\"{0}\"\u306EparameterOrder\u5C5E\u6027\u304C\u7121\u52B9\u3067\u3059\u3002parameterOrder\u30D2\u30F3\u30C8\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.invalid.parameter.differentTypes=\u64CD\u4F5C\"{1}\"\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\"{0}\"\u304C\u3001\u5165\u529B\u304A\u3088\u3073\u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u305D\u308C\u305E\u308C\u7570\u306A\u308B\u30BF\u30A4\u30D7\u3067\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059 +wsdlmodeler.invalid.bindingOperation.notInPortType=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\"{1}\"\u3067\u3001\u64CD\u4F5C\"{0}\"\u304C\u5BFE\u5FDC\u3059\u308B\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u5165\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u3001SOAP\u672C\u6587\u306E\u62E1\u5F35\u306F\u3042\u308A\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u3001SOAP\u672C\u6587\u306E\u62E1\u5F35\u306F\u3042\u308A\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u5165\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u540D\u524D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u540D\u524D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\"{1}\"\u3067\u3001\u64CD\u4F5C\"{0}\"\u304C\u5BFE\u5FDC\u3059\u308B\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\u306E\u4E00\u610F\u306E\u64CD\u4F5C\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.invalid.bindingOperation.notFound=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\"{1}\"\u3067\u3001\u64CD\u4F5C\"{0}\"\u304C\u5BFE\u5FDC\u3059\u308B\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\u306E\u3069\u306E\u64CD\u4F5C\u306B\u3082\u4E00\u81F4\u3057\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u5165\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u3001\"namespace\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u3001\"namespace\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u5165\u529B\u30D8\u30C3\u30C0\u30FC\"{1}\"\u306B\u306F\u3001\"namespace\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{0}\"\u306E\u51FA\u529B\u30D8\u30C3\u30C0\u30FC\"{1}\"\u306B\u306F\u3001\"namespace\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u3001\u5BFE\u5FDC\u3059\u308B\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\u64CD\u4F5C\u306E2\u3064\u4EE5\u4E0A\u306E\u30D5\u30A9\u30EB\u30C8\u3068\u4E00\u81F4\u3057\u3066\u3044\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u3001\u5BFE\u5FDC\u3059\u308B\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7\u64CD\u4F5C\u306E\u3069\u306E\u30D5\u30A9\u30EB\u30C8\u3068\u3082\u4E00\u81F4\u3057\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=portType\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u3001\u5BFE\u5FDC\u3059\u308B\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\u306E\u3069\u306E\u30D5\u30A9\u30EB\u30C8\u3068\u3082\u4E00\u81F4\u3057\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u306B\u306F\u3001SOAP\u30D5\u30A9\u30EB\u30C8\u306E\u62E1\u5F35\u306F\u3042\u308A\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u306B\u306F\u3001\"name\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u306B\u306F\u3001\"namespace\"\u5C5E\u6027\u306E\u5024\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.invalid.bindingFault.emptyMessage=\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u30E1\u30C3\u30BB\u30FC\u30B8\"{1}\"\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u30D1\u30FC\u30C8\u304C\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u30E1\u30C3\u30BB\u30FC\u30B8\"{1}\"\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u8907\u6570\u306E\u30D1\u30FC\u30C8\u304C\u3042\u308A\u307E\u3059 +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=\u30E1\u30C3\u30BB\u30FC\u30B8\"{0}\"\u3067\u306F\u3001\u30D1\u30FC\u30C8\"{1}\"\u306B\"element\"\u5C5E\u6027\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=\u6B21\u306E\u30CD\u30FC\u30DF\u30F3\u30B0\u306E\u7AF6\u5408\u304C\u767A\u751F\u3057\u307E\u3057\u305F: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=\u30B9\u30AD\u30FC\u30DE\u8981\u7D20\u3092\u7121\u8996\u3057\u307E\u3059(\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u30D0\u30FC\u30B8\u30E7\u30F3): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes={0}\u306E\u8A8D\u8B58\u3067\u304D\u306A\u3044\u30BF\u30A4\u30D7\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F +wsdlmodeler.warning.noServiceDefinitionsFound=WSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u30B5\u30FC\u30D3\u30B9\u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.warning.noPortsInService=\u30B5\u30FC\u30D3\u30B9\"{0}\"\u306B\u4F7F\u7528\u53EF\u80FD\u306A\u30DD\u30FC\u30C8\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +wsdlmodeler.warning.noOperationsInPort=\u30DD\u30FC\u30C8\"{0}\"\u306B\u4F7F\u7528\u53EF\u80FD\u306A\u64CD\u4F5C\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringNonSOAPPort=\u30DD\u30FC\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u6A19\u6E96SOAP\u30DD\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=\u30DD\u30FC\u30C8\"{0}\": \u6A19\u6E96SOAP\u30DD\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u751F\u6210\u3055\u308C\u305F\u30A2\u30FC\u30C6\u30A3\u30D5\u30A1\u30AF\u30C8\u306FJAX-WS\u30E9\u30F3\u30BF\u30A4\u30E0\u3067\u306F\u52D5\u4F5C\u3057\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002 +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=\u30DD\u30FC\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: SOAP\u30A2\u30C9\u30EC\u30B9\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=\u30DD\u30FC\u30C8\"{0}\"\u306FSOAP\u30DD\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002soap:address\u304C\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:SOAP\u30DD\u30FC\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u8A8D\u8B58\u3067\u304D\u306A\u3044\u30C8\u30E9\u30F3\u30B9\u30DD\u30FC\u30C8\u3067\u3059\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=\u30DD\u30FC\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: WS-I BP 1.1\u6E96\u62E0\u3067\u306F\u3042\u308A\u307E\u305B\u3093: WSDL\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306B\u8907\u5408\u30B9\u30BF\u30A4\u30EB\u304C\u542B\u307E\u308C\u307E\u3059\u3002RPC\u30EA\u30C6\u30E9\u30EB\u307E\u305F\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30EA\u30C6\u30E9\u30EB\u306E\u64CD\u4F5C\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=WS-I BP1.1\u6E96\u62E0\u306ESOAP\u30DD\u30FC\u30C8\"{0}\"\u3067\u306F\u3042\u308A\u307E\u305B\u3093: WSDL\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306B\u8907\u5408\u30B9\u30BF\u30A4\u30EB\u304C\u542B\u307E\u308C\u307E\u3059\u3002RPC\u30EA\u30C6\u30E9\u30EB\u307E\u305F\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30EA\u30C6\u30E9\u30EB\u306E\u64CD\u4F5C\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002request-response\u3067\u306A\u3044\u304B\u3001\u4E00\u65B9\u5411\u3067\u3059 +wsdlmodeler.invalid.operation.notSupportedStyle=wsdl:portType \"{1}\"\u306EWSDL\u3001wsdl:operation \"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002request-response\u3068one-way\u306E\u3069\u3061\u3089\u3067\u3082\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringOperation.notEncoded=RPC\u30B9\u30BF\u30A4\u30EB\u306E\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \"soap:body\"\u8981\u7D20\u306E\"parts\"\u5C5E\u6027\u3092\u51E6\u7406\u3067\u304D\u307E\u305B\u3093 + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D1\u30FC\u30C8\u304C\u30B9\u30AD\u30FC\u30DE\u8981\u7D20\u306E\u5BA3\u8A00\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.invalid.doclitoperation=wsdl:operation \"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u3053\u308C\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30EA\u30C6\u30E9\u30EB\u64CD\u4F5C\u3067\u3059\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D1\u30FC\u30C8\u304C\u30B9\u30AD\u30FC\u30DE\u8981\u7D20\u306E\u5BA3\u8A00\u3092\u53C2\u7167\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D1\u30FC\u30C8\u304C\u30B9\u30AD\u30FC\u30DE\u30FB\u30BF\u30A4\u30D7\u306E\u5BA3\u8A00\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u3053\u308C\u306FRPC\u30EA\u30C6\u30E9\u30EB\u64CD\u4F5C\u3067\u3059\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D1\u30FC\u30C8\u304C\u30B9\u30AD\u30FC\u30DE\u30FB\u30BF\u30A4\u30D7\u306E\u5BA3\u8A00\u3092\u53C2\u7167\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30B9\u30BF\u30A4\u30EB\u64CD\u4F5C\u3092\u51E6\u7406\u3067\u304D\u307E\u305B\u3093 +wsdlmodeler.warning.bindingOperation.multiplePartBinding=\u62BD\u8C61\u64CD\u4F5C\"{0}\"\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30D1\u30FC\u30C8\"{1}\"\u306B\u8907\u6570\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u304C\u542B\u307E\u308C\u307E\u3059\u3002\u751F\u6210\u3055\u308C\u305F\u30A2\u30FC\u30C6\u30A3\u30D5\u30A1\u30AF\u30C8\u3092\u8A66\u884C\u3057\u307E\u3059... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=\u62BD\u8C61\u64CD\u4F5C\"{0}\"\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3067\u3059\u3002\u30D1\u30FC\u30C8\"{1}\"\u306B\u8907\u6570\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u304C\u542B\u307E\u308C\u307E\u3059\u3002 +wsdlmodeler.warning.ignoringFaults=\u64CD\u4F5C\"{0}\"\u3067\u5BA3\u8A00\u3055\u308C\u305F\u30D5\u30A9\u30EB\u30C8\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.warning.ignoringFault.notEncoded=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30EA\u30C6\u30E9\u30EB\u30FB\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.warning.ignoringFault.notLiteral=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u305F\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.invalid.operation.fault.notLiteral=\u30EA\u30C6\u30E9\u30EB\u30FB\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u305F\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.warning.ignoringHeader=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodeler.warning.ignoringHeader.partFromBody=\u30D8\u30C3\u30C0\u30FC\u30FB\u30D1\u30FC\u30C8: \"{0}\"\u306F\u3059\u3067\u306Bsoapbind:body\u306B\u3088\u308A\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30D1\u30FC\u30C8\u30922\u56DE\u30D0\u30A4\u30F3\u30C9\u3059\u308B\u306E\u306F\u4E0D\u6B63\u3067\u3059 +wsdlmodeler.warning.ignoringHeader.notLiteral=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30EA\u30C6\u30E9\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.invalid.header.notLiteral=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u30EA\u30C6\u30E9\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringHeader.notFound=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\": \u898B\u3064\u304B\u308A\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093 +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\": \u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093 + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093 +wsdlmodeler.invalid.fault.cant.resolve.message=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\"{0}\"\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F + +wsdlmodeler.warning.ignoringHeader.notEncoded=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002SOAP\u3067\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30D1\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# +wsdlmodeler.warning.ignoringOperation.notLiteral=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30B9\u30BF\u30A4\u30EB\u306E\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u30EA\u30C6\u30E9\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u5165\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8907\u6570\u306E\u30D1\u30FC\u30C8\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u5165\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u7A7A\u3067\u3059 +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8907\u6570\u306E\u30D1\u30FC\u30C8\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u8907\u6570\u306E\u30D1\u30FC\u30C8\u304C\u672C\u6587\u306B\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u3059 +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=\u64CD\u4F5C\"{0}\": \u8907\u6570\u306E\u30D1\u30FC\u30C8\u304C\u672C\u6587\u306B\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u3059 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u51FA\u529B\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u7A7A\u3067\u3059 +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30B9\u30BF\u30A4\u30EB\u304A\u3088\u3073\u64CD\u4F5C\u30B9\u30BF\u30A4\u30EB\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059 +wsdlmodeler.warning.ignoringOperation.partNotFound=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u30D1\u30FC\u30C8\"{1}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +wsdlmodeler.error.partNotFound=\u64CD\u4F5C\"{0}\"\u306E\u30D1\u30FC\u30C8\"{1}\"\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 +wsdlmodeler.warning.ignoringFault.documentOperation=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30B9\u30BF\u30A4\u30EB\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059 +wsdlmodler.warning.operation.use=\u4F7F\u7528\u3055\u308C\u305FWSDL\u306B\u306F\u3001use\u5C5E\u6027\u304Cliteral\u304A\u3088\u3073encoded\u4F7F\u7528\u306E\u64CD\u4F5C\u304C\u3042\u308A\u307E\u3059\u3002-f:searchschema\u306F\u3001\u3053\u306E\u4E8B\u4F8B\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002 +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=soap:fault \"{0}\"\u306E\u540D\u524D\u304C\u64CD\u4F5C\"{2}\"\u306Ewsdl:fault \"{1}\"\u306E\u540D\u524D\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093 +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=soap:fault\u306E\u540D\u524D\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u64CD\u4F5C\"{1}\"\u306Ewsdl:fault \"{0}\" + +wsdlmodeler.duplicate.fault.part.name=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30D1\u30FC\u30C8\u540D\"{2}\"\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.duplicate.fault.soap.name=\u64CD\u4F5C\"{1}\"\u306E\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002soap:fault\u540D\"{2}\"\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093 + +wsdlmodeler.warning.ignoringHeaderFault.notFound=\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A9\u30EB\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\"{2}\"\u306B\u30D1\u30FC\u30C8\"{1}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=\u64CD\u4F5C{2}\u306E\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A9\u30EB\u30C8part=\"{0}\" message=\"{1}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002use\u5C5E\u6027\u306F\"literal\"\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=\u64CD\u4F5C{2}\u306E\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A9\u30EB\u30C8part=\"{0}\" message=\"{1}\"\u3092\u7121\u8996\u3057\u307E\u3059 + +wsdlmodeler.invalid.headerfault.notLiteral=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\"{1}\"\u306E\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u30EA\u30C6\u30E9\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=\u64CD\u4F5C{2}\u306E\u30D8\u30C3\u30C0\u30FC{1}\u306E\u30D8\u30C3\u30C0\u30FC\u30FB\u30D5\u30A9\u30EB\u30C8\"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u30D1\u30FC\u30C8\u3067\u306F\"element\"\u5C5E\u6027\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=\u64CD\u4F5C{1}\u306E\u30D8\u30C3\u30C0\u30FC\"{0}\"\u304C\u7121\u52B9\u3067\u3059: \u30D1\u30FC\u30C8\u3067\u306F\"element\"\u5C5E\u6027\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=\u6E96\u62E0\u3057\u306A\u3044WS-I WSDL\u304Cwsdl:import\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059 +wsdlmodeler.warning.nonconforming.wsdl.types=\u6E96\u62E0\u3057\u306A\u3044WS-I WSDL\u304Cwsdl:types\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059 +wsdlmodeler.warning.nonconforming.wsdl.use=RPC\u30B9\u30BF\u30A4\u30EB\u3067\u3042\u308ASOAP\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u305FWS-I\u975E\u6E96\u62E0\u306E\u64CD\u4F5C\"{0}\"\u3092\u51E6\u7406\u3057\u3066\u3044\u307E\u3059 + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=\u30D1\u30FC\u30C8\"{0}\"\u304C\u30E1\u30C3\u30BB\u30FC\u30B8\"{1}\"\u306B\u3042\u308A\u307E\u305B\u3093\u3002\u9593\u9055\u3063\u305FWSDL\u3067\u3059 + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=SOAP\u30DD\u30FC\u30C8\"{0}\": \u975E\u6A19\u6E96SOAP 1.2\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002 +wsdlmodeler.warning.ignoringSOAPBinding12=SOAP\u30DD\u30FC\u30C8\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059: \u3053\u308C\u306F\u975E\u6A19\u6E96SOAP 1.2\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\n\u3053\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\"-extension\"\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile\u30D0\u30FC\u30B8\u30E7\u30F31.0\u3001{0}\u306B\u3064\u3044\u3066doc/lit\u3067\u306Fnamespace\u5C5E\u6027\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093: \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile\u30D0\u30FC\u30B8\u30E7\u30F31.0\u3001{0}\u306B\u3064\u3044\u3066doc/lit\u307E\u305F\u306Frpc/lit\u3067\u306Fnamespace\u5C5E\u6027\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093: \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002Multipart/Related\u69CB\u9020\u306B\u7121\u52B9\u306A\u30EB\u30FC\u30C8\u30FB\u30D1\u30FC\u30C8\u304C\u542B\u307E\u308C\u307E\u3059: \u8907\u6570\u306Esoap:body\u30D1\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=\u30D8\u30C3\u30C0\u30FC\u306F\u30EB\u30FC\u30C8\u306Emime:part\u306Bsoap:body\u3068\u3068\u3082\u306B\u3042\u308A\u307E\u305B\u3093\u3002\u64CD\u4F5C\"{0}\"\u306E\u30D8\u30C3\u30C0\u30FC\u3092\u7121\u8996\u3057\u307E\u3059 + +# R2909 +mimemodeler.invalidMimeContent.differentPart=mime:part\u3092\u7121\u8996\u3057\u307E\u3059\u3002mime:part\u304C\u7121\u52B9\u3067\u3059\u3002mime:content\u306B\u306F\u7570\u306A\u308Bpart\u5C5E\u6027\u304C\u542B\u307E\u308C\u307E\u3059\u3002 + +mimemodeler.invalidMimeContent.invalidSchemaType=mime:part\u3092\u7121\u8996\u3057\u307E\u3059\u3002MIME\u30D1\u30FC\u30C8: {0}\u306F\u30B9\u30AD\u30FC\u30DE\u30FB\u30BF\u30A4\u30D7: {1}\u306B\u30DE\u30C3\u30D7\u3067\u304D\u307E\u305B\u3093 + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=wsdl:part\u8981\u7D20\u304Cmime:content\u306Epart\u5C5E\u6027\u306B\u3088\u308A\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059: {0}\u306Ftype\u5C5E\u6027\u3092\u4F7F\u7528\u3057\u3066\u5B9A\u7FA9\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002mime:content\u306Bpart\u5C5E\u6027\u304C\u3042\u308A\u307E\u305B\u3093\u3002mime:content\u5BA3\u8A00\u306Bpart\u5C5E\u6027\u304C\u5B58\u5728\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +mimemodeler.invalidMimeContent.missingTypeAttribute=\u64CD\u4F5C\"{0}\"\u306Emime:content\u306Btype\u5C5E\u6027\u304C\u3042\u308A\u307E\u305B\u3093\u3002mime:content\u5BA3\u8A00\u306Bpart\u5C5E\u6027\u304C\u5B58\u5728\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=mime:content part: {0}\u306E\u30B9\u30AD\u30FC\u30DE\u30FB\u30BF\u30A4\u30D7: {1}\u304C\u4E0D\u660E\u3067\u3059 +mimemodeler.invalidMimeContent.errorLoadingJavaClass=MIME\u30BF\u30A4\u30D7\"{1}\"\u306E\u30AF\u30E9\u30B9\"{0}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=mime:part\u3092\u7121\u8996\u3057\u307E\u3059\u3002wsdl:operation \"{1}\"\u306Emime:content\u3067\u53C2\u7167\u3055\u308C\u3066\u3044\u308B\u30D1\u30FC\u30C8\"{0}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 + +mimemodeler.elementPart.invalidElementMimeType=mime:content\u306Epart\u306F\u3001\u8981\u7D20\u5C5E\u6027\u3092\u4F7F\u7528\u3057\u3066\u5B9A\u7FA9\u3055\u308C\u305Fwsdl:part \"{0}\"\u3092\u53C2\u7167\u3057\u3066\u3044\u307E\u3059\u3002MIME\u30BF\u30A4\u30D7: \"{1}\"\u304CXML\u306E\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u306B\u9069\u3057\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=\u64CD\u4F5C\"{0}\"\u306Ewsdl:part\u306Ename\u5C5E\u6027\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FWS-I AP 1.0\u3067\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + + +wsdlmodeler20.rpcenc.not.supported=rpc/encoded wsdl\u306FJAXWS 2.0\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +wsdlmodeler.warning.ignoringOperation.notNCName=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u540D\u524D\u306B\u4E0D\u6B63\u306A\u6587\u5B57''{1}''\u304C\u542B\u307E\u308C\u307E\u3059\u3002RPC\u30EA\u30C6\u30E9\u30EB\u64CD\u4F5C\u306Ejaxws\u3067\u306F\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3067\u304D\u307E\u305B\u3093\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30D1\u30E9\u30E1\u30FC\u30BF: wsdl:message \"{1}\"\u306E\u30D1\u30FC\u30C8"{2}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u3092\u5909\u66F4\u3059\u308B\u304B\u3001wsdl:part\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=\u64CD\u4F5C\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30D1\u30E9\u30E1\u30FC\u30BF: wsdl:message \"{1}\"\u306E\u30D1\u30FC\u30C8"{2}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u3092\u5909\u66F4\u3059\u308B\u304B\u3001wsdl:part\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u8981\u7D20\"{2}\"\u306E\u30E9\u30C3\u30D1\u30FC\u306E\u5B50\"{1}\"\u306E\u30ED\u30FC\u30AB\u30EB\u540D\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=\u64CD\u4F5C\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30B0\u30ED\u30FC\u30D0\u30EB\u8981\u7D20\"{2}\"\u306E\u30E9\u30C3\u30D1\u30FC\u306E\u5B50\"{1}\"\u306E\u30ED\u30FC\u30AB\u30EB\u540D\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3055\u308C\u305F\u540D\u524D\"{1}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=\u64CD\u4F5C\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3055\u308C\u305F\u540D\u524D\"{1}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FJava\u4E88\u7D04\u8A9E\u3067\u3042\u308A\u3001Java\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u64CD\u4F5C\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=\u64CD\u4F5C\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u308C\u306FJava\u4E88\u7D04\u8A9E\u3067\u3042\u308A\u3001Java\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3092\u4F7F\u7528\u3057\u3066\u64CD\u4F5C\u540D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=\u64CD\u4F5C\"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002wsdl:operation\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3055\u308C\u305F\u540D\u524D\"{1}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=\u64CD\u4F5C\"{0}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u308C\u306FJava\u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002wsdl:operation\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3055\u308C\u305F\u540D\u524D\"{1}\"\u306FJava\u30AD\u30FC\u30EF\u30FC\u30C9\u3067\u3059\u3002 + +wsdlmodeler.jaxb.javatype.notfound=\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D1\u30FC\u30C8\"{1}\"\u306E\u30B9\u30AD\u30FC\u30DE\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF{0}\u304C\u5B9A\u7FA9\u3055\u308C\u3066\u304A\u3089\u305A\u3001Java\u306B\u30D0\u30A4\u30F3\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30B9\u30AD\u30FC\u30DE\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF{0}\u304CWSDL\u306B\u30A4\u30F3\u30DD\u30FC\u30C8/\u30A4\u30F3\u30AF\u30EB\u30FC\u30C9\u3055\u308C\u305F\u30B9\u30AD\u30FC\u30DE\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u3053\u3046\u3057\u305F\u30A4\u30F3\u30DD\u30FC\u30C8/\u30A4\u30F3\u30AF\u30EB\u30FC\u30C9\u3092\u8FFD\u52A0\u3059\u308B\u304B\u3001wsimport\u3092\u5B9F\u884C\u3057\u3001-b\u30B9\u30A4\u30C3\u30C1\u3092\u4F7F\u7528\u3057\u3066\u30B9\u30AD\u30FC\u30DE\u306E\u5834\u6240\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002 +wsdlmodeler.unsupportedBinding.mime=WSDL MIME\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306F\u73FE\u5728\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + +wsdlmodeler.nonUnique.body.error=\u672C\u6587\u30D1\u30FC\u30C8\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30DD\u30FC\u30C8\u306B\u304A\u3044\u3066BP 1.1 R2710\u306E\u3068\u304A\u308A\u3001\u6B63\u5E38\u306B\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u3059\u308B\u305F\u3081\u306B\u64CD\u4F5C\u306B\u306F\u901A\u4FE1\u4E0A\u306B\u4E00\u610F\u306E\u64CD\u4F5C\u7F72\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002\u30DD\u30FC\u30C8{0}\u3067\u306F\u3001\u64CD\u4F5C\"{1}\"\u304A\u3088\u3073\"{2}\"\u306B\u540C\u3058\u30EA\u30AF\u30A8\u30B9\u30C8\u672C\u6587\u30D6\u30ED\u30C3\u30AF{3}\u304C\u3042\u308A\u307E\u3059\u3002-extension\u30B9\u30A4\u30C3\u30C1\u3092\u6307\u5B9A\u3057\u3066wsimport\u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u3088\u3063\u3066SOAPAction\u3092\u4F7F\u7528\u3057\u305F\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u304C\u8A66\u884C\u3055\u308C\u307E\u3059 +wsdlmodeler.nonUnique.body.warning=\u672C\u6587\u30D1\u30FC\u30C8\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30DD\u30FC\u30C8\u306B\u304A\u3044\u3066BP 1.1 R2710\u306E\u3068\u304A\u308A\u3001\u6B63\u5E38\u306B\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u3059\u308B\u305F\u3081\u306B\u64CD\u4F5C\u306B\u306F\u901A\u4FE1\u4E0A\u306B\u4E00\u610F\u306E\u64CD\u4F5C\u7F72\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002\u30DD\u30FC\u30C8{0}\u3067\u306F\u3001\u64CD\u4F5C\"{1}\"\u304A\u3088\u3073\"{2}\"\u306B\u540C\u3058\u30EA\u30AF\u30A8\u30B9\u30C8\u672C\u6587\u30D6\u30ED\u30C3\u30AF{3}\u304C\u542B\u307E\u308C\u307E\u3059\u3002\u30E1\u30BD\u30C3\u30C9\u306E\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u306F\u5931\u6557\u3057\u305F\u5834\u5408\u306F\u3001\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u3088\u3063\u3066SOAPAction\u3092\u4F7F\u7528\u3057\u305F\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u304C\u8A66\u884C\u3055\u308C\u307E\u3059 + +wsdlmodeler.rpclit.unkownschematype=XML\u30BF\u30A4\u30D7\"{0}\"\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002XML\u306EJAVA\u3078\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002wsdl:message \"{2}\"\u306Ewsdl:part \"{1}\"\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +wsdlmodeler.responsebean.notfound=wsimport\u3067\u64CD\u4F5C: {0}\u306E\u975E\u540C\u671F\u30EC\u30B9\u30DD\u30F3\u30B9Bean\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=\uBAA8\uB378\uB7EC \uC624\uB958: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=\uBD80\uC801\uD569\uD55C \uC791\uC5C5: {0} +wsdlmodeler.invalidState.modelingOperation=\uC791\uC5C5\uC744 \uBAA8\uB378\uB9C1\uD558\uB294 \uC911 \uBD80\uC801\uD569\uD55C \uC0C1\uD0DC \uBC1C\uC0DD: {0} +wsdlmodeler.resultIsInOutParameter=\uACB0\uACFC\uB294 \uC791\uC5C5\uC758 \"inout\" \uB9E4\uAC1C\uBCC0\uC218\uC784: {0} +wsdlmodeler.invalid.parameterorder.parameter=\"{1}\" \uC791\uC5C5\uC758 parameterOrder \uC18D\uC131\uC5D0 \uC9C0\uC815\uB41C \"{0}\"\uC740(\uB294) \uC801\uD569\uD55C \uBA54\uC2DC\uC9C0 \uBD80\uBD84\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=\"{0}\" \uC791\uC5C5\uC758 parameterOrder \uC18D\uC131\uC5D0 \uB204\uB77D\uB41C \uBD80\uBD84\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=\"{0}\" \uC791\uC5C5\uC758 parameterOrder \uC18D\uC131\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. parameterOrder \uD78C\uD2B8\uB97C \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.invalid.parameter.differentTypes=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC785\uB825 \uBC0F \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uC5D0\uC11C \uB2E4\uB978 \uC720\uD615\uC73C\uB85C \uB098\uD0C0\uB0A9\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.notInPortType=\"{1}\" \uBC14\uC778\uB529\uC5D0\uC11C \"{0}\" \uC791\uC5C5\uC774 \uD574\uB2F9 \uD3EC\uD2B8 \uC720\uD615\uC5D0 \uB098\uD0C0\uB098\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uC785\uB825 \uBA54\uC2DC\uC9C0\uC5D0 SOAP \uBCF8\uBB38 \uD655\uC7A5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uC5D0 SOAP \uBCF8\uBB38 \uD655\uC7A5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC5D0\uB294 \uD574\uB2F9 \uC785\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \uB300\uD55C \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC5D0\uB294 \uD574\uB2F9 \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \uB300\uD55C \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=\"{1}\" \uBC14\uC778\uB529\uC5D0\uC11C \"{0}\" \uC791\uC5C5\uC774 \uD574\uB2F9 \uD3EC\uD2B8 \uC720\uD615\uC758 \uACE0\uC720\uD55C \uC791\uC5C5\uC744 \uCC38\uC870\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.notFound=\"{1}\" \uBC14\uC778\uB529\uC5D0\uC11C \"{0}\" \uC791\uC5C5\uC774 \uD574\uB2F9 \uD3EC\uD2B8 \uC720\uD615\uC758 \uC791\uC5C5\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uC785\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \"namespace\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \"namespace\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uC785\uB825 \uD5E4\uB354 \"{1}\"\uC5D0\uB294 \"namespace\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=\uBC14\uC778\uB529 \uC791\uC5C5 \"{0}\"\uC758 \uCD9C\uB825 \uD5E4\uB354 \"{1}\"\uC5D0\uB294 \"namespace\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=\"{1}\" \uC791\uC5C5\uC5D0\uC11C \uBC1C\uC0DD\uD55C \"{0}\" \uACB0\uD568\uC774 \uD574\uB2F9 \uD3EC\uD2B8 \uC720\uD615 \uC791\uC5C5\uC758 \uACB0\uD568\uACFC \uB450 \uAC1C \uC774\uC0C1 \uC77C\uCE58\uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=\"{1}\" \uC791\uC5C5\uC5D0\uC11C \uBC1C\uC0DD\uD55C \"{0}\" \uACB0\uD568\uC774 \uD574\uB2F9 \uD3EC\uD2B8 \uC720\uD615 \uC791\uC5C5\uC758 \uACB0\uD568\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=portType \uC791\uC5C5 \"{1}\"\uC5D0\uC11C \uBC1C\uC0DD\uD55C \"{0}\" \uACB0\uD568\uC774 \uD574\uB2F9 \uBC14\uC778\uB529 \uC791\uC5C5\uC758 \uACB0\uD568\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=\"{1}\" \uC791\uC5C5\uC5D0\uC11C \uBC1C\uC0DD\uD55C \"{0}\" \uACB0\uD568\uC5D0 SOAP \uACB0\uD568 \uD655\uC7A5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uACB0\uD568\uC5D0\uB294 \"name\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uACB0\uD568\uC5D0\uB294 \"namespace\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingFault.emptyMessage=\"{0}\" \uACB0\uD568\uC774 \"{1}\" \uBA54\uC2DC\uC9C0\uB97C \uCC38\uC870\uD558\uB098 \uBA54\uC2DC\uC9C0\uC5D0 \uBD80\uBD84\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=\"{0}\" \uACB0\uD568\uC774 \"{1}\" \uBA54\uC2DC\uC9C0\uB97C \uCC38\uC870\uD558\uB098 \uBA54\uC2DC\uC9C0\uC5D0 \uBD80\uBD84\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=\"{0}\" \uBA54\uC2DC\uC9C0\uC758 \"{1}\" \uBD80\uBD84\uC5D0\uB294 \"element\" \uC18D\uC131\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=\uBC1C\uC0DD\uD55C \uC774\uB984 \uC9C0\uC815 \uCDA9\uB3CC: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=\uC2A4\uD0A4\uB9C8 \uC694\uC18C(\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uBC84\uC804)\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes={0}\uAC1C\uC758 \uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uC720\uD615\uC744 \uBC1C\uACAC\uD588\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.noServiceDefinitionsFound=WSDL \uBB38\uC11C\uC5D0 \uC815\uC758\uB41C \uC11C\uBE44\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.noPortsInService=\"{0}\" \uC11C\uBE44\uC2A4\uC5D0 \uD3EC\uD568\uB41C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uD3EC\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. +wsdlmodeler.warning.noOperationsInPort=\"{0}\" \uD3EC\uD2B8\uAC00 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC5B4\uB5A4 \uC791\uC5C5\uB3C4 \uD3EC\uD568\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringNonSOAPPort=\"{0}\" \uD3EC\uD2B8\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uD45C\uC900 SOAP \uD3EC\uD2B8\uAC00 \uC544\uB2D9\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=\"{0}\" \uD3EC\uD2B8\uB294 \uD45C\uC900 SOAP \uD3EC\uD2B8\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uC0DD\uC131\uB41C \uC544\uD2F0\uD329\uD2B8\uAC00 JAX-WS \uB7F0\uD0C0\uC784\uC5D0\uC11C \uC791\uB3D9\uD558\uC9C0 \uC54A\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=\"{0}\" \uD3EC\uD2B8\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uC9C0\uC815\uB41C SOAP \uC8FC\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=\"{0}\" \uD3EC\uD2B8\uB294 SOAP \uD3EC\uD2B8\uAC00 \uC544\uB2D9\uB2C8\uB2E4. soap:address\uB97C \uD3EC\uD568\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:SOAP \uD3EC\uD2B8 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911: \uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uC804\uC1A1\uC785\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=WS-I BP 1.1\uACFC \uD638\uD658\uB418\uC9C0 \uC54A\uB294 \"{0}\" \uD3EC\uD2B8\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: WSDL \uBC14\uC778\uB529\uC5D0 \uD63C\uD569 \uC2A4\uD0C0\uC77C\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. RPC \uB9AC\uD130\uB7F4 \uB610\uB294 \uBB38\uC11C \uB9AC\uD130\uB7F4 \uC791\uC5C5\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=WS-I BP1.1\uACFC \uD638\uD658\uB418\uC9C0 \uC54A\uB294 SOAP \uD3EC\uD2B8 \"{0}\": WSDL \uBC14\uC778\uB529\uC5D0 \uD63C\uD569 \uC2A4\uD0C0\uC77C\uC774 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. RPC \uB9AC\uD130\uB7F4 \uB610\uB294 \uBB38\uC11C \uB9AC\uD130\uB7F4 \uC791\uC5C5\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4! + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=\"{0}\" \uC791\uC5C5 \uBB34\uC2DC \uC911: \uC694\uCCAD-\uC751\uB2F5 \uB610\uB294 \uB2E8\uBC29\uD5A5\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.invalid.operation.notSupportedStyle=wsdl:portType \"{1}\"\uC5D0 wsdl:operation \"{0}\"\uC774(\uAC00) \uC788\uB294 \uBD80\uC801\uD569\uD55C WSDL: \uC694\uCCAD-\uC751\uB2F5 \uB610\uB294 \uB2E8\uBC29\uD5A5\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.notEncoded=RPC \uC2A4\uD0C0\uC77C \uC791\uC5C5 \"{0}\" \uBB34\uC2DC \uC911: \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC778\uCF54\uB529\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \"soap:body\" \uC694\uC18C\uC758 \"parts\" \uC18D\uC131\uC744 \uCC98\uB9AC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uBA54\uC2DC\uC9C0 \uBD80\uBD84\uC774 \uC2A4\uD0A4\uB9C8 \uC694\uC18C \uC120\uC5B8\uC744 \uCC38\uC870\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.doclitoperation=\uBD80\uC801\uD569\uD55C wsdl:operation \"{0}\": \uBB38\uC11C \uB9AC\uD130\uB7F4 \uC791\uC5C5\uC785\uB2C8\uB2E4. \uBA54\uC2DC\uC9C0 \uBD80\uBD84\uC740 \uC2A4\uD0A4\uB9C8 \uC694\uC18C \uC120\uC5B8\uC744 \uCC38\uC870\uD574\uC57C \uD569\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uBA54\uC2DC\uC9C0 \uBD80\uBD84\uC774 \uC2A4\uD0A4\uB9C8 \uC720\uD615 \uC120\uC5B8\uC744 \uCC38\uC870\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.rpclitoperation=\uBD80\uC801\uD569\uD55C wsdl:operation \"{0}\": RPC \uB9AC\uD130\uB7F4 \uC791\uC5C5\uC785\uB2C8\uB2E4. \uBA54\uC2DC\uC9C0 \uBD80\uBD84\uC740 \uC2A4\uD0A4\uB9C8 \uC720\uD615 \uC120\uC5B8\uC744 \uCC38\uC870\uD574\uC57C \uD569\uB2C8\uB2E4. + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uBA54\uC2DC\uC9C0 \uC2A4\uD0C0\uC77C \uC791\uC5C5\uC744 \uCC98\uB9AC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.bindingOperation.multiplePartBinding=\uCD94\uC0C1 \uC791\uC5C5 \"{0}\" \uBC14\uC778\uB529\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. \"{1}\" \uBD80\uBD84\uC5D0 \uBC14\uC778\uB529\uC774 \uC5EC\uB7EC \uAC1C \uC788\uC2B5\uB2C8\uB2E4. \uC544\uD2F0\uD329\uD2B8 \uC0DD\uC131\uC744 \uC2DC\uB3C4\uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=\uCD94\uC0C1 \uC791\uC5C5 \"{0}\" \uBC14\uC778\uB529\uC785\uB2C8\uB2E4. \"{1}\" \uBD80\uBD84\uC5D0 \uBC14\uC778\uB529\uC774 \uC5EC\uB7EC \uAC1C \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringFaults=\"{0}\" \uC791\uC5C5\uC73C\uB85C \uC120\uC5B8\uB41C \uACB0\uD568\uC744 \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.warning.ignoringFault.notEncoded=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uB9AC\uD130\uB7F4 \uACB0\uD568 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.warning.ignoringFault.notLiteral=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uC778\uCF54\uB529\uB41C \uACB0\uD568 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.invalid.operation.fault.notLiteral=\uB9AC\uD130\uB7F4 \uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uC778\uCF54\uB529\uB41C \uACB0\uD568 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.warning.ignoringHeader=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodeler.warning.ignoringHeader.partFromBody=\uD5E4\uB354 \uBD80\uBD84 \"{0}\"\uC774(\uAC00) soapbind:body\uC5D0 \uC758\uD574 \uC774\uBBF8 \uBC14\uC778\uB4DC\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. \uBD80\uBD84\uC744 \uB450 \uBC88 \uBC14\uC778\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringHeader.notLiteral=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uB9AC\uD130\uB7F4\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.invalid.header.notLiteral=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uBD80\uC801\uD569\uD55C \uD5E4\uB354 \"{0}\": \uB9AC\uD130\uB7F4\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringHeader.notFound=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354: \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uBA54\uC2DC\uC9C0\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354: \uBA54\uC2DC\uC9C0\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uACB0\uD568\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uBA54\uC2DC\uC9C0\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.invalid.fault.cant.resolve.message=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uACB0\uD568 \uBA54\uC2DC\uC9C0 \"{0}\"\uC744(\uB97C) \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringHeader.notEncoded=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: SOAP \uC778\uCF54\uB529\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911: \uBD80\uBD84\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# +wsdlmodeler.warning.ignoringOperation.notLiteral=document \uC2A4\uD0C0\uC77C \uC791\uC5C5 \"{0}\" \uBB34\uC2DC \uC911: \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uB9AC\uD130\uB7F4\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uC785\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \uBD80\uBD84\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uC785\uB825 \uBA54\uC2DC\uC9C0\uAC00 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uC5D0 \uBD80\uBD84\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uB450 \uAC1C \uC774\uC0C1\uC758 \uBD80\uBD84\uC774 \uBCF8\uBB38\uC5D0 \uBC14\uC778\uB4DC\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=\"{0}\" \uC791\uC5C5: \uB450 \uAC1C \uC774\uC0C1\uC758 \uBD80\uBD84\uC774 \uBCF8\uBB38\uC5D0 \uBC14\uC778\uB4DC\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uCD9C\uB825 \uBA54\uC2DC\uC9C0\uAC00 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \uBC14\uC778\uB529 \uC2A4\uD0C0\uC77C\uACFC \uC791\uC5C5 \uC2A4\uD0C0\uC77C\uC774 \uCDA9\uB3CC\uD569\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.partNotFound=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911: \"{1}\" \uBD80\uBD84\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wsdlmodeler.error.partNotFound=\"{0}\" \uC791\uC5C5\uC758 \"{1}\" \uBD80\uBD84\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! +wsdlmodeler.warning.ignoringFault.documentOperation=\uBB38\uC11C \uC2A4\uD0C0\uC77C \uC791\uC5C5 \"{1}\"\uC758 \"{0}\" \uACB0\uD568\uC744 \uBB34\uC2DC\uD558\uB294 \uC911 +wsdlmodler.warning.operation.use=\uC0AC\uC6A9\uB41C WSDL\uC5D0 \uB9AC\uD130\uB7F4 \uBC0F \uC778\uCF54\uB529\uC744 \uC0AC\uC6A9\uD558\uB294 \uC791\uC5C5\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC774 \uACBD\uC6B0 -f:searchschema\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=soap:fault \"{0}\"\uC758 \uC774\uB984\uACFC \"{2}\" \uC791\uC5C5\uC5D0 \uC788\uB294 wsdl:fault \"{1}\"\uC758 \uC774\uB984\uC774 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=soap:fault \uC774\uB984\uC774 \"{1}\" \uC791\uC5C5\uC758 wsdl:fault \"{0}\"\uC5D0 \uC9C0\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. + +wsdlmodeler.duplicate.fault.part.name=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uACB0\uD568 \uBB34\uC2DC \uC911... \uBD80\uBD84 \uC774\uB984 \"{2}\"\uC774(\uAC00) \uACE0\uC720\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.duplicate.fault.soap.name=\"{1}\" \uC791\uC5C5\uC758 \"{0}\" \uACB0\uD568\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. soap:fault \uC774\uB984 \"{2}\"\uC774(\uAC00) \uACE0\uC720\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringHeaderFault.notFound=\uD5E4\uB354 \uACB0\uD568 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \"{2}\" \uBC14\uC778\uB529\uC5D0\uC11C \"{1}\" \uBD80\uBD84\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral={2} \uC791\uC5C5\uC758 \uD5E4\uB354 \uACB0\uD568 \uBD80\uBD84=\"{0}\" \uBA54\uC2DC\uC9C0=\"{1}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uC0AC\uC6A9 \uC18D\uC131\uC740 \"literal\"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute={2} \uC791\uC5C5\uC758 \uD5E4\uB354 \uACB0\uD568 \uBD80\uBD84=\"{0}\" \uBA54\uC2DC\uC9C0=\"{1}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911 + +wsdlmodeler.invalid.headerfault.notLiteral=\uBC14\uC778\uB529 \uC791\uC5C5 \"{1}\"\uC758 \uBD80\uC801\uD569\uD55C \uD5E4\uB354 \uACB0\uD568 \"{0}\": \uB9AC\uD130\uB7F4\uC774 \uC544\uB2D9\uB2C8\uB2E4. +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor={2} \uC791\uC5C5\uC758 {1} \uD5E4\uB354\uC5D0 \uB300\uD55C \uBD80\uC801\uD569\uD55C \uD5E4\uB354 \uACB0\uD568 \"{0}\": \uBD80\uBD84\uC5D0\uB294 \"element\" \uC18D\uC131\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor={1} \uC791\uC5C5\uC5D0 \uBD80\uC801\uD569\uD55C \uD5E4\uB354 \"{0}\"\uC774(\uAC00) \uC788\uC74C: \uBD80\uBD84\uC5D0\uB294 \"element\" \uC18D\uC131\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=wsdl:import\uC5D0 \uBE44\uC900\uC218 WS-I WSDL\uC774 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.nonconforming.wsdl.types=wsdl:types\uC5D0 \uBE44\uC900\uC218 WS-I WSDL\uC774 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.nonconforming.wsdl.use=RPC \uC2A4\uD0C0\uC77C \uBC0F SOAP \uC778\uCF54\uB529\uC744 \uC0AC\uC6A9\uD558\uB294 WS-I \uBE44\uC900\uC218 \uC791\uC5C5 \"{0}\"\uC744(\uB97C) \uCC98\uB9AC\uD558\uB294 \uC911 + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=\"{1}\" \uBA54\uC2DC\uC9C0\uC5D0\uC11C \"{0}\" \uBD80\uBD84\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC798\uBABB\uB41C WSDL\uC785\uB2C8\uB2E4. + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=SOAP \uD3EC\uD2B8 \"{0}\": \uBE44\uD45C\uC900 SOAP 1.2 \uBC14\uC778\uB529\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringSOAPBinding12=SOAP \uD3EC\uD2B8 \"{0}\"\uC744(\uB97C) \uBB34\uC2DC\uD558\uB294 \uC911: \uBE44\uD45C\uC900 SOAP 1.2 \uBC14\uC778\uB529\uC744 \uC0AC\uC6A9\uD569\uB2C8\uB2E4.\n\uC774 \uBC14\uC778\uB529\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \"-extension\" \uC635\uC158\uC744 \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile \uBC84\uC804 1.0\uC5D0\uC11C\uB294 {0}\uC5D0 \uB300\uD55C \uBB38\uC11C/\uB9AC\uD130\uB7F4\uC5D0\uC11C namespace \uC18D\uC131\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC74C: \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile \uBC84\uC804 1.0\uC5D0\uC11C\uB294 {0}\uC5D0 \uB300\uD55C \uBB38\uC11C/\uB9AC\uD130\uB7F4\uC5D0\uC11C namespace \uC18D\uC131\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC74C: \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. Multipart/Related \uAD6C\uC870\uC5D0 \uBD80\uC801\uD569\uD55C \uB8E8\uD2B8 \uBD80\uBD84\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uB450 \uAC1C \uC774\uC0C1\uC758 soap:body \uBD80\uBD84\uC774 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=soap:body\uAC00 \uC788\uB294 \uB8E8\uD2B8 mime:part\uC5D0 \uD5E4\uB354\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \"{0}\" \uC791\uC5C5\uC758 \uD5E4\uB354\uB97C \uBB34\uC2DC\uD558\uB294 \uC911 + +# R2909 +mimemodeler.invalidMimeContent.differentPart=mime:part\uB97C \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. mime:part\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. mime:content\uC758 part \uC18D\uC131\uC774 \uB2E4\uB985\uB2C8\uB2E4. + +mimemodeler.invalidMimeContent.invalidSchemaType=mime:part\uB97C \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. mime part {0}\uC744(\uB97C) \uC2A4\uD0A4\uB9C8 \uC720\uD615 {1}\uC5D0 \uB9E4\uD551\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=wsdl:part \uC694\uC18C\uAC00 mime:content part \uC18D\uC131\uC5D0\uC11C \uCC38\uC870\uB428: {0}\uC740(\uB294) type \uC18D\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC815\uC758\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4! + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. mime:content\uC5D0 part \uC18D\uC131\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. mime:content \uC120\uC5B8\uC5D0\uB294 part \uC18D\uC131\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +mimemodeler.invalidMimeContent.missingTypeAttribute=\"{0}\" \uC791\uC5C5\uC758 mime:content\uC5D0 type \uC18D\uC131\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. mime:content \uC120\uC5B8\uC5D0\uB294 part \uC18D\uC131\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType={1}\uC740(\uB294) mime:content \uBD80\uBD84 {0}\uC5D0 \uB300\uD574 \uC54C \uC218 \uC5C6\uB294 \uC2A4\uD0A4\uB9C8 \uC720\uD615\uC785\uB2C8\uB2E4. +mimemodeler.invalidMimeContent.errorLoadingJavaClass=mime \uC720\uD615 \"{1}\"\uC5D0 \uB300\uD55C \"{0}\" \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=mime:part\uB97C \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. wsdl:operation \"{1}\"\uC5D0\uC11C mime:content\uAC00 \uCC38\uC870\uD55C \"{0}\" \uBD80\uBD84\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +mimemodeler.elementPart.invalidElementMimeType=mime:content \uBD80\uBD84\uC774 element \uC18D\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC815\uC758\uB41C wsdl:part \"{0}\"\uC744(\uB97C) \uCC38\uC870\uD569\uB2C8\uB2E4. mime \uC720\uD615 \"{1}\"\uC774(\uAC00) XML \uC9C1\uB82C\uD654\uC5D0 \uC801\uD569\uD55C\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=\"{0}\" \uC791\uC5C5\uC758 wsdl:part\uC5D0 \uB300\uD55C name \uC18D\uC131\uC774 \uBB34\uC2DC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. WS-I AP 1.0\uC5D0 \uB530\uB77C \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + + +wsdlmodeler20.rpcenc.not.supported=JAXWS 2.0\uC5D0\uC11C\uB294 RPC/\uC778\uCF54\uB529\uB41C WSDL\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wsdlmodeler.warning.ignoringOperation.notNCName=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uC774\uB984\uC5D0 \uC798\uBABB\uB41C \uBB38\uC790 ''{1}''\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. RPC \uB9AC\uD130\uB7F4 \uC791\uC5C5\uC785\uB2C8\uB2E4. JAXWS\uAC00 \uC9C1\uB82C\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB9E4\uAC1C\uBCC0\uC218\uC778 wsdl:message \"{1}\"\uC758 "{2}\" \uBD80\uBD84\uC774 java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uAC70\uB098 wsdl:part \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=\"{0}\" \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB9E4\uAC1C\uBCC0\uC218\uC778 wsdl:message \"{1}\"\uC758 "{2}\" \uBD80\uBD84\uC774 java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uAC70\uB098 wsdl:part \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC804\uC5ED \uC694\uC18C \"{2}\"\uC5D0 \uC788\uB294 \uB798\uD37C \uD558\uC704 \"{1}\"\uC758 \uB85C\uCEEC \uC774\uB984\uC774 java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=\"{0}\" \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC804\uC5ED \uC694\uC18C \"{2}\"\uC5D0 \uC788\uB294 \uB798\uD37C \uD558\uC704 \"{1}\"\uC758 \uB85C\uCEEC \uC774\uB984\uC774 java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB9E4\uAC1C\uBCC0\uC218\uC778 \uC0AC\uC6A9\uC790 \uC815\uC758\uB41C \uC774\uB984 \"{1}\"\uC774(\uAC00) java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=\"{0}\" \uC791\uC5C5\uC744 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB9E4\uAC1C\uBCC0\uC218\uC778 \uC0AC\uC6A9\uC790 \uC815\uC758\uB41C \uC774\uB984 \"{1}\"\uC774(\uAC00) java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. java \uC608\uC57D\uC5B4\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uC791\uC5C5 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=\"{0}\" \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. java \uC608\uC57D\uC5B4\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uD1B5\uD574 \uC791\uC5C5 \uC774\uB984\uC744 \uBCC0\uACBD\uD558\uC2ED\uC2DC\uC624. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=\"{0}\" \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. wsdl:operation\uC758 \uC0AC\uC6A9\uC790 \uC815\uC758\uB41C \uC774\uB984 \"{1}\"\uC774(\uAC00) java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=\"{0}\" \uC791\uC5C5\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. java \uBA54\uC18C\uB4DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. wsdl:operation\uC758 \uC0AC\uC6A9\uC790 \uC815\uC758\uB41C \uC774\uB984 \"{1}\"\uC774(\uAC00) java \uD0A4\uC6CC\uB4DC\uC785\uB2C8\uB2E4. + +wsdlmodeler.jaxb.javatype.notfound=\uBA54\uC2DC\uC9C0 \uBD80\uBD84 \"{1}\"\uC758 \uC2A4\uD0A4\uB9C8 \uAE30\uC220\uC790 {0}\uC774(\uAC00) \uC815\uC758\uB418\uC9C0 \uC54A\uC558\uC73C\uBA70 Java\uC5D0 \uBC14\uC778\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC2A4\uD0A4\uB9C8 \uAE30\uC220\uC790 {0}\uC774(\uAC00) WSDL\uC5D0 \uC784\uD3EC\uD2B8/\uD3EC\uD568\uB41C \uC2A4\uD0A4\uB9C8\uC5D0 \uC815\uC758\uB418\uC9C0 \uC54A\uC740 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. \uD574\uB2F9 \uC784\uD3EC\uD2B8/\uD3EC\uD568\uC744 \uCD94\uAC00\uD560 \uC218\uB3C4 \uC788\uACE0, wsimport\uB97C \uC2E4\uD589\uD55C \uD6C4 -b \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC2A4\uD0A4\uB9C8 \uC704\uCE58\uB97C \uC81C\uACF5\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. +wsdlmodeler.unsupportedBinding.mime=\uD604\uC7AC WSDL MIME \uBC14\uC778\uB529\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4! + +wsdlmodeler.nonUnique.body.error=\uACE0\uC720\uD558\uC9C0 \uC54A\uC740 \uBCF8\uBB38 \uBD80\uBD84\uC785\uB2C8\uB2E4! \uC791\uC5C5 \uD560\uB2F9\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC218\uD589\uD558\uB824\uBA74 BP 1.1 R2710\uC5D0 \uB530\uB77C \uD3EC\uD2B8\uC5D0\uC11C \uC791\uC5C5\uC5D0 \uACE0\uC720\uD55C \uC791\uC5C5 \uC11C\uBA85\uC774 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. {0} \uD3EC\uD2B8\uC5D0\uC11C \"{1}\" \uC791\uC5C5\uACFC \"{2}\" \uC791\uC5C5\uC758 \uC694\uCCAD \uBCF8\uBB38 \uBE14\uB85D {3}\uC774(\uAC00) \uB3D9\uC77C\uD569\uB2C8\uB2E4. -extension \uC2A4\uC704\uCE58\uB97C \uC0AC\uC6A9\uD558\uC5EC wsimport\uB97C \uC2E4\uD589\uD574 \uBCF4\uC2ED\uC2DC\uC624. \uB7F0\uD0C0\uC784\uC774 SOAPAction\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2DC\uB3C4\uD569\uB2C8\uB2E4. +wsdlmodeler.nonUnique.body.warning=\uACE0\uC720\uD558\uC9C0 \uC54A\uC740 \uBCF8\uBB38 \uBD80\uBD84\uC785\uB2C8\uB2E4! \uC791\uC5C5 \uD560\uB2F9\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC218\uD589\uD558\uB824\uBA74 BP 1.1 R2710\uC5D0 \uB530\uB77C \uD3EC\uD2B8\uC5D0\uC11C \uC791\uC5C5\uC5D0 \uACE0\uC720\uD55C \uC791\uC5C5 \uC11C\uBA85\uC774 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. {0} \uD3EC\uD2B8\uC5D0\uC11C \"{1}\" \uC791\uC5C5\uACFC \"{2}\" \uC791\uC5C5\uC758 \uC694\uCCAD \uBCF8\uBB38 \uBE14\uB85D {3}\uC774(\uAC00) \uB3D9\uC77C\uD569\uB2C8\uB2E4. \uBA54\uC18C\uB4DC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2E4\uD328\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB7F0\uD0C0\uC784\uC774 SOAPAction\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2DC\uB3C4\uD569\uB2C8\uB2E4. + +wsdlmodeler.rpclit.unkownschematype=XML \uC720\uD615 \"{0}\"\uC744(\uB97C) \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. XML\uACFC JAVA \uAC04\uC758 \uBC14\uC778\uB529\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4! wsdl:message \"{2}\"\uC758 wsdl:part \"{1}\"\uC744(\uB97C) \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +wsdlmodeler.responsebean.notfound=wsimport\uAC00 \uC791\uC5C5\uC5D0 \uB300\uD55C \uBE44\uB3D9\uAE30 \uC751\uB2F5 Bean \uC0DD\uC131\uC744 \uC2E4\uD328\uD568: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=erro do modelador: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=opera\u00E7\u00E3o inv\u00E1lida: {0} +wsdlmodeler.invalidState.modelingOperation=estado inv\u00E1lido ao modelar a opera\u00E7\u00E3o: {0} +wsdlmodeler.resultIsInOutParameter=o resultado \u00E9 o par\u00E2metro \"inout\" na opera\u00E7\u00E3o: {0} +wsdlmodeler.invalid.parameterorder.parameter=\"{0}\" especificado no atributo parameterOrder da opera\u00E7\u00E3o \"{1}\" n\u00E3o \u00E9 uma parte v\u00E1lida da mensagem. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=mais de uma parte omitida no atributo parameterOrder da opera\u00E7\u00E3o \"{0}\" +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=o atributo parameterOrder na opera\u00E7\u00E3o \"{0}\" \u00E9 inv\u00E1lido, ignorando a dica parameterOrder +wsdlmodeler.invalid.parameter.differentTypes=o par\u00E2metro \"{0}\" da opera\u00E7\u00E3o \"{1}\" aparece com diferentes tipos nas mensagens de entrada e sa\u00EDda +wsdlmodeler.invalid.bindingOperation.notInPortType=na opera\u00E7\u00E3o de bind \"{1}\", a opera\u00E7\u00E3o \"{0}\" n\u00E3o aparece no tipo de porta correspondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=a mensagem de entrada da opera\u00E7\u00E3o de bind \"{0}\" n\u00E3o tem uma extens\u00E3o de corpo SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=a mensagem de sa\u00EDda da opera\u00E7\u00E3o de bind \"{0}\" n\u00E3o tem uma extens\u00E3o de corpo SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=a opera\u00E7\u00E3o de bind \"{0}\" deve especificar um nome para sua mensagem de entrada +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=a opera\u00E7\u00E3o de bind \"{0}\" deve especificar um nome para sua mensagem de sa\u00EDda +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=na opera\u00E7\u00E3o de bind \"{1}\", a opera\u00E7\u00E3o \"{0}\" n\u00E3o faz refer\u00EAncia a uma opera\u00E7\u00E3o exclusiva no tipo de porta correspondente +wsdlmodeler.invalid.bindingOperation.notFound=na opera\u00E7\u00E3o de bind \"{1}\", a opera\u00E7\u00E3o \"{0}\" n\u00E3o corresponde a uma opera\u00E7\u00E3o exclusiva no tipo de porta correspondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=a mensagem de entrada da opera\u00E7\u00E3o de bind \"{0}\" deve especificar um valor para o atributo \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=a mensagem de sa\u00EDda da opera\u00E7\u00E3o de bind \"{0}\" deve especificar um valor para o atributo \"namespace\" +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=o cabe\u00E7alho de entrada \"{1}\" da opera\u00E7\u00E3o de bind \"{0}\" deve especificar um valor para o atributo \"namespace\" +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=o cabe\u00E7alho de sa\u00EDda \"{1}\" da opera\u00E7\u00E3o de bind \"{0}\" deve especificar um valor para o atributo \"namespace\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=a falha \"{0}\" na opera\u00E7\u00E3o \"{1}\" corresponde a mais de uma falha na opera\u00E7\u00E3o do tipo de porta correspondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=a falha \"{0}\" na opera\u00E7\u00E3o \"{1}\" n\u00E3o corresponde a nenhuma falha na opera\u00E7\u00E3o do tipo de porta correspondente +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=a falha \\"{0}\\" na opera\u00E7\u00E3o portType \\"{1}\\" n\u00E3o corresponde a nenhuma falha na opera\u00E7\u00E3o de bind correspondente +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=a falha \"{0}\" na opera\u00E7\u00E3o \"{1}\" n\u00E3o tem uma extens\u00E3o de falha SOAP +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=a falha \\"{0}\\" na opera\u00E7\u00E3o \\"{1}\\" deve especificar um valor para o atributo \\"name\\" +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=a falha \\"{0}\\" na opera\u00E7\u00E3o \\"{1}\\" deve especificar um valor para o atributo \\"namespace\\" +wsdlmodeler.invalid.bindingFault.emptyMessage=a falha \"{0}\" refere-se \u00E0 mensagem \"{1}\", mas a mensagem n\u00E3o tem partes +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=a falha \"{0}\" refere-se \u00E0 mensagem \"{1}\", mas a mensagem tem mais de uma parte +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=na mensagem \\"{0}\\", a parte \\"{1}\\" deve especificar um atributo \\"element\\" +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=ocorreu o seguinte conflito de nomea\u00E7\u00E3o: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=ignorando o elemento do esquema (vers\u00E3o n\u00E3o suportada): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes=encontrou {0} tipo(s) reconhecido(s) +wsdlmodeler.warning.noServiceDefinitionsFound=O documento WSDL n\u00E3o define nenhum servi\u00E7o +wsdlmodeler.warning.noPortsInService=O servi\u00E7o \\"{0}\\" n\u00E3o cont\u00E9m nenhuma porta utiliz\u00E1vel. Tente executar wsimport com a chave -extension. +wsdlmodeler.warning.noOperationsInPort=A porta \"{0}\" n\u00E3o cont\u00E9m nenhuma opera\u00E7\u00E3o utiliz\u00E1vel +wsdlmodeler.warning.ignoringNonSOAPPort=ignorando a porta \\"{0}\\": n\u00E3o \u00E9 uma porta SOAP padr\u00E3o. Tente executar wsimport com a chave -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=a porta \\"{0}\\": n\u00E3o \u00E9 uma porta SOAP padr\u00E3o. Os artefatos gerados n\u00E3o funcionam com o runtime de JAX-WS. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=ignorando a porta \\"{0}\\": nenhum endere\u00E7o SOAP especificado. Tente executar wsimport com a chave -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=A porta \\"{0}\\" n\u00E3o \u00E9 uma porta SOAP; ela n\u00E3o tem soap:address +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:ignorando a porta \\"{0}\\" SOAP: transporte n\u00E3o reconhecido. Tente executar wsimport com a chave -extension. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=ignorando a porta \\"{0}\\", ela n\u00E3o \u00E9 compat\u00EDvel com WS-I BP 1.1: o bind do wsdl tem estilo misturado. Ele deve ser literal de rpc ou uma opera\u00E7\u00E3o literal do documento. Tente executar wsimport com a chave -extension. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=n\u00E3o \u00E9 uma porta SOAP \\"{0}\\" compat\u00EDvel com WS-I BP1.1: o bind do WSDL tem estilo misto, deve ser uma opera\u00E7\u00E3o de literal do documento ou literal de rpc! + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=ignorando opera\u00E7\u00E3o \"{0}\": n\u00E3o \u00E9 solicita\u00E7\u00E3o-resposta ou unidirecional +wsdlmodeler.invalid.operation.notSupportedStyle=WSDL inv\u00E1lido, wsdl:operation \\"{0}\\" no wsdl:portType \\"{1}\\": nenhuma solicita\u00E7\u00E3o-resposta ou unidirecional +wsdlmodeler.warning.ignoringOperation.notEncoded=ignorando opera\u00E7\u00E3o RPC-style \"{0}\": par\u00E2metros n\u00E3o codificados +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=ignorando opera\u00E7\u00E3o \\"{0}\\": n\u00E3o \u00E9 poss\u00EDvel tratar o atributo \\"parts\\" do elemento \\"soap:body\\" + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=ignorando opera\u00E7\u00E3o \"{0}\": a parte da mensagem n\u00E3o se refere a uma declara\u00E7\u00E3o de elemento do esquema +wsdlmodeler.invalid.doclitoperation=wsdl:operation \\"{0}\\" inv\u00E1lida: \u00E9 uma opera\u00E7\u00E3o do documento-literal, a parte da mensagem deve se referir a uma declara\u00E7\u00E3o de elemento do esquema + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=ignorando opera\u00E7\u00E3o \"{0}\": a parte da mensagem n\u00E3o se refere a uma declara\u00E7\u00E3o do tipo de esquema +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \\"{0}\\" inv\u00E1lida: \u00E9 uma opera\u00E7\u00E3o de literal de rpc, a parte da mensagem deve se referir a uma declara\u00E7\u00E3o do tipo de esquema + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=ignorando opera\u00E7\u00E3o \\"{0}\\": n\u00E3o \u00E9 poss\u00EDvel tratar as opera\u00E7\u00F5es de estilo do documento +wsdlmodeler.warning.bindingOperation.multiplePartBinding=Verifique o bind da opera\u00E7\u00E3o \\"{0}\\" abstrata, a parte \\"{1}\\" tem v\u00E1rios binds. Tentar\u00E1 gerar artefatos... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=bind da opera\u00E7\u00E3o \\"{0}\\" abstrata, a parte \\"{1}\\" tem v\u00E1rios binds. +wsdlmodeler.warning.ignoringFaults=ignorando falhas declaradas pela opera\u00E7\u00E3o \"{0}\" +wsdlmodeler.warning.ignoringFault.notEncoded=ignorando a falha \\"{0}\\" literal da opera\u00E7\u00E3o \\"{1}\\" de bind +wsdlmodeler.warning.ignoringFault.notLiteral=ignorando a falha \\"{0}\\" codificada da opera\u00E7\u00E3o \\"{1}\\" de bind +wsdlmodeler.invalid.operation.fault.notLiteral=ignorando a falha \"{0}\" codificada da opera\u00E7\u00E3o \\"{1}\\" de associa\u00E7\u00E3o literal +wsdlmodeler.warning.ignoringHeader=ignorando cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\" +wsdlmodeler.warning.ignoringHeader.partFromBody=a parte do cabe\u00E7alho: \\"{0}\\" j\u00E1 foi associada por soapbind:body, inv\u00E1lida para associar a parte duas vezes +wsdlmodeler.warning.ignoringHeader.notLiteral=ignorando cabe\u00E7alho \"{0}\" da opera\u00E7\u00E3o de bind \"{1}\": n\u00E3o literal +wsdlmodeler.invalid.header.notLiteral=Cabe\u00E7alho \\"{0}\\" inv\u00E1lido da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o literal +wsdlmodeler.warning.ignoringHeader.notFound=ignorando cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o encontrado +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o encontrado +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=ignorando cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o \u00E9 poss\u00EDvel resolver a mensagem +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o \u00E9 poss\u00EDvel resolver a mensagem + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=ignorando falha \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o \u00E9 poss\u00EDvel resolver a mensagem +wsdlmodeler.invalid.fault.cant.resolve.message=n\u00E3o foi poss\u00EDvel resolver a mensagem de falha "{0}\\" na opera\u00E7\u00E3o de bind \\"{1}\\" + +wsdlmodeler.warning.ignoringHeader.notEncoded=ignorando cabe\u00E7alho \"{0}\" da opera\u00E7\u00E3o de bind \"{1}\": n\u00E3o codificado por SOAP +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=ignorando cabe\u00E7alho \\"{0}\\" da opera\u00E7\u00E3o de bind \\"{1}\\": parte n\u00E3o encontrada +# +wsdlmodeler.warning.ignoringOperation.notLiteral=ignorando opera\u00E7\u00E3o de estilo do documento \"{0}\": os par\u00E2metros n\u00E3o s\u00E3o literais +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=ignorando opera\u00E7\u00E3o \"{0}\": mais de uma parta na mensagem de entrada +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=ignorando opera\u00E7\u00E3o \"{0}\": mensagem de entrada vazia +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=ignorando opera\u00E7\u00E3o \"{0}\": mais de uma parta na mensagem de sa\u00EDda +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=Ignorando opera\u00E7\u00E3o \"{0}\": mais de uma parte vinculada ao corpo +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=opera\u00E7\u00E3o \"{0}\": mais de uma parte vinculada ao corpo +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=ignorando opera\u00E7\u00E3o \"{0}\": mensagem de sa\u00EDda vazia +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=ignorando opera\u00E7\u00E3o \\"{0}\\": o estilo de bind e o estilo da opera\u00E7\u00E3o est\u00E3o em conflito +wsdlmodeler.warning.ignoringOperation.partNotFound=ignorando opera\u00E7\u00E3o \"{0}\": parte \"{1}\" n\u00E3o encontrada +wsdlmodeler.error.partNotFound=n\u00E3o foi poss\u00EDvel resolver a parte \"{1}\" da opera\u00E7\u00E3o \"{0}\"! +wsdlmodeler.warning.ignoringFault.documentOperation=ignorando falha \"{0}\" da opera\u00E7\u00E3o \"{1}\" do estilo de documento +wsdlmodler.warning.operation.use=O WSDL usado tem opera\u00E7\u00F5es com uso codificado e literal. -f:searchschema n\u00E3o \u00E9 suportado para este cen\u00E1rio. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=o nome de soap:fault \\"{0}\\" n\u00E3o corresponde ao nome do wsdl:fault \\"{1}\\" na opera\u00E7\u00E3o \\"{2}\\" +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=nome de soap:fault n\u00E3o especificado, wsdl:fault \\"{0}\\" na opera\u00E7\u00E3o \\"{1}\\" + +wsdlmodeler.duplicate.fault.part.name=ignorando falha \"{0}\" da opera\u00E7\u00E3o \"{1}\", o nome da parte \"{2}\" n\u00E3o \u00E9 exclusivo +wsdlmodeler.duplicate.fault.soap.name=ignorando falha \\"{0}\\" da opera\u00E7\u00E3o \\"{1}\\", o nome de soap:fault \\"{2}\\" n\u00E3o \u00E9 exclusivo + +wsdlmodeler.warning.ignoringHeaderFault.notFound=ignorando falha do cabe\u00E7alho \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel localizar a parte \\"{1}\\" no bind \\"{2}\\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=ignorando parte de falha do cabe\u00E7alho=\"{0}\" mensagem=\"{1}\" da opera\u00E7\u00E3o {2}, o atributo de uso deve ser \"literal\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=ignorando parte de falha do cabe\u00E7alho=\"{0}\" mensagem=\"{1}\" da opera\u00E7\u00E3o {2} + +wsdlmodeler.invalid.headerfault.notLiteral=headerfault \\"{0}\\" inv\u00E1lido da opera\u00E7\u00E3o de bind \\"{1}\\": n\u00E3o literal +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=headerfault \\"{0}\\" inv\u00E1lido do cabe\u00E7alho {1} na opera\u00E7\u00E3o {2}: a parte deve especificar um atributo \\"element\\" +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=cabe\u00E7alho \\"{0}\\" inv\u00E1lido na opera\u00E7\u00E3o {1}: a parte deve especificar um atributo \\"element\\" + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=WSDL de WS-I incompat\u00EDvel usado para wsdl:import +wsdlmodeler.warning.nonconforming.wsdl.types=WSDL de WS-I incompat\u00EDvel usado para wsdl:types +wsdlmodeler.warning.nonconforming.wsdl.use=Processando opera\u00E7\u00E3o incompat\u00EDvel com WS-I \"{0}\" com Estilo RPC e codificada com SOAP + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=partes \"{0}\" n\u00E3o encontradas na mensagem \"{1}\", WSDL incorreto + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=a porta SOAP \\"{0}\\": usa um bind de SOAP 1.2 n\u00E3o padr\u00E3o. +wsdlmodeler.warning.ignoringSOAPBinding12=Ignorando a porta SOAP \\"{0}\\": ela usa bind de SOAP 1.2 n\u00E3o padr\u00E3o.\nVoc\u00EA deve especificar a op\u00E7\u00E3o \\"-extension\\" para usar este bind. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile vers\u00E3o 1.0, atributo de namespace n\u00E3o permitido em doc/lit para {0}: \\"{1}\\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile vers\u00E3o 1.0, atributo de namespace n\u00E3o permitido em doc/lit ou rpc/lit para {0}: \\"{1}\\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=Ignorando opera\u00E7\u00E3o \\"{0}\\". A estrutura com V\u00E1rias Partes/Relacionada tem parte da raiz inv\u00E1lida: mais de uma parte soap:body encontrada + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=Os cabe\u00E7alhos n\u00E3o est\u00E3o na raiz mime:parte com soap:body, ignorando cabe\u00E7alhos na opera\u00E7\u00E3o \\"{0}\\" + +# R2909 +mimemodeler.invalidMimeContent.differentPart=Ignorando mime:part. mime:part inv\u00E1lido, mime:content tem atributo de parte diferente. + +mimemodeler.invalidMimeContent.invalidSchemaType=Ignorando mime:part. mime part: {0} n\u00E3o pode ser mapeado para o tipo de esquema: {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=elemento wsdl:part mencionado pelo atributo da parte mime:content: {0} deve ser definido usando o atributo de tipo! + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=Ignorando a opera\u00E7\u00E3o \\"{0}\\", atributo da parte n\u00E3o encontrado no mime:content. O atributo da parte deve estar presente na declara\u00E7\u00E3o de mime:content. + +mimemodeler.invalidMimeContent.missingTypeAttribute=Atributo do tipo n\u00E3o encontrado no mime:content na opera\u00E7\u00E3o \\"{0}\\". O atributo da parte deve estar presente na declara\u00E7\u00E3o de mime:content. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=Tipo de esquema: {1} desconhecido para a parte mime:content: {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=N\u00E3o foi poss\u00EDvel localizar a classe \"{0}\" do tipo de mime \"{1}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=ignorando mime:part, n\u00E3o \u00E9 poss\u00EDvel localizar a parte \\"{0}\\" mencionada por mime:content em wsdl:operation \\"{1}\\" + +mimemodeler.elementPart.invalidElementMimeType=A parte mime:content refere-se a wsdl:part \\"{0}\\", definida usando o atributo do elemento. Certifique-se de que o tipo mime: \\"{1}\\" \u00E9 apropriado para serializar o XML. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=o atributo de nome em wsdl:part na Opera\u00E7\u00E3o \\"{0}\\" foi ignorado. N\u00E3o \u00E9 permitido conforme WS-I AP 1.0. + + +wsdlmodeler20.rpcenc.not.supported=wsdls de rpc/codificados n\u00E3o s\u00E3o suportados em JAXWS 2.0. +wsdlmodeler.warning.ignoringOperation.notNCName=Ignorando a opera\u00E7\u00E3o \\"{0}\\", ela tem caractere ''{1}'' inv\u00E1lido em seu nome. Sua opera\u00E7\u00E3o literal de rpc - jaxws n\u00E3o poder\u00E1 serializ\u00E1-la! + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=Ignorando a opera\u00E7\u00E3o \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. Par\u00E2metro: parte "{2}\\" em wsdl:message \\"{1}\\", \u00E9 uma palavra-chave de java. Use a personaliza\u00E7\u00E3o para alterar o nome do par\u00E2metro ou alterar o wsdl:part name. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=Opera\u00E7\u00E3o inv\u00E1lida \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. Par\u00E2metro: parte "{2}\\" em wsdl:message \\"{1}\\", \u00E9 uma palavra-chave de java. Use a personaliza\u00E7\u00E3o para alterar o nome do par\u00E2metro ou alterar o wsdl:part name. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=Ignorando a opera\u00E7\u00E3o \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o par\u00E2metro do m\u00E9todo java. O nome do local do filho do encapsulador do filho do encapsulador \\"{1}\\" no elemento \\"{2}\\" global \u00E9 uma palavra-chave java. Use a personaliza\u00E7\u00E3o para alterar o nome do par\u00E2metro. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=Opera\u00E7\u00E3o \\"{0}\\" inv\u00E1lida, n\u00E3o \u00E9 poss\u00EDvel gerar o par\u00E2metro do m\u00E9todo java. O nome do local do filho do encapsulador do filho do encapsulador \\"{1}\\" no elemento \\"{2}\\" global \u00E9 uma palavra-chave java. Use a personaliza\u00E7\u00E3o para alterar o nome do par\u00E2metro. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=Ignorando a opera\u00E7\u00E3o \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. O par\u00E2metro, nome personalizado \\"{1}\\" \u00E9 uma palavra-chave de java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=Opera\u00E7\u00E3o \\"{0}\\" inv\u00E1lida, n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. O par\u00E2metro, nome personalizado \\"{1}\\" \u00E9 uma palavra-chave de java. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=Ignorando a opera\u00E7\u00E3o \\"{0}\\", \u00E9 uma palavra reservada de java, n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. Use a personaliza\u00E7\u00E3o para alterar o nome da opera\u00E7\u00E3o. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=Opera\u00E7\u00E3o inv\u00E1lida \\"{0}\\", \u00E9 uma palavra reservada de java, n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java. Use a personaliza\u00E7\u00E3o para alterar o nome da opera\u00E7\u00E3o. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=Ignorando a opera\u00E7\u00E3o \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java, o nome personalizado \\"{1}\\" de wsdl:operation \u00E9 uma palavra-chave de java. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=Opera\u00E7\u00E3o inv\u00E1lida \\"{0}\\", n\u00E3o \u00E9 poss\u00EDvel gerar o m\u00E9todo java, o nome personalizado \\"{1}\\" de wsdl:operation \u00E9 uma palavra-chave de java. + +wsdlmodeler.jaxb.javatype.notfound=O descritor do esquema {0} na parte da mensagem \\"{1}\\" n\u00E3o foi definido e n\u00E3o p\u00F4de ser vinculado ao Java. Talvez o descritor do esquema {0} n\u00E3o seja definido no esquema importado/inclu\u00EDdo no WSDL. Voc\u00EA pode adicionar importa\u00E7\u00F5es/inclus\u00F5es ou executar wsimport e fornecer a localiza\u00E7\u00E3o do esquema usando a chave -b. +wsdlmodeler.unsupportedBinding.mime=O bind de MIME do WSDL n\u00E3o \u00E9 suportado no momento! + +wsdlmodeler.nonUnique.body.error=Sem partes do corpo exclusivas! Em uma porta, conforme BP 1.1 R2710, as opera\u00E7\u00F5es devem ter assinatura de opera\u00E7\u00E3o exclusiva na conex\u00E3o para obter despacho com sucesso. Na porta {0}, as Opera\u00E7\u00F5es \\"{1}\\" e \\"{2}\\" t\u00EAm o mesmo bloco do corpo da solicita\u00E7\u00E3o {3}. Tente executar wsimport com a chave -extension, o runtime tentar\u00E1 despachar usando SOAPAction +wsdlmodeler.nonUnique.body.warning=Sem partes do corpo exclusivas! Em uma porta, conforme BP 1.1 R2710, as opera\u00E7\u00F5es devem ter assinatura de opera\u00E7\u00E3o exclusiva na conex\u00E3o para obter despacho com sucesso. Na porta {0}, as Opera\u00E7\u00F5es \\"{1}\\" e \\"{2}\\" t\u00EAm o mesmo bloco do corpo da solicita\u00E7\u00E3o {3}. O m\u00E9todo de despacho pode falhar, o runtime tentar\u00E1 despachar usando SOAPAction + +wsdlmodeler.rpclit.unkownschematype=O tipo \\"{0}\\" de XML n\u00E3o p\u00F4de ser resolvido, falha de bind de JAVA! Verifique a wsdl:part \\"{1}\\" em wsdl:message \\"{2}\\". + +wsdlmodeler.responsebean.notfound=falha de wsimport ao gerar o bean de resposta ass\u00EDncrona da opera\u00E7\u00E3o: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=\u5EFA\u6A21\u7A0B\u5E8F\u9519\u8BEF: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=\u64CD\u4F5C\u65E0\u6548: {0} +wsdlmodeler.invalidState.modelingOperation=\u5BF9\u64CD\u4F5C\u5EFA\u6A21\u65F6\u7684\u72B6\u6001\u65E0\u6548: {0} +wsdlmodeler.resultIsInOutParameter=\u7ED3\u679C\u4E3A\u64CD\u4F5C\u4E2D\u7684 \"inout\" \u53C2\u6570: {0} +wsdlmodeler.invalid.parameterorder.parameter=\u64CD\u4F5C \"{1}\" \u7684 parameterOrder \u5C5E\u6027\u4E2D\u6307\u5B9A\u7684 \"{0}\" \u4E0D\u662F\u6D88\u606F\u7684\u6709\u6548\u90E8\u5206\u3002 +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=\u64CD\u4F5C \"{0}\" \u7684 parameterOrder \u5C5E\u6027\u9057\u6F0F\u4E86\u591A\u4E2A\u90E8\u5206 +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=\u64CD\u4F5C \"{0}\" \u4E0A\u7684 parameterOrder \u5C5E\u6027\u65E0\u6548, \u5FFD\u7565 parameterOrder \u63D0\u793A +wsdlmodeler.invalid.parameter.differentTypes=\u64CD\u4F5C \"{1}\" \u7684\u53C2\u6570 \"{0}\" \u5728\u8F93\u5165\u548C\u8F93\u51FA\u6D88\u606F\u4E2D\u4EE5\u4E0D\u540C\u7C7B\u578B\u663E\u793A +wsdlmodeler.invalid.bindingOperation.notInPortType=\u5728\u7ED1\u5B9A \"{1}\" \u4E2D, \u64CD\u4F5C \"{0}\" \u6CA1\u6709\u663E\u793A\u5728\u76F8\u5E94\u7684\u7AEF\u53E3\u7C7B\u578B\u4E2D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u5165\u6D88\u606F\u6CA1\u6709 SOAP \u4E3B\u4F53\u6269\u5C55 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u51FA\u6D88\u606F\u6CA1\u6709 SOAP \u4E3B\u4F53\u6269\u5C55 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u5FC5\u987B\u4E3A\u5176\u8F93\u5165\u6D88\u606F\u6307\u5B9A\u540D\u79F0 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u5FC5\u987B\u4E3A\u5176\u8F93\u51FA\u6D88\u606F\u6307\u5B9A\u540D\u79F0 +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=\u5728\u7ED1\u5B9A \"{1}\" \u4E2D, \u64CD\u4F5C \"{0}\" \u672A\u5F15\u7528\u76F8\u5E94\u7AEF\u53E3\u7C7B\u578B\u4E2D\u7684\u552F\u4E00\u64CD\u4F5C +wsdlmodeler.invalid.bindingOperation.notFound=\u5728\u7ED1\u5B9A \"{1}\" \u4E2D, \u64CD\u4F5C \"{0}\" \u4E0D\u4E0E\u76F8\u5E94\u7AEF\u53E3\u7C7B\u578B\u4E2D\u7684\u4EFB\u4F55\u64CD\u4F5C\u5339\u914D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u5165\u6D88\u606F\u5FC5\u987B\u6307\u5B9A \"namespace\" \u5C5E\u6027\u7684\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u51FA\u6D88\u606F\u5FC5\u987B\u6307\u5B9A \"namespace\" \u5C5E\u6027\u7684\u503C +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u5165\u6807\u5934 \"{1}\" \u5FC5\u987B\u6307\u5B9A \"namespace\" \u5C5E\u6027\u7684\u503C +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=\u7ED1\u5B9A\u64CD\u4F5C \"{0}\" \u7684\u8F93\u51FA\u6807\u5934 \"{1}\" \u5FC5\u987B\u6307\u5B9A \"namespace\" \u5C5E\u6027\u7684\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u4E0E\u76F8\u5E94\u7AEF\u53E3\u7C7B\u578B\u64CD\u4F5C\u4E2D\u7684\u591A\u4E2A\u6545\u969C\u5339\u914D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u4E0D\u4E0E\u76F8\u5E94\u7AEF\u53E3\u7C7B\u578B\u64CD\u4F5C\u4E2D\u7684\u4EFB\u4F55\u6545\u969C\u5339\u914D +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=portType \u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u4E0D\u4E0E\u76F8\u5E94\u7ED1\u5B9A\u64CD\u4F5C\u4E2D\u7684\u4EFB\u4F55\u6545\u969C\u5339\u914D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u6CA1\u6709 SOAP \u6545\u969C\u6269\u5C55 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u5FC5\u987B\u6307\u5B9A \"name\" \u5C5E\u6027\u7684\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C \"{0}\" \u5FC5\u987B\u6307\u5B9A \"namespace\" \u5C5E\u6027\u7684\u503C +wsdlmodeler.invalid.bindingFault.emptyMessage=\u6545\u969C \"{0}\" \u5F15\u7528\u4E86\u6D88\u606F \"{1}\", \u4F46\u6D88\u606F\u6CA1\u6709\u4EFB\u4F55\u90E8\u5206 +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=\u6545\u969C \"{0}\" \u5F15\u7528\u4E86\u6D88\u606F \"{1}\", \u4F46\u8BE5\u6D88\u606F\u6709\u591A\u4E2A\u90E8\u5206 +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=\u5728\u6D88\u606F \"{0}\" \u4E2D, \u90E8\u5206 \"{1}\" \u5FC5\u987B\u6307\u5B9A \"element\" \u5C5E\u6027 +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=\u53D1\u751F\u4EE5\u4E0B\u547D\u540D\u51B2\u7A81: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=\u5FFD\u7565\u6A21\u5F0F\u5143\u7D20 (\u4E0D\u652F\u6301\u7684\u7248\u672C): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes=\u9047\u5230{0}\u65E0\u6CD5\u8BC6\u522B\u7684\u7C7B\u578B +wsdlmodeler.warning.noServiceDefinitionsFound=WSDL \u6587\u6863\u672A\u5B9A\u4E49\u4EFB\u4F55\u670D\u52A1 +wsdlmodeler.warning.noPortsInService=\u670D\u52A1 \"{0}\" \u4E0D\u5305\u542B\u4EFB\u4F55\u53EF\u7528\u7AEF\u53E3\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 +wsdlmodeler.warning.noOperationsInPort=\u7AEF\u53E3 \"{0}\" \u4E0D\u5305\u542B\u4EFB\u4F55\u53EF\u7528\u64CD\u4F5C +wsdlmodeler.warning.ignoringNonSOAPPort=\u5FFD\u7565\u7AEF\u53E3 \"{0}\": \u4E0D\u662F\u6807\u51C6 SOAP \u7AEF\u53E3\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=\u7AEF\u53E3 \"{0}\": \u4E0D\u662F\u6807\u51C6 SOAP \u7AEF\u53E3\u3002\u751F\u6210\u7684 Artifact \u53EF\u80FD\u65E0\u6CD5\u7528\u4E8E JAX-WS \u8FD0\u884C\u65F6\u3002 +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=\u5FFD\u7565\u7AEF\u53E3 \"{0}\": \u672A\u6307\u5B9A SOAP \u5730\u5740\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=\u7AEF\u53E3 \"{0}\" \u4E0D\u662F SOAP \u7AEF\u53E3, \u5B83\u6CA1\u6709 soap:address +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:\u5FFD\u7565 SOAP \u7AEF\u53E3 \"{0}\": \u65E0\u6CD5\u8BC6\u522B\u7684\u4F20\u8F93\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=\u5FFD\u7565\u7AEF\u53E3 \"{0}\", \u5B83\u4E0E WS-I BP 1.1 \u4E0D\u517C\u5BB9: wsdl \u7ED1\u5B9A\u5177\u6709\u6DF7\u5408\u6837\u5F0F, \u5B83\u5FC5\u987B\u662F rpc-literal \u6216 document-literal \u64CD\u4F5C\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport\u3002 +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=\u4E0D\u662F WS-I BP1.1 \u517C\u5BB9\u7684 SOAP \u7AEF\u53E3 \"{0}\": WSDL \u7ED1\u5B9A\u5177\u6709\u6DF7\u5408\u6837\u5F0F, \u5B83\u5FC5\u987B\u662F rpc-literal \u6216 document-literal \u64CD\u4F5C! + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u4E0D\u662F\u8BF7\u6C42/\u54CD\u5E94\u6216\u5355\u5411 +wsdlmodeler.invalid.operation.notSupportedStyle=WSDL \u65E0\u6548, wsdl:portType \"{1}\" \u4E2D\u7684 wsdl:operation \"{0}\": \u4E0D\u662F\u8BF7\u6C42/\u54CD\u5E94\u6216\u5355\u5411 +wsdlmodeler.warning.ignoringOperation.notEncoded=\u5FFD\u7565 RPC \u6837\u5F0F\u64CD\u4F5C \"{0}\": \u53C2\u6570\u672A\u7F16\u7801 +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u65E0\u6CD5\u5904\u7406 \"soap:body\" \u5143\u7D20\u7684 \"parts\" \u5C5E\u6027 + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u6D88\u606F\u90E8\u5206\u672A\u5F15\u7528\u6A21\u5F0F\u5143\u7D20\u58F0\u660E +wsdlmodeler.invalid.doclitoperation=wsdl:operation \"{0}\" \u65E0\u6548: \u5B83\u662F document-literal \u64CD\u4F5C, \u6D88\u606F\u90E8\u5206\u5FC5\u987B\u5F15\u7528\u6A21\u5F0F\u5143\u7D20\u58F0\u660E + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u6D88\u606F\u90E8\u5206\u672A\u5F15\u7528\u6A21\u5F0F\u7C7B\u578B\u58F0\u660E +wsdlmodeler.invalid.rpclitoperation=wsdl:operation \"{0}\" \u65E0\u6548: \u5B83\u662F rpc-literal \u64CD\u4F5C, \u6D88\u606F\u90E8\u5206\u5FC5\u987B\u5F15\u7528\u6A21\u5F0F\u7C7B\u578B\u58F0\u660E + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u65E0\u6CD5\u5904\u7406\u6587\u6863\u6837\u5F0F\u64CD\u4F5C +wsdlmodeler.warning.bindingOperation.multiplePartBinding=\u68C0\u67E5\u62BD\u8C61\u64CD\u4F5C \"{0}\" \u7ED1\u5B9A, \u90E8\u5206 \"{1}\" \u5177\u6709\u591A\u4E2A\u7ED1\u5B9A\u3002\u4ECD\u5C06\u5C1D\u8BD5\u751F\u6210\u7684 Artifact... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=\u62BD\u8C61\u64CD\u4F5C \"{0}\" \u7ED1\u5B9A, \u90E8\u5206 \"{1}\" \u5177\u6709\u591A\u4E2A\u7ED1\u5B9A\u3002 +wsdlmodeler.warning.ignoringFaults=\u5FFD\u7565\u64CD\u4F5C \"{0}\" \u58F0\u660E\u7684\u6545\u969C +wsdlmodeler.warning.ignoringFault.notEncoded=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6587\u5B57\u6545\u969C \"{0}\" +wsdlmodeler.warning.ignoringFault.notLiteral=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u7F16\u7801\u6545\u969C \"{0}\" +wsdlmodeler.invalid.operation.fault.notLiteral=\u5FFD\u7565\u6587\u5B57\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u7F16\u7801\u6545\u969C \"{0}\" +wsdlmodeler.warning.ignoringHeader=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\" +wsdlmodeler.warning.ignoringHeader.partFromBody=\u6807\u5934\u90E8\u5206: \"{0}\" \u5DF2\u7531 soapbind:body \u7ED1\u5B9A, \u4E24\u6B21\u7ED1\u5B9A\u8BE5\u90E8\u5206\u662F\u975E\u6CD5\u7684 +wsdlmodeler.warning.ignoringHeader.notLiteral=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\" : \u4E0D\u662F\u6587\u5B57 +wsdlmodeler.invalid.header.notLiteral=\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\" \u65E0\u6548: \u4E0D\u662F\u6587\u5B57 +wsdlmodeler.warning.ignoringHeader.notFound=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u672A\u627E\u5230 +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u672A\u627E\u5230 +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u65E0\u6CD5\u89E3\u6790\u6D88\u606F +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u65E0\u6CD5\u89E3\u6790\u6D88\u606F + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6545\u969C \"{0}\": \u65E0\u6CD5\u89E3\u6790\u6D88\u606F +wsdlmodeler.invalid.fault.cant.resolve.message=\u65E0\u6CD5\u89E3\u6790\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u4E2D\u7684\u6545\u969C\u6D88\u606F \"{0}\" + +wsdlmodeler.warning.ignoringHeader.notEncoded=\u5FFD\u7565\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u4E0D\u662F SOAP \u7F16\u7801 +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=\u5FFD\u7565\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934 \"{0}\": \u672A\u627E\u5230\u90E8\u5206 +# +wsdlmodeler.warning.ignoringOperation.notLiteral=\u5FFD\u7565\u6587\u6863\u6837\u5F0F\u64CD\u4F5C \"{0}\": \u53C2\u6570\u4E0D\u662F\u6587\u5B57 +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u8F93\u5165\u6D88\u606F\u4E2D\u5305\u542B\u591A\u4E2A\u90E8\u5206 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u8F93\u5165\u6D88\u606F\u4E3A\u7A7A +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u8F93\u51FA\u6D88\u606F\u4E2D\u5305\u542B\u591A\u4E2A\u90E8\u5206 +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u6709\u591A\u4E2A\u90E8\u5206\u7ED1\u5B9A\u5230\u4E3B\u4F53 +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=\u64CD\u4F5C \"{0}\": \u6709\u591A\u4E2A\u90E8\u5206\u7ED1\u5B9A\u5230\u4E3B\u4F53 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u8F93\u51FA\u6D88\u606F\u4E3A\u7A7A +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u7ED1\u5B9A\u6837\u5F0F\u4E0E\u64CD\u4F5C\u6837\u5F0F\u53D1\u751F\u51B2\u7A81 +wsdlmodeler.warning.ignoringOperation.partNotFound=\u5FFD\u7565\u64CD\u4F5C \"{0}\": \u672A\u627E\u5230\u90E8\u5206 \"{1}\" +wsdlmodeler.error.partNotFound=\u65E0\u6CD5\u89E3\u6790\u64CD\u4F5C \"{0}\" \u7684\u90E8\u5206 \"{1}\"! +wsdlmodeler.warning.ignoringFault.documentOperation=\u5FFD\u7565\u6587\u6863\u6837\u5F0F\u64CD\u4F5C \"{1}\" \u7684\u6545\u969C \"{0}\" +wsdlmodler.warning.operation.use=\u4F7F\u7528\u7684 WSDL \u6709\u4F7F\u7528\u4E86\u6587\u5B57\u548C\u7F16\u7801\u7684\u64CD\u4F5C\u3002\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4E0D\u652F\u6301 -f:searchschema\u3002 +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=\u5728\u64CD\u4F5C \"{2}\" \u4E2D, soap:fault \"{0}\" \u7684\u540D\u79F0\u4E0E wsdl:fault \"{1}\" \u7684\u540D\u79F0\u4E0D\u5339\u914D +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=\u5728\u64CD\u4F5C \"{1}\" \u4E2D, \u6CA1\u6709\u4E3A wsdl:fault \"{0}\" \u6307\u5B9A soap:fault \u540D\u79F0 + +wsdlmodeler.duplicate.fault.part.name=\u5FFD\u7565\u64CD\u4F5C \"{1}\" \u7684\u6545\u969C \"{0}\", \u90E8\u5206\u540D\u79F0 \"{2}\" \u4E0D\u552F\u4E00 +wsdlmodeler.duplicate.fault.soap.name=\u5FFD\u7565\u64CD\u4F5C \"{1}\" \u7684\u6545\u969C \"{0}\", soap:fault \u540D\u79F0 \"{2}\" \u4E0D\u552F\u4E00 + +wsdlmodeler.warning.ignoringHeaderFault.notFound=\u5FFD\u7565\u6807\u5934\u6545\u969C \"{0}\", \u5728\u7ED1\u5B9A \"{2}\" \u4E2D\u627E\u4E0D\u5230\u90E8\u5206 \"{1}\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=\u5FFD\u7565\u64CD\u4F5C{2}\u7684\u6807\u5934\u6545\u969C\u90E8\u5206=\"{0}\" \u6D88\u606F=\"{1}\", \u4F7F\u7528\u5C5E\u6027\u5FC5\u987B\u4E3A \"literal\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=\u5FFD\u7565\u64CD\u4F5C{2}\u7684\u6807\u5934\u6545\u969C\u90E8\u5206=\"{0}\" \u6D88\u606F=\"{1}\" + +wsdlmodeler.invalid.headerfault.notLiteral=\u7ED1\u5B9A\u64CD\u4F5C \"{1}\" \u7684\u6807\u5934\u6545\u969C \"{0}\" \u65E0\u6548: \u4E0D\u662F\u6587\u5B57 +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=\u64CD\u4F5C{2}\u4E2D\u6807\u5934{1}\u7684\u6807\u5934\u6545\u969C \"{0}\" \u65E0\u6548: \u90E8\u5206\u5FC5\u987B\u6307\u5B9A \"element\" \u5C5E\u6027 +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=\u64CD\u4F5C{1}\u4E2D\u7684\u6807\u5934 \"{0}\" \u65E0\u6548: \u90E8\u5206\u5FC5\u987B\u6307\u5B9A \"element\" \u5C5E\u6027 + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=\u4E3A wsdl:import \u4F7F\u7528\u4E86\u4E0D\u4E00\u81F4\u7684 WS-I WSDL +wsdlmodeler.warning.nonconforming.wsdl.types=\u4E3A wsdl:types \u4F7F\u7528\u4E86\u4E0D\u4E00\u81F4\u7684 WS-I WSDL +wsdlmodeler.warning.nonconforming.wsdl.use=\u4F7F\u7528 RPC \u6837\u5F0F\u548C SOAP \u7F16\u7801\u5904\u7406 WS-I \u4E0D\u4E00\u81F4\u7684\u64CD\u4F5C \"{0}\" + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=\u5728\u6D88\u606F \"{1}\" \u4E2D\u627E\u4E0D\u5230\u90E8\u5206 \"{0}\", WSDL \u4E0D\u6B63\u786E + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=SOAP \u7AEF\u53E3 \"{0}\": \u4F7F\u7528\u975E\u6807\u51C6 SOAP 1.2 \u7ED1\u5B9A\u3002 +wsdlmodeler.warning.ignoringSOAPBinding12=\u5FFD\u7565 SOAP \u7AEF\u53E3 \"{0}\": \u5B83\u4F7F\u7528\u975E\u6807\u51C6 SOAP 1.2 \u7ED1\u5B9A\u3002\n\u5FC5\u987B\u6307\u5B9A \"-extension\" \u9009\u9879\u4EE5\u4F7F\u7528\u6B64\u7ED1\u5B9A\u3002 + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile \u7248\u672C 1.0, {0}\u7684 doc/lit \u4E2D\u4E0D\u5141\u8BB8\u6709\u540D\u79F0\u7A7A\u95F4\u5C5E\u6027: \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile \u7248\u672C 1.0, {0}\u7684 doc/lit \u6216 rpc/lit \u4E2D\u4E0D\u5141\u8BB8\u6709\u540D\u79F0\u7A7A\u95F4\u5C5E\u6027: \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=\u5FFD\u7565\u64CD\u4F5C \"{0}\"\u3002\u201C\u591A\u90E8\u5206/\u76F8\u5173\u201D\u7ED3\u6784\u5305\u542B\u65E0\u6548\u7684\u6839\u90E8\u5206: \u627E\u5230\u591A\u4E2A soap:body \u90E8\u5206 + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=\u6807\u5934\u4E0D\u5728\u5E26\u6709 soap:body \u7684\u6839 mime:part \u4E2D, \u5FFD\u7565\u64CD\u4F5C \"{0}\" \u4E2D\u7684\u6807\u5934 + +# R2909 +mimemodeler.invalidMimeContent.differentPart=\u5FFD\u7565 mime:part\u3002mime:part \u65E0\u6548, mime:content \u5177\u6709\u4E0D\u540C\u7684\u90E8\u5206\u5C5E\u6027\u3002 + +mimemodeler.invalidMimeContent.invalidSchemaType=\u5FFD\u7565 mime:part\u3002mime part: {0}\u65E0\u6CD5\u6620\u5C04\u5230\u6A21\u5F0F\u7C7B\u578B: {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=wsdl:part \u5143\u7D20\u7531 mime:content \u90E8\u5206\u5C5E\u6027\u5F15\u7528: \u5FC5\u987B\u4F7F\u7528\u7C7B\u578B\u5C5E\u6027\u5B9A\u4E49{0}! + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=\u5FFD\u7565\u64CD\u4F5C \"{0}\", mime:content \u4E2D\u7F3A\u5C11\u90E8\u5206\u5C5E\u6027\u3002mime:content \u58F0\u660E\u4E2D\u5FC5\u987B\u5B58\u5728\u90E8\u5206\u5C5E\u6027\u3002 + +mimemodeler.invalidMimeContent.missingTypeAttribute=\u64CD\u4F5C \"{0}\" \u7684 mime:content \u4E2D\u7F3A\u5C11\u7C7B\u578B\u5C5E\u6027\u3002mime:content \u58F0\u660E\u4E2D\u5FC5\u987B\u5B58\u5728\u90E8\u5206\u5C5E\u6027\u3002 + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=mime:content \u90E8\u5206\u7684\u672A\u77E5\u6A21\u5F0F\u7C7B\u578B{1}: {0} +mimemodeler.invalidMimeContent.errorLoadingJavaClass=\u627E\u4E0D\u5230 mime \u7C7B\u578B \"{1}\" \u7684\u7C7B \"{0}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=\u5FFD\u7565 mime:part, \u5728 wsdl:operation \"{1}\" \u4E2D\u627E\u4E0D\u5230\u7531 mime:content \u5F15\u7528\u7684\u90E8\u5206 \"{0}\" + +mimemodeler.elementPart.invalidElementMimeType=mime:content \u90E8\u5206\u5F15\u7528\u4F7F\u7528\u5143\u7D20\u5C5E\u6027\u5B9A\u4E49\u7684 wsdl:part \"{0}\"\u3002\u8BF7\u786E\u4FDD mime \u7C7B\u578B \"{1}\" \u9002\u5408\u5E8F\u5217\u5316 XML\u3002 + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=\u5FFD\u7565\u64CD\u4F5C \"{0}\" \u4E2D\u7684 wsdl:part \u7684\u540D\u79F0\u5C5E\u6027\u3002\u6839\u636E WS-I AP 1.0 \u89C4\u5B9A, \u4E0D\u5141\u8BB8\u6709\u8BE5\u5C5E\u6027\u3002 + + +wsdlmodeler20.rpcenc.not.supported=JAXWS 2.0 \u4E2D\u4E0D\u652F\u6301 rpc/\u7F16\u7801\u7684 wsdl\u3002 +wsdlmodeler.warning.ignoringOperation.notNCName=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u8BE5\u64CD\u4F5C\u7684\u540D\u79F0\u4E2D\u5305\u542B\u975E\u6CD5\u5B57\u7B26 ''{1}''\u3002jaxws \u65E0\u6CD5\u5BF9\u5176 rpc-literal \u64CD\u4F5C\u8FDB\u884C\u5E8F\u5217\u5316! + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002wsdl:message \"{1}\" \u4E2D\u7684\u53C2\u6570\u90E8\u5206 "{2}\" \u662F java \u5173\u952E\u5B57\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u53C2\u6570\u540D\u6216\u66F4\u6539 wsdl:part \u540D\u79F0\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=\u64CD\u4F5C \"{0}\" \u65E0\u6548, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002wsdl:message \"{1}\" \u4E2D\u7684\u53C2\u6570\u90E8\u5206 "{2}\" \u662F java \u5173\u952E\u5B57\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u53C2\u6570\u540D\u6216\u66F4\u6539 wsdl:part \u540D\u79F0\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u53C2\u6570\u3002\u5168\u5C40\u5143\u7D20 \"{2}\" \u4E2D\u5305\u88C5\u5B50\u7EA7 \"{1}\" \u7684\u672C\u5730\u540D\u79F0\u662F java \u5173\u952E\u5B57\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u53C2\u6570\u540D\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=\u64CD\u4F5C \"{0}\" \u65E0\u6548, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u53C2\u6570\u3002\u5168\u5C40\u5143\u7D20 \"{2}\" \u4E2D\u5305\u88C5\u5B50\u7EA7 \"{1}\" \u7684\u672C\u5730\u540D\u79F0\u662F java \u5173\u952E\u5B57\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u53C2\u6570\u540D\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002\u53C2\u6570\u7684\u5B9A\u5236\u540D\u79F0 \"{1}\" \u662F java \u5173\u952E\u5B57\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=\u64CD\u4F5C \"{0}\" \u65E0\u6548, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002\u53C2\u6570\u7684\u5B9A\u5236\u540D\u79F0 \"{1}\" \u662F java \u5173\u952E\u5B57\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u5B83\u662F java \u4FDD\u7559\u5173\u952E\u5B57, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u64CD\u4F5C\u540D\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=\u64CD\u4F5C \"{0}\" \u65E0\u6548, \u5B83\u662F java \u4FDD\u7559\u5173\u952E\u5B57, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002\u8BF7\u4F7F\u7528\u5B9A\u5236\u8BBE\u7F6E\u66F4\u6539\u8BE5\u64CD\u4F5C\u540D\u3002 + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=\u5FFD\u7565\u64CD\u4F5C \"{0}\", \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5\u3002wsdl:operation \u7684\u5B9A\u5236\u540D\u79F0 \"{1}\" \u662F java \u5173\u952E\u5B57\u3002 +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=\u64CD\u4F5C \"{0}\" \u65E0\u6548, \u65E0\u6CD5\u751F\u6210 java \u65B9\u6CD5, wsdl:operation \u7684\u5B9A\u5236\u540D\u79F0 \"{1}\" \u662F java \u5173\u952E\u5B57\u3002 + +wsdlmodeler.jaxb.javatype.notfound=\u6D88\u606F\u90E8\u5206 \"{1}\" \u4E2D\u7684\u6A21\u5F0F\u63CF\u8FF0\u7B26{0}\u672A\u5B9A\u4E49, \u65E0\u6CD5\u7ED1\u5B9A\u5230 Java\u3002\u53EF\u80FD\u662F\u672A\u5728\u5DF2\u5BFC\u5165/\u5305\u542B\u5728 WSDL \u4E2D\u7684\u6A21\u5F0F\u4E2D\u5B9A\u4E49\u6A21\u5F0F\u63CF\u8FF0\u7B26{0}\u3002\u53EF\u4EE5\u6DFB\u52A0\u6B64\u7C7B\u5BFC\u5165/\u5305\u542B\u9879, \u6216\u8005\u8FD0\u884C wsimport \u5E76\u4F7F\u7528 -b \u5F00\u5173\u63D0\u4F9B\u6A21\u5F0F\u4F4D\u7F6E\u3002 +wsdlmodeler.unsupportedBinding.mime=\u5F53\u524D\u4E0D\u652F\u6301 WSDL MIME \u7ED1\u5B9A! + +wsdlmodeler.nonUnique.body.error=\u975E\u552F\u4E00\u4E3B\u4F53\u90E8\u5206! \u6309\u7167 BP 1.1 R2710 \u89C4\u5B9A, \u5728\u7AEF\u53E3\u4E2D\u64CD\u4F5C\u5FC5\u987B\u5177\u6709\u552F\u4E00\u7684\u901A\u4FE1\u64CD\u4F5C\u7B7E\u540D\u624D\u80FD\u6210\u529F\u5206\u6D3E\u3002\u5728\u7AEF\u53E3 {0} \u4E2D, \u64CD\u4F5C \"{1}\" \u548C \"{2}\" \u5177\u6709\u76F8\u540C\u7684\u8BF7\u6C42\u4E3B\u4F53\u5757{3}\u3002\u8BF7\u5C1D\u8BD5\u8FD0\u884C\u5E26 -extension \u5F00\u5173\u7684 wsimport, \u8FD0\u884C\u65F6\u5C06\u5C1D\u8BD5\u4F7F\u7528 SOAPAction \u8FDB\u884C\u5206\u6D3E +wsdlmodeler.nonUnique.body.warning=\u975E\u552F\u4E00\u4E3B\u4F53\u90E8\u5206! \u6309\u7167 BP 1.1 R2710 \u89C4\u5B9A, \u5728\u7AEF\u53E3\u4E2D\u64CD\u4F5C\u5FC5\u987B\u5177\u6709\u552F\u4E00\u7684\u901A\u4FE1\u64CD\u4F5C\u7B7E\u540D\u624D\u80FD\u6210\u529F\u5206\u6D3E\u3002\u5728\u7AEF\u53E3 {0} \u4E2D, \u64CD\u4F5C \"{1}\" \u548C \"{2}\" \u5177\u6709\u76F8\u540C\u7684\u8BF7\u6C42\u4E3B\u4F53\u5757{3}\u3002\u65B9\u6CD5\u5206\u6D3E\u53EF\u80FD\u5931\u8D25, \u8FD0\u884C\u65F6\u5C06\u5C1D\u8BD5\u4F7F\u7528 SOAPAction \u8FDB\u884C\u5206\u6D3E + +wsdlmodeler.rpclit.unkownschematype=\u65E0\u6CD5\u89E3\u6790 XML \u7C7B\u578B \"{0}\", XML \u5230 JAVA \u7684\u7ED1\u5B9A\u5931\u8D25! \u8BF7\u68C0\u67E5 wsdl:message \"{2}\" \u4E2D\u7684 wsdl:part \"{1}\"\u3002 + +wsdlmodeler.responsebean.notfound=wsimport \u65E0\u6CD5\u4E3A\u64CD\u4F5C\u751F\u6210\u5F02\u6B65\u54CD\u5E94 bean: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/modeler_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,246 @@ +# +# Copyright (c) 2005, 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. +# + +# general +# Wrapped into an Exception. {0} - localizable exception message of another exception +modeler.nestedModelError=\u6A21\u578B\u88FD\u4F5C\u5668\u932F\u8AA4: {0} + + +# WSDLModeler +# Usage not found. TODO Remove +#wsdlmodeler.multipleOutputParameters=multiple \"out\" parameters in operation: {0} +wsdlmodeler.invalidOperation=\u7121\u6548\u7684\u4F5C\u696D: {0} +wsdlmodeler.invalidState.modelingOperation=\u9032\u884C\u6A21\u578B\u5316\u4F5C\u696D\u6642\u7684\u72C0\u614B\u7121\u6548: {0} +wsdlmodeler.resultIsInOutParameter=\u7D50\u679C\u662F\u4F5C\u696D {0} \u4E2D\u7684 \"inout\" \u53C3\u6578 +wsdlmodeler.invalid.parameterorder.parameter=\u4F5C\u696D \\"{1}\\" \u4E4B parameterOrder \u5C6C\u6027\u6307\u5B9A\u7684 \\"{0}\\" \u4E0D\u662F\u6709\u6548\u7684\u8A0A\u606F\u7D44\u4EF6. +wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts=\u4F5C\u696D \"{0}\" \u7684 parameterOrder \u5C6C\u6027\u6F0F\u6389\u4E00\u500B\u4EE5\u4E0A\u7684\u7D44\u4EF6 +wsdlmodeler.invalid.parameterOrder.invalidParameterOrder=\u4F5C\u696D \"{0}\" \u7684 parameterOrder \u5C6C\u6027\u7121\u6548, \u5FFD\u7565 parameterOrder \u63D0\u793A +wsdlmodeler.invalid.parameter.differentTypes=\u4F5C\u696D \"{1}\" \u7684\u53C3\u6578 \"{0}\" \u5728\u8F38\u5165\u548C\u8F38\u51FA\u8A0A\u606F\u4E2D\u4EE5\u4E0D\u540C\u7684\u985E\u578B\u51FA\u73FE +wsdlmodeler.invalid.bindingOperation.notInPortType=\u5728\u9023\u7D50 \"{1}\" \u4E2D, \u4F5C\u696D \"{0}\" \u672A\u986F\u793A\u5728\u5C0D\u61C9\u7684\u9023\u63A5\u57E0\u985E\u578B\u4E2D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u5165\u8A0A\u606F\u6C92\u6709 SOAP \u4E3B\u9AD4\u64F4\u5145 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u51FA\u8A0A\u606F\u6C92\u6709 SOAP \u4E3B\u9AD4\u64F4\u5145 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingInputName=\u9023\u7D50\u4F5C\u696D \"{0}\" \u5FC5\u9808\u6307\u5B9A\u5176\u8F38\u5165\u8A0A\u606F\u7684\u540D\u7A31 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.missingOutputName=\u9023\u7D50\u4F5C\u696D \"{0}\" \u5FC5\u9808\u6307\u5B9A\u5176\u8F38\u51FA\u8A0A\u606F\u7684\u540D\u7A31 +wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations=\u5728\u9023\u7D50 \"{1}\" \u4E2D, \u4F5C\u696D \"{0}\" \u672A\u53C3\u7167\u76F8\u5C0D\u61C9\u9023\u63A5\u57E0\u985E\u578B\u4E2D\u7684\u4E00\u9805\u552F\u4E00\u4F5C\u696D +wsdlmodeler.invalid.bindingOperation.notFound=\u5728\u9023\u7D50 \"{1}\" \u4E2D, \u4F5C\u696D \"{0}\" \u4E0D\u7B26\u5408\u76F8\u5C0D\u61C9\u9023\u63A5\u57E0\u985E\u578B\u4E2D\u7684\u4EFB\u4F55\u4F5C\u696D +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u5165\u8A0A\u606F\u5FC5\u9808\u70BA \"namespace\" \u5C6C\u6027\u6307\u5B9A\u4E00\u500B\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u51FA\u8A0A\u606F\u5FC5\u9808\u70BA \"namespace\" \u5C6C\u6027\u6307\u5B9A\u4E00\u500B\u503C +wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u5165\u6A19\u982D \"{1}\" \u5FC5\u9808\u6307\u5B9A \"namespace\" \u5C6C\u6027\u7684\u503C +wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace=\u9023\u7D50\u4F5C\u696D \"{0}\" \u7684\u8F38\u51FA\u6A19\u982D \"{1}\" \u5FC5\u9808\u6307\u5B9A \"namespace\" \u5C6C\u6027\u7684\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notUnique=\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u7B26\u5408\u5C0D\u61C9\u9023\u63A5\u57E0\u985E\u578B\u4F5C\u696D\u4E2D\u4E00\u500B\u4EE5\u4E0A\u7684\u932F\u8AA4 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.notFound=\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u4E0D\u7B26\u5408\u5C0D\u61C9\u9023\u63A5\u57E0\u985E\u578B\u4F5C\u696D\u4E2D\u7684\u4EFB\u4F55\u932F\u8AA4 +# Not concatenated with any other string. +wsdlmodeler.invalid.portTypeFault.notFound=portType \u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u4E0D\u7B26\u5408\u76F8\u5C0D\u61C9\u9023\u7D50\u4F5C\u696D\u4E2D\u7684\u4EFB\u4F55\u932F\u8AA4 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.outputMissingSoapFault=\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u6C92\u6709 SOAP \u932F\u8AA4\u64F4\u5145 +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingName=\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u5FC5\u9808\u6307\u5B9A \"name\" \u5C6C\u6027\u7684\u503C +# Not concatenated with any other string. +wsdlmodeler.invalid.bindingFault.missingNamespace=\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" \u5FC5\u9808\u6307\u5B9A \"namespace\" \u5C6C\u6027\u7684\u503C +wsdlmodeler.invalid.bindingFault.emptyMessage=\u932F\u8AA4 \"{0}\" \u8207\u8A0A\u606F \"{1}\" \u6709\u95DC, \u4F46\u662F\u8A0A\u606F\u6C92\u6709\u7D44\u4EF6 +wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart=\u932F\u8AA4 \"{0}\" \u8207\u8A0A\u606F \"{1}\" \u6709\u95DC, \u4F46\u662F\u8A0A\u606F\u6709\u4E00\u500B\u4EE5\u4E0A\u7684\u7D44\u4EF6 +# Usage not found. TODO Remove +#wsdlmodeler.invalid.message.partMustHaveTypeDescriptor=in message \"{0}\", part \"{1}\" must specify a \"type\" attribute +# Not concatenated with any other string. +wsdlmodeler.invalid.message.partMustHaveElementDescriptor=\u5728\u8A0A\u606F \"{0}\" \u4E2D, \u7D44\u4EF6 \"{1}\" \u5FC5\u9808\u6307\u5B9A \"element\" \u5C6C\u6027 +# Usage not found. TODO Remove +#wsdlmodeler.invalid=invalid WSDL document +wsdlmodeler.unsolvableNamingConflicts=\u767C\u751F\u4E0B\u5217\u547D\u540D\u885D\u7A81: {0} +# +wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension=\u5FFD\u7565\u7DB1\u8981\u5143\u7D20 (\u4E0D\u652F\u63F4\u7684\u7248\u672C): {0} +wsdlmodeler.warning.searchSchema.unrecognizedTypes=\u767C\u73FE {0} \u500B\u7121\u6CD5\u8FA8\u8B58\u7684\u985E\u578B +wsdlmodeler.warning.noServiceDefinitionsFound=WSDL \u6587\u4EF6\u672A\u5B9A\u7FA9\u4EFB\u4F55\u670D\u52D9 +wsdlmodeler.warning.noPortsInService=\u670D\u52D9 \"{0}\" \u672A\u5305\u542B\u4EFB\u4F55\u53EF\u4F7F\u7528\u7684\u9023\u63A5\u57E0. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. +wsdlmodeler.warning.noOperationsInPort=\u9023\u63A5\u57E0 \"{0}\" \u672A\u5305\u542B\u4EFB\u4F55\u53EF\u4F7F\u7528\u7684\u4F5C\u696D +wsdlmodeler.warning.ignoringNonSOAPPort=\u5FFD\u7565\u9023\u63A5\u57E0 \"{0}\": \u4E0D\u662F\u6A19\u6E96\u7684 SOAP \u9023\u63A5\u57E0. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. +# Not concatenated with any other string. +wsdlmodeler.warning.nonSOAPPort=\u9023\u63A5\u57E0 \"{0}\" \u4E0D\u662F\u6A19\u6E96\u7684 SOAP \u9023\u63A5\u57E0. \u7522\u751F\u7684\u4F7F\u7528\u8005\u81EA\u5EFA\u7269\u4EF6\u53EF\u80FD\u4E0D\u9069\u7528\u65BC JAX-WS \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C. +wsdlmodeler.warning.ignoringNonSOAPPort.noAddress=\u5FFD\u7565\u9023\u63A5\u57E0 \"{0}\": \u672A\u6307\u5B9A SOAP \u4F4D\u5740. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. +# Not concatenated with any other string. +wsdlmodeler.warning.noSOAPAddress=\u9023\u63A5\u57E0 \"{0}\" \u4E0D\u662F SOAP \u9023\u63A5\u57E0, \u5B83\u6C92\u6709 soap:address +wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport:\u5FFD\u7565 SOAP \u9023\u63A5\u57E0 \"{0}\": \u7121\u6CD5\u8FA8\u8B58\u7684\u50B3\u8F38. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. + +#BP1.1 R2705 +wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle=\u5FFD\u7565\u9023\u63A5\u57E0 \"{0}\", \u672A\u8207 WS-I BP 1.1 \u76F8\u5BB9: WSDL \u9023\u7D50\u70BA\u6DF7\u5408\u6A23\u5F0F, \u5B83\u5FC5\u9808\u662F rpc-literal \u6216 document-literal \u4F5C\u696D. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport. +# Not concatenated with any other string. +wsdlmodeler.warning.port.SOAPBinding.mixedStyle=\u4E0D\u662F WS-I BP1.1 \u76F8\u5BB9\u7684 SOAP \u9023\u63A5\u57E0 \"{0}\": WSDL \u9023\u7D50\u70BA\u6DF7\u5408\u6A23\u5F0F, \u5B83\u5FC5\u9808\u662F rpc-literal \u6216 document-literal \u4F5C\u696D! + +wsdlmodeler.warning.ignoringOperation.notSupportedStyle=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u975E\u8981\u6C42\u56DE\u61C9\u6216\u55AE\u5411 +wsdlmodeler.invalid.operation.notSupportedStyle=\u7121\u6548\u7684 WSDL, wsdl:portType \"{1}\" \u4E2D\u7684 wsdl:operation \"{0}\" \u975E\u8981\u6C42\u56DE\u61C9\u6216\u55AE\u5411 +wsdlmodeler.warning.ignoringOperation.notEncoded=\u5FFD\u7565 RPC \u6A23\u5F0F\u4F5C\u696D \"{0}\": \u672A\u7DE8\u78BC\u53C3\u6578 +wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u7121\u6CD5\u8655\u7406 \"soap:body\" \u5143\u7D20\u7684 \"parts\" \u5C6C\u6027 + +wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8A0A\u606F\u7D44\u4EF6\u672A\u53C3\u7167\u7DB1\u8981\u5143\u7D20\u5BA3\u544A +wsdlmodeler.invalid.doclitoperation=\u7121\u6548\u7684 wsdl:operation \\"{0}\\": \u5B83\u662F document-literal \u4F5C\u696D, \u8A0A\u606F\u7D44\u4EF6\u5FC5\u9808\u53C3\u7167\u7DB1\u8981\u5143\u7D20\u5BA3\u544A + +wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8A0A\u606F\u7D44\u4EF6\u672A\u53C3\u7167\u7DB1\u8981\u985E\u578B\u5BA3\u544A +wsdlmodeler.invalid.rpclitoperation=\u7121\u6548\u7684 wsdl:operation \\"{0}\\": \u5B83\u662F rpc-literal \u4F5C\u696D, \u8A0A\u606F\u7D44\u4EF6\u5FC5\u9808\u53C3\u7167\u7DB1\u8981\u985E\u578B\u5BA3\u544A + + +wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u7121\u6CD5\u8655\u7406\u6587\u4EF6\u6A23\u5F0F\u4F5C\u696D +wsdlmodeler.warning.bindingOperation.multiplePartBinding=\u6AA2\u67E5\u6458\u8981\u4F5C\u696D \"{0}\" \u9023\u7D50, \u7D44\u4EF6 \"{1}\" \u542B\u6709\u591A\u500B\u9023\u7D50. \u4ECD\u5C07\u5617\u8A66\u7522\u751F\u4F7F\u7528\u8005\u81EA\u5EFA\u7269\u4EF6... +wsdlmodeler.invalid.bindingOperation.multiplePartBinding=\u6458\u8981\u4F5C\u696D \"{0}\" \u9023\u7D50, \u7D44\u4EF6 \"{1}\" \u542B\u6709\u591A\u500B\u9023\u7D50. +wsdlmodeler.warning.ignoringFaults=\u5FFD\u7565\u4F5C\u696D \"{0}\" \u6240\u5BA3\u544A\u7684\u932F\u8AA4 +wsdlmodeler.warning.ignoringFault.notEncoded=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u5E38\u503C\u932F\u8AA4 \"{0}\" +wsdlmodeler.warning.ignoringFault.notLiteral=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u7DE8\u78BC\u932F\u8AA4 \"{0}\" +wsdlmodeler.invalid.operation.fault.notLiteral=\u5FFD\u7565\u5E38\u503C\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u7DE8\u78BC\u932F\u8AA4 \"{0}\" +wsdlmodeler.warning.ignoringHeader=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\" +wsdlmodeler.warning.ignoringHeader.partFromBody=\u6A19\u982D\u90E8\u5206 \\"{0}\\" \u5DF2\u7531 soapbind:body \u9023\u7D50, \u6B64\u90E8\u5206\u9023\u7D50\u5169\u6B21\u7121\u6548 +wsdlmodeler.warning.ignoringHeader.notLiteral=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u4E0D\u662F\u5E38\u503C +wsdlmodeler.invalid.header.notLiteral=\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\" \u7121\u6548: \u4E0D\u662F\u5E38\u503C +wsdlmodeler.warning.ignoringHeader.notFound=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u627E\u4E0D\u5230 +# Not concatenated with any other string. +wsdlmodeler.invalid.header.notFound=\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u627E\u4E0D\u5230 +wsdlmodeler.warning.ignoringHeader.cant.resolve.message=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u7121\u6CD5\u89E3\u6790\u8A0A\u606F +# Not concatenated with any other string. +wsdlmodeler.invalid.header.cant.resolve.message=\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u7121\u6CD5\u89E3\u6790\u8A0A\u606F + +wsdlmodeler.warning.ignoringFault.cant.resolve.message=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\": \u7121\u6CD5\u89E3\u6790\u8A0A\u606F +wsdlmodeler.invalid.fault.cant.resolve.message=\u7121\u6CD5\u89E3\u6790\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4\u8A0A\u606F \"{0}\" + +wsdlmodeler.warning.ignoringHeader.notEncoded=\u5FFD\u7565\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u4E0D\u662F SOAP \u7DE8\u78BC +wsdlmodeler.warning.ignoringHeader.inconsistentDefinition=\u5FFD\u7565\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D \"{0}\": \u627E\u4E0D\u5230\u7D44\u4EF6 +# +wsdlmodeler.warning.ignoringOperation.notLiteral=\u5FFD\u7565\u6587\u4EF6\u6A23\u5F0F\u4F5C\u696D \"{0}\": \u53C3\u6578\u4E0D\u662F\u5E38\u503C +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8F38\u5165\u8A0A\u606F\u5305\u542B\u591A\u500B\u7D44\u4EF6 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8F38\u5165\u8A0A\u606F\u7A7A\u767D +wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8F38\u51FA\u8A0A\u606F\u5305\u542B\u591A\u500B\u7D44\u4EF6 +wsdlmodeler.warning.operation.MoreThanOnePartInMessage=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u591A\u500B\u7D44\u4EF6\u9023\u7D50\u81F3\u4E3B\u9AD4 +# Not concatenated with any other string. +wsdlmodeler.invalid.operation.MoreThanOnePartInMessage=\u4F5C\u696D \"{0}\": \u591A\u500B\u7D44\u4EF6\u9023\u7D50\u81F3\u4E3B\u9AD4 +wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u8F38\u51FA\u8A0A\u606F\u7A7A\u767D +wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u9023\u7D50\u6A23\u5F0F\u8207\u4F5C\u696D\u6A23\u5F0F\u885D\u7A81 +wsdlmodeler.warning.ignoringOperation.partNotFound=\u5FFD\u7565\u4F5C\u696D \"{0}\": \u627E\u4E0D\u5230\u7D44\u4EF6 \"{1}\" +wsdlmodeler.error.partNotFound=\u7121\u6CD5\u89E3\u6790\u4F5C\u696D \"{0}\" \u7684\u7D44\u4EF6 \"{1}\"! +wsdlmodeler.warning.ignoringFault.documentOperation=\u5FFD\u7565\u6587\u4EF6\u6A23\u5F0F\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\" +wsdlmodler.warning.operation.use=\u4F7F\u7528\u7684 WSDL \u5305\u542B\u4F5C\u696D\u9644\u5E36\u5E38\u503C\u548C\u7DE8\u78BC\u7684\u7528\u6CD5. \u6B64\u6848\u4F8B\u4E0D\u652F\u63F4 -f:searchschema. +#wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=The name of the SOAP fault extension does not match the name of the \"{0}\" fault in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.wrongSoapFaultName=soap:fault \"{0}\" \u7684\u540D\u7A31\u8207\u4F5C\u696D \"{2}\" \u4E2D wsdl:fault \"{1}\" \u7684\u540D\u7A31\u4E0D\u7B26 +#wsdlmodeler.invalid.bindingFault.noSoapFaultName=The name of the SOAP fault extension is missing from the fault \"{0}\" in operation \"{1}\" +wsdlmodeler.invalid.bindingFault.noSoapFaultName=\u4F5C\u696D \\"{1}\\" \u4E2D\u7684 wsdl:fault \\"{0}\\" \u6C92\u6709\u6307\u5B9A soap:fault \u540D\u7A31 + +wsdlmodeler.duplicate.fault.part.name=\u5FFD\u7565\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\", \u7D44\u4EF6\u540D\u7A31 \"{2}\" \u4E0D\u662F\u552F\u4E00\u7684 +wsdlmodeler.duplicate.fault.soap.name=\u5FFD\u7565\u4F5C\u696D \"{1}\" \u7684\u932F\u8AA4 \"{0}\", soap:fault \u540D\u7A31 \"{2}\" \u4E0D\u662F\u552F\u4E00\u7684 + +wsdlmodeler.warning.ignoringHeaderFault.notFound=\u5FFD\u7565\u6A19\u982D\u932F\u8AA4 \"{0}\", \u5728\u9023\u7D50 \"{2}\" \u4E2D\u627E\u4E0D\u5230\u7D44\u4EF6 \"{1}\" +# Usage not found. TODO Remove +#wsdlmodeler.headerfault.part.notFound=part \"{1}\" not found for the header fault \"{0}\", in binding \"{2}\" + +wsdlmodeler.warning.ignoringHeaderFault.notLiteral=\u5FFD\u7565\u4F5C\u696D {2} \u4E4B\u8A0A\u606F \"{1}\" \u7684\u6A19\u982D\u932F\u8AA4\u7D44\u4EF6 \"{0}\", \u4F7F\u7528\u7684\u5C6C\u6027\u5FC5\u9808\u662F \"literal\" + +wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute=\u5FFD\u7565\u4F5C\u696D {2} \u4E4B\u8A0A\u606F \"{1}\" \u7684\u6A19\u982D\u932F\u8AA4\u7D44\u4EF6 \"{0}\" + +wsdlmodeler.invalid.headerfault.notLiteral=\u9023\u7D50\u4F5C\u696D \"{1}\" \u7684\u6A19\u982D\u932F\u8AA4 \"{0}\" \u7121\u6548: \u4E0D\u662F\u5E38\u503C +wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor=\u4F5C\u696D {2} \u4E2D\u6A19\u982D {1} \u7684\u6A19\u982D\u932F\u8AA4 \"{0}\" \u7121\u6548: \u7D44\u4EF6\u5FC5\u9808\u6307\u5B9A \"element\" \u5C6C\u6027 +wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor=\u4F5C\u696D {1} \u4E2D\u7684\u6A19\u982D \"{0}\" \u7121\u6548: \u7D44\u4EF6\u5FC5\u9808\u6307\u5B9A \"element\" \u5C6C\u6027 + + +#wsi warnings +wsdlmodeler.warning.nonconforming.wsdl.import=\u4E0D\u7B26\u5408\u7528\u65BC wsdl:import \u7684 WS-I WSDL +wsdlmodeler.warning.nonconforming.wsdl.types=\u4E0D\u7B26\u5408\u7528\u65BC wsdl:types \u7684 WS-I WSDL +wsdlmodeler.warning.nonconforming.wsdl.use=\u6B63\u5728\u8655\u7406 RPC \u6A23\u5F0F\u4E14 SOAP \u7DE8\u78BC\u7684\u4E0D\u7B26\u5408 WS-I \u4F5C\u696D \"{0}\" + +# optional parts +# Not concatenated with any other string. +wsdlmodeler.error.partsNotFound=\u5728\u8A0A\u606F \"{1}\" \u627E\u4E0D\u5230\u7D44\u4EF6 \"{0}\", \u932F\u8AA4\u7684 WSDL + +# soap 1.2 +wsdlmodeler.warning.port.SOAPBinding12=SOAP \u9023\u63A5\u57E0 \"{0}\" \u4F7F\u7528\u975E\u6A19\u6E96\u7684 SOAP 1.2 \u9023\u7D50. +wsdlmodeler.warning.ignoringSOAPBinding12=\u5FFD\u7565 SOAP \u9023\u63A5\u57E0 \"{0}\": \u5B83\u4F7F\u7528\u975E\u6A19\u6E96\u7684 SOAP 1.2 \u9023\u7D50.\n\u60A8\u5FC5\u9808\u6307\u5B9A \"-extension\" \u9078\u9805, \u624D\u80FD\u5920\u4F7F\u7528\u6B64\u9023\u7D50. + +#WSI-BP1.0 Warning/Errors +wsdlmodeler.warning.r2716=R2716 WSI-BasicProfile \u7248\u672C 1.0, \u4E0D\u5141\u8A31\u5728 {0} \u7684 doc/lit \u4E2D\u4F7F\u7528 namespace \u5C6C\u6027: \"{1}\" + +# {0} - "soapbind:header"/"soapbind:fault", {1} - binding operation name / soap fault name e.g.: R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for soapbind:fault: "RemoteValidationException" +wsdlmodeler.warning.r2716r2726=R2716/R2726 WSI-BasicProfile \u7248\u672C 1.0, \u4E0D\u5141\u8A31\u5728 {0} \u7684 doc/lit \u6216 rpc/lit \u4E2D\u4F7F\u7528 namespace \u5C6C\u6027: \"{1}\" + +#WSI-BP 1.1 Warning/Errors +# R2911 +mimemodeler.invalidMimePart.moreThanOneSOAPBody=\u5FFD\u7565\u4F5C\u696D \\"{0}\\". Multipart/Related \u7D50\u69CB\u7684\u6839\u90E8\u5206\u7121\u6548: \u767C\u73FE\u591A\u500B soap:body \u90E8\u5206 + +# R2906 +mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart=\u6A19\u982D\u4E0D\u662F\u5728 soap:body \u7684\u6839 mime:part \u4E2D, \u5FFD\u7565\u4F5C\u696D \"{0}\" \u4E2D\u7684\u6A19\u982D + +# R2909 +mimemodeler.invalidMimeContent.differentPart=\u5FFD\u7565 mime:part. \u7121\u6548\u7684 mime:part, mime:content \u542B\u6709\u4E0D\u540C\u7684 part \u5C6C\u6027. + +mimemodeler.invalidMimeContent.invalidSchemaType=\u5FFD\u7565 mime:part. mime \u90E8\u5206 {0} \u7121\u6CD5\u5C0D\u61C9\u81F3\u7DB1\u8981\u985E\u578B {1} + +# Rxxxx A mime:content in a DESCRIPTION MUST refer to a wsdl:part element defined using the type attribute. +mimemodeler.invalidMimeContent.mesagePartElementKind=mime:content part \u5C6C\u6027 {0} \u53C3\u7167\u7684 wsdl:part \u5143\u7D20\u5FC5\u9808\u4F7F\u7528 type \u5C6C\u6027\u5B9A\u7FA9! + +# RXXXX RYYYY: In a description, a mime:content element MUST include the part attribute. +mimemodeler.invalidMimeContent.missingPartAttribute=\u5FFD\u7565\u4F5C\u696D \"{0}\", mime:content \u4E2D\u6C92\u6709 part \u5C6C\u6027. mime:content \u5BA3\u544A\u4E2D\u5FC5\u9808\u8981\u6709 part \u5C6C\u6027. + +mimemodeler.invalidMimeContent.missingTypeAttribute=\u4F5C\u696D \"{0}\" \u7684 mime:content \u4E2D\u6C92\u6709 type \u5C6C\u6027. mime:content \u5BA3\u544A\u4E2D\u5FC5\u9808\u8981\u6709 part \u5C6C\u6027. + +# unknown schematype +mimemodeler.invalidMimeContent.unknownSchemaType=mime:content part: {0} \u7684\u7DB1\u8981\u985E\u578B {1} \u4E0D\u660E +mimemodeler.invalidMimeContent.errorLoadingJavaClass=\u627E\u4E0D\u5230 mime \u985E\u578B \"{1}\" \u7684\u985E\u5225 \"{0}\" + +# missing wsdl:part referenced by the mime:content +wsdlmodeler.warning.ignoringMimePart.notFound=\u5FFD\u7565 mime:part, \u627E\u4E0D\u5230 wsdl:operation \"{1}\" \u4E2D mime:content \u6240\u53C3\u7167\u7684\u90E8\u5206 \"{0}\" + +mimemodeler.elementPart.invalidElementMimeType=mime:content part \u53C3\u7167\u4E86\u4F7F\u7528 element \u5C6C\u6027\u5B9A\u7FA9\u7684 wsdl:part \"{0}\". \u8ACB\u78BA\u5B9A mime \u985E\u578B \"{1}\" \u9069\u5408\u5E8F\u5217\u5316 XML. + +# R2708 The mime:part element in a DESCRIPTION MUST NOT have a name attribute. +mimemodeler.invalidMimePart.nameNotAllowed=\u5DF2\u5FFD\u7565\u4F5C\u696D \"{0}\" \u4E2D wsdl:part \u7684 name \u5C6C\u6027. WS-I AP 1.0 \u4E0D\u5141\u8A31. + + +wsdlmodeler20.rpcenc.not.supported=JAXWS 2.0 \u4E0D\u652F\u63F4 rpc/encoded wsdl. +wsdlmodeler.warning.ignoringOperation.notNCName=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u5B83\u7684\u540D\u7A31\u4E2D\u542B\u6709\u7121\u6548\u7684\u5B57\u5143 ''{1}''. \u5B83\u7684 rpc-literal \u4F5C\u696D - jaxws \u7121\u6CD5\u5C07\u5B83\u5E8F\u5217\u5316! + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. wsdl:message \"{1}\" \u4E2D\u7684\u53C3\u6578 part "{2}\" \u70BA java \u95DC\u9375\u5B57. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u53C3\u6578\u540D\u7A31\u6216\u8B8A\u66F4 wsdl:part \u540D\u7A31. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle=\u7121\u6548\u7684\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. wsdl:message \"{1}\" \u4E2D\u7684\u53C3\u6578 part "{2}\" \u70BA java \u95DC\u9375\u5B57. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u53C3\u6578\u540D\u7A31\u6216\u8B8A\u66F4 wsdl:part \u540D\u7A31. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5\u53C3\u6578. \u5168\u57DF\u5143\u7D20 \"{2}\" \u4E2D\u5305\u88DD\u51FD\u5F0F\u5B50\u9805 \"{1}\" \u7684\u672C\u6A5F\u540D\u7A31\u70BA java \u95DC\u9375\u5B57. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u53C3\u6578\u540D\u7A31. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle=\u7121\u6548\u7684\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5\u53C3\u6578. \u5168\u57DF\u5143\u7D20 \"{2}\" \u4E2D\u5305\u88DD\u51FD\u5F0F\u5B50\u9805 \"{1}\" \u7684\u672C\u6A5F\u540D\u7A31\u70BA java \u95DC\u9375\u5B57. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u53C3\u6578\u540D\u7A31. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. \u53C3\u6578\u7684\u81EA\u8A02\u540D\u7A31 \"{1}\" \u70BA java \u95DC\u9375\u5B57. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName=\u7121\u6548\u7684\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. \u53C3\u6578\u7684\u81EA\u8A02\u540D\u7A31 \"{1}\" \u70BA java \u95DC\u9375\u5B57. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u5B83\u70BA java \u4FDD\u7559\u5B57, \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u4F5C\u696D\u540D\u7A31. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName=\u7121\u6548\u7684\u4F5C\u696D \"{0}\", \u5B83\u70BA java \u4FDD\u7559\u5B57, \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5. \u8ACB\u5229\u7528\u81EA\u8A02\u4F86\u8B8A\u66F4\u4F5C\u696D\u540D\u7A31. + +wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName=\u5FFD\u7565\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5, wsdl:operation \u7684\u81EA\u8A02\u540D\u7A31 \"{1}\" \u70BA java \u95DC\u9375\u5B57. +wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName=\u7121\u6548\u7684\u4F5C\u696D \"{0}\", \u7121\u6CD5\u7522\u751F java \u65B9\u6CD5, wsdl:operation \u7684\u81EA\u8A02\u540D\u7A31 \"{1}\" \u70BA java \u95DC\u9375\u5B57. + +wsdlmodeler.jaxb.javatype.notfound=\u672A\u5B9A\u7FA9\u8A0A\u606F\u7D44\u4EF6 \\"{1}\\" \u4E2D\u7684\u7DB1\u8981\u63CF\u8FF0\u5340 {0}, \u56E0\u6B64\u7121\u6CD5\u9023\u7D50\u81F3 Java. \u53EF\u80FD\u672A\u5728 WSDL \u532F\u5165/\u5305\u62EC\u7684\u7DB1\u8981\u4E2D\u5B9A\u7FA9\u7DB1\u8981\u63CF\u8FF0\u5340 {0}. \u60A8\u53EF\u4EE5\u65B0\u589E\u6B64\u985E\u532F\u5165\u9805/\u5305\u62EC\u9805, \u6216\u8005\u4F7F\u7528 -b \u53C3\u6578\u57F7\u884C wsimport \u4E26\u63D0\u4F9B\u7DB1\u8981\u4F4D\u7F6E. +wsdlmodeler.unsupportedBinding.mime=\u76EE\u524D\u4E0D\u652F\u63F4 WSDL MIME \u9023\u7D50! + +wsdlmodeler.nonUnique.body.error=\u975E\u552F\u4E00\u7684\u4E3B\u9AD4\u90E8\u5206! \u6839\u64DA BP 1.1 R2710, \u5728\u9023\u63A5\u57E0\u4E2D, \u4F5C\u696D\u5FC5\u9808\u8981\u6709\u552F\u4E00\u7684\u7DDA\u5F0F\u4F5C\u696D\u7C3D\u7AE0, \u624D\u80FD\u9806\u5229\u9032\u884C\u5206\u914D. \u5728\u9023\u63A5\u57E0 {0} \u4E2D, \"{1}\" \u548C \"{2}\" \u4F5C\u696D\u5747\u6709\u76F8\u540C\u7684\u8981\u6C42\u4E3B\u9AD4\u5340\u584A {3}. \u8ACB\u5617\u8A66\u4F7F\u7528 -extension \u53C3\u6578\u57F7\u884C wsimport, \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u5C07\u6703\u5617\u8A66\u4F7F\u7528 SOAPAction \u9032\u884C\u5206\u914D. +wsdlmodeler.nonUnique.body.warning=\u975E\u552F\u4E00\u7684\u4E3B\u9AD4\u90E8\u5206! \u6839\u64DA BP 1.1 R2710, \u5728\u9023\u63A5\u57E0\u4E2D, \u4F5C\u696D\u5FC5\u9808\u8981\u6709\u552F\u4E00\u7684\u7DDA\u5F0F\u4F5C\u696D\u7C3D\u7AE0, \u624D\u80FD\u9806\u5229\u9032\u884C\u5206\u914D. \u5728\u9023\u63A5\u57E0 {0} \u4E2D, \"{1}\" \u548C \"{2}\" \u4F5C\u696D\u5747\u6709\u76F8\u540C\u7684\u8981\u6C42\u4E3B\u9AD4\u5340\u584A {3}. \u65B9\u6CD5\u5206\u914D\u6709\u53EF\u80FD\u6703\u5931\u6557, \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u5C07\u6703\u5617\u8A66\u4F7F\u7528 SOAPAction \u9032\u884C\u5206\u914D. + +wsdlmodeler.rpclit.unkownschematype=\u7121\u6CD5\u89E3\u6790 XML \u985E\u578B \"{0}\", \u5F9E XML \u81F3 JAVA \u7684\u9023\u7D50\u5931\u6557! \u8ACB\u6AA2\u67E5 wsdl:message \"{2}\" \u4E2D\u7684 wsdl:part \"{1}\". + +wsdlmodeler.responsebean.notfound=wsimport \u7121\u6CD5\u7522\u751F\u4F5C\u696D\u7684\u975E\u540C\u6B65\u56DE\u61C9 bean: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/processor_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,27 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#processor.missing.model=model is missing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=Das Feld im Holder, das den Wert {0} des Holders enth\u00E4lt, konnte nicht gefunden werden +null.namespace.found=Fehler in WSDL aufgetreten. Pr\u00FCfen Sie den Namespace von Element <{0}> +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=No se ha encontrado el campo en el propietario que contiene el valor de propietario: {0} +null.namespace.found=Se ha encontrado un error en WSDL. Compruebe el espacio de nombres del elemento <{0}> +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=Champ introuvable dans le d\u00E9tenteur contenant les valeurs du d\u00E9tenteur : {0} +null.namespace.found=Erreur d\u00E9tect\u00E9e dans le WSDL. V\u00E9rifiez l''espace de noms de l''\u00E9l\u00E9ment <{0}> +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=Impossibile trovare il campo nel contenitore al cui interno si trova il valore del contenitore: {0} +null.namespace.found=Rilevato errore in WSDL. Controllare lo spazio di nomi dell''elemento <{0}> +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=Holder\u306E\u5024: {0}\u3092\u542B\u3080\u30D5\u30A3\u30FC\u30EB\u30C9\u304CHolder\u5185\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +null.namespace.found=wsdl\u306B\u30A8\u30E9\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002\u8981\u7D20<{0}>\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=\uD640\uB354\uC5D0\uC11C \uD640\uB354 \uAC12\uC744 \uD3EC\uD568\uD558\uB294 \uD544\uB4DC\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} +null.namespace.found=WSDL\uC5D0 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. <{0}> \uC694\uC18C\uC758 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=N\u00E3o foi poss\u00EDvel localizar o campo no Detentor que cont\u00E9m o valor do Detentor: {0} +null.namespace.found=Erro encontrado no wsdl. Verifique o namespace do elemento <{0}> +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=\u5728\u4FDD\u5B58\u5668\u4E2D\u627E\u4E0D\u5230\u5305\u542B\u4FDD\u5B58\u5668\u503C\u7684\u5B57\u6BB5: {0} +null.namespace.found=wsdl \u4E2D\u51FA\u73B0\u9519\u8BEF\u3002\u8BF7\u68C0\u67E5\u5143\u7D20 <{0}> \u7684\u540D\u79F0\u7A7A\u95F4 +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/util_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,28 @@ +# +# Copyright (c) 2005, 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. +# + +holder.valuefield.not.found=\u5728 Holder \u4E2D\u627E\u4E0D\u5230\u5305\u542B Holder \u503C {0} \u7684\u6B04\u4F4D +null.namespace.found=WSDL \u767C\u751F\u932F\u8AA4. \u8ACB\u6AA2\u67E5\u5143\u7D20 <{0}> \u7684\u547D\u540D\u7A7A\u9593. +sax2dom.notsupported.createelement=SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 @@ -158,3 +158,5 @@ webserviceap.webservice.and.webserviceprovider=Classes cannot be annotated with both @javax.jws.WebService and @javax.xml.ws.WebServiceProvider. Class\: {0} webserviceap.invalid.soapbinding.parameterstyle= Incorrect usage of Annotation {0} on {1}, ParameterStyle can only be WRAPPED with RPC Style Web service. + +webserviceap.parsing.javac.options.error=Can't get javac options from processingEnv. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=Fehler: Datei nicht gefunden: {0} +webserviceap.error=Fehler: {0} +webserviceap.warning=Warnung: {0} +webserviceap.info=Informationen: {0} +webserviceap.compilationFailed=Kompilierung nicht erfolgreich, Fehler sollten gemeldet worden sein +webserviceap.succeeded: Erfolgreich + +webserviceap.method.not.annotated=Die Methode {0} in Klasse {1} verf\u00FCgt \u00FCber keine Annotation. +webserviceap.rpc.encoded.not.supported=Die Klasse {0} enth\u00E4lt ein RPC/codiertes SOAPBinding. RPC/codierte SOAPBindings werden in JAXWS 2.0 nicht unterst\u00FCtzt. +webservice.encoded.not.supported=Die {0}-Klasse enth\u00E4lt eine ung\u00FCltige SOAPBinding-Annotation. {1}/codiertes SOAPBinding wird nicht unterst\u00FCtzt +webserviceap.model.already.exists=Modell ist bereits vorhanden +webserviceap.endpointinterface.on.interface=Service-End Point-Schnittstelle\\: {0} darf keine WebService.endpointInterface-Annotation enthalten\\: {1} +webserviceap.java.typeNotFound=Der Typ: {0} wurde in der Zuordnung nicht gefunden +webserviceap.endpointinterfaces.do.not.match=Die End Point-Schnittstelle {0} stimmt nicht mit der Schnittstelle {1} \u00FCberein. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=TypeElement f\u00FCr:\\ {0} konnte bei Annotationsverarbeitung nicht abgerufen werden:\\ {1} + +webserviceap.no.webservice.endpoint.found=Ein Webservice-End Point konnte nicht gefunden werden + +webserviceap.endpointinterface.has.no.webservice.annotation=Die End Point-Schnittstelle {0} muss eine WebService-Annotation aufweisen + +webserviceap.oneway.operation.cannot.have.return.type=Die Methode {1} von Klasse {0} ist mit @Oneway-Annotation versehen, hat jedoch einen R\u00FCckgabetyp. + +webserviceap.oneway.operation.cannot.have.holders=Die Methode {1} von Klasse {0} ist mit @Oneway-Annotation versehen, enth\u00E4lt jedoch INOUT- oder OUT-Parameter (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=Die Methode {1} von Klasse {0} ist mit @Oneway-Annotation versehen, deklariert jedoch die Ausnahme {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=Sie k\u00F6nnen HandlerChain- und SOAPMessageHandlers-Annotationen nicht gemeinsam angeben + +webserviceap.invalid.handlerchain.file.nohandler-config=Die Handlerchain-Datei {0} ist ung\u00FCltig, sie enth\u00E4lt kein handler-config-Element + +webserviceap.could.not.find.handlerchain=Handlerchain {0} konnte in der Handler-Datei {1} nicht gefunden werden + +webserviceap.handlerclass.notspecified=Ein Handler in der HandlerChain-Datei\\: {0} gibt keine handler-class an + +webserviceap.init_param.format.error=ein -Element muss genau 1 und 1 enthalten + +webserviceap.document.literal.bare.method.return.not.unique=Document/Literal BARE-Methoden m\u00FCssen eine eindeutige Ergebnisname-/R\u00FCckgabetyp-Kombination aufweisen. Klasse {0} Methode\\: {1}, Ergebnisname\\: {2} Ergebnistyp\\: {3} + +webserviceap.document.literal.bare.method.not.unique=Document/Literal BARE-Methoden m\u00FCssen eindeutige Parameternamen haben. Klasse\\: {0} Methode\\: {1} Parametername\\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=Document/Literal BARE-Methoden m\u00FCssen einen R\u00FCckgabewert oder einen OUT-Parameter aufweisen. Klasse\\: {0} Methode\\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=Document/Literal BARE-Methoden d\u00FCrfen nicht mehr als 1 Nicht-Header IN-Parameter enthalten. Klasse\\: {0} Methode\\: {1} Anzahl Nicht-Header-Parameter\\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=Document/Literal BARE-Methoden m\u00FCssen mindestens einen der folgenden Parameter enthalten: R\u00FCckgabe-Parameter, IN-Parameter oder OUT-Parameter. Klasse\: {0} Methode\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder-Parameter d\u00FCrfen nicht mit WebParam.Mode.IN-Eigenschaft versehen werden. Klasse\\: {0} Methode\\: {1} Parameter\\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=javax.xml.ws.Holder-Parameter in Document BARE-Vorg\u00E4ngen m\u00FCssen WebParam.Mode.INOUT enthalten; Klasse\\: {0} Methode\\: {1} Parameter\\: {2} + +webserviceap.endpointinterface.class.not.found=Die endpointInterface-Klasse {0} konnte nicht gefunden werden + +webserviceap.sei.cannot.contain.constant.values=Eine Service-End Point-Schnittstelle darf keine konstante Deklaration enthalten\: Schnittstelle\: {0}-Feld\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=Methodenr\u00FCckgabetypen k\u00F6nnen java.rmi.Remote nicht implementieren. Klasse\\: {0} Methode\\: {1} R\u00FCckgabetyp\\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=Methodenparametertypen k\u00F6nnen java.rmi.Remote nicht implementieren. Klasse\\: {0} Methode\\: {1} Parameter\: {2} Typ\\: {3} + +webserviceap.operation.name.not.unique=Vorgangsnamen m\u00FCssen eindeutig sein. Klasse\: {0} Methode\: {1} Vorgangsname\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=Namen von Anforderungs-Wrapper Beans m\u00FCssen eindeutig sein und m\u00FCssen mit anderen generierten Klassennamen vereinbar sein. Klasse\\: {0} Methode {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=Namen von Antwort-Wrapper Beans m\u00FCssen eindeutig sein und m\u00FCssen mit anderen generierten Klassennamen vereinbar sein. Klasse\\: {0} Methode {1} + +webserviceap.method.exception.bean.name.not.unique=Namen von Ausnahme-Beans m\u00FCssen eindeutig sein und m\u00FCssen mit anderen generierten Klassennamen vereinbar sein. Klasse\\: {0} Ausnahme {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=Alle literalen RPC-Parameter m\u00FCssen eine WebParam-Annotation aufweisen. Klasse\\: {0} Methode\\: {1} Parameter {2} + +webserviceap.rpc.literal.webparams.must.specify.name=Alle literalen RPC-WebParams m\u00FCssen einen Namen angeben. Klasse\\: {0} Methode {1} Parameter {2} + +webserviceap.rpc.literal.must.not.be.bare=Literale RPC-SOAPBindings m\u00FCssen den parameterStyle WRAPPED aufweisen. Klasse\\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=Alle WebParam-Annotationen bei Header-Parametern m\u00FCssen einen Namen angeben. Klasse\\: {0} Methode {1} Parameter {2} + +webserviceap.failed.to.find.handlerchain.file=HandlerChain-Datei kann nicht gefunden werden. Klasse\: {0}, Datei:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=HandlerChain-Datei konnte nicht geparst werden. Klasse\: {0}, Datei\: {1} + +webserviceap.class.not.found=Klasse nicht gefunden: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=SOAPBinding.Style.RPC-Binding-Annotationen sind bei Methoden nicht zul\u00E4ssig. Klasse\\: {0} Methode\\: {1} + +webserviceap.mixed.binding.style=Klasse\\: {0} enth\u00E4lt gemischte Bindings. SOAPBinding.Style.RPC und SOAPBinding.Style.DOCUMENT d\u00FCrfen nicht gemischt werden. + +webserviceap.endpointinteface.plus.annotation=Die @{0}-Annotation kann nicht mit @javax.jws.WebService.endpointInterface-Element verwendet werden. + +webserviceap.endpointinteface.plus.element=Das @javax.jws.WebService.{0}-Element kann nicht mit @javax.jws.WebService.endpointInterface-Element verwendet werden. + +webserviceap.non.in.parameters.must.be.holder=Klasse:\\ {0}, Methode: {1}, Parameter: {2} ist nicht WebParam.Mode.IN und ist nicht vom Typ javax.xml.ws.Holder. + +webserviceap.invalid.sei.annotation.element=Das @javax.jws.WebService.{0}-Element kann nicht bei Service End Point-Schnittstelle angegeben werden. Klasse\: {1} + +webserviceap.invalid.sei.annotation=Die @{0}-Annotation kann nicht bei einer Service-End Point-Schnittstelle verwendet werden. Klasse\\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=Die @javax.jws.WebMethod({0}) kann nicht bei einer Service-End Point-Schnittstelle verwendet werden. Klasse\\: {1} Methode\\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=Das @javax.jws.WebMethod.{0}-Element kann nicht mit dem @javax.jws.WebMethod.exclude-Element angegeben werden. Klasse\\: {1} Methode\\: {2} + +webserviceap.doc.bare.no.out=Document/Literal BARE-Methoden ohne R\u00FCckgabetyp oder OUT-/INOUT-Parameter m\u00FCssen mit @Oneway-Annotation versehen werden. Klasse\\: {0}, Methode: {1} +webserviceap.doc.bare.return.and.out=Document/Literal BARE-Methoden d\u00FCrfen keinen R\u00FCckgabetyp und OUT-Parameter enthalten. Klasse\\: {0} Methode\\: {1} +webserviceap.oneway.and.out=@Oneway-Methoden d\u00FCrfen keine Out-Parameter enthalten. Klasse\\: {0} Methode {1} + +webserviceap.webservice.class.not.public=Klassen, die mit @javax.jws.WebService-Annotation versehen sind, m\u00FCssen vom Typ "public" sein. Klasse\\: {0} + +webserviceap.webservice.class.is.final=Klassen, die mit @javax.jws.WebService-Annotation versehen sind, d\u00FCrfen nicht vom Typ "final" sein. Klasse\\: {0} + +webserviceap.webservice.class.is.abstract=Klassen, die mit @javax.jws.WebService-Annotation versehen sind, d\u00FCrfen nicht vom Typ "abstract" sein. Klasse\\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=Innere Klassen, die mit @javax.jws.WebService-Annotation versehen sind, m\u00FCssen vom Typ "static" sein. Klasse\\: {0} + +webserviceap.webservice.method.is.abstract=Klassen, die mit @javax.jws.WebService-Annotation versehen sind, d\u00FCrfen keine Methoden vom Typ "abstract" enthalten. Klasse\\: {0} Methode: {1} + +webserviceap.webservice.method.is.static.or.final=Methode, die mit @javax.jws.WebMethod-Annotation versehen ist, darf nicht vom Typ "static" oder "final" sein. Klasse\\: {0} Methode: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=Klassen, die mit @javax.jws.WebService-Annotation versehen sind, m\u00FCssen einen \u00F6ffentlichen Standardkonstruktor enthalten. Klasse\\: {0} + +webserviceap.oneway.and.not.one.in=Document/Literal BARE-Methoden, die mit @javax.jws.Oneway-Annotation versehen sind, m\u00FCssen einen Nicht-Header IN-Parameter enthalten. Klasse\\: {0} Methode\\: {1} + +webserviceap.doc.bare.no.return.and.no.out=Document/Literal BARE-Methoden, die keinen R\u00FCckgabewert enthalten, m\u00FCssen einen einzelnen OUT-/INOUT-Parameter enthalten. Klasse\: {0} Methode\: {1} + +webserviceap.doc.bare.and.no.one.in=Document/Literal BARE-Methoden m\u00FCssen einen Nicht-Header IN-/INOUT-Parameter enthalten. Klasse\: {0} Methode\: {1} + +webserviceap.method.not.implemented=Methoden in einer endpointInterface m\u00FCssen in der Implementierungsklasse implementiert sein. Schnittstellenklasse\\:{0} Implementierungsklasse\\:{1} Methode\\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=Mit @javax.jws.Webservice-Annotation versehene Klassen, die nicht zu einem Package geh\u00F6ren, m\u00FCssen das @javax.jws.Webservice.targetNamespace-Element aufweisen. Klasse\\: {0} + +webserviceap.webservice.and.webserviceprovider=Klassen k\u00F6nnen nicht sowohl mit @javax.jws.WebService- als auch mit @javax.xml.ws.WebServiceProvider-Annotation versehen sein. Klasse\\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= Nicht korrekte Verwendung von Annotation {0} in {1}, ParameterStyle kann nur WRAPPED mit RPC-Webservice sein. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=error: archivo no encontrado: {0} +webserviceap.error=error: {0} +webserviceap.warning=advertencia: {0} +webserviceap.info=informaci\u00F3n: {0} +webserviceap.compilationFailed=fallo de compilaci\u00F3n; se ha debido informar de los errores +webserviceap.succeeded: Correcto + +webserviceap.method.not.annotated=El m\u00E9todo {0} de la clase {1} no est\u00E1 anotado. +webserviceap.rpc.encoded.not.supported=La clase {0} tiene un enlace SOAP RPC/codificado. Los enlaces SOAP RPC/codificados no est\u00E1n soportados en JAX-WS 2.0. +webservice.encoded.not.supported=La clase {0} tiene una anotaci\u00F3n SOAPBinding no v\u00E1lida. El enlace SOAP {1}/codificado no est\u00E1 soportado +webserviceap.model.already.exists=el modelo ya existe +webserviceap.endpointinterface.on.interface=La interfaz de punto final de servicio \\: {0} no puede tener una anotaci\u00F3n WebService.endpointInterface\\: {1} +webserviceap.java.typeNotFound=El tipo {0} no se ha encontrado en la asignaci\u00F3n +webserviceap.endpointinterfaces.do.not.match=La interfaz de punto final {0} no coincide con la interfaz {1}. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=No se ha podido obtener TypeElement para:\\ {0} en la ronda de procesamiento de anotaciones:\\ {1} + +webserviceap.no.webservice.endpoint.found=No se ha encontrado un punto final del servicio web + +webserviceap.endpointinterface.has.no.webservice.annotation=La interfaz de punto final {0} debe tener una anotaci\u00F3n de servicio web + +webserviceap.oneway.operation.cannot.have.return.type=El m\u00E9todo {1} de la clase {0} est\u00E1 anotado con @Oneway, pero tiene un tipo de retorno. + +webserviceap.oneway.operation.cannot.have.holders=El m\u00E9todo {1} de la clase {0} est\u00E1 anotado con @Oneway, pero contiene los par\u00E1metros INOUT o OUT (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=El m\u00E9todo {1} de la clase {0} est\u00E1 anotado con @Oneway, pero declara la excepci\u00F3n {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=No se pueden especificar las anotaciones HanlderChain y SOAPMessageHandlers + +webserviceap.invalid.handlerchain.file.nohandler-config=El archivo handlerchain {0} no es v\u00E1lido. No contiene un elemento handler-config + +webserviceap.could.not.find.handlerchain=No se ha encontrado handlerchain {0} en el archivo de manejador {1} + +webserviceap.handlerclass.notspecified=Un manejador del archivo HandlerChain\\: {0} no especifica una clase de manejador + +webserviceap.init_param.format.error=el elemento debe tener exactamente 1 y 1 + +webserviceap.document.literal.bare.method.return.not.unique=Los m\u00E9todos BARE del literal de documento deben tener una combinaci\u00F3n de tipo de retorno del nombre de resultado \u00FAnica. Clase {0} m\u00E9todo\\: {1}, nombre de resultado\\: {2} tipo de retorno\\: {3} + +webserviceap.document.literal.bare.method.not.unique=Los m\u00E9todos BARE del literal de documentos deben tener nombres de par\u00E1metros \u00FAnicos. Clase\\: {0} m\u00E9todo\\: {1} nombre de par\u00E1metro\\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=Los m\u00E9todos BARE del literal de documentos deben tener un valor de retorno o un par\u00E1metro OUT. Clase\\: {0} M\u00E9todo\\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=Los m\u00E9todos BARE del literal de documento no deben tener m\u00E1s de 1 elemento no de cabecera en el par\u00E1metro. Clase\\: {0} m\u00E9todo\\: {1} n\u00FAmero de par\u00E1metros no de cabecera\\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=Los m\u00E9todos BARE del literal de documento deben tener al menos: un par\u00E1metro de retorno, un par\u00E1metro IN o un par\u00E1metro OUT. Clase\: {0} M\u00E9todo\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=Los par\u00E1metros javax.xml.ws.Holder no se deben anotar con la propiedad WebParam.Mode.IN. Clase\\: {0} m\u00E9todo\\: {1} par\u00E1metro\\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=Los par\u00E1metros javax.xml.ws.Holder de las operaciones BARE de documento deben tener WebParam.Mode.INOUT; Clase\\: {0} m\u00E9todo\\: {1} par\u00E1metro\\: {2} + +webserviceap.endpointinterface.class.not.found=No se ha encontrado la clase endpointInterface {0} + +webserviceap.sei.cannot.contain.constant.values=Una interfaz de punto final de servicio no puede contener una declaraci\u00F3n de constantes\\: Interfaz\\: {0} campo\\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=Los tipos de retorno de m\u00E9todo no pueden implantar java.rmi.Remote. Clase\\: {0} m\u00E9todo\\: {1} tipo de retorno\\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=Los tipos de par\u00E1metros de m\u00E9todo no pueden implantar java.rmi.Remote. Clase\\: {0} m\u00E9todo\\: {1} par\u00E1metro\\: {2} tipo\\: {3} + +webserviceap.operation.name.not.unique=Los nombres de operaciones deben ser \u00FAnicos. Clase\\: {0} m\u00E9todo\\: {1} nombre de operaci\u00F3n\\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=Los nombres de bean de envoltorio de solicitud deben ser \u00FAnicos y no deben entrar en conflicto con otras clases generadas. Clase\\: {0} m\u00E9todo {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=Los nombres de bean de envoltorio de respuesta deben ser \u00FAnicos y no deben entrar en conflicto con otras clases generadas. Clase\\: {0} m\u00E9todo {1} + +webserviceap.method.exception.bean.name.not.unique=Los nombres de bean de excepci\u00F3n deben ser \u00FAnicos y no deben entrar en conflicto con otras clases generadas. Clase\: {0} excepci\u00F3n {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=Todos los par\u00E1metros de literales RPC deben tener una anotaci\u00F3n WebParam. Clase\\: {0} m\u00E9todo\\: {1} par\u00E1metro {2} + +webserviceap.rpc.literal.webparams.must.specify.name=Todos los par\u00E1metros web de literales RPC deben especificar un nombre. Clase\\: {0} m\u00E9todo {1}, par\u00E1metro {2} + +webserviceap.rpc.literal.must.not.be.bare=El literal de RPC SOAPBindings debe tener el elemento parameterStyle WRAPPED. Clase\\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=Todas las anotaciones de par\u00E1metros web en los par\u00E1metros de cabecera deben especificar un nombre. Clase\: {0} m\u00E9todo {1}, par\u00E1metro {2} + +webserviceap.failed.to.find.handlerchain.file=No se ha encontrado el archivo HandlerChain. Clase\\: {0}, archivo:\\ {1} + +webserviceap.failed.to.parse.handlerchain.file=Fallo al analizar el archivo HandlerChain. Clase\\: {0}, archivo\\: {1} + +webserviceap.class.not.found=No se ha encontrado la clase: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=Las anotaciones del enlace SOAPBinding.Style.RPC no est\u00E1n permitidas en los m\u00E9todos. Clase\\: {0} M\u00E9todo\\: {1} + +webserviceap.mixed.binding.style=La clase \\: {0} contiene enlaces mixtos. SOAPBinding.Style.RPC y SOAPBinding.Style.DOCUMENT no se pueden mezclar. + +webserviceap.endpointinteface.plus.annotation=La anotaci\u00F3n @{0} no se puede utilizar con el elemento @javax.jws.WebService.endpointInterface. + +webserviceap.endpointinteface.plus.element=El elemento @javax.jws.WebService.{0} no se puede utilizar con el elemento @javax.jws.WebService.endpointInterface. + +webserviceap.non.in.parameters.must.be.holder=La clase:\\ {0},m\u00E9todo: {1}, par\u00E1metro: {2} no es WebParam.Mode.IN y no es del tipo javax.xml.ws.Holder. + +webserviceap.invalid.sei.annotation.element=El elemento @javax.jws.WebService.{0} no se puede especificar en una interfaz de punto final de servicio. Clase\\: {1} + +webserviceap.invalid.sei.annotation=La anotaci\u00F3n @{0} no se puede utilizar en una interfaz de punto final de servicio. Clase\\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=@javax.jws.WebMethod({0}) no se puede utilizar en una interfaz de punto final de servicio. Clase\\: {1} m\u00E9todo\\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=El elemento @javax.jws.WebMethod.{0} no se puede especificar con el elemento @javax.jws.WebMethod.exclude. Clase\\: {1} m\u00E9todo\\: {2} + +webserviceap.doc.bare.no.out=Los m\u00E9todos BARE de documento/literal que no tienen tipo de retorno o par\u00E1metros OUT/INOUT se deben anotar como @Oneway. Clase\\: {0}, m\u00E9todo: {1} +webserviceap.doc.bare.return.and.out=Los m\u00E9todos BARE de documento/literal no pueden tener un tipo de retorno ni par\u00E1metros OUT. Clase\: {0}, m\u00E9todo\: {1} +webserviceap.oneway.and.out=Los m\u00E9todos @Oneway no pueden tener par\u00E1metros OUT. Clase\\: {0} m\u00E9todo {1} + +webserviceap.webservice.class.not.public=Las clases anotadas con @javax.jws.WebService deben ser public. Clase\\: {0} + +webserviceap.webservice.class.is.final=Las clases anotadas con @javax.jws.WebService no deben ser final. Clase\: {0} + +webserviceap.webservice.class.is.abstract=Las clases anotadas con @javax.jws.WebService no deben ser abstract. Clase\\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=Las clases internas anotadas con @javax.jws.WebService deben ser static. Clase\: {0} + +webserviceap.webservice.method.is.abstract=Las clases anotadas con @javax.jws.WebService no deben tener m\u00E9todos abstract. Clase\: {0} M\u00E9todo: {1} + +webserviceap.webservice.method.is.static.or.final=El m\u00E9todo anotado con @javax.jws.WebMethod no debe ser static ni final. Clase:\\: {0} M\u00E9todo: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=Las clases anotadas con @javax.jws.WebService deben tener un constructor por defecto p\u00FAblico. Clase\: {0} + +webserviceap.oneway.and.not.one.in=Los m\u00E9todos BARE de literales de documentos anotados con @javax.jws.Oneway deben tener un par\u00E1metro IN no de cabecera. Clase\\: {0} M\u00E9todo\\: {1} + +webserviceap.doc.bare.no.return.and.no.out=Los m\u00E9todos BARE de literales de documentos que no tienen un valor de retorno deben tener un solo par\u00E1metro OUT/INOUT. Clase\: {0} M\u00E9todo\: {1} + +webserviceap.doc.bare.and.no.one.in=Los m\u00E9todos BARE de literales de documentos deben tener un par\u00E1metro IN/INOUT no de cabecera. Clase\\: {0} M\u00E9todo\\: {1} + +webserviceap.method.not.implemented=Los m\u00E9todos de endpointInterface se deben implantar en la clase de implantaci\u00F3n. Clase de Interfaz\\:{0} Clase de Implantaci\u00F3n\\:{1} M\u00E9todo\\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=Las clases anotadas con @javax.jws.Webservice que no pertenecen a un paquete deben tener el elemento @javax.jws.Webservice.targetNamespace. Clase\\: {0} + +webserviceap.webservice.and.webserviceprovider=Clases que no se pueden anotar con @javax.jws.WebService y @javax.xml.ws.WebServiceProvider. Clase\\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= Uso incorrecto de la anotaci\u00F3n {0} en {1}. ParameterStyle s\u00F3lo puede ser WRAPPED con el servicio web de estilo RPC. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=erreur : fichier introuvable : {0} +webserviceap.error=erreur : {0} +webserviceap.warning=avertissement : {0} +webserviceap.info=informations : {0} +webserviceap.compilationFailed=\u00E9chec de la compilation, les erreurs auraient d\u00FB \u00EAtre signal\u00E9es +webserviceap.succeeded: Succ\u00E8s + +webserviceap.method.not.annotated=La m\u00E9thode {0} sur la classe {1} n''est pas annot\u00E9e. +webserviceap.rpc.encoded.not.supported=La classe {0} comporte une annotation SOAPBinding rpc/encoded. Les annotations SOAPBinding rpc/encoded ne sont pas prises en charge dans JAXWS 2.0. +webservice.encoded.not.supported=La classe {0} comporte une annotation SOAPBinding non valide. L''annotation SOAPBinding {1}/encoded n''est pas prise en charge +webserviceap.model.already.exists=le mod\u00E8le existe d\u00E9j\u00E0 +webserviceap.endpointinterface.on.interface=L''interface d''adresse de service {0} ne peut comporter aucune annotation WebService.endpointInterface \: {1} +webserviceap.java.typeNotFound=Le type {0} est introuvable dans le mapping +webserviceap.endpointinterfaces.do.not.match=L''interface d''adresse {0} ne correspond pas \u00E0 l''interface {1}. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=Impossible d''obtenir TypeElement pour {0} dans le cycle de traitement d''annotation \: {1} + +webserviceap.no.webservice.endpoint.found=Une adresse de service Web est introuvable + +webserviceap.endpointinterface.has.no.webservice.annotation=L''interface d''adresse {0} doit comporter une annotation WebService + +webserviceap.oneway.operation.cannot.have.return.type=La m\u00E9thode {1} de classe {0} a l''annotation @Oneway mais comporte un type de donn\u00E9es renvoy\u00E9. + +webserviceap.oneway.operation.cannot.have.holders=La m\u00E9thode {1} de classe {0} \u00E0 l''annotation @Oneway mais contient des param\u00E8tres INOUT ou OUT (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=La m\u00E9thode {1} de classe {0} a l''annotation @Oneway mais d\u00E9clare l''exception {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=Vous ne pouvez pas indiquer \u00E0 la fois les annotations HanlderChain et SOAPMessageHandlers + +webserviceap.invalid.handlerchain.file.nohandler-config=Le fichier HandlerChain {0} n''est pas valide, il ne contient aucun \u00E9l\u00E9ment handler-config + +webserviceap.could.not.find.handlerchain=Handlerchain {0} introuvable dans le fichier de gestionnaire {1} + +webserviceap.handlerclass.notspecified=Un gestionnaire du fichier HandlerChain \: {0} ne sp\u00E9cifie aucun \u00E9l\u00E9ment handler-class + +webserviceap.init_param.format.error=un \u00E9l\u00E9ment doit comporter exactement 1 \u00E9l\u00E9ment et 1 \u00E9l\u00E9ment + +webserviceap.document.literal.bare.method.return.not.unique=Les m\u00E9thodes BARE de document/litt\u00E9ral doivent comporter une combinaison unique de type de donn\u00E9es renvoy\u00E9 et de nom de r\u00E9sultat. Classe {0} m\u00E9thode \: {1}, nom de r\u00E9sultat \: {2} type de donn\u00E9es renvoy\u00E9 \: {3} + +webserviceap.document.literal.bare.method.not.unique=Les m\u00E9thodes BARE de document/litt\u00E9ral doivent comporter des noms de param\u00E8tre uniques. Classe \: {0}, m\u00E9thode \: {1}, nom de param\u00E8tre \: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=Les m\u00E9thodes BARE de document/litt\u00E9ral doivent comporter une valeur renvoy\u00E9e ou un param\u00E8tre OUT. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=Les m\u00E9thodes BARE de document/litt\u00E9ral ne doivent pas comporter plus d''un param\u00E8tre IN non destin\u00E9 \u00E0 un en-t\u00EAte. Classe \: {0}, m\u00E9thode \: {1}, nombre de param\u00E8tres non destin\u00E9s \u00E0 un en-t\u00EAte \: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=Les m\u00E9thodes BARE de document/litt\u00E9ral doivent comporter au moins un des \u00E9l\u00E9ments suivants : une valeur renvoy\u00E9e, un param\u00E8tre IN ou un param\u00E8tre OUT. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.holder.parameters.must.not.be.in.only=Les param\u00E8tres javax.xml.ws.Holder ne doivent pas \u00EAtre annot\u00E9s avec la propri\u00E9t\u00E9 WebParam.Mode.IN. Classe \: {0}, m\u00E9thode \: {1}, param\u00E8tre \: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=Les param\u00E8tres javax.xml.ws.Holder dans les op\u00E9rations BARE de document doivent \u00EAtre WebParam.Mode.INOUT. Classe \: {0}, m\u00E9thode \: {1}, param\u00E8tre \: {2} + +webserviceap.endpointinterface.class.not.found=La classe endpointInterface {0} est introuvable + +webserviceap.sei.cannot.contain.constant.values=Une interface d''adresse de service ne peut contenir aucune d\u00E9claration constante \: interface \: {0}, champ \: {1}. + +webserviceap.method.return.type.cannot.implement.remote=Les types de donn\u00E9es renvoy\u00E9s de m\u00E9thode ne peuvent pas impl\u00E9menter java.rmi.Remote. Classe \: {0}, m\u00E9thode \: {1}, type de donn\u00E9es renvoy\u00E9 \: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=Les types de param\u00E8tre de m\u00E9thode ne peuvent pas impl\u00E9menter java.rmi.Remote. Classe \: {0}, m\u00E9thode \: {1}, param\u00E8tre \: {2}, type \: {3} + +webserviceap.operation.name.not.unique=Les noms d''op\u00E9ration doivent \u00EAtre uniques. Classe \: {0}, m\u00E9thode \: {1}, nom d''op\u00E9ration \: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=Les noms de bean de wrapper de demande doivent \u00EAtre uniques et ne doivent pas \u00EAtre en conflit avec les autres classes g\u00E9n\u00E9r\u00E9es. Classe \: {0}, m\u00E9thode : {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=Les noms de bean de wrapper de r\u00E9ponse doivent \u00EAtre uniques et ne doivent pas \u00EAtre en conflit avec les autres classes g\u00E9n\u00E9r\u00E9es. Classe \: {0}, m\u00E9thode : {1} + +webserviceap.method.exception.bean.name.not.unique=Les noms de bean d''exception doivent \u00EAtre uniques et ne doivent pas \u00EAtre en conflit avec les autres classes g\u00E9n\u00E9r\u00E9es. Classe \: {0}, exception : {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=Tous les param\u00E8tres de litt\u00E9ral RPC doivent comporter une annotation WebParam. Classe \: {0}, m\u00E9thode \: {1}, param\u00E8tre : {2} + +webserviceap.rpc.literal.webparams.must.specify.name=Tous les annotations WebParam de litt\u00E9ral RPC doivent indiquer un nom. Classe \: {0}, m\u00E9thode : {1}, param\u00E8tre : {2} + +webserviceap.rpc.literal.must.not.be.bare=Les annotations SOAPBinding de litt\u00E9ral RPC doivent comporter le parameterStyle WRAPPED. Classe \: {0}. + +webserviceap.header.parameters.must.have.webparam.name=Toutes les annotations WebParam sur les param\u00E8tres d''en-t\u00EAte doivent indiquer un nom. Classe \: {0}, m\u00E9thode : {1}, param\u00E8tre : {2} + +webserviceap.failed.to.find.handlerchain.file=Fichier HandlerChain introuvable. classe\ : {0}, fichier :\ {1} + +webserviceap.failed.to.parse.handlerchain.file=Echec de l''analyse du fichier HandlerChain. Classe \: {0}, fichier \: {1} + +webserviceap.class.not.found=Classe introuvable : {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=Les annotations de binding SOAPBinding.Style.RPC ne sont pas autoris\u00E9es sur les m\u00E9thodes. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.mixed.binding.style=La classe {0} contient des bindings mixtes. SOAPBinding.Style.RPC et SOAPBinding.Style.DOCUMENT ne peuvent pas \u00EAtre mixtes. + +webserviceap.endpointinteface.plus.annotation=L''annotation @{0} ne peut pas \u00EAtre utilis\u00E9e avec l''\u00E9l\u00E9ment @javax.jws.WebService.endpointInterface. + +webserviceap.endpointinteface.plus.element=L''\u00E9l\u00E9ment @javax.jws.WebService.{0} ne peut pas \u00EAtre utilis\u00E9 avec l''\u00E9l\u00E9ment @javax.jws.WebService.endpointInterface. + +webserviceap.non.in.parameters.must.be.holder=Classe {0}, m\u00E9thode : {1}, param\u00E8tre : {2} n''est pas WebParam.Mode.IN et n''est pas de type javax.xml.ws.Holder. + +webserviceap.invalid.sei.annotation.element=L''\u00E9l\u00E9ment @javax.jws.WebService.{0} ne peut pas \u00EAtre indiqu\u00E9 sur une interface d''adresse de service. Classe \: {1} + +webserviceap.invalid.sei.annotation=L''annotation @{0} ne peut pas \u00EAtre utilis\u00E9e sur une interface d''adresse de service. Classe \: {1} + +webserviceap.invalid.sei.annotation.element.exclude=L''\u00E9l\u00E9ment @javax.jws.WebMethod({0}) ne peut pas \u00EAtre utilis\u00E9 sur une interface d''adresse de service. Classe \: {1}, m\u00E9thode \: {2} + +webserviceap.invalid.webmethod.element.with.exclude=L''\u00E9l\u00E9ment @javax.jws.WebMethod.{0} ne peut pas \u00EAtre indiqu\u00E9 avec l''\u00E9l\u00E9ment @javax.jws.WebMethod.exclude. Classe \: {1}, m\u00E9thode \: {2} + +webserviceap.doc.bare.no.out=Les m\u00E9thodes BARE de document/litt\u00E9ral sans aucun type de donn\u00E9es renvoy\u00E9 ou param\u00E8tre OUT/INOUT doivent \u00EAtre annot\u00E9es comme @Oneway. Classe \: {0}, m\u00E9thode : {1} +webserviceap.doc.bare.return.and.out=Les m\u00E9thodes BARE de document/litt\u00E9ral ne peuvent pas comporter de type de donn\u00E9es renvoy\u00E9 et de param\u00E8tres OUT. Classe \: {0}, m\u00E9thode : {1} +webserviceap.oneway.and.out=Les m\u00E9thodes @Oneway ne peuvent comporter aucun param\u00E8tre OUT. Classe \: {0}, m\u00E9thode : {1} + +webserviceap.webservice.class.not.public=Les classes annot\u00E9es avec @javax.jws.WebService doivent \u00EAtre de type public. Classe \: {0} + +webserviceap.webservice.class.is.final=Les classes annot\u00E9es avec @javax.jws.WebService ne doivent pas \u00EAtre de type final. Classe \: {0} + +webserviceap.webservice.class.is.abstract=Les classes annot\u00E9es avec @javax.jws.WebService ne doivent pas \u00EAtre de type abstract. Classe \: {0} + +webserviceap.webservice.class.is.innerclass.not.static=Les classes internes annot\u00E9es avec @javax.jws.WebService doivent \u00EAtre de type static. Classe \: {0} + +webserviceap.webservice.method.is.abstract=Les classes annot\u00E9es avec @javax.jws.WebService ne doivent comporter aucune m\u00E9thode abstract. Classe \: {0}, m\u00E9thode : {1} + +webserviceap.webservice.method.is.static.or.final=La m\u00E9thode annot\u00E9e avec @javax.jws.WebMethod ne doit pas \u00EAtre static ou final. Classe \: {0}, m\u00E9thode : {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=Les classes annot\u00E9es avec @javax.jws.WebService doivent avoir un constructeur par d\u00E9faut public. Classe \: {0} + +webserviceap.oneway.and.not.one.in=Les m\u00E9thodes BARE de document/litt\u00E9ral annot\u00E9es avec @javax.jws.Oneway doivent comporter un param\u00E8tre IN non destin\u00E9 \u00E0 un en-t\u00EAte. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.doc.bare.no.return.and.no.out=Les m\u00E9thodes BARE de document/litt\u00E9ral ne comportant aucune valeur renvoy\u00E9e doivent avoir un seul param\u00E8tre OUT/INOUT. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.doc.bare.and.no.one.in=Les m\u00E9thodes BARE de document/litt\u00E9ral doivent comporter un param\u00E8tre IN/INOUT non destin\u00E9 \u00E0 un en-t\u00EAte. Classe \: {0}, m\u00E9thode \: {1} + +webserviceap.method.not.implemented=Les m\u00E9thodes d''une classe endpointInterface doivent \u00EAtre impl\u00E9ment\u00E9es dans la classe d''impl\u00E9mentation. Classe d''interface \:{0}, classe d''impl\u00E9mentation \: {1}, m\u00E9thode \: {2} + +webserviceap.no.package.class.must.have.targetnamespace=Les classes annot\u00E9es avec @javax.jws.Webservice qui n''appartiennent \u00E0 aucun package doivent comporter l''\u00E9l\u00E9ment @javax.jws.Webservice.targetNamespace. Classe \: {0} + +webserviceap.webservice.and.webserviceprovider=Les classes ne peuvent pas \u00EAtre annot\u00E9es \u00E0 la fois avec @javax.jws.WebService et @javax.xml.ws.WebServiceProvider. Classe \: {0} + +webserviceap.invalid.soapbinding.parameterstyle= Syntaxe incorrecte de l''annotation {0} sur {1}, ParameterStyle ne peut \u00EAtre que WRAPPED avec le service Web de style RPC. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=errore: file non trovato: {0} +webserviceap.error=errore: {0} +webserviceap.warning=avvertenza: {0} +webserviceap.info=informazioni: {0} +webserviceap.compilationFailed=compilazione non riuscita. Gli errori dovrebbero essere stati segnalati. +webserviceap.succeeded: Operazione riuscita + +webserviceap.method.not.annotated=Il metodo {0} sulla classe {1} non \u00E8 annotato. +webserviceap.rpc.encoded.not.supported=La classe {0} ha una SOAPBinding RPC/codificata. Le SOAPBinding RPC/codificate non sono supportate in JAXWS 2.0. +webservice.encoded.not.supported=La classe {0} ha un''annotazione SOAPBinding non valida. Le SOAPBinding {1}/codificate non sono supportate +webserviceap.model.already.exists=il modello esiste gi\u00E0 +webserviceap.endpointinterface.on.interface=L''interfaccia endpoint del servizio\: {0} non pu\u00F2 avere un''annotazione WebService.endpointInterface\: {1} +webserviceap.java.typeNotFound=Tipo: {0} non trovato nel mapping +webserviceap.endpointinterfaces.do.not.match=L''interfaccia endpoint {0} non corrisponde all''interfaccia {1}. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=Impossibile ottenere TypeElement per:\ {0} nel ciclo di elaborazione dell''annotazione:\ {1} + +webserviceap.no.webservice.endpoint.found=Impossibile trovare un endpoint del servizio Web + +webserviceap.endpointinterface.has.no.webservice.annotation=L''interfaccia endpoint {0} deve avere un''annotazione WebService + +webserviceap.oneway.operation.cannot.have.return.type=Il metodo {1} della classe {0} \u00E8 annotato con @Oneway ma ha un tipo restituito. + +webserviceap.oneway.operation.cannot.have.holders=Il metodo {1} della classe {0} \u00E8 annotato con @Oneway ma contiene i parametri INOUT o OUT (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=Il metodo {1} della classe {0} \u00E8 annotato con @Oneway ma dichiara l''eccezione {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=Impossibile specificare entrambe le annotazioni HanlderChain e SOAPMessageHandlers + +webserviceap.invalid.handlerchain.file.nohandler-config=Il file HandlerChain {0} non \u00E8 valido poich\u00E9 non contiene un elemento handler-config + +webserviceap.could.not.find.handlerchain=Impossibile trovare la catena di handler {0} nel file di handler {1} + +webserviceap.handlerclass.notspecified=Un handler del file HandlerChain\: {0} non specifica un elemento handler-class + +webserviceap.init_param.format.error=un elemento deve avere esattamente 1 e 1 + +webserviceap.document.literal.bare.method.return.not.unique=I metodi BARE document-literal devono avere una combinazione di nome risultato e tipo restituito univoca. Classe {0} metodo\: {1}, nome risultato\: {2} tipo restituito\: {3} + +webserviceap.document.literal.bare.method.not.unique=I metodi BARE document-literal devono avere nomi di parametro univoci. Classe\: {0} metodo\: {1}, nome parametro\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=I metodi BARE document-literal devono avere un tipo restituito o un parametro OUT. Classe\: {0} Metodo\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=I metodi BARE document-literal non devono avere pi\u00F9 di 1 parametro IN non di intestazione. Classe\: {0} metodo\: {1}, numero di parametri non di intestazione\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=I metodi BARE document-literal devono avere almeno uno dei seguenti elementi: tipo restituito, parametro IN o parametro OUT. Classe\: {0} Metodo\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=I parametri javax.xml.ws.Holder non devono essere annotati con la propriet\u00E0 WebParam.Mode.IN. Classe\: {0} metodo\: {1} parametro\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=I parametri javax.xml.ws.Holder nelle operazioni BARE document devono essere WebParam.Mode.INOUT. Classe\: {0} metodo\: {1} parametro\: {2} + +webserviceap.endpointinterface.class.not.found=Impossibile trovare la classe endpointInterface {0} + +webserviceap.sei.cannot.contain.constant.values=Un''interfaccia endpoint del servizio non pu\u00F2 contenere una dichiarazione della costante\: Interfaccia\: {0} campo\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=I tipi restituiti del metodo non possono implementare java.rmi.Remote. Classe\: {0} metodo\: {1} tipo restituito\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=I tipi di parametro del metodo non possono implementare java.rmi.Remote. Classe\: {0} metodo\: {1} parametro\: {2} tipo\: {3} + +webserviceap.operation.name.not.unique=I nomi delle operazioni devono essere univoci. Classe\: {0} metodo\: {1} nome operazione\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=I nomi di bean wrapper di richiesta devono essere univoci e non devono essere in conflitto con le altre classi generate. Classe\: {0} metodo {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=I nomi di bean wrapper di risposta devono essere univoci e non devono essere in conflitto con le altre classi generate. Classe\: {0} metodo {1} + +webserviceap.method.exception.bean.name.not.unique=I nomi di bean di eccezione devono essere univoci e non devono essere in conflitto con le altre classi generate. Classe\: {0} eccezione {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=Tutti i parametri RPC-literal devono avere un''annotazione WebParam. Classe\: {0} metodo\: {1} parametro {2} + +webserviceap.rpc.literal.webparams.must.specify.name=Tutti i WebParams RPC-literal devono specificare un nome. Classe\: {0} metodo\: {1} parametro {2} + +webserviceap.rpc.literal.must.not.be.bare=Tutte le SOAPBindings RPC-literal devono avere parameterStyle WRAPPED. Classe\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=Tutte le annotazioni WebParam sui parametri dell''intestazione devono specificare un nome. Classe\: {0} metodo\: {1} parametro {2} + +webserviceap.failed.to.find.handlerchain.file=Impossibile trovare il file HandlerChain. Classe\: {0}, file:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=Analisi del file HandlerChain non riuscita. Classe\: {0}, file:\ {1} + +webserviceap.class.not.found=Classe non trovata: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=Le annotazioni di associazione SOAPBinding.Style.RPC non sono consentite sui metodi. Classe\: {0} Metodo\: {1} + +webserviceap.mixed.binding.style=La classe\: {0} contiene associazioni miste. SOAPBinding.Style.RPC e SOAPBinding.Style.DOCUMENT non posso essere mischiati. + +webserviceap.endpointinteface.plus.annotation=Impossibile usare l''annotazione @{0} con l''elemento @javax.jws.WebService.endpointInterface. + +webserviceap.endpointinteface.plus.element=Impossibile usare l''elemento @javax.jws.WebService.{0} con l''elemento @javax.jws.WebService.endpointInterface. + +webserviceap.non.in.parameters.must.be.holder=La classe:\ {0}, metodo: {1}, parametro: {2} non \u00E8 WebParam.Mode.IN e non \u00E8 di tipo javax.xml.ws.Holder. + +webserviceap.invalid.sei.annotation.element=Impossibile specificare l''elemento @javax.jws.WebService.{0} su un''interfaccia endpoint del servizio. Classe\: {1} + +webserviceap.invalid.sei.annotation=Impossibile usare l''annotazione @{0} su un''interfaccia endpoint del servizio. Classe\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=Impossibile usare @javax.jws.WebMethod({0}) su un''interfaccia endpoint del servizio. Classe\: {1} metodo\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=L''elemento @javax.jws.WebMethod.{0} non pu\u00F2 essere specificato con l''elemento @javax.jws.WebMethod.exclude. Classe\: {1} metodo\: {2} + +webserviceap.doc.bare.no.out=I metodi BARE document-literal senza tipo restituito o parametri OUT/INOUT devono essere annotati come @Oneway. Classe\: {0}, metodo: {1} +webserviceap.doc.bare.return.and.out=I metodi BARE document-literal non possono avere un tipo restituito e parametri OUT. Classe\: {0}, metodo: {1} +webserviceap.oneway.and.out=I metodi @Oneway non possono avere parametri OUT. Classe\: {0} metodo: {1} + +webserviceap.webservice.class.not.public=Le classi annotate con @javax.jws.WebService devono essere pubbliche. Classe\: {0} + +webserviceap.webservice.class.is.final=Le classi annotate con @javax.jws.WebService non devono essere finali. Classe\: {0} + +webserviceap.webservice.class.is.abstract=Le classi annotate con @javax.jws.WebService non devono essere astratte. Classe\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=Le classi interne annotate con @javax.jws.WebService devono essere statiche. Classe\: {0} + +webserviceap.webservice.method.is.abstract=Le classi annotate con @javax.jws.WebService non devono avere metodi astratti. Classe\: {0} Metodo: {1} + +webserviceap.webservice.method.is.static.or.final=I metodi annotati con @javax.jws.WebMethod non devono essere statici o finali. Classe\: {0} Metodo: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=Le classi annotate con @javax.jws.WebService devono avere un costruttore predefinito pubblico. Classe\: {0} + +webserviceap.oneway.and.not.one.in=I metodi BARE document-literal annotati con @javax.jws.Oneway devono avere un parametro IN non di intestazione. Classe\: {0} Metodo\: {1} + +webserviceap.doc.bare.no.return.and.no.out=I metodi BARE document-literal che non hanno un tipo restituito devono avere un singolo parametro OUT/INOUT. Classe\: {0} Metodo\: {1} + +webserviceap.doc.bare.and.no.one.in=I metodi BARE document-literal devono avere un parametro IN/INOUT non di intestazione. Classe\: {0} Metodo\: {1} + +webserviceap.method.not.implemented=I metodi di un endpointInterface devono essere implementati nella classe di implementazione. Classe interfaccia\:{0} Classe implementazione\:{1} Metodo\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=Le classi annotate @javax.jws.Webservice che non appartengono a un package devono avere l''elemento @javax.jws.Webservice.targetNamespace. Classe\: {0} + +webserviceap.webservice.and.webserviceprovider=Le classi non possono essere annotate sia con @javax.jws.WebService che con @javax.xml.ws.WebServiceProvider. Classe\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= Uso errato dell''annotazione {0} su {1}. ParameterStyle pu\u00F2 essere solo WRAPPED con il servizio Web dello stile RPC. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=\u30A8\u30E9\u30FC: \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0} +webserviceap.error=\u30A8\u30E9\u30FC: {0} +webserviceap.warning=\u8B66\u544A: {0} +webserviceap.info=\u60C5\u5831: {0} +webserviceap.compilationFailed=\u30B3\u30F3\u30D1\u30A4\u30EB\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30A8\u30E9\u30FC\u306F\u5831\u544A\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +webserviceap.succeeded: \u6210\u529F + +webserviceap.method.not.annotated=\u30AF\u30E9\u30B9{1}\u306E\u30E1\u30BD\u30C3\u30C9{0}\u306B\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +webserviceap.rpc.encoded.not.supported=\u30AF\u30E9\u30B9{0}\u306Brpc/encoded SOAPBinding\u304C\u542B\u307E\u308C\u307E\u3059\u3002Rpc/encoded SOAPBinding\u306FJAXWS 2.0\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +webservice.encoded.not.supported={0}\u30AF\u30E9\u30B9\u306B\u7121\u52B9\u306ASOAPBinding\u6CE8\u91C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002{1}/encoded SOAPBinding\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +webserviceap.model.already.exists=\u30E2\u30C7\u30EB\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059 +webserviceap.endpointinterface.on.interface=\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\: {0}\u306B\u306FWebService.endpointInterface\u6CE8\u91C8\: {1}\u3092\u542B\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093 +webserviceap.java.typeNotFound=\u30BF\u30A4\u30D7: {0}\u304C\u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +webserviceap.endpointinterfaces.do.not.match=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9{0}\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9{1}\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002 + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=\u6CE8\u91C8\u51E6\u7406\u30E9\u30A6\u30F3\u30C9:\ {1}\u3067{0}\u306ETypeElement\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F + +webserviceap.no.webservice.endpoint.found=Web\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F + +webserviceap.endpointinterface.has.no.webservice.annotation=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9{0}\u306B\u306FWebService\u6CE8\u91C8\u304C\u5FC5\u8981\u3067\u3059 + +webserviceap.oneway.operation.cannot.have.return.type=\u30AF\u30E9\u30B9{0}\u306E\u30E1\u30BD\u30C3\u30C9{1}\u306B@Oneway\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u304C\u3001\u623B\u308A\u5024\u306E\u578B\u304C\u542B\u307E\u308C\u307E\u3059\u3002 + +webserviceap.oneway.operation.cannot.have.holders=\u30AF\u30E9\u30B9{0}\u306E\u30E1\u30BD\u30C3\u30C9{1}\u306B@Oneway\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u304C\u3001INOUT\u307E\u305F\u306FOUT\u30D1\u30E9\u30E1\u30FC\u30BF(javax.xml.ws.Holder)\u304C\u542B\u307E\u308C\u307E\u3059 + +webserviceap.oneway.operation.cannot.declare.exceptions=\u30AF\u30E9\u30B9{0}\u306E\u30E1\u30BD\u30C3\u30C9{1}\u306B@Oneway\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u304C\u3001\u4F8B\u5916{2}\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059 + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=HanlderChain\u304A\u3088\u3073SOAPMessageHandlers\u6CE8\u91C8\u306E\u4E21\u65B9\u3092\u6307\u5B9A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 + +webserviceap.invalid.handlerchain.file.nohandler-config=handlerchain\u30D5\u30A1\u30A4\u30EB{0}\u304C\u7121\u52B9\u3067\u3059\u3002\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u306Fhandler-config\u8981\u7D20\u304C\u542B\u307E\u308C\u307E\u305B\u3093 + +webserviceap.could.not.find.handlerchain=\u30CF\u30F3\u30C9\u30E9\u30FB\u30D5\u30A1\u30A4\u30EB{1}\u306Bhandlerchain {0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F + +webserviceap.handlerclass.notspecified=HandlerChain\u30D5\u30A1\u30A4\u30EB\: {0}\u306E\u30CF\u30F3\u30C9\u30E9\u306Fhandler-class\u3092\u6307\u5B9A\u3057\u3066\u3044\u307E\u305B\u3093 + +webserviceap.init_param.format.error=1\u3064\u306E\u8981\u7D20\u306B\u306F\u304A\u3088\u3073\u304C1\u3064\u305A\u3064\u5FC5\u8981\u3067\u3059 + +webserviceap.document.literal.bare.method.return.not.unique=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u4E00\u610F\u306E\u7D50\u679C\u540D\u3068\u623B\u308A\u5024\u306E\u578B\u306E\u7D44\u5408\u305B\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9{0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u7D50\u679C\u540D\: {2}\u3001\u623B\u308A\u5024\u306E\u578B\: {3} + +webserviceap.document.literal.bare.method.not.unique=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u4E00\u610F\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u540D\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u623B\u308A\u5024\u307E\u305F\u306F1\u3064\u306EOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u30D8\u30C3\u30C0\u30FC\u4EE5\u5916\u306EIN\u30D1\u30E9\u30E1\u30FC\u30BF\u304C1\u3064\u306E\u307F\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D8\u30C3\u30C0\u30FC\u4EE5\u5916\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u6570\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u623B\u308A\u5024\u3001IN\u30D1\u30E9\u30E1\u30FC\u30BF\u307E\u305F\u306FOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u306FWebParam.Mode.IN\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u6CE8\u91C8\u3092\u4ED8\u3051\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8bare\u64CD\u4F5C\u306Ejavax.xml.ws.Holder\u30D1\u30E9\u30E1\u30FC\u30BF\u306F\u3001WebParam.Mode.INOUT\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\: {2} + +webserviceap.endpointinterface.class.not.found=endpointInterface\u30AF\u30E9\u30B9{0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F + +webserviceap.sei.cannot.contain.constant.values=\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u306F\u5B9A\u6570\u5BA3\u8A00\u3092\u542B\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\: \u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\: {0}\u3001\u30D5\u30A3\u30FC\u30EB\u30C9\: {1}\u3002 + +webserviceap.method.return.type.cannot.implement.remote=\u30E1\u30BD\u30C3\u30C9\u306E\u623B\u308A\u5024\u306E\u578B\u306Fjava.rmi.Remote\u3092\u5B9F\u88C5\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u623B\u308A\u5024\u306E\u578B\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=\u30E1\u30BD\u30C3\u30C9\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30BF\u30A4\u30D7\u306Fjava.rmi.Remote\u3092\u5B9F\u88C5\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\: {2}\u3001\u30BF\u30A4\u30D7\: {3} + +webserviceap.operation.name.not.unique=\u64CD\u4F5C\u540D\u306F\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u64CD\u4F5C\u540D\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30E9\u30C3\u30D1\u30FCBean\u540D\u306F\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u3001\u4ED6\u306E\u751F\u6210\u6E08\u30AF\u30E9\u30B9\u3068\u7AF6\u5408\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9{1} + +webserviceap.method.response.wrapper.bean.name.not.unique=\u30EC\u30B9\u30DD\u30F3\u30B9\u30FB\u30E9\u30C3\u30D1\u30FCBean\u540D\u306F\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u3001\u4ED6\u306E\u751F\u6210\u6E08\u30AF\u30E9\u30B9\u3068\u7AF6\u5408\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9{1} + +webserviceap.method.exception.bean.name.not.unique=\u4F8B\u5916Bean\u540D\u306F\u4E00\u610F\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u3001\u4ED6\u306E\u751F\u6210\u6E08\u30AF\u30E9\u30B9\u3068\u7AF6\u5408\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u4F8B\u5916{1} + +webserviceap.rpc.literal.parameters.must.have.webparam=\u3059\u3079\u3066\u306ERPC\u30EA\u30C6\u30E9\u30EB\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u306BWebParam\u6CE8\u91C8\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF{2} + +webserviceap.rpc.literal.webparams.must.specify.name=\u3059\u3079\u3066\u306ERPC\u30EA\u30C6\u30E9\u30EBWebParams\u304C\u540D\u524D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9{1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF{2} + +webserviceap.rpc.literal.must.not.be.bare=RPC\u30EA\u30C6\u30E9\u30EBSOAPBindings\u306B\u306FparameterStyle WRAPPED\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3002 + +webserviceap.header.parameters.must.have.webparam.name=\u30D8\u30C3\u30C0\u30FC\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u3059\u3079\u3066\u306EWebParam\u6CE8\u91C8\u304C\u540D\u524D\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9{1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF{2} + +webserviceap.failed.to.find.handlerchain.file=HandlerChain\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30D5\u30A1\u30A4\u30EB:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=HandlerChain\u30D5\u30A1\u30A4\u30EB\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30D5\u30A1\u30A4\u30EB:\ {1} + +webserviceap.class.not.found=\u30AF\u30E9\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=\u30E1\u30BD\u30C3\u30C9\u3067\u306ESOAPBinding.Style.RPC\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u64CD\u4F5C\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.mixed.binding.style=\u30AF\u30E9\u30B9\: {0}\u306B\u8907\u5408\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u304C\u542B\u307E\u308C\u307E\u3059\u3002SOAPBinding.Style.RPC\u304A\u3088\u3073SOAPBinding.Style.DOCUMENT\u306F\u7D44\u307F\u5408\u305B\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3002 + +webserviceap.endpointinteface.plus.annotation=@{0}\u6CE8\u91C8\u306F@javax.jws.WebService.endpointInterface\u8981\u7D20\u3068\u3068\u3082\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 + +webserviceap.endpointinteface.plus.element=@javax.jws.WebService.{0}\u8981\u7D20\u306F@javax.jws.WebService.endpointInterface\u8981\u7D20\u3068\u3068\u3082\u306B\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002 + +webserviceap.non.in.parameters.must.be.holder=\u30AF\u30E9\u30B9:\ {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1}\u3001\u30D1\u30E9\u30E1\u30FC\u30BF: {2}\u306FWebParam.Mode.IN\u3067\u306F\u306A\u304F\u3001\u30BF\u30A4\u30D7\u304Cjavax.xml.ws.Holder\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 + +webserviceap.invalid.sei.annotation.element=@javax.jws.WebService.{0}\u8981\u7D20\u306F\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3067\u306F\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {1} + +webserviceap.invalid.sei.annotation=@{0}\u6CE8\u91C8\u306F\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=@javax.jws.WebMethod({0})\u306F\u30B5\u30FC\u30D3\u30B9\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {1}\u3001\u30E1\u30BD\u30C3\u30C9\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=@javax.jws.WebMethod.{0}\u8981\u7D20\u306F@javax.jws.WebMethod.exclude\u8981\u7D20\u3068\u3068\u3082\u306B\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {1}\u3001\u30E1\u30BD\u30C3\u30C9\: {2} + +webserviceap.doc.bare.no.out=\u623B\u308A\u5024\u306E\u578B\u307E\u305F\u306FOUT/INOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u306A\u3044\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001@Oneway\u3068\u6CE8\u91C8\u3092\u4ED8\u3051\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1} +webserviceap.doc.bare.return.and.out=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8/\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u623B\u308A\u5024\u306E\u578B\u304A\u3088\u3073OUT\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} +webserviceap.oneway.and.out=@Oneway\u30E1\u30BD\u30C3\u30C9\u306B\u306FOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9{1} + +webserviceap.webservice.class.not.public=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306Fpublic\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.webservice.class.is.final=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306Ffinal\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.webservice.class.is.abstract=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306Fabstract\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u5185\u90E8\u30AF\u30E9\u30B9\u306Fstatic\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.webservice.method.is.abstract=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306B\u306Fabstract\u30E1\u30BD\u30C3\u30C9\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1} + +webserviceap.webservice.method.is.static.or.final=@javax.jws.WebMethod\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30E1\u30BD\u30C3\u30C9\u306Fstatic\u307E\u305F\u306Ffinal\u306B\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=@javax.jws.WebService\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306B\u306Fpublic\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u30FB\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.oneway.and.not.one.in=@javax.jws.Oneway\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u30D8\u30C3\u30C0\u30FC\u4EE5\u5916\u306EIN\u30D1\u30E9\u30E1\u30FC\u30BF\u304C1\u3064\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.doc.bare.no.return.and.no.out=\u623B\u308A\u5024\u306E\u306A\u3044\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u30011\u3064\u306EOUT/INOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.doc.bare.and.no.one.in=\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30FB\u30EA\u30C6\u30E9\u30EBbare\u30E1\u30BD\u30C3\u30C9\u306B\u306F\u3001\u30D8\u30C3\u30C0\u30FC\u4EE5\u5916\u306EIN/INOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u304C1\u3064\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0}\u3001\u30E1\u30BD\u30C3\u30C9\: {1} + +webserviceap.method.not.implemented=endpointInterface\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u5B9F\u88C5\u30AF\u30E9\u30B9\u5185\u306B\u5B9F\u88C5\u3055\u308C\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u30FB\u30AF\u30E9\u30B9\:{0}\u3001\u5B9F\u88C5\u30AF\u30E9\u30B9\:{1}\u3001\u30E1\u30BD\u30C3\u30C9\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=\u30D1\u30C3\u30B1\u30FC\u30B8\u306B\u5C5E\u3055\u306A\u3044\u3001@javax.jws.Webservice\u3068\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30AF\u30E9\u30B9\u306B\u306F\u3001@javax.jws.Webservice.targetNamespace\u8981\u7D20\u304C\u5FC5\u8981\u3067\u3059\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.webservice.and.webserviceprovider=\u30AF\u30E9\u30B9\u306B\u306F\u3001@javax.jws.WebService\u304A\u3088\u3073@javax.xml.ws.WebServiceProvider\u306E\u4E21\u65B9\u306E\u6CE8\u91C8\u3092\u4ED8\u3051\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= {1}\u306B\u304A\u3051\u308B\u6CE8\u91C8{0}\u306E\u4F7F\u7528\u65B9\u6CD5\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002RPC\u30B9\u30BF\u30A4\u30EBWeb\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u3001ParameterStyle\u306FWRAPPED\u306E\u307F\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=\uC624\uB958: \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} +webserviceap.error=\uC624\uB958: {0} +webserviceap.warning=\uACBD\uACE0: {0} +webserviceap.info=\uC815\uBCF4: {0} +webserviceap.compilationFailed=\uCEF4\uD30C\uC77C\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC624\uB958\uB97C \uBCF4\uACE0\uD574\uC57C \uD569\uB2C8\uB2E4. +webserviceap.succeeded: \uC131\uACF5 + +webserviceap.method.not.annotated={1} \uD074\uB798\uC2A4\uC758 {0} \uBA54\uC18C\uB4DC\uAC00 \uC8FC\uC11D \uCC98\uB9AC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +webserviceap.rpc.encoded.not.supported={0} \uD074\uB798\uC2A4\uC5D0 RPC/\uC778\uCF54\uB529\uB41C SOAPBinding\uC774 \uC788\uC2B5\uB2C8\uB2E4. JAXWS 2.0\uC5D0\uC11C\uB294 RPC/\uC778\uCF54\uB529\uB41C SOAPBinding\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +webservice.encoded.not.supported={0} \uD074\uB798\uC2A4\uC5D0 \uBD80\uC801\uD569\uD55C SOAPBinding \uC8FC\uC11D\uC774 \uC788\uC2B5\uB2C8\uB2E4. {1}/\uC778\uCF54\uB529\uB41C SOAPBinding\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +webserviceap.model.already.exists=\uBAA8\uB378\uC774 \uC874\uC7AC\uD569\uB2C8\uB2E4. +webserviceap.endpointinterface.on.interface=\uC11C\uBE44\uC2A4 \uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4 {0}\uC5D0\uB294 WebService.endpointInterface \uC8FC\uC11D\uC774 \uD3EC\uD568\uB420 \uC218 \uC5C6\uC74C\: {1} +webserviceap.java.typeNotFound={0} \uC720\uD615\uC744 \uB9E4\uD551\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +webserviceap.endpointinterfaces.do.not.match=\uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4 {0}\uC774(\uAC00) {1} \uC778\uD130\uD398\uC774\uC2A4\uC640 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=\uC8FC\uC11D \uCC98\uB9AC \uC8FC\uAE30 {1}\uC5D0\uC11C {0}\uC5D0 \uB300\uD55C TypeElement\uB97C \uAC00\uC838\uC62C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.no.webservice.endpoint.found=\uC6F9 \uC11C\uBE44\uC2A4 \uB05D\uC810\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.endpointinterface.has.no.webservice.annotation=\uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4 {0}\uC5D0\uB294 WebService \uC8FC\uC11D\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +webserviceap.oneway.operation.cannot.have.return.type={0} \uD074\uB798\uC2A4\uC758 {1} \uBA54\uC18C\uB4DC\uB294 @Oneway\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC9C0\uB9CC \uBC18\uD658 \uC720\uD615\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4. + +webserviceap.oneway.operation.cannot.have.holders={0} \uD074\uB798\uC2A4\uC758 {1} \uBA54\uC18C\uB4DC\uB294 @Oneway\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC9C0\uB9CC INOUT \uB610\uB294 OUT \uB9E4\uAC1C\uBCC0\uC218(javax.xml.ws.Holder)\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4. + +webserviceap.oneway.operation.cannot.declare.exceptions={0} \uD074\uB798\uC2A4\uC758 {1} \uBA54\uC18C\uB4DC\uB294 @Oneway\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC9C0\uB9CC {2} \uC608\uC678 \uC0AC\uD56D\uC744 \uC120\uC5B8\uD569\uB2C8\uB2E4. + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=HanlderChain \uC8FC\uC11D\uACFC SOAPMessageHandlers \uC8FC\uC11D\uC744 \uD568\uAED8 \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.invalid.handlerchain.file.nohandler-config=handlerchain \uD30C\uC77C {0}\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. handler-config \uC694\uC18C\uB97C \uD3EC\uD568\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +webserviceap.could.not.find.handlerchain=\uCC98\uB9AC\uAE30 \uD30C\uC77C {1}\uC5D0\uC11C handlerchain {0}\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.handlerclass.notspecified=HandlerChain \uD30C\uC77C {0}\uC758 \uCC98\uB9AC\uAE30\uC5D0 handler-class\uAC00 \uC9C0\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. + +webserviceap.init_param.format.error= \uC694\uC18C\uC5D0\uB294 \uC815\uD655\uD788 \uD55C \uAC1C\uC758 \uACFC \uD55C \uAC1C\uC758 \uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +webserviceap.document.literal.bare.method.return.not.unique=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC758 \uACB0\uACFC \uC774\uB984\uACFC \uBC18\uD658 \uC720\uD615 \uC870\uD569\uC740 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uACB0\uACFC \uC774\uB984\: {2}, \uBC18\uD658 \uC720\uD615\: {3} + +webserviceap.document.literal.bare.method.not.unique=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC758 \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\uC740 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218 \uC774\uB984\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD55C \uAC1C\uC758 \uBC18\uD658 \uAC12 \uB610\uB294 \uD55C \uAC1C\uC758 OUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD55C \uAC1C \uC774\uD558\uC758 \uBE44\uD5E4\uB354 IN \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uBE44\uD5E4\uB354 \uB9E4\uAC1C\uBCC0\uC218 \uC218\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD55C \uAC1C \uC774\uC0C1\uC758 \uBC18\uD658, IN \uB9E4\uAC1C\uBCC0\uC218 \uB610\uB294 OUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder \uB9E4\uAC1C\uBCC0\uC218\uB294 WebParam.Mode.IN \uC18D\uC131\uC73C\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=\uBB38\uC11C BARE \uC791\uC5C5\uC758 javax.xml.ws.Holder \uB9E4\uAC1C\uBCC0\uC218\uB294 WebParam.Mode.INOUT\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2} + +webserviceap.endpointinterface.class.not.found=endpointInterface \uD074\uB798\uC2A4 {0}\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.sei.cannot.contain.constant.values=\uC11C\uBE44\uC2A4 \uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4\uC5D0\uB294 \uC0C1\uC218 \uC120\uC5B8\uC774 \uD3EC\uD568\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC778\uD130\uD398\uC774\uC2A4\: {0}, \uD544\uB4DC\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=\uBA54\uC18C\uB4DC \uBC18\uD658 \uC720\uD615\uC740 java.rmi.Remote\uB97C \uAD6C\uD604\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uBC18\uD658 \uC720\uD615\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=\uBA54\uC18C\uB4DC \uB9E4\uAC1C\uBCC0\uC218 \uC720\uD615\uC740 java.rmi.Remote\uB97C \uAD6C\uD604\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2}, \uC720\uD615\: {3} + +webserviceap.operation.name.not.unique=\uC791\uC5C5 \uC774\uB984\uC740 \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uC791\uC5C5 \uC774\uB984\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=\uC694\uCCAD \uB798\uD37C Bean \uC774\uB984\uC740 \uACE0\uC720\uD574\uC57C \uD558\uBA70 \uC0DD\uC131\uB41C \uB2E4\uB978 \uD074\uB798\uC2A4\uC640 \uCDA9\uB3CC\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=\uC751\uB2F5 \uB798\uD37C Bean \uC774\uB984\uC740 \uACE0\uC720\uD574\uC57C \uD558\uBA70 \uC0DD\uC131\uB41C \uB2E4\uB978 \uD074\uB798\uC2A4\uC640 \uCDA9\uB3CC\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.method.exception.bean.name.not.unique=\uC608\uC678 \uC0AC\uD56D Bean \uC774\uB984\uC740 \uACE0\uC720\uD574\uC57C \uD558\uBA70 \uC0DD\uC131\uB41C \uB2E4\uB978 \uD074\uB798\uC2A4\uC640 \uCDA9\uB3CC\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uC608\uC678 \uC0AC\uD56D\: {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=\uBAA8\uB4E0 RPC \uB9AC\uD130\uB7F4 \uB9E4\uAC1C\uBCC0\uC218\uC5D0\uB294 WebParam \uC8FC\uC11D\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2} + +webserviceap.rpc.literal.webparams.must.specify.name=\uBAA8\uB4E0 RPC \uB9AC\uD130\uB7F4 WebParams\uC5D0\uB294 \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2} + +webserviceap.rpc.literal.must.not.be.bare=RPC \uB9AC\uD130\uB7F4 SOAPBinding\uC5D0\uB294 parameterStyle WRAPPED\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=\uD5E4\uB354 \uB9E4\uAC1C\uBCC0\uC218\uC758 \uBAA8\uB4E0 WebParam \uC8FC\uC11D\uC5D0\uB294 \uC774\uB984\uC774 \uC9C0\uC815\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1}, \uB9E4\uAC1C\uBCC0\uC218\: {2} + +webserviceap.failed.to.find.handlerchain.file=HandlerChain \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uD30C\uC77C:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=HandlerChain \uD30C\uC77C\uC758 \uAD6C\uBB38 \uBD84\uC11D\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uD30C\uC77C\: {1} + +webserviceap.class.not.found=\uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=SOAPBinding.Style.RPC \uBC14\uC778\uB529 \uC8FC\uC11D\uC740 \uBA54\uC18C\uB4DC\uC5D0\uC11C \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.mixed.binding.style={0} \uD074\uB798\uC2A4\uC5D0 \uD63C\uD569 \uBC14\uC778\uB529\uC774 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. SOAPBinding.Style.RPC\uC640 SOAPBinding.Style.DOCUMENT\uB294 \uD568\uAED8 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.endpointinteface.plus.annotation=@{0} \uC8FC\uC11D\uC740 @javax.jws.WebService.endpointInterface \uC694\uC18C\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.endpointinteface.plus.element=@javax.jws.WebService.{0} \uC694\uC18C\uB294 @javax.jws.WebService.endpointInterface \uC694\uC18C\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +webserviceap.non.in.parameters.must.be.holder={0} \uD074\uB798\uC2A4, {1} \uBA54\uC18C\uB4DC, {2} \uB9E4\uAC1C\uBCC0\uC218\uB294 WebParam.Mode.IN\uC774 \uC544\uB2C8\uBA70 javax.xml.ws.Holder \uC720\uD615\uC774 \uC544\uB2D9\uB2C8\uB2E4. + +webserviceap.invalid.sei.annotation.element=@javax.jws.WebService.{0} \uC694\uC18C\uB294 \uC11C\uBE44\uC2A4 \uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4\uC5D0\uC11C \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {1} + +webserviceap.invalid.sei.annotation=@{0} \uC8FC\uC11D\uC740 \uC11C\uBE44\uC2A4 \uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=@javax.jws.WebMethod({0})\uB294 \uC11C\uBE44\uC2A4 \uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {1}, \uBA54\uC18C\uB4DC\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=@javax.jws.WebMethod.{0} \uC694\uC18C\uB294 @javax.jws.WebMethod.exclude \uC694\uC18C\uC640 \uD568\uAED8 \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {1}, \uBA54\uC18C\uB4DC\: {2} + +webserviceap.doc.bare.no.out=\uBC18\uD658 \uC720\uD615 \uB610\uB294 OUT/INOUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC5C6\uB294 \uBB38\uC11C/\uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uB294 @Oneway\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC: {1} +webserviceap.doc.bare.return.and.out=\uBB38\uC11C/\uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uBC18\uD658 \uC720\uD615 \uBC0F OUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uD3EC\uD568\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC: {1} +webserviceap.oneway.and.out=@Oneway \uBA54\uC18C\uB4DC\uC5D0\uB294 OUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uD3EC\uD568\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.webservice.class.not.public=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uD074\uB798\uC2A4\uB294 public\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.webservice.class.is.final=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uD074\uB798\uC2A4\uB294 final\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.webservice.class.is.abstract=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uD074\uB798\uC2A4\uB294 abstract\uAC00 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uB0B4\uBD80 \uD074\uB798\uC2A4\uB294 static\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.webservice.method.is.abstract=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uD074\uB798\uC2A4\uC5D0\uB294 abstract \uBA54\uC18C\uB4DC\uAC00 \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC: {1} + +webserviceap.webservice.method.is.static.or.final=@javax.jws.WebMethod\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uBA54\uC18C\uB4DC\uB294 static \uB610\uB294 final\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=@javax.jws.WebService\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uD074\uB798\uC2A4\uC5D0\uB294 \uACF5\uC6A9 \uAE30\uBCF8 \uC0DD\uC131\uC790\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.oneway.and.not.one.in=@javax.jws.Oneway\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB41C \uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD558\uB098\uC758 \uBE44\uD5E4\uB354 IN \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.doc.bare.no.return.and.no.out=\uBC18\uD658 \uAC12\uC774 \uC5C6\uB294 \uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD558\uB098\uC758 OUT/INOUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.doc.bare.and.no.one.in=\uBB38\uC11C \uB9AC\uD130\uB7F4 BARE \uBA54\uC18C\uB4DC\uC5D0\uB294 \uD558\uB098\uC758 \uBE44\uD5E4\uB354 IN/INOUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0}, \uBA54\uC18C\uB4DC\: {1} + +webserviceap.method.not.implemented=endpointInterface\uC758 \uBA54\uC18C\uB4DC\uB294 \uAD6C\uD604 \uD074\uB798\uC2A4\uC5D0\uC11C \uAD6C\uD604\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uC778\uD130\uD398\uC774\uC2A4 \uD074\uB798\uC2A4\:{0}, \uAD6C\uD604 \uD074\uB798\uC2A4\:{1}, \uBA54\uC18C\uB4DC\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=@javax.jws.Webservice\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC73C\uBA70 \uD328\uD0A4\uC9C0\uC5D0 \uC18D\uD558\uC9C0 \uC54A\uC740 \uD074\uB798\uC2A4\uC5D0\uB294 @javax.jws.Webservice.targetNamespace \uC694\uC18C\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.webservice.and.webserviceprovider=\uD074\uB798\uC2A4\uB294 @javax.jws.WebService\uC640 @javax.xml.ws.WebServiceProvider\uB85C \uC8FC\uC11D \uCC98\uB9AC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= {1}\uC5D0 {0} \uC8FC\uC11D\uC774 \uC798\uBABB \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ParameterStyle\uC740 RPC \uC2A4\uD0C0\uC77C \uC6F9 \uC11C\uBE44\uC2A4\uB85C\uB9CC WRAPPED\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=erro: arquivo n\u00E3o encontrado: {0} +webserviceap.error=erro: {0} +webserviceap.warning=advert\u00EAncia: {0} +webserviceap.info=informa\u00E7\u00F5es: {0} +webserviceap.compilationFailed=falha na compila\u00E7\u00E3o, os erros foram reportados +webserviceap.succeeded: Bem-Sucedido + +webserviceap.method.not.annotated=O m\u00E9todo {0} na classe {1} n\u00E3o \u00E9 anotada. +webserviceap.rpc.encoded.not.supported=A classe {0} tem SOAPBinding rpc/codificado. SOAPBindings Rpc/codificado n\u00E3o suportados no JAXWS 2.0. +webservice.encoded.not.supported=A classe {0} tem anota\u00E7\u00E3o SOAPBinding. {1}/SOAPBinding codificado n\u00E3o suportada +webserviceap.model.already.exists=o modelo j\u00E1 existe +webserviceap.endpointinterface.on.interface=Interface do ponto final de servi\u00E7o\: {0} n\u00E3o pode ter uma anota\u00E7\u00E3o\: {1} WebService.endpointInterface +webserviceap.java.typeNotFound=O tipo: {0} n\u00E3o foi encontrado no mapeamento +webserviceap.endpointinterfaces.do.not.match=A interface {0} do ponto final n\u00E3o corresponde \u00E0 interface {1}. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=N\u00E3o foi poss\u00EDvel obter o TypeElement para:\ {0} no arredondamento do processamento da anota\u00E7\u00E3o:\ {1} + +webserviceap.no.webservice.endpoint.found=N\u00E3o foi poss\u00EDvel encontrar um ponto final de web service + +webserviceap.endpointinterface.has.no.webservice.annotation=A interface {0} do ponto final deve ter uma anota\u00E7\u00E3o WebService + +webserviceap.oneway.operation.cannot.have.return.type=O m\u00E9todo {1} da classe {0} \u00E9 @Oneway anotado, mas tem um tipo de retorno. + +webserviceap.oneway.operation.cannot.have.holders=O m\u00E9todo {1} da classe {0} \u00E9 @Oneway anotado, mas cont\u00E9m os par\u00E2metros INOUT ou OUT (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=O m\u00E9todo {1} da classe {0} \u00E9 @Oneway anotado, mas declara a exce\u00E7\u00E3o {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=Voc\u00EA n\u00E3o pode especificar as anota\u00E7\u00F5es HanlderChain e SOAPMessageHandlers + +webserviceap.invalid.handlerchain.file.nohandler-config=O arquivo {0} handlerchain \u00E9 inv\u00E1lido, ele n\u00E3o cont\u00E9m um elemento de configura\u00E7\u00E3o de handler + +webserviceap.could.not.find.handlerchain=N\u00E3o foi poss\u00EDvel localizar o handlerchain {0} no arquivo {1} de handler + +webserviceap.handlerclass.notspecified=Um handler no arquivo HandlerChain file\: {0} n\u00E3o especifica uma classe de handler + +webserviceap.init_param.format.error=um elemento deve ter exatamente 1 e 1 + +webserviceap.document.literal.bare.method.return.not.unique=Os m\u00E9todos bare de documento/literal devem ter uma combina\u00E7\u00E3o de tipo de retorno do nome do resultado. Classe {0} m\u00E9todo\: {1}, nome do resultado\: {2} tipo de retorno\\: {3} + +webserviceap.document.literal.bare.method.not.unique=Os m\u00E9todos bare de documento\\literal devem ter nomes de par\u00E2metro exclusivos. Classe\\: {0} m\u00E9todo\\: {1} nome do par\u00E2metro\\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=Os m\u00E9todos bare de documento\\literal devem ter um valor de retorno ou um par\u00E2metro out. Classe\\: {0} M\u00E9todo\\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=Os m\u00E9todos bare de documento\\literal n\u00E3o devem ter mais de 1 sem cabe\u00E7alho no par\u00E2metro. Classe\\: {0} m\u00E9todo\\: {1} n\u00FAmero de par\u00E2metros sem cabe\u00E7alho\\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=Os m\u00E9todos bare de documento\\literal devem ter pelo menos um valor de: um retorno, um par\u00E2metro in ou um par\u00E2metro out. Classe\\: {0} M\u00E9todo\\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=os par\u00E2metros javax.xml.ws.Holder n\u00E3o devem ser anotados com a propriedade WebParam.Mode.IN. Classe\: {0} m\u00E9todo\: {1} par\u00E2metro\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=os par\u00E2metros javax.xml.ws.Holder nas opera\u00E7\u00F5es-base do documento devem ser WebParam.Mode.INOUT; Classe\\: {0} m\u00E9todo\\: {1} par\u00E2metro\\: {2} + +webserviceap.endpointinterface.class.not.found=N\u00E3o foi poss\u00EDvel encontrar a classe {0} endpointInterface + +webserviceap.sei.cannot.contain.constant.values=Uma interface de ponto final de servi\u00E7o n\u00E3o pode conter uma declara\u00E7\u00E3o de constante\: Interface\: {0} campo\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=Os tipos de retorno do m\u00E9todo n\u00E3o podem implementar java.rmi.Remote. Classe\\: {0} m\u00E9todo\\: {1} tipo de retorno\\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=Os tipos de par\u00E2metro do m\u00E9todo n\u00E3o podem implementar java.rmi.Remote. Classe\: {0} m\u00E9todo\: {1} par\u00E2metro\: {2} tipo\: {3} + +webserviceap.operation.name.not.unique=Os nomes da opera\u00E7\u00E3o devem ser exclusivos. Classe\: {0} m\u00E9todo\: {1} nome da opera\u00E7\u00E3o\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=Os nomes do bean do wrapper da solicita\u00E7\u00E3o devem ser exclusivos e n\u00E3o devem estar em conflito com outras classes geradas. Classe\\: {0} m\u00E9todo {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=Os nomes do bean do wrapper de resposta devem ser exclusivos e n\u00E3o devem estar em conflito com outras classes geradas. Classe\\: {0} m\u00E9todo {1} + +webserviceap.method.exception.bean.name.not.unique=Os nomes do bean de exce\u00E7\u00E3o devem ser exclusivos e n\u00E3o devem estar em conflito com outras classes geradas. Classe\: {0} exce\u00E7\u00E3o {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=Todos os par\u00E2metros de literal de RPC devem ter uma anota\u00E7\u00E3o WebParam. Classe\\: {0} m\u00E9todo\\: {1} par\u00E2metro {2} + +webserviceap.rpc.literal.webparams.must.specify.name=Todos os WebParams de literal de RPC devem especificar um nome. Classe\\: {0} m\u00E9todo {1} par\u00E2metro {2} + +webserviceap.rpc.literal.must.not.be.bare=SOAPBindings de literal de RPC devem ter parameterStyle WRAPPED. Classe\\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=Todas as anota\u00E7\u00F5es de WebParam nos par\u00E2metros do cabe\u00E7alho devem especificar um nome. Classe\\: {0} m\u00E9todo {1} par\u00E2metro {2} + +webserviceap.failed.to.find.handlerchain.file=N\u00E3o \u00E9 poss\u00EDvel localizar o arquivo HandlerChain. classe\\: {0}, arquivo:\\ {1} + +webserviceap.failed.to.parse.handlerchain.file=Falha ao fazer parse do arquivo HandlerChain. Classe\: {0}, arquivo\: {1} + +webserviceap.class.not.found=Classe N\u00E3o Encontrada: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=As anota\u00E7\u00F5es de bind de SOAPBinding.Style.RPC n\u00E3o s\u00E3o permitidas nos m\u00E9todos. Classe\: {0} M\u00E9todo\: {1} + +webserviceap.mixed.binding.style=A Classe\\: {0} cont\u00E9m binds mistos. SOAPBinding.Style.RPC e SOAPBinding.Style.DOCUMENT n\u00E3o podem ser mistos. + +webserviceap.endpointinteface.plus.annotation=A anota\u00E7\u00E3o @{0} n\u00E3o pode ser usada com o elemento @javax.jws.WebService.endpointInterface. + +webserviceap.endpointinteface.plus.element=O elemento @javax.jws.WebService.{0} n\u00E3o pode ser usado com o elemento @javax.jws.WebService.endpointInterface. + +webserviceap.non.in.parameters.must.be.holder=Classe:\ {0}, m\u00E9todo: {1}, par\u00E2metro: {2} n\u00E3o \u00E9 WebParam.Mode.IN e n\u00E3o \u00E9 do tipo javax.xml.ws.Holder. + +webserviceap.invalid.sei.annotation.element=O elemento @javax.jws.WebService.{0} n\u00E3o pode ser especificado em uma interface do ponto final de servi\u00E7o. Classe\: {1} + +webserviceap.invalid.sei.annotation=A anota\u00E7\u00E3o @{0} n\u00E3o pode ser usada em uma interface do ponto final de servi\u00E7o. Classe\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=O @javax.jws.WebMethod({0}) n\u00E3o pode ser usado em uma interface do ponto final de servi\u00E7o. Classe\: {1} m\u00E9todo\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=O elemento @javax.jws.WebMethod.{0} n\u00E3o pode ser especificado com o elemento @javax.jws.WebMethod.exclude. Classe\\: {1} m\u00E9todo\\: {2} + +webserviceap.doc.bare.no.out=Os m\u00E9todos bare de documento/literal sem tipo de retorno ou par\u00E2metros OUT/INOUT devem ser anotados como @Oneway. Classe\\: {0}, m\u00E9todo: {1} +webserviceap.doc.bare.return.and.out=Os m\u00E9todos bare de documento/literal n\u00E3o podem ter um tipo de retorno e par\u00E2metros out. Classe\\: {0}, m\u00E9todo: {1} +webserviceap.oneway.and.out=Os m\u00E9todos @Oneway n\u00E3o podem ter par\u00E2metros out. Classe\\: {0} m\u00E9todo {1} + +webserviceap.webservice.class.not.public=As classes anotadas com @javax.jws.WebService deve ser p\u00FAblicas. Classe\: {0} + +webserviceap.webservice.class.is.final=As classes anotadas com @javax.jws.WebService n\u00E3o devem ser finais. Classe\: {0} + +webserviceap.webservice.class.is.abstract=As classe anotadas com @javax.jws.WebService n\u00E3o devem ser abstratas. Classe\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=As classes internas anotadas com @javax.jws.WebService devem ser est\u00E1ticas. Classe\: {0} + +webserviceap.webservice.method.is.abstract=As classes anotadas com @javax.jws.WebService n\u00E3o devem ter m\u00E9todos abstratos. Classe\: {0} M\u00E9todos: {1} + +webserviceap.webservice.method.is.static.or.final=O m\u00E9todo anotado com @javax.jws.WebMethod n\u00E3o deve ser est\u00E1tico ou final. Classe\: {0} M\u00E9todo: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=As classes anotadas com @javax.jws.WebService devem ter um construtor default p\u00FAblico. Classe\: {0} + +webserviceap.oneway.and.not.one.in=Os m\u00E9todos bare de documento/literal anotados com @javax.jws.Oneway devem ter um par\u00E2metro IN sem cabe\u00E7alho. Classe\\: {0} M\u00E9todo\\: {1} + +webserviceap.doc.bare.no.return.and.no.out=Os m\u00E9todos bare de documento/literal que n\u00E3o t\u00EAm um valor de retorno devem ter um par\u00E2metro OUT/INOUT. Classe\\: {0} M\u00E9todo\\: {1} + +webserviceap.doc.bare.and.no.one.in=Os m\u00E9todos bare de documento/literal anotados com @javax.jws.Oneway devem ter um par\u00E2metro IN/INOU sem cabe\u00E7alho. Classe\\: {0} M\u00E9todo\\: {1} + +webserviceap.method.not.implemented=Os m\u00E9todos na endpointInterface devem ser implementadas na classe de implementa\u00E7\u00E3o. Classe da Interface\:{0} Classe de Implementa\u00E7\u00E3o\:{1} M\u00E9todo\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=As classes anotadas de @javax.jws.Webservice que n\u00E3o pertencem a um pacote devem ter o elemento @javax.jws.Webservice.targetNamespace. Classe\: {0} + +webserviceap.webservice.and.webserviceprovider=As classes n\u00E3o podem ser anotadas com @javax.jws.WebService e @javax.xml.ws.WebServiceProvider. Classe\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= Uso incorreto da Anota\u00E7\u00E3o {0} em {1}, o ParameterStyle s\u00F3 pode ser WRAPPED com o Web service de Estilo de RPC. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=\u9519\u8BEF: \u672A\u627E\u5230\u6587\u4EF6: {0} +webserviceap.error=\u9519\u8BEF: {0} +webserviceap.warning=\u8B66\u544A: {0} +webserviceap.info=\u4FE1\u606F: {0} +webserviceap.compilationFailed=\u7F16\u8BD1\u5931\u8D25, \u9519\u8BEF\u5E94\u8BE5\u5DF2\u4E88\u4EE5\u62A5\u544A +webserviceap.succeeded: \u6210\u529F + +webserviceap.method.not.annotated=\u7C7B{1}\u4E0A\u7684\u65B9\u6CD5{0}\u4E0D\u5E26\u6CE8\u91CA\u3002 +webserviceap.rpc.encoded.not.supported=\u7C7B{0}\u5177\u6709 rpc/\u7F16\u7801\u7684 SOAPBinding\u3002JAXWS 2.0 \u4E2D\u4E0D\u652F\u6301 Rpc/\u7F16\u7801\u7684 SOAPBinding\u3002 +webservice.encoded.not.supported={0}\u7C7B\u5177\u6709\u65E0\u6548\u7684 SOAPBinding \u6CE8\u91CA\u3002\u4E0D\u652F\u6301{1}/\u7F16\u7801\u7684 SOAPBinding +webserviceap.model.already.exists=\u6A21\u578B\u5DF2\u5B58\u5728 +webserviceap.endpointinterface.on.interface=\u670D\u52A1\u7AEF\u70B9\u63A5\u53E3\: {0}\u4E0D\u80FD\u5177\u6709 WebService.endpointInterface \u6CE8\u91CA\: {1} +webserviceap.java.typeNotFound=\u5728\u6620\u5C04\u4E2D\u672A\u627E\u5230\u7C7B\u578B{0} +webserviceap.endpointinterfaces.do.not.match=\u7AEF\u70B9\u63A5\u53E3{0}\u4E0E\u63A5\u53E3{1}\u4E0D\u5339\u914D\u3002 + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=\u5728\u7B2C {1} \u8F6E\u6CE8\u91CA\u5904\u7406\u4E2D\u65E0\u6CD5\u83B7\u53D6{0}\u7684 TypeElement + +webserviceap.no.webservice.endpoint.found=\u627E\u4E0D\u5230 Web \u670D\u52A1\u7AEF\u70B9 + +webserviceap.endpointinterface.has.no.webservice.annotation=\u7AEF\u70B9\u63A5\u53E3{0}\u5FC5\u987B\u5177\u6709 Web \u670D\u52A1\u6CE8\u91CA + +webserviceap.oneway.operation.cannot.have.return.type=\u7C7B{0}\u7684\u65B9\u6CD5{1}\u5E26\u6709 @Oneway \u6CE8\u91CA, \u4F46\u5177\u6709\u8FD4\u56DE\u7C7B\u578B\u3002 + +webserviceap.oneway.operation.cannot.have.holders=\u7C7B{0}\u7684\u65B9\u6CD5{1}\u5E26\u6709 @Oneway \u6CE8\u91CA, \u4F46\u5305\u542B INOUT \u6216 OUT \u53C2\u6570 (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=\u7C7B{0}\u7684\u65B9\u6CD5{1}\u5E26\u6709 @Oneway \u6CE8\u91CA, \u4F46\u58F0\u660E\u4E86\u5F02\u5E38\u9519\u8BEF{2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=\u4E0D\u80FD\u540C\u65F6\u6307\u5B9A HanlderChain \u548C SOAPMessageHandlers \u6CE8\u91CA + +webserviceap.invalid.handlerchain.file.nohandler-config=\u5904\u7406\u7A0B\u5E8F\u94FE\u6587\u4EF6{0}\u65E0\u6548, \u8BE5\u6587\u4EF6\u4E0D\u5305\u542B handler-config \u5143\u7D20 + +webserviceap.could.not.find.handlerchain=\u5728\u5904\u7406\u7A0B\u5E8F\u6587\u4EF6{1}\u4E2D\u627E\u4E0D\u5230\u5904\u7406\u7A0B\u5E8F\u94FE{0} + +webserviceap.handlerclass.notspecified=HandlerChain \u6587\u4EF6\: {0}\u4E2D\u7684\u5904\u7406\u7A0B\u5E8F\u672A\u6307\u5B9A handler-class + +webserviceap.init_param.format.error= \u5143\u7D20\u53EA\u80FD\u6709 1 \u4E2A \u548C 1 \u4E2A + +webserviceap.document.literal.bare.method.return.not.unique=document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u552F\u4E00\u7684\u7ED3\u679C\u540D\u79F0/\u8FD4\u56DE\u7C7B\u578B\u7EC4\u5408\u3002\u7C7B{0}\u65B9\u6CD5\: {1}, \u7ED3\u679C\u540D\u79F0\: {2}, \u8FD4\u56DE\u7C7B\u578B\: {3} + +webserviceap.document.literal.bare.method.not.unique=document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u552F\u4E00\u7684\u53C2\u6570\u540D\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u53C2\u6570\u540D\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u4E00\u4E2A\u8FD4\u56DE\u503C\u6216\u4E00\u4E2A\u8F93\u51FA\u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=document-literal-bare \u65B9\u6CD5\u7684\u975E\u6807\u5934\u8F93\u5165\u53C2\u6570\u4E0D\u80FD\u8D85\u8FC7 1 \u4E2A\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u975E\u6807\u5934\u53C2\u6570\u6570\u76EE\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u81F3\u5C11\u5177\u6709\u4EE5\u4E0B\u9879\u4E4B\u4E00: \u4E00\u4E2A\u8FD4\u56DE\u503C, \u4E00\u4E2A\u8F93\u5165\u53C2\u6570\u6216\u4E00\u4E2A\u8F93\u51FA\u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder \u53C2\u6570\u4E0D\u80FD\u5E26\u6709 WebParam.Mode.IN \u5C5E\u6027\u6CE8\u91CA\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u53C2\u6570\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=document-bare \u64CD\u4F5C\u4E2D\u7684 javax.xml.ws.Holder \u53C2\u6570\u5FC5\u987B\u4E3A WebParam.Mode.INOUT; \u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u53C2\u6570\: {2} + +webserviceap.endpointinterface.class.not.found=\u627E\u4E0D\u5230 endpointInterface \u7C7B{0} + +webserviceap.sei.cannot.contain.constant.values=\u670D\u52A1\u7AEF\u70B9\u63A5\u53E3\u4E0D\u80FD\u5305\u542B\u5E38\u91CF\u58F0\u660E\: \u63A5\u53E3\: {0}, \u5B57\u6BB5\: {1}\u3002 + +webserviceap.method.return.type.cannot.implement.remote=\u65B9\u6CD5\u8FD4\u56DE\u7C7B\u578B\u4E0D\u80FD\u5B9E\u73B0 java.rmi.Remote\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u8FD4\u56DE\u7C7B\u578B\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=\u65B9\u6CD5\u53C2\u6570\u7C7B\u578B\u4E0D\u80FD\u5B9E\u73B0 java.rmi.Remote\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u53C2\u6570\: {2}, \u7C7B\u578B\: {3} + +webserviceap.operation.name.not.unique=\u64CD\u4F5C\u540D\u5FC5\u987B\u552F\u4E00\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u64CD\u4F5C\u540D\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=\u8BF7\u6C42\u5305\u88C5 bean \u540D\u79F0\u5FC5\u987B\u552F\u4E00\u5E76\u4E14\u4E0D\u80FD\u4E0E\u5176\u4ED6\u751F\u6210\u7684\u7C7B\u51B2\u7A81\u3002\u7C7B\: {0}, \u65B9\u6CD5{1} + +webserviceap.method.response.wrapper.bean.name.not.unique=\u54CD\u5E94\u5305\u88C5 bean \u540D\u79F0\u5FC5\u987B\u552F\u4E00\u5E76\u4E14\u4E0D\u80FD\u4E0E\u5176\u4ED6\u751F\u6210\u7684\u7C7B\u51B2\u7A81\u3002\u7C7B\: {0}, \u65B9\u6CD5{1} + +webserviceap.method.exception.bean.name.not.unique=\u5F02\u5E38\u9519\u8BEF bean \u540D\u79F0\u5FC5\u987B\u552F\u4E00\u5E76\u4E14\u4E0D\u80FD\u4E0E\u5176\u4ED6\u751F\u6210\u7684\u7C7B\u51B2\u7A81\u3002\u7C7B\: {0}, \u5F02\u5E38\u9519\u8BEF{1} + +webserviceap.rpc.literal.parameters.must.have.webparam=\u6240\u6709 RPC \u6587\u5B57\u53C2\u6570\u5FC5\u987B\u5177\u6709 WebParam \u6CE8\u91CA\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1}, \u53C2\u6570{2} + +webserviceap.rpc.literal.webparams.must.specify.name=\u6240\u6709 RPC \u6587\u5B57 WebParam \u5FC5\u987B\u6307\u5B9A\u540D\u79F0\u3002\u7C7B\: {0}, \u65B9\u6CD5{1}, \u53C2\u6570{2} + +webserviceap.rpc.literal.must.not.be.bare=RPC \u6587\u5B57 SOAPBinding \u5FC5\u987B\u5177\u6709 parameterStyle WRAPPED\u3002\u7C7B\: {0}\u3002 + +webserviceap.header.parameters.must.have.webparam.name=\u6807\u5934\u53C2\u6570\u4E0A\u7684\u6240\u6709 WebParam \u6CE8\u91CA\u5FC5\u987B\u6307\u5B9A\u540D\u79F0\u3002\u7C7B\: {0}, \u65B9\u6CD5{1}, \u53C2\u6570{2} + +webserviceap.failed.to.find.handlerchain.file=\u627E\u4E0D\u5230 HandlerChain \u6587\u4EF6\u3002\u7C7B\: {0}, \u6587\u4EF6:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=\u65E0\u6CD5\u89E3\u6790 HandlerChain \u6587\u4EF6\u3002\u7C7B\: {0}, \u6587\u4EF6:\ {1} + +webserviceap.class.not.found=\u672A\u627E\u5230\u7C7B: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=\u65B9\u6CD5\u4E0A\u4E0D\u5141\u8BB8\u6709 SOAPBinding.Style.RPC \u7ED1\u5B9A\u6CE8\u91CA\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.mixed.binding.style=\u7C7B\: {0}\u5305\u542B\u6DF7\u5408\u7ED1\u5B9A\u3002SOAPBinding.Style.RPC \u548C SOAPBinding.Style.DOCUMENT \u4E0D\u80FD\u6DF7\u5408\u3002 + +webserviceap.endpointinteface.plus.annotation=@{0} \u6CE8\u91CA\u4E0D\u80FD\u4E0E @javax.jws.WebService.endpointInterface \u5143\u7D20\u4E00\u8D77\u4F7F\u7528\u3002 + +webserviceap.endpointinteface.plus.element=@javax.jws.WebService.{0} \u5143\u7D20\u4E0D\u80FD\u4E0E @javax.jws.WebService.endpointInterface \u5143\u7D20\u4E00\u8D77\u4F7F\u7528\u3002 + +webserviceap.non.in.parameters.must.be.holder=\u7C7B:\ {0}, \u65B9\u6CD5: {1}, \u53C2\u6570: {2}\u4E0D\u662F WebParam.Mode.IN \u5E76\u4E14\u4E0D\u662F javax.xml.ws.Holder \u7C7B\u578B\u3002 + +webserviceap.invalid.sei.annotation.element=\u4E0D\u80FD\u5728\u670D\u52A1\u7AEF\u70B9\u63A5\u53E3\u4E0A\u6307\u5B9A @javax.jws.WebService.{0} \u5143\u7D20\u3002\u7C7B\: {1} + +webserviceap.invalid.sei.annotation=\u4E0D\u80FD\u5728\u670D\u52A1\u7AEF\u70B9\u63A5\u53E3\u4E0A\u4F7F\u7528 @{0} \u6CE8\u91CA\u3002\u7C7B\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=\u4E0D\u80FD\u5728\u670D\u52A1\u7AEF\u70B9\u63A5\u53E3\u4E0A\u4F7F\u7528 @javax.jws.WebMethod({0})\u3002\u7C7B\: {1}, \u65B9\u6CD5\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=\u4E0D\u80FD\u4F7F\u7528 @javax.jws.WebMethod.exclude \u5143\u7D20\u6307\u5B9A @javax.jws.WebMethod.{0} \u5143\u7D20\u3002\u7C7B\: {1}, \u65B9\u6CD5\: {2} + +webserviceap.doc.bare.no.out=\u6CA1\u6709\u8FD4\u56DE\u7C7B\u578B\u6216 OUT/INOUT \u53C2\u6570\u7684 document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u6CE8\u91CA\u4E3A @Oneway\u3002\u7C7B\: {0}, \u65B9\u6CD5: {1} +webserviceap.doc.bare.return.and.out=document-literal-bare \u65B9\u6CD5\u4E0D\u80FD\u5177\u6709\u8FD4\u56DE\u7C7B\u578B\u548C\u8F93\u51FA\u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5: {1} +webserviceap.oneway.and.out=@Oneway \u65B9\u6CD5\u4E0D\u80FD\u5177\u6709\u8F93\u51FA\u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5{1} + +webserviceap.webservice.class.not.public=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u7C7B\u5FC5\u987B\u662F\u516C\u5171\u7C7B\u3002\u7C7B\: {0} + +webserviceap.webservice.class.is.final=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u7C7B\u4E0D\u80FD\u662F\u6700\u7EC8\u7C7B\u3002\u7C7B\: {0} + +webserviceap.webservice.class.is.abstract=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u7C7B\u4E0D\u80FD\u662F\u62BD\u8C61\u7C7B\u3002\u7C7B\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u5185\u90E8\u7C7B\u5FC5\u987B\u662F\u9759\u6001\u7C7B\u3002\u7C7B\: {0} + +webserviceap.webservice.method.is.abstract=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u7C7B\u4E0D\u80FD\u5177\u6709\u62BD\u8C61\u65B9\u6CD5\u3002\u7C7B\: {0}, \u65B9\u6CD5: {1} + +webserviceap.webservice.method.is.static.or.final=\u5E26\u6709 @javax.jws.WebMethod \u6CE8\u91CA\u7684\u65B9\u6CD5\u4E0D\u80FD\u662F\u9759\u6001\u65B9\u6CD5\u6216\u6700\u7EC8\u65B9\u6CD5\u3002\u7C7B\: {0}, \u65B9\u6CD5: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=\u5E26\u6709 @javax.jws.WebService \u6CE8\u91CA\u7684\u7C7B\u5FC5\u987B\u5177\u6709\u516C\u5171\u9ED8\u8BA4\u6784\u9020\u5668\u3002\u7C7B\: {0} + +webserviceap.oneway.and.not.one.in=\u5E26\u6709 @javax.jws.Oneway \u6CE8\u91CA\u7684 document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u975E\u6807\u5934 IN \u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.doc.bare.no.return.and.no.out=\u6CA1\u6709\u8FD4\u56DE\u503C\u7684 document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u5355\u4E2A OUT/INOUT \u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.doc.bare.and.no.one.in=document-literal-bare \u65B9\u6CD5\u5FC5\u987B\u5177\u6709\u975E\u6807\u5934 IN/INOUT \u53C2\u6570\u3002\u7C7B\: {0}, \u65B9\u6CD5\: {1} + +webserviceap.method.not.implemented=\u5FC5\u987B\u5728\u5B9E\u73B0\u7C7B\u4E2D\u5B9E\u73B0 endpointInterface \u4E2D\u7684\u65B9\u6CD5\u3002\u5185\u90E8\u7C7B\:{0}, \u5B9E\u73B0\u7C7B\:{1}, \u65B9\u6CD5\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=\u4E0D\u5C5E\u4E8E\u7A0B\u5E8F\u5305\u7684\u5E26\u6709 @javax.jws.Webservice \u6CE8\u91CA\u7684\u7C7B\u5FC5\u987B\u5177\u6709 @javax.jws.Webservice.targetNamespace \u5143\u7D20\u3002\u7C7B\: {0} + +webserviceap.webservice.and.webserviceprovider=\u7C7B\u4E0D\u540C\u65F6\u5E26\u6709 @javax.jws.WebService \u548C @javax.xml.ws.WebServiceProvider \u6CE8\u91CA\u3002\u7C7B\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= {1}\u4E0A\u6CE8\u91CA{0}\u7684\u7528\u6CD5\u4E0D\u6B63\u786E, ParameterStyle \u53EA\u80FD\u662F\u5E26\u6709 RPC \u6837\u5F0F Web \u670D\u52A1\u7684 WRAPPED\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/webserviceap_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,160 @@ +# +# Copyright (c) 2005, 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. +# + +# Usage not found. TODO Remove +#webserviceap.nestedModelError=modeler error: {0} +webserviceap.fileNotFound=\u932F\u8AA4: \u627E\u4E0D\u5230\u6A94\u6848: {0} +webserviceap.error=\u932F\u8AA4: {0} +webserviceap.warning=\u8B66\u544A: {0} +webserviceap.info=\u8CC7\u8A0A: {0} +webserviceap.compilationFailed=\u7DE8\u8B6F\u5931\u6557, \u5FC5\u9808\u5831\u544A\u932F\u8AA4 +webserviceap.succeeded: \u6210\u529F + +webserviceap.method.not.annotated=\u672A\u5728\u985E\u5225 {1} \u7684\u65B9\u6CD5 {0} \u52A0\u8A3B. +webserviceap.rpc.encoded.not.supported=\u985E\u5225 {0} \u542B\u6709 rpc/encoded \u7684 SOAPBinding. JAXWS 2.0 \u4E0D\u652F\u63F4 rpc/encoded \u7684 SOAPBinding. +webservice.encoded.not.supported={0} \u985E\u5225\u542B\u6709\u7121\u6548\u7684 SOAPBinding \u8A3B\u89E3. \u4E0D\u652F\u63F4 {1}/encoded \u7684 SOAPBinding. +webserviceap.model.already.exists=\u6A21\u578B\u5DF2\u7D93\u5B58\u5728 +webserviceap.endpointinterface.on.interface=\u670D\u52D9\u7AEF\u9EDE\u4ECB\u9762\: {0} \u4E0D\u53EF\u6709 WebService.endpointInterface \u8A3B\u89E3\: {1} +webserviceap.java.typeNotFound=\u5728\u5C0D\u61C9\u4E2D\u627E\u4E0D\u5230\u985E\u578B {0} +webserviceap.endpointinterfaces.do.not.match=\u7AEF\u9EDE\u4ECB\u9762 {0} \u8207\u4ECB\u9762 {1} \u4E0D\u7B26. + +# {0} - class name, {1} - number e.g.: Could not get TypeDeclaration for: foo.Bar in apt round: 2 +webserviceap.could.not.find.typedecl=\u7121\u6CD5\u5728\u7B2C:\ {1} \u56DE\u5408\u7684\u8A3B\u89E3\u8655\u7406\u53D6\u5F97:\ {0} \u7684 TypeElement + +webserviceap.no.webservice.endpoint.found=\u627E\u4E0D\u5230 Web \u670D\u52D9\u7AEF\u9EDE + +webserviceap.endpointinterface.has.no.webservice.annotation=\u7AEF\u9EDE\u4ECB\u9762 {0} \u5FC5\u9808\u8981\u6709\u4E00\u500B\u300CWeb \u670D\u52D9\u300D\u8A3B\u89E3 + +webserviceap.oneway.operation.cannot.have.return.type=\u985E\u5225 {0} \u7684\u65B9\u6CD5 {1} \u52A0\u8A3B @Oneway, \u4F46\u662F\u6709\u50B3\u56DE\u985E\u578B. + +webserviceap.oneway.operation.cannot.have.holders=\u985E\u5225 {0} \u7684\u65B9\u6CD5 {1} \u52A0\u8A3B @Oneway, \u4F46\u662F\u5305\u542B INOUT \u6216 OUT \u53C3\u6578 (javax.xml.ws.Holder) + +webserviceap.oneway.operation.cannot.declare.exceptions=\u985E\u5225 {0} \u7684\u65B9\u6CD5 {1} \u52A0\u8A3B @Oneway, \u4F46\u662F\u5BA3\u544A\u4F8B\u5916 {2} + +webserviceap.cannot.combine.handlerchain.soapmessagehandlers=\u60A8\u4E0D\u80FD\u540C\u6642\u6307\u5B9A HanlderChain \u548C SOAPMessageHandlers \u8A3B\u89E3 + +webserviceap.invalid.handlerchain.file.nohandler-config=\u8655\u7406\u7A0B\u5F0F\u93C8\u6A94\u6848 {0} \u7121\u6548, \u5B83\u672A\u5305\u542B handler-config \u5143\u7D20 + +webserviceap.could.not.find.handlerchain=\u5728\u8655\u7406\u7A0B\u5F0F\u6A94\u6848 {1} \u4E2D\u627E\u4E0D\u5230\u8655\u7406\u7A0B\u5F0F\u93C8 {0} + +webserviceap.handlerclass.notspecified=HandlerChain \u6A94\u6848 {0} \u4E2D\u7684\u8655\u7406\u7A0B\u5F0F\u672A\u6307\u5B9A\u8655\u7406\u7A0B\u5F0F\u985E\u5225 + +webserviceap.init_param.format.error= \u5143\u7D20\u53EA\u80FD\u6709 1 \u500B \u548C 1 \u500B + +webserviceap.document.literal.bare.method.return.not.unique=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u552F\u4E00\u7684\u7D50\u679C\u540D\u7A31\u50B3\u56DE\u985E\u578B\u7D44\u5408. \u985E\u5225 {0} \u65B9\u6CD5\: {1}, \u7D50\u679C\u540D\u7A31\: {2} \u50B3\u56DE\u985E\u578B\: {3} + +webserviceap.document.literal.bare.method.not.unique=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u552F\u4E00\u7684\u53C3\u6578\u540D\u7A31. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u53C3\u6578\u540D\u7A31\: {2} + +webserviceap.document.literal.bare.cannot.have.more.than.one.out=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u4E00\u500B\u50B3\u56DE\u503C\u6216\u4E00\u500B out \u53C3\u6578. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.document.literal.bare.must.have.only.one.in.parameter=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5728\u53C3\u6578\u4E2D\u4E0D\u80FD\u6709 1 \u500B\u4EE5\u4E0A\u7684\u975E\u6A19\u982D. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u975E\u6A19\u982D\u53C3\u6578\u6578\u76EE\: {2} + +webserviceap.document.literal.bare.must.have.one.in.or.out=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u81F3\u5C11\u5FC5\u9808\u8981\u6709\u50B3\u56DE\u3001 in \u53C3\u6578\u6216 out \u53C3\u6578\u5176\u4E2D\u4E4B\u4E00. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.holder.parameters.must.not.be.in.only=javax.xml.ws.Holder \u53C3\u6578\u4E0D\u53EF\u4F7F\u7528 WebParam.Mode.IN \u7279\u6027\u52A0\u8A3B. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u53C3\u6578\: {2} + +webserviceap.document.bare.holder.parameters.must.not.be.inout=\u6587\u4EF6 bare \u4F5C\u696D\u4E2D\u7684 javax.xml.ws.Holder \u53C3\u6578\u5FC5\u9808\u662F WebParam.Mode.INOUT; \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u53C3\u6578\: {2} + +webserviceap.endpointinterface.class.not.found=\u627E\u4E0D\u5230 endpointInterface \u985E\u5225 {0} + +webserviceap.sei.cannot.contain.constant.values=\u670D\u52D9\u7AEF\u9EDE\u4ECB\u9762\u4E0D\u53EF\u5305\u542B\u5E38\u6578\u5BA3\u544A\: \u4ECB\u9762\: {0} \u6B04\u4F4D\: {1}. + +webserviceap.method.return.type.cannot.implement.remote=\u65B9\u6CD5\u50B3\u56DE\u985E\u578B\u4E0D\u53EF\u5BE6\u884C java.rmi.Remote. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u50B3\u56DE\u985E\u578B\: {2} + +webserviceap.method.parameter.types.cannot.implement.remote=\u65B9\u6CD5\u53C3\u6578\u985E\u578B\u4E0D\u53EF\u5BE6\u884C java.rmi.Remote. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u53C3\u6578\: {2} \u985E\u578B\: {3} + +webserviceap.operation.name.not.unique=\u4F5C\u696D\u540D\u7A31\u5FC5\u9808\u662F\u552F\u4E00\u7684. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u4F5C\u696D\u540D\u7A31\: {2} + +webserviceap.method.request.wrapper.bean.name.not.unique=\u8981\u6C42\u5305\u88DD\u51FD\u5F0F bean \u540D\u7A31\u5FC5\u9808\u662F\u552F\u4E00\u7684, \u4E14\u4E0D\u53EF\u8207\u5176\u4ED6\u7522\u751F\u7684\u985E\u5225\u885D\u7A81. \u985E\u5225\: {0} \u65B9\u6CD5 {1} + +webserviceap.method.response.wrapper.bean.name.not.unique=\u56DE\u61C9\u5305\u88DD\u51FD\u5F0F bean \u540D\u7A31\u5FC5\u9808\u662F\u552F\u4E00\u7684, \u4E14\u4E0D\u53EF\u8207\u5176\u4ED6\u7522\u751F\u7684\u985E\u5225\u885D\u7A81. \u985E\u5225\: {0} \u65B9\u6CD5 {1} + +webserviceap.method.exception.bean.name.not.unique=\u4F8B\u5916 bean \u540D\u7A31\u5FC5\u9808\u662F\u552F\u4E00\u7684, \u4E14\u4E0D\u53EF\u8207\u5176\u4ED6\u7522\u751F\u7684\u985E\u5225\u885D\u7A81. \u985E\u5225\: {0} \u4F8B\u5916 {1} + +webserviceap.rpc.literal.parameters.must.have.webparam=\u6240\u6709\u7684 RPC \u5E38\u503C\u53C3\u6578\u5747\u5FC5\u9808\u8981\u6709\u4E00\u500B WebParam \u8A3B\u89E3. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} \u53C3\u6578 {2} + +webserviceap.rpc.literal.webparams.must.specify.name=\u6240\u6709\u7684 RPC \u5E38\u503C WebParam \u5747\u5FC5\u9808\u6307\u5B9A\u4E00\u500B\u540D\u7A31. \u985E\u5225\: {0} \u65B9\u6CD5 {1} \u53C3\u6578 {2} + +webserviceap.rpc.literal.must.not.be.bare=RPC \u5E38\u503C SOAPBinding \u4E2D\u5FC5\u9808\u6709 parameterStyle WRAPPED. \u985E\u5225\\: {0}. + +webserviceap.header.parameters.must.have.webparam.name=\u6240\u6709\u7684\u6A19\u982D\u53C3\u6578 WebParam \u8A3B\u89E3\u5747\u5FC5\u9808\u6307\u5B9A\u4E00\u500B\u540D\u7A31. \u985E\u5225\: {0} \u65B9\u6CD5 {1} \u53C3\u6578 {2} + +webserviceap.failed.to.find.handlerchain.file=\u627E\u4E0D\u5230 HandlerChain \u6A94\u6848. \u985E\u5225\: {0}, \u6A94\u6848:\ {1} + +webserviceap.failed.to.parse.handlerchain.file=\u7121\u6CD5\u5256\u6790 HandlerChain \u6A94\u6848. \u985E\u5225\: {0}, \u6A94\u6848\: {1} + +webserviceap.class.not.found=\u627E\u4E0D\u5230\u985E\u5225: {0} + +webserviceap.rpc.soapbinding.not.allowed.on.method=\u65B9\u6CD5\u4E0D\u53EF\u6709 SOAPBinding.Style.RPC \u9023\u7D50\u8A3B\u89E3. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.mixed.binding.style=\u985E\u5225 {0} \u5305\u542B\u6DF7\u5408\u9023\u7D50. \u4E0D\u53EF\u6DF7\u5408\u4F7F\u7528 SOAPBinding.Style.RPC \u548C SOAPBinding.Style.DOCUMENT. + +webserviceap.endpointinteface.plus.annotation=\u4E0D\u53EF\u5728 @javax.jws.WebService.endpointInterface \u5143\u7D20\u4E2D\u4F7F\u7528 @{0} \u8A3B\u89E3. + +webserviceap.endpointinteface.plus.element=\u4E0D\u53EF\u5728 @javax.jws.WebService.endpointInterface \u5143\u7D20\u4E2D\u4F7F\u7528 @javax.jws.WebService.{0} \u5143\u7D20. + +webserviceap.non.in.parameters.must.be.holder=\u985E\u5225:\ {0}, \u65B9\u6CD5: {1}, \u53C3\u6578: {2} \u4E0D\u662F WebParam.Mode.IN, \u4E14\u4E0D\u662F javax.xml.ws.Holder \u985E\u578B. + +webserviceap.invalid.sei.annotation.element=\u4E0D\u53EF\u5728\u670D\u52D9\u7AEF\u9EDE\u4ECB\u9762\u6307\u5B9A @javax.jws.WebService.{0} \u5143\u7D20. \u985E\u5225\: {1} + +webserviceap.invalid.sei.annotation=\u4E0D\u53EF\u5728\u670D\u52D9\u7AEF\u9EDE\u4ECB\u9762\u4F7F\u7528 @{0} \u8A3B\u89E3. \u985E\u5225\: {1} + +webserviceap.invalid.sei.annotation.element.exclude=\u4E0D\u53EF\u5728\u670D\u52D9\u7AEF\u9EDE\u4ECB\u9762\u4F7F\u7528 @javax.jws.WebMethod({0}). \u985E\u5225\: {1} \u65B9\u6CD5\: {2} + +webserviceap.invalid.webmethod.element.with.exclude=\u4E0D\u53EF\u540C\u6642\u6307\u5B9A @javax.jws.WebMethod.{0} \u5143\u7D20\u8207 @javax.jws.WebMethod.exclude \u5143\u7D20. \u985E\u5225\: {1} \u65B9\u6CD5\: {2} + +webserviceap.doc.bare.no.out=\u5FC5\u9808\u5C07\u4E0D\u542B\u50B3\u56DE\u985E\u578B\u6216 OUT/INOUT \u53C3\u6578\u7684 Document/literal bare \u65B9\u6CD5\u52A0\u8A3B\u70BA @Oneway. \u985E\u5225\: {0}, \u65B9\u6CD5: {1} +webserviceap.doc.bare.return.and.out=Document/literal bare \u65B9\u6CD5\u4E0D\u53EF\u6709\u50B3\u56DE\u985E\u578B\u548C out \u53C3\u6578. \u985E\u5225\: {0}, \u65B9\u6CD5: {1} +webserviceap.oneway.and.out=@Oneway \u65B9\u6CD5\u4E0D\u53EF\u6709 out \u53C3\u6578. \u985E\u5225\: {0} \u65B9\u6CD5 {1} + +webserviceap.webservice.class.not.public=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u985E\u5225\u5FC5\u9808\u662F\u516C\u7528\u985E\u5225. \u985E\u5225\: {0} + +webserviceap.webservice.class.is.final=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u985E\u5225\u4E0D\u53EF\u4EE5\u662F\u6700\u7D42\u985E\u5225. \u985E\u5225\: {0} + +webserviceap.webservice.class.is.abstract=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u985E\u5225\u4E0D\u53EF\u4EE5\u662F\u6458\u8981\u985E\u5225. \u985E\u5225\: {0} + +webserviceap.webservice.class.is.innerclass.not.static=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u5167\u90E8\u985E\u5225\u5FC5\u9808\u662F\u975C\u614B\u985E\u5225. \u985E\u5225\: {0} + +webserviceap.webservice.method.is.abstract=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u985E\u5225\u4E0D\u53EF\u6709\u6458\u8981\u65B9\u6CD5. \u985E\u5225\: {0} \u65B9\u6CD5: {1} + +webserviceap.webservice.method.is.static.or.final=\u4F7F\u7528 @javax.jws.WebMethod \u52A0\u8A3B\u7684\u65B9\u6CD5\u4E0D\u53EF\u662F\u975C\u614B\u6216\u6700\u7D42\u65B9\u6CD5. \u985E\u5225\: {0} \u65B9\u6CD5: {1} + +#webserviceap.doc.bare.return.and.out=Document literal bare methods must not have a return value and an OUT/INOUT parameter. Class\: {0} Method\: {1} + +webserviceap.webservice.no.default.constructor=\u4F7F\u7528 @javax.jws.WebService \u52A0\u8A3B\u7684\u985E\u5225\u5FC5\u9808\u8981\u6709\u4E00\u500B\u516C\u7528\u7684\u9810\u8A2D\u5EFA\u69CB\u5B50. \u985E\u5225\: {0} + +webserviceap.oneway.and.not.one.in=\u4F7F\u7528 @javax.jws.Oneway \u52A0\u8A3B\u7684\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u4E00\u500B\u975E\u6A19\u982D IN \u53C3\u6578. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.doc.bare.no.return.and.no.out=\u6C92\u6709\u50B3\u56DE\u503C\u7684\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u55AE\u4E00 OUT/INOUT \u53C3\u6578. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.doc.bare.and.no.one.in=\u6587\u4EF6\u5E38\u503C bare \u65B9\u6CD5\u5FC5\u9808\u8981\u6709\u4E00\u500B\u975E\u6A19\u982D IN/INOUT \u53C3\u6578. \u985E\u5225\: {0} \u65B9\u6CD5\: {1} + +webserviceap.method.not.implemented=\u5FC5\u9808\u5728\u5BE6\u884C\u985E\u5225\u4E2D\u5BE6\u884C endpointInterface \u4E2D\u7684\u65B9\u6CD5. \u4ECB\u9762\u985E\u5225\:{0} \u5BE6\u884C\u985E\u5225\:{1} \u65B9\u6CD5\: {2} + +webserviceap.no.package.class.must.have.targetnamespace=\u4F7F\u7528 @javax.jws.Webservice \u52A0\u8A3B\u4E14\u4E0D\u5C6C\u65BC\u5957\u88DD\u7A0B\u5F0F\u7684\u985E\u5225, \u5FC5\u9808\u8981\u6709 @javax.jws.Webservice.targetNamespace \u5143\u7D20. \u985E\u5225\\: {0} + +webserviceap.webservice.and.webserviceprovider=\u4E0D\u53EF\u540C\u6642\u4F7F\u7528 @javax.jws.WebService \u8207 @javax.xml.ws.WebServiceProvider \u52A0\u8A3B\u7684\u985E\u5225. \u985E\u5225\\: {0} + +webserviceap.invalid.soapbinding.parameterstyle= {1} \u7684\u8A3B\u89E3 {0} \u7528\u6CD5\u4E0D\u6B63\u78BA, ParameterStyle \u53EA\u80FD\u662F\u4F7F\u7528 RPC \u6A23\u5F0F Web \u670D\u52D9\u7684 WRAPPED. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2013, 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 @@ -40,7 +40,8 @@ \ result in applications that are not portable or\n\ \ may not interoperate with other implementations\n\ \ -help display help\n\ -\ -httpproxy:: specify a HTTP proxy server (port defaults to 8080)\n\ +\ -httpproxy: set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort\n\ +\ (port defaults to 8080)\n\ \ -keep keep generated files\n\ \ -p specifies the target package\n\ \ -quiet suppress wsimport output\n\ @@ -133,7 +134,7 @@ wrapperTask.needEndorsed=\ You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. \ -Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), \ +Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \ or set xendorsed="true" on <{2}>. # {0}, {2} - version (e.g. 2.1), {1} - absolute class location @@ -142,7 +143,7 @@ invoker.needEndorsed=\ You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. \ -Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), \ +Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \ or use -Xendorsed option. @@ -205,6 +206,9 @@ wsimport.ILLEGAL_AUTH_INFO = \ "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//. +wsimport.ILLEGAL_PROXY = \ + "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort + wsimport.readingAuthFile = \ Trying to read authorization file : "{0}"... diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=Verwendung: {0} [options] \n\nMit "wsimport -help" k\u00f6nnen Sie eine detaillierte Beschreibung von Optionen aufrufen. + +wsimport.help=\nVerwendung: {0} [options] \n\n\\wobei [options] Folgendes umfassen:\n\\ -b Gibt jaxws/jaxb-Binding-Dateien oder zus\u00e4tzliche Schemas an\n\\ (Jeder muss seinen eigenen Switch -b enthalten)\n\\ -B \u00dcbergibt diese Option an den JAXB-Schemacompiler\n\\ -catalog Gibt Katalogdatei zur L\u00f6sung externer Entity-Referenzen an\n\\ Unterst\u00fctzt das TR9401-, XCatalog- und OASIS XML-Katalogformat.\n\\ -d Gibt an, wo die generierten Ausgabedateien gespeichert werden sollen\n\\ -encoding Gibt die Zeichencodierung an, die von Quelldateien verwendet wird\n\\ -extension L\u00e4sst Herstellererweiterungen zu - Funktionalit\u00e4t durch Spezifikation\n\\ nicht angegeben. Die Verwendung von Erweiterungen kann\n\\ zu nicht portierbaren Anwendungen\n\\ oder Anwendungen f\u00fchren, die nicht mit anderen Implementierungen zusammenarbeiten\n\\ -help Zeigt einen Hilfetext an\n\\ -httpproxy:: Gibt einen HTTP-Proxyserver an (Standardport ist 8080)\n\\ -keep Beh\u00e4lt generierte Dateien bei\n\\ -p Gibt das Zielpackage an\n\\ -quiet Unterdr\u00fcckt die wsimport-Ausgabe\n\\ -s Gibt an, wo die generierten Quelldateien gespeichert werden sollen\n\\ -target Generiert Code gem\u00e4\u00df der angegebenen JAXWS-Spezifikationsversion\n\\ Standardversion ist 2.2, akzeptierte Werte sind 2.0, 2.1 und 2.2\n\\ Beispiel: 2.0 generiert konformen Code f\u00fcr JAXWS 2.0-Spezifikation\n\\ -verbose Ausgabemeldungen zur Funktion, die der Compiler ausf\u00fchrt\n\\ -version Druckt Versionsinformationen\n\\ -wsdllocation @WebServiceClient.wsdlLocation-Wert\n\\ -clientjar Erstellt die .jar-Datei der generierten Artefakte zusammen mit den\n\\ WSDL -Metadaten, die f\u00fcr den Aufruf des Webservice erforderlich sind.\n\\ -generateJWS Generierte verk\u00fcrzte JWS-Implementierungsdatei\n\\ -implDestDir Gibt an, wo die JWS-Implementierungsdatei generiert werden soll\n\\ -implServiceName Lokaler Teil des Servicenamens f\u00fcr die generierte JWS-Implementierung\n\\ -implPortName Lokaler Teil des Portnamens f\u00fcr die generierte JWS-Implementierung + +wsimport.usage.extensions=\n\\Erweiterungen:\n\\ -XadditionalHeaders Ordnet Header, die nicht an Anforderungs- oder Antwortnachricht gebunden sind, \n\\ Java-Methodenparametern zu\n\\ -Xauthfile Datei mit Autorisierungsinformationen im Format \n\\ http://username:password@example.org/stock?wsdl\n\\ -Xdebug Druckt Debuginformationen\n\\ -Xno-addressing-databinding Aktiviert das Binding von W3C EndpointReferenceType mit Java\n\\ -Xnocompile Kompiliert generierte Java-Dateien nicht\n\\ -XdisableAuthenticator Deaktiviert Authentikator, der von JAX-WS RI verwendet wird,\n\\ -Xauthfile-Option wird ignoriert, wenn festgelegt\n\\ -XdisableSSLHostnameVerification deaktiviert die Pr\u00fcfung des SSL-Hostnamens beim Abruf von\n\\ wsdls + + +wsimport.usage.examples=\n\\Beispiele:\n\\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=Verwendung: {0} [options] \n\nMit "wsgen -help" k\u00f6nnen Sie eine detaillierte Beschreibung von Optionen aufrufen. + +wsgen.help=\nVerwendung: {0} [options] \n\n\\wobei [options] Folgendes umfassen:\n\\ -classpath Gibt an, wo die Eingabeklassendateien gespeichert sind\n\\ -cp wie -classpath \n\\ -d Gibt an, wo die generierten Ausgabedateien gespeichert werden sollen\n\\ -encoding Gibt die von Quelldateien verwendete Zeichencodierung an\n\\ -extension L\u00e4sst Herstellererweiterungen zu - Funktionalit\u00e4t nicht\n\\ von der Spezifikation angegeben. Die Verwendung von Erweiterungen kann\n\\ zu Anwendungen f\u00fchren, die nicht portierbar sind, oder zu\n\\ Anwendungen, die nicht mit anderen Implementierungen zusammenarbeiten\n\\ -help Zeigt einen Hilfetext an\n\\ -keep Beh\u00e4lt generierte Dateien bei\n\\ -r Ressourcenzielverzeichnis, gibt an, wo\n\\ Ressourcendateien gespeichert werden, wie WSDL-Dateien\n\\ -s Gibt an, wo die generierten Quelldateien gespeichert werden\n\\ -verbose Ausgabemeldungen zur gerade ausgef\u00fchrten Funktion des Compilers\n\\ -version Druckt Versionsinformationen\n\\ -wsdl[:protocol] Generiert eine WSDL-Datei. Das Protokoll ist optional.\n\\ G\u00fcltige Protokolle sind {1},\n\\ Das Standardprotokoll ist soap1.1.\n\\ Die Nicht-Standardprotokolle {2}\n\\ k\u00f6nnen nur in Verbindung mit der \n\\ Option "-extension" verwendet werden.\n\\ -inlineSchemas Inline-Schemas in der generierten wsdl. M\u00fcssen in\n\\ Verbindung mit der Option "-wsdl" verwendet werden.\n\\ -servicename Gibt den Servicenamen an, der in der generierten WSDL verwendet werden soll\n\\ Wird in Verbindung mit der Option "-wsdl" verwendet.\n\\ -portname Gibt den Portnamen zur Verwendung in der generierten WSDL an\n\\ Wird in Verbindung mit der Option "-wsdl" verwendet. + + +wsgen.usage.examples=\n\\Beispiele:\n\\ wsgen -cp . example.Stock\n\\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=Sie arbeiten mit JDK6, das mit JAX-WS {0}-API geliefert wird, dieses Tool erfordert jedoch JAX-WS {1}-API. Verwenden Sie das "Endorsed Standards Override Mechanism"-Verfahren (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), oder setzen Sie xendorsed="true" in <{2}>. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=Sie laden JAX-WS {0}-API aus {1}, dieses Tool erfordert jedoch JAX-WS {2}-API. + +invoker.needEndorsed=Sie arbeiten mit JDK6, das mit JAX-WS {0}-API geliefert wird, dieses Tool erfordert jedoch JAX-WS {1}-API. Verwenden Sie das "Endorsed Standards Override Mechanism"-Verfahren (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), oder verwenden Sie die Option "-Xendorsed". + + +# +# Generic Messages +# +wscompile.invalidOption=unbekannter Parameter {0} +wsimport.noSuchJaxbOption=keine derartige JAXB-Option: {0} + +wscompile.error=Fehler: {0} +wscompile.warning=Warnung: {0} +wscompile.info=Informationen: {0} +wscompile.duplicateOption=doppelte Option: {0} +wscompile.noSuchDirectory=Verzeichnis nicht gefunden: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=Option "{0}" erfordert ein Argument. +wscompile.compilationFailed=Kompilierung nicht erfolgreich, Fehler sollten gemeldet worden sein +wscompile.unsupportedEncoding=nicht unterst\u00fctzte Codierung: {0} + +wsimport.missingFile=WSDL_URI fehlt + +wsgen.invalid.protocol=\"{0}\" ist kein unterst\u00fctztes Protokoll. Unterst\u00fctzte Protokolle umfassen: {1}. +wsgen.invalid.transport=\"{0}\" ist kein unterst\u00fctzter Transport. Unterst\u00fctzte Transporte umfassen: {1}. +wsgen.class.not.found=Klasse nicht gefunden: "{0}" +wsgen.could.not.create.file=Datei konnte nicht erstellt werden: "{0}" +wsgen.missingFile=SEI fehlt +wsgen.soap12.without.extension=Das optionale Protokoll \"Xsoap1.2\" muss in Verbindung mit der Option \"-extension\" verwendet werden. +wsgen.protocol.without.extension=Das optionale Protokoll \"{0}\" muss in Verbindung mit der Option \"-extension\" verwendet werden. +wsgen.wsdl.arg.no.genwsdl=Die Option \"{0}\" kann nur in Verbindung mit der Option "-wsdl" verwendet werden. +wsgen.servicename.missing.namespace=Im Servicenamen \\"{0}\\" fehlt ein Namespace. +wsgen.servicename.missing.localname=Im Servicenamen \\"{0}\\" fehlt ein lokaler Name. +wsgen.portname.missing.namespace=Im Portnamen \\"{0}\\" fehlt ein Namespace. +wsgen.portname.missing.localname=Im Portnamen \\"{0}\\" fehlt ein lokaler Name. +wsgen.class.must.be.implementation.class=Die Klasse \\"{0}\\" ist keine End Point-Implementierungsklasse. +wsimport.NotAFileNorURL = "{0}" ist weder ein Dateiname noch eine URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen kann WSDL f\u00fcr Nicht-SOAP-Binding nicht generieren: {0} in Klasse {1} + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen kann WSDL f\u00fcr SOAP 1.2-Binding nicht generieren: {0} in Klasse {1} +Please geben Sie die Switches \\"-extension\\" und \\"-wsdl:protocol XSoap1.2\\" an. Beispiel:\n\n +wsgen -wsdl:protocol XSoap1.2 -extension {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" muss in Verbindung mit der Option \"-wsdl\" verwendet werden + +wsgen.no.webservices.class=wsgen hat keine Klasse mit @WebService-Annotation gefunden. Geben Sie @WebService-Annotation in {0} an. + +wsimport.no.wsdl=Schemadokument {0} konnte nicht gelesen werden, da 1) das Dokument nicht gefunden werden konnte; 2) das Dokument nicht gelesen werden konnte; 3) das Root-Element des Dokuments nicht ist. + +wsimport.FailedToParse = Parsen von "{0}" nicht m\u00f6glich: {1} + +wsimport.ParsingWSDL=WSDL wird geparst ...\n\n +wsimport.GeneratingCode=\nCode wird generiert ...\n +wsimport.CompilingCode=\nCode wird kompiliert ...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" ist keine g\u00fcltige Zielversion. "2.0" und "2.1" werden unterst\u00fctzt. + +wsimport.ILLEGAL_AUTH_INFO = "{0}" ist kein g\u00fcltiges Format f\u00fcr Autorisierungsinformationen. Das Format ist http[s]://user:password@host:port//. + +wsimport.readingAuthFile = Es wird versucht, die Autorisierungsdatei zu lesen: "{0}" ... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = Autorisierungsdatei "{0}" nicht gefunden. Wenn f\u00fcr den WSDL-Zugriff die Basisauthentifizierung erforderlich ist, geben Sie eine Autorisierungsdatei mit Lesezugriff in {1} an oder verwenden -Xauthfile, um die Autorisierungsdatei anzugeben. Geben Sie auf jeder Zeile Autorisierungsinformationen mit folgendem Format an: http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" erfordert Autorisierung. Geben Sie eine Autorisierungsdatei mit Lesezugriff in {2} an, oder verwenden Sie -Xauthfile, um die Autorisierungsdatei anzugeben. Geben Sie auf jeder Zeile Autorisierungsinformationen mit folgendem Format an: http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "Zeile {0} von {1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = Server hat HTTP-Statuscode zur\u00fcckgegeben: "{0}", Vorgang wird mit "{1}" wiederholt + +wsimport.maxRedirectAttempt = Eine WSDL kann nicht abgerufen werden. die H\u00f6chstanzahl von Umleitungen (5) ist erreicht + +wsimport.wsdllocation.clientjar = wsdlLocation kann bei Verwendung der Option "clientJar" nicht angegeben werden +# {0} - path to a zip file +wsimport.archivingArtifacts=\nDie generierten Artefakte werden in {0} archiviert.\n +wsimport.archiveArtifact={0} wird dem Archiv {1} hinzugef\u00fcgt +wsimport.fetchingMetadata=\nDie WSDL und die zugeh\u00f6rigen Metadaten werden heruntergeladen\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\nMetadatendokument wird aus {0} in {1} heruntergeladen diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=Sintaxis: {0} [options] \n\nUtilice "wsimport -help" para obtener una descripci\u00f3n detallada de las opciones. + +wsimport.help=\nSintaxis: {0} [options] \n\n\\donde [options] incluye:\n\\ -b especifica archivos de enlace jaxws/jaxb o esquemas adicionales\n\\ (Cada debe tener su propio -b)\n\\ -B Transfiere esta opci\u00f3n al compilador de esquemas JAXB\n\\ -catalog especifica un archivo de cat\u00e1logo para resolver las referencias a entidad externa\n\\ soporta TR9401, XCatalog y el formato de cat\u00e1logo OASIS XML.\n\\ -d especifica d\u00f3nde se colocan los archivos de salida generados\n\\ -encoding especifica la codificaci\u00f3n de caracteres que utilizan los archivos de origen\n\\ -extension permite extensiones de proveedor - funcionalidad no especificada\n\\ en la especificaci\u00f3n. El uso de extensiones puede\n\\ dar lugar a aplicaciones que no son portables o\n\\ que no funcionan con otras implantaciones\n\\ -help muestra la ayuda\n\\ -httpproxy:: especifica un servidor proxy HTTP (el puerto por defecto es 8080)\n\\ -keep mantiene los archivos generados\n\\ -p especifica el paquete de destino\n\\ -quiet suprime la salida de wsimport\n\\ -s especifica d\u00f3nde se colocan los archivos de origen generados\n\\ -target genera c\u00f3digo de acuerdo con la versi\u00f3n de la especificaci\u00f3n JAXWS indicada\n\\ El valor por defecto es 2.2; los valores aceptados son 2.0, 2.1 y 2.2\n\\ por ejemplo, 2.0 generar\u00e1 c\u00f3digo compatible con la especificaci\u00f3n JAX-WS 2.0\n\\ -verbose env\u00eda mensajes acerca de lo que est\u00e1 haciendo el compilador\n\\ -version imprime la informaci\u00f3n de versi\u00f3n\n\\ -wsdllocation valor de @WebServiceClient.wsdlLocation\n\\ -clientjar crea el archivo jar de los artefactos generados junto con los\n\\ metadatos WSDL necesarios para llamar al servicio web.\n\\ -generateJWS genera un archivo de implantaci\u00f3n JWS con stub\n\\ -implDestDir especifica d\u00f3nde se genera el archivo de implantaci\u00f3n JWS\n\\ -implServiceName parte local del nombre de servicio de la implantaci\u00f3n de JWS generada\n\\ -implPortName parte local del nombre de puerto de la implantaci\u00f3n de JWS generada + +wsimport.usage.extensions=\n\\Extensiones:\n\\ -XadditionalHeaders asigna cabeceras no enlazadas a la solicitud o el mensaje de respuesta a los \n\\ par\u00e1metros del m\u00e9todo Java\n\\ -Xauthfile archivo que lleva la informaci\u00f3n de autorizaci\u00f3n en el formato \n\\ http://username:password@example.org/stock?wsdl\n\\ -Xdebug imprime la informaci\u00f3n de depuraci\u00f3n\n\\ -Xno-addressing-databinding permite el enlace de W3C EndpointReferenceType a Java\n\\ -Xnocompile no compila los archivos Java generados\n\\ -XdisableAuthenticator desactiva el autenticador utilizado por la implantaci\u00f3n de referencia de JAX-WS,\n\\ la opci\u00f3n -Xauthfile se ignora si est\u00e1 definida\n\\ -XdisableSSLHostnameVerification desactiva la verificaci\u00f3n del nombre de host SSL al recuperar\n\\ wsdls + + +wsimport.usage.examples=\n\\Ejemplos:\n\\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\\ wsimport -d genera http://example.org/stock?wsdl\n + +wsgen.usage=Sintaxis: {0} [options] \n\nUtilice "wsgen -help" para obtener una descripci\u00f3n detallada de las opciones. + +wsgen.help=\nSintaxis: {0} [options] \n\n\\donde [options] incluye:\n\\ -classpath especifica d\u00f3nde se encuentran los archivos de clase de entrada\n\\ -cp igual que -classpath \n\\ -d especifica d\u00f3nde se colocan los archivos de salida generados\n\\ -encoding especifica la codificaci\u00f3n de caracteres que utilizan los archivos de origen\n\\ -extension permite extensiones de proveedor - funcionalidad no especificada\n\\ en la especificaci\u00f3n. El uso de extensiones\n\\ puede dar lugar a aplicaciones que no son portables o\n\\ que no funcionan con otras implantaciones\n\\ -help muestra la ayuda\n\\ -keep mantiene archivos generados\n\\ -r directorio de destino de recursos; especifica d\u00f3nde se\n\\ colocan archivos de recursos como los WSDL\n\\ -s especifica d\u00f3nde se colocan los archivos de origen generados\n\\ -verbose env\u00eda mensajes acerca de lo que est\u00e1 haciendo el compilador\n\\ -version imprime la informaci\u00f3n de versi\u00f3n\n\\ -wsdl[:protocol] genera un archivo WSDL. El protocolo es opcional.\n\\ Los protocolos v\u00e1lidos son {1},\n\\ el protocolo por defecto es soap1.1.\n\\ Los protocolos no est\u00e1ndar {2}\n\\ s\u00f3lo se pueden utilizar junto con la opci\u00f3n\n\\ -extension.\n\\ -inlineSchemas esquemas en l\u00ednea en el WSDL generado. Se deben\n\\ utilizar junto con la opci\u00f3n -wsdl.\n\\ -servicename especifica el nombre de servicio que se va a utilizar en el WSDL generado\n\\ Se utiliza junto con la opci\u00f3n -wsdl.\n\\ -portname especifica el nombre de puerto que se va a utilizar en el WSDL generado\n\\ Se utiliza junto con la opci\u00f3n -wsdl. + + +wsgen.usage.examples=\n\\Ejemplos:\n\\ wsgen -cp . example.Stock\n\\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=Est\u00e1 utilizando JDK6, que incluye la API JAX-WS {0}, pero esta herramienta necesita la API JAX-WS {1}. Utilice el mecanismo de sustituci\u00f3n de los est\u00e1ndares aprobados (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), o defina xendorsed="true" en <{2}>. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=Est\u00e1 cargando la API JAX-WS {0} desde {1}, pero esta herramienta necesita la API JAX-WS {2}. + +invoker.needEndorsed=Est\u00e1 utilizando JDK6, que incluye la API JAX-WS {0}, pero esta herramienta necesita la API JAX-WS {1}. Utilice el mecanismo de sustituci\u00f3n de los est\u00e1ndares aprobados (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), o utilice la opci\u00f3n -Xendorsed. + + +# +# Generic Messages +# +wscompile.invalidOption=par\u00e1metro {0} no reconocido +wsimport.noSuchJaxbOption=no existe esa opci\u00f3n JAXB: {0} + +wscompile.error=error: {0} +wscompile.warning=advertencia: {0} +wscompile.info=informaci\u00f3n: {0} +wscompile.duplicateOption=opci\u00f3n duplicada: {0} +wscompile.noSuchDirectory=no se ha encontrado el directorio: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=la opci\u00f3n \"{0}\" necesita un argumento +wscompile.compilationFailed=fallo de compilaci\u00f3n; se ha debido informar de los errores +wscompile.unsupportedEncoding=codificaci\u00f3n no soportada: {0} + +wsimport.missingFile=Falta WSDL_URI + +wsgen.invalid.protocol=\"{0}\" no es un protocolo soportado. Los protocolos soportados son: {1}. +wsgen.invalid.transport=\"{0}\" no es un transporte soportado. El transporte soportado es: {1}. +wsgen.class.not.found=No se ha encontrado la clase: \"{0}\" +wsgen.could.not.create.file="No se ha podido crear el archivo: "\\{0}\" +wsgen.missingFile=Falta la interfaz de punto final de servicio +wsgen.soap12.without.extension=El protocolo opcional \\"Xsoap1.2\\" se debe utilizar junto con la opci\u00f3n \\"-extension\\". +wsgen.protocol.without.extension=El protocolo opcional \"{0}\" se debe utilizar junto con la opci\u00f3n \"-extension\". +wsgen.wsdl.arg.no.genwsdl=La opci\u00f3n \\"{0}\\" s\u00f3lo se puede utilizar junto con la opci\u00f3n "-wsdl". +wsgen.servicename.missing.namespace=Al nombre del servicio \\"{0}\\" le falta un espacio de nombres. +wsgen.servicename.missing.localname=Al nombre del servicio \\"{0}\\" le falta un nombre local. +wsgen.portname.missing.namespace=Al nombre del puerto \"{0}\" le falta un espacio de nombres. +wsgen.portname.missing.localname=Al nombre del puerto \"{0}\" le falta un nombre local. +wsgen.class.must.be.implementation.class=La clase \"{0}\" no es una clase de implantaci\u00f3n de punto final. +wsimport.NotAFileNorURL = "{0}" no es un nombre de archivo ni una URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen no puede generar WSDL para enlaces no SOAP: {0} en la clase {1} + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen no puede generar WSDL para enlaces SOAP 1.2: {0} en la clase {1}.\n +Please especifique los conmutadores \\"-extension\\" y \\"-wsdl:protocol XSoap1.2\\". Por ejemplo:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\\"-inlineSchemas\\" se debe utilizar junto con la opci\u00f3n \\"-wsdl\\" + +wsgen.no.webservices.class=wsgen no ha encontrado ninguna clase con la anotaci\u00f3n @WebService. Especifique la anotaci\u00f3n @WebService en {0}. + +wsimport.no.wsdl=Fallo al leer el documento WSDL: {0}, porque 1) no se ha encontrado el documento, /2) el documento no se ha podido leer; 3) el elemento ra\u00edz del documento no es . + +wsimport.FailedToParse = Fallo al analizar "{0}": {1} + +wsimport.ParsingWSDL=analizando WSDL...\n\n +wsimport.GeneratingCode=\nGenerando c\u00f3digo...\n +wsimport.CompilingCode=\nCompilando c\u00f3digo...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" no es una versi\u00f3n de destino v\u00e1lida. "2.0" y "2.1" est\u00e1n soportadas. + +wsimport.ILLEGAL_AUTH_INFO = "{0}" no es un formato de informaci\u00f3n de autorizaci\u00f3n v\u00e1lido. El formato es http[s]://usuario:contrase\u00f1a@host:puerto//. + +wsimport.readingAuthFile = Intentando leer el archivo de autorizaci\u00f3n: "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = No se ha encontrado el archivo de autorizaci\u00f3n "{0}". Si el acceso WSDL necesita autenticaci\u00f3n b\u00e1sica, proporcione un archivo de autorizaci\u00f3n con acceso de lectura en {1} o utilice -Xauthfile para proporcionar el archivo de autorizaci\u00f3n y, en cada l\u00ednea, proporcione la informaci\u00f3n de autorizaci\u00f3n utilizando este formato: http[s]://usuario:contrase\u00f1a@host:puerto// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" necesita autorizaci\u00f3n. Proporcione un archivo de autorizaci\u00f3n con acceso de lectura en {2} o utilice -Xauthfile para proporcionar el archivo de autorizaci\u00f3n y, en cada l\u00ednea, proporcione la informaci\u00f3n de autorizaci\u00f3n utilizando este formato: http[s]://usuario:contrase\u00f1a@host:puerto// + +wsimport.AUTH_INFO_LINENO = "l\u00ednea {0} de {1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = El servidor ha devuelto el c\u00f3digo de estado HTTP: "{0}"; reintentando con "{1}" + +wsimport.maxRedirectAttempt = No se puede obtener un WSDL. Se ha alcanzado el n\u00famero m\u00e1ximo de redireccionamientos (5). + +wsimport.wsdllocation.clientjar = wsdlLocation no se puede especificar al utilizar la opci\u00f3n clientJar +# {0} - path to a zip file +wsimport.archivingArtifacts=\nArchivando los artefactos generados en {0}.\n +wsimport.archiveArtifact=Agregando {0} al archivo {1} +wsimport.fetchingMetadata=\nDescargando el WSDL y los metadatos asociados\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\nDescargando el documento de metadatos desde {0} en {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=Syntaxe : {0} [options] \n\nUtilisez "wsimport -help" pour obtenir une description d\u00e9taill\u00e9e des options. + +wsimport.help=\nSyntaxe : {0} [options] \n\n\\o\u00f9 [options] incluent :\n\ -b indiquez les fichiers de binding jaxws/jaxb ou des sch\u00e9mas suppl\u00e9mentaires\n\ (Chaque \u00e9l\u00e9ment doit avoir sa propre option -b)\n\ -B Transmettez cette option au compilateur de sch\u00e9mas JAXB\n\ -catalog indiquez le fichier de catalogue pour r\u00e9soudre les r\u00e9f\u00e9rences d''entit\u00e9 externes\n\ prend en charge le format de catalogue TR9401, XCatalog et OASIS XML.\n\ -d indiquez o\u00f9 placer les fichiers de sortie g\u00e9n\u00e9r\u00e9s\n\ -encoding indiquez l''encodage de caract\u00e8res utilis\u00e9s pour les fichiers source\n\ -extension autorisez les extensions fournisseur - fonctionnalit\u00e9 non indiqu\u00e9e\n\ par la sp\u00e9cification. L''utilisation d''extensions peut\n\ aboutir \u00e0 des applications non portables ou\n\ ne pouvant peut-\u00eatre pas interagir avec d''autres impl\u00e9mentations\n\ -help affichez l''aide\n\ -httpproxy:: indiquez un serveur proxy HTTP (ports 8080 par d\u00e9faut)\n\ -keep conservez les fichiers g\u00e9n\u00e9r\u00e9s\n\ -p indiquez le package cible\n\ -quiet supprimez la sortie wsimport\n\ -s indiquez o\u00f9 placer les fichiers source g\u00e9n\u00e9r\u00e9s\n\ -target g\u00e9n\u00e9rez le code conform\u00e9ment \u00e0 la version de sp\u00e9cification JAXWS indiqu\u00e9e\n\ la valeur par d\u00e9faut est 2.2, les valeurs accept\u00e9es sont 2.0, 2.1 et 2.2\n\ ex. : 2.0 g\u00e9n\u00e8rera un code conforme \u00e0 la sp\u00e9cification JAXWS 2.0\n\ -verbose messages de sortie concernant les actions du compilateur\n\ -version imprimez les informations de version\n\ -wsdllocation valeur @WebServiceClient.wsdlLocation\n\ -clientjar Cr\u00e9e le fichier JAR des artefacts g\u00e9n\u00e9r\u00e9s ainsi que les\n\ m\u00e9tadonn\u00e9es WSDL requises pour l''appel du service Web.\n\ -generateJWS g\u00e9n\u00e9rez le fichier d''impl\u00e9mentation JWS stub\n\ -implDestDir indiquez o\u00f9 g\u00e9n\u00e9rer le fichier d''impl\u00e9mentation JWS\n\ -implServiceName partie locale du nom de service pour l''impl\u00e9mentation JWS g\u00e9n\u00e9r\u00e9e\n\ -implPortName partie locale du nom de port pour l''impl\u00e9mentation JWS g\u00e9n\u00e9r\u00e9e + +wsimport.usage.extensions=\n\\Extensions :\n\ -XadditionalHeaders mappez les en-t\u00eates non li\u00e9s au message de demande ou de r\u00e9ponse \u00e0 des \n\ param\u00e8tres de m\u00e9thode Java\n\ -Xauthfile fichier permettant de transporter les informations d'autorisation au format \n\ http://username:password@example.org/stock?wsdl\n\ -Xdebug imprimez les informations de d\u00e9bogage\n\ -Xno-addressing-databinding activez le binding de W3C EndpointReferenceType \u00e0 Java\n\ -Xnocompile ne compilez pas les fichiers Java g\u00e9n\u00e9r\u00e9s\n\ -XdisableAuthenticator d\u00e9sactivez l'authentificateur utilis\u00e9 par l''impl\u00e9mentation de r\u00e9f\u00e9rence JAX-WS,\n\ l'option -Xauthfile ne sera pas prise en compte si elle est d\u00e9finie\n\ -XdisableSSLHostnameVerification d\u00e9sactivez la v\u00e9rification du nom d'h\u00f4te SSL lors de l'extraction\n\ wsdls + + +wsimport.usage.examples=\n\\Exemples :\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d a g\u00e9n\u00e9r\u00e9 http://example.org/stock?wsdl\n + +wsgen.usage=Syntaxe : {0} [options] \n\nUtilisez "wsgen -help" pour obtenir une description d\u00e9taill\u00e9e des options. + +wsgen.help=\nSyntaxe : {0} [options] \n\n\\o\u00f9 [options] incluent :\n\ -classpath indiquez o\u00f9 trouver les fichiers de classe d''entr\u00e9e\n\ -cp identique \u00e0 -classpath \n\ -d indiquez o\u00f9 placer les fichiers de sortie g\u00e9n\u00e9r\u00e9s\n\ -encoding indiquez l''encodage de caract\u00e8res utilis\u00e9 par les fichiers source\n\ -extension autorisez les extensions fournisseur - fonctionnalit\u00e9 non indiqu\u00e9e\n\ par la sp\u00e9cification. L''utilisation des extensions peut\n\ aboutir \u00e0 des applications non portables ou\n\ ne pouvant peut-\u00eatre pas interagir avec d''autres impl\u00e9mentations\n\ -help affichez l''aide\n\ -keep conservez les fichiers g\u00e9n\u00e9r\u00e9s\n\ -r r\u00e9pertoire de destination des ressources, indiquez o\u00f9\n\ placer les fichiers de ressource tels que les WSDL\n\ -s indiquez o\u00f9 placer les fichiers source g\u00e9n\u00e9r\u00e9s\n\ -verbose messages de sortie concernant les actions du compilateur\n\ -version imprimez les informations de version\n\ -wsdl[:protocol] g\u00e9n\u00e9rez un fichier WSDL. Le protocole est facultatif.\n\ Les protocoles valides sont {1},\n\ le protocole par d\u00e9faut est soap1.1.\n\ Les protocoles non standard {2}\n\ peuvent \u00eatre utilis\u00e9s uniquement avec\n\ l''option -extension.\n\ -inlineSchemas incorporez les sch\u00e9mas dans le WSDL g\u00e9n\u00e9r\u00e9. \n\ Utilis\u00e9 avec l''option -wsdl.\n\ -servicename indiquez le nom de service \u00e0 utiliser dans le WSDL g\u00e9n\u00e9r\u00e9\n\ Utilis\u00e9 avec l''option -wsdl.\n\ -portname indiquez le nom de port \u00e0 utiliser dans le WSDL g\u00e9n\u00e9r\u00e9\n\ Utilis\u00e9 avec l''option -wsdl. + + +wsgen.usage.examples=\n\\Exemples :\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=Vous ex\u00e9cutez JDK6, qui comporte l''API JAX-WS {0}, mais cet outil exige l''API JAX-WS {1}. Utilisez le m\u00e9canisme Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), ou d\u00e9finissez xendorsed="True" sur <{2}>. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=Vous \u00eates en train de charger l''API JAX-WS {0} \u00e0 partir de {1}, mais cet outil exige l''API JAX-WS {2}. + +invoker.needEndorsed=Vous ex\u00e9cutez JDK6, qui comporte l''API JAX-WS {0}, mais cet outil exige l''API JAX-WS {1}. Utilisez le m\u00e9canisme Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), ou utilisez l''option -Xendorsed. + + +# +# Generic Messages +# +wscompile.invalidOption=param\u00e8tre {0} non reconnu +wsimport.noSuchJaxbOption=aucune option JAXB de ce type : {0} + +wscompile.error=erreur : {0} +wscompile.warning=avertissement : {0} +wscompile.info=informations : {0} +wscompile.duplicateOption=option en double : {0} +wscompile.noSuchDirectory=r\u00e9pertoire introuvable : {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=l''option \"{0}\" exige un argument +wscompile.compilationFailed=\u00e9chec de la compilation, les erreurs auraient d\u00fb \u00eatre signal\u00e9es +wscompile.unsupportedEncoding=encodage non pris en charge : {0} + +wsimport.missingFile=WSDL_URI manquant + +wsgen.invalid.protocol=\"{0}\" n''est pas un protocole pris en charge. Les protocoles pris en charge incluent : {1}. +wsgen.invalid.transport=\"{0}\" n''est pas un transport pris en charge. Les transports pris en charge incluent : {1}. +wsgen.class.not.found=Classe introuvable : \"{0}\" +wsgen.could.not.create.file="Impossible de cr\u00e9er le fichier : "\\{0}\" +wsgen.missingFile=interface d'adresse de service manquante +wsgen.soap12.without.extension=Le protocole facultatif \"Xsoap1.2\" doit \u00eatre utilis\u00e9 avec l'option \"-extension\". +wsgen.protocol.without.extension=Le protocole facultatif \"{0}\" doit \u00eatre utilis\u00e9 avec l''option \"-extension\". +wsgen.wsdl.arg.no.genwsdl=L''option \"{0}\" peut \u00eatre associ\u00e9e uniquement \u00e0 l''option "-wsdl". +wsgen.servicename.missing.namespace=Un espace de noms est manquant dans le nom de service \"{0}\". +wsgen.servicename.missing.localname=Un nom local est manquant dans le nom de service \"{0}\". +wsgen.portname.missing.namespace=Un espace de noms est manquant dans le nom de port \"{0}\". +wsgen.portname.missing.localname=Un nom local est manquant dans le nom de port \"{0}\". +wsgen.class.must.be.implementation.class=La classe \"{0}\" n''est pas une classe d''impl\u00e9mentation d''adresse. +wsimport.NotAFileNorURL = "{0}" n''est pas un nom de fichier ni une URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen ne peut pas g\u00e9n\u00e9rer le WSDL pour le binding non-SOAP {0} sur la classe {1} + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen ne peut pas g\u00e9n\u00e9rer le WSDL pour le binding SOAP 1.2 {0} sur la classe {1}.\n +Please indiquez les commutateurs \"-extension\" et \"-wsdl:protocol XSoap1.2\". Par exemple :\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" doit \u00eatre utilis\u00e9 avec l'option \"-wsdl\" + +wsgen.no.webservices.class=wsgen n''a trouv\u00e9 aucune classe avec l''annotation @WebService. Indiquez une annotation @WebService sur {0}. + +wsimport.no.wsdl=Echec de la lecture du document WSDL {0} pour les raisons suivantes : 1) Le document est introuvable ; 2) Le document n''a pas pu \u00eatre lu ; 3) L''\u00e9l\u00e9ment racine du document n''est pas . + +wsimport.FailedToParse = Echec de l''analyse de "{0}" : {1} + +wsimport.ParsingWSDL=analyse du WSDL...\n\n +wsimport.GeneratingCode=\nG\u00e9n\u00e9ration du code...\n +wsimport.CompilingCode=\nCompilation du code...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" n''est pas une version cible valide. Les versions "2.0" et "2.1" sont prises en charge. + +wsimport.ILLEGAL_AUTH_INFO = "{0}" n''est pas un format d''informations d''autorisation valide. Le format est http[s]://user:password@host:port//. + +wsimport.readingAuthFile = Tentative de lecture d''un fichier d''autorisation : "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = Fichier d''autorisation "{0}" introuvable. Si l''acc\u00e8s WSDL n\u00e9cessite une authentification de base, fournissez un fichier d''autorisation avec un acc\u00e8s en lecture \u00e0 {1} ou utilisez -Xauthfile pour donner le fichier d''autorisation et fournir sur chaque ligne les informations d''autorisation \u00e0 l''aide du format suivant : http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" n\u00e9cessite une autorisation, fournissez un fichier d''autorisation avec un acc\u00e8s en lecture \u00e0 {2} ou utilisez -Xauthfile pour donner le fichier d''autorisation et fournir sur chaque ligne les informations d''autorisation \u00e0 l''aide du format suivant : http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "ligne {0} sur {1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = Le serveur a renvoy\u00e9 le code de statut HTTP : "{0}", nouvelle tentative avec "{1}" + +wsimport.maxRedirectAttempt = Impossible d'obtenir un WSDL, nombre maximal de r\u00e9acheminements (5) atteint + +wsimport.wsdllocation.clientjar = wsdlLocation ne peut pas \u00eatre indiqu\u00e9 lors de l'utilisation de l'option clientJar +# {0} - path to a zip file +wsimport.archivingArtifacts=\nArchivage des artefacts g\u00e9n\u00e9r\u00e9s dans {0}.\n +wsimport.archiveArtifact=Ajout de {0} \u00e0 l''archive {1} +wsimport.fetchingMetadata=\nT\u00e9l\u00e9chargement du WSDL et des m\u00e9tadonn\u00e9es associ\u00e9es\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\nT\u00e9l\u00e9chargement du document de m\u00e9tadonn\u00e9es de {0} vers {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=Uso: {0} [options] \n\nUsare "wsimport -help" per una descrizione dettagliata delle opzioni. + +wsimport.help=\nUso: {0} [options] \n\n\\dove [options] include:\n\ -b specifica i file di associazione jaxws/jaxb o gli schemi aggiuntivi\n\ (Ogni deve avere un proprio -b)\n\ -B passa questa opzione al compilatore dello schema JAXB\n\ -catalog specifica il file di catalogo per risolvere i riferimenti a entit\u00e0 esterne\n\ supporta il formato di catalogo XML TR9401, XCatalog e OASIS.\n\ -d specifica la posizione dei file di output generati\n\ -encoding specifica la codifica dei caratteri usata dai file di origine\n\ -extension consente le estensioni del fornitore - funzionalit\u00e0 non specificata\n\ dalla specifica. L''uso delle estensioni pu\u00f2\n\ produrre applicazioni non portatili o\n\ rendere impossibile l''interoperabilit\u00e0 con altre implementazioni\n\ -help visualizza la Guida\n\ -httpproxy:: specifica un server proxy HTTP (il valore predefinito della porta \u00e8 8080)\n\ -keep conserva i file generati\n\ -p specifica il package di destinazione\n\ -quiet elimina l''output wsimport\n\ -s specifica la posizione dei file di origine generati\n\ -target genera il codice come per la versione della specifica JAXWS fornita\n\ Il valore predefinito \u00e8 2.2. I valori accettati sono 2.0, 2.1 e 2.2\n\ ad esempio, 2.0 genera il codice conforme per la specifica JAXWS 2.0\n\ -verbose messaggi di output relativi alle azioni del compilatore\n\ -version stampa le informazioni sulla versione\n\ -wsdllocation valore @WebServiceClient.wsdlLocation\n\ -clientjar crea il file jar degli artifact generati insieme ai\n\ metadati WSDL richiesti per il richiamo del servizio Web.\n\ -generateJWS genera il file di implementazione JWS stub\n\ -implDestDir specifica la posizione in cui generare il file di implementazione JWS\n\ -implServiceName parte locale del nome di servizio per l''implementazione JWS generata\n\ -implPortName parte locale del nome di porta per l''implementazione JWS generata + +wsimport.usage.extensions=\n\\Estensioni:\n\ -XadditionalHeaders mappa le intestazioni non associate a un messaggio di richiesta o di risposta ai \n\ parametri del metodo Java\n\ -Xauthfile file per trasportare le informazioni di autorizzazione nel formato \n\ http://username:password@example.org/stock?wsdl\n\ -Xdebug stampa le informazioni di debug\n\ -Xno-addressing-databinding abilita l'associazione di EndpointReferenceType W3C a Java\n\ -Xnocompile non compila i file Java generati\n\ -XdisableAuthenticator disabilita l'autenticatore usato da JAX-WS RI,\n\ l'opzione -Xauthfile viene ignorata, se impostata\n\ -XdisableSSLHostnameVerification disabilita la verifica del nome host SSL durante il recupero tramite DETCH dei\n\ wsdl + + +wsimport.usage.examples=\n\\Esempi:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=Uso: {0} [options] \n\nUsare "wsgen -help" per una descrizione dettagliata delle opzioni. + +wsgen.help=\nUso: {0} [options] \n\n\\dove [options] include:\n\ -classpath specifica dove trovare i file della classe di input\n\ -cp come per -classpath \n\ -d specifica la posizione dei file di output generati\n\ -encoding specifica la codifica dei caratteri usata dai file di origine\n\ -extension consente le estensioni del fornitore - funzionalit\u00e0 non specificata\n\ dalla specifica. L''uso delle estensioni pu\u00f2\n\ produrre applicazioni non portatili o\n\ rendere impossibile l''interoperabilit\u00e0 con altre implementazioni\n\ -help visualizza la Guida\n\ -keep conserva i file generati\n\ -r directory di destinazione delle risorse, specifica la\n\ posizione dei file delle risorse, ad esempio WSDL\n\ -s specifica la posizione dei file di origine generati\n\ -verbose messaggi di output relativi alle azioni del compilatore\n\ -version stampa le informazioni sulla versione\n\ -wsdl[:protocol] genera un file WSDL. Il protocollo \u00e8 opzionale.\n\ I protocolli validi sono {1},\n\ il valore predefinito \u00e8 soap1.1.\n\ I protocolli non standard {2}\n\ possono essere usati solo insieme\n\ all''opzione -extension.\n\ -inlineSchemas schemi in linea nel WSDL generato. Devono essere\n\ usati insieme all''opzione -wsdl.\n\ -servicename specifica il nome del servizio da usare nel WSDL generato\n\ Deve essere usato insieme all''opzione -wsdl.\n\ -portname specifica il nome della porta da usare nel WSDL generato\n\ Deve essere usato insieme all''opzione -wsdl. + + +wsgen.usage.examples=\n\\Esempi:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=\u00c8 in corso l''esecuzione su JDK6, fornito con l''API JAX-WS {0} ma questo strumento richiede l''API JAX-WS {1}. Usare il meccanismo Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/) o impostare xendorsed="true" su <{2}>. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=\u00c8 in corso il caricamento dell''API JAX-WS {0} da {1} ma questo strumento richiede l''API JAX-WS {2}. + +invoker.needEndorsed=\u00c8 in corso l''esecuzione su JDK6, fornito con l''API JAX-WS {0} ma questo strumento richiede l''API JAX-WS {1}. Usare il meccanismo Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/) o usare l''opzione -Xendorsed. + + +# +# Generic Messages +# +wscompile.invalidOption=parametro non riconosciuto {0} +wsimport.noSuchJaxbOption=nessuna opzione JAXB: {0} + +wscompile.error=errore: {0} +wscompile.warning=avvertenza: {0} +wscompile.info=informazioni: {0} +wscompile.duplicateOption=opzione duplicata: {0} +wscompile.noSuchDirectory=directory non trovata: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=l''opzione \"{0}\" richiede un argomento +wscompile.compilationFailed=compilazione non riuscita. Gli errori dovrebbero essere stati segnalati. +wscompile.unsupportedEncoding=codifica non supportata: {0} + +wsimport.missingFile=WSDL_URI mancante + +wsgen.invalid.protocol=\"{0}\" non \u00e8 un protocollo supportato. I protocolli supportati includono: {1}. +wsgen.invalid.transport=\"{0}\" non \u00e8 un trasporto supportato. Il trasporto supportato include: {1}. +wsgen.class.not.found=Classe non trovata: \"{0}\" +wsgen.could.not.create.file="Impossibile creare il file: \"{0}\" +wsgen.missingFile=SEI mancante +wsgen.soap12.without.extension=Il protocollo opzionale \"Xsoap1.2\" deve essere usato insieme all'opzione \"-extension\". +wsgen.protocol.without.extension=Il protocollo opzionale \"{0}\" deve essere usato insieme all''opzione \"-extension\". +wsgen.wsdl.arg.no.genwsdl=L''opzione \"{0}\" pu\u00f2 essere usata solo insieme all''opzione \"-wsdl". +wsgen.servicename.missing.namespace=Spazio di nomi mancante nel nome di servizio \"{0}\". +wsgen.servicename.missing.localname=Nome locale mancante nel nome di servizio \"{0}\". +wsgen.portname.missing.namespace=Spazio di nomi mancante nel nome di porta \"{0}\". +wsgen.portname.missing.localname=Nome locale mancante nel nome di porta \"{0}\". +wsgen.class.must.be.implementation.class=La classe \"{0}\" non \u00e8 una classe di implementazione dell''endpoint. +wsimport.NotAFileNorURL = "{0}" non \u00e8 un nome file n\u00e9 un URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen non pu\u00f2 generare WSDL per un''associazione non SOAP: {0} sulla classe {1} + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen non pu\u00f2 generare WSDL per un''associazione SOAP 1.2: {0} sulla classe {1}.\n +Please specificare i parametri \"-extension\" e \"-wsdl:protocol XSoap1.2\". Ad esempio:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" deve essere usato insieme all''opzione \"-wsdl\" + +wsgen.no.webservices.class=wsgen non ha trovato alcuna classe con l''annotazione @WebService. Specificare l''annotazione @WebService su {0}. + +wsimport.no.wsdl=Lettura del documento WSDL: {0} non riuscita perch\u00e9 1) non \u00e8 stato possibile trovare il documento; 2) non \u00e8 stato possibile leggere il documento; 3) l''elemento radice del documento non \u00e8 . + +wsimport.FailedToParse = Analisi di "{0}" non riuscita: {1} + +wsimport.ParsingWSDL=analisi di WSDL in corso...\n\n +wsimport.GeneratingCode=\nGenerazione del codice in corso...\n +wsimport.CompilingCode=\nCompilazione del codice in corso...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" non \u00e8 una versione di destinazione valida. Sono supportate le versioni "2.0" e "2.1". + +wsimport.ILLEGAL_AUTH_INFO = "{0}" non \u00e8 un formato di informazioni di autorizzazione valido. Il formato \u00e8 http[s]://user:password@host:port//. + +wsimport.readingAuthFile = Tentativo di lettura del file di autorizzazione: "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = File di autorizzazione "{0}" non trovato. Se l''accesso WSDL richiede l''autenticazione Basic, fornire il file di autorizzazione con accesso in lettura a {1} oppure usare -Xauthfile per fornire il file di autorizzazione e su ogni riga fornire le informazioni di autorizzazione usando il formato: http[s]://user:password@host:porta// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" richiede autorizzazione. Fornire il file di autorizzazione con accesso in lettura a {2} oppure usare -Xauthfile per fornire il file di autorizzazione e su ogni riga fornire le informazioni di autorizzazione usando il formato: http[s]://user:password@host:porta// + +wsimport.AUTH_INFO_LINENO = "riga {0} di {1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = Il server ha restituito il codice di stato HTTP: "{0}". Nuovo tentativo con "{1}" + +wsimport.maxRedirectAttempt = Impossibile ottenere un WSDL. Numero massimo di reindirizzamenti (5) raggiunto + +wsimport.wsdllocation.clientjar = Impossibile specificare wsdlLocation quando viene usata l'opzione clientJar +# {0} - path to a zip file +wsimport.archivingArtifacts=\nArchiviazione degli artifact generati in {0}.\n +wsimport.archiveArtifact=Aggiunta di {0} all''archivio {1} +wsimport.fetchingMetadata=\nScaricamento di WSDL e dei metadati associati\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\nScaricamento del documento dei metadati da {0} a {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=\u4f7f\u7528\u65b9\u6cd5: {0} [options] \n\n\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a73\u7d30\u306a\u8aac\u660e\u306b\u306f"wsimport -help"\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 + +wsimport.help=\n\u4f7f\u7528\u65b9\u6cd5: {0} [options] \n\n\\[options]\u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059:\n\ -b jaxws/jaxb\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u8ffd\u52a0\u30b9\u30ad\u30fc\u30de\u3092\u6307\u5b9a\u3059\u308b\n\ (\u5404\u306b\u306f\u305d\u308c\u305e\u308c-b\u304c\u5fc5\u8981)\n\ -B \u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092JAXB\u30b9\u30ad\u30fc\u30de\u30fb\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u6e21\u3059\n\ -catalog \u5916\u90e8\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u53c2\u7167\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u30ab\u30bf\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\n\ TR9401\u3001XCatalog\u304a\u3088\u3073OASIS XML\u30ab\u30bf\u30ed\u30b0\u5f62\u5f0f\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002\n\ -d \u751f\u6210\u6e08\u306e\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -encoding \u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u7528\u3055\u308c\u308b\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6307\u5b9a\u3059\u308b\n\ -extension \u30d9\u30f3\u30c0\u30fc\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u8a31\u53ef\u3059\u308b - \u6a5f\u80fd\u306f\u4ed5\u69d8\u3067\n\ \u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\n\ \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30dd\u30fc\u30bf\u30d6\u30eb\u3067\u306a\u304f\u306a\u308b\u304b\u3001\n\ \u4ed6\u306e\u5b9f\u88c5\u3068\u306e\u76f8\u4e92\u904b\u7528\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\n\ -help \u30d8\u30eb\u30d7\u3092\u8868\u793a\u3059\u308b\n\ -httpproxy:: HTTP\u30d7\u30ed\u30ad\u30b7\u30fb\u30b5\u30fc\u30d0\u30fc\u3092\u6307\u5b9a\u3059\u308b(\u30dd\u30fc\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306f8080)\n\ -keep \u751f\u6210\u6e08\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u6301\u3059\u308b\n\ -p \u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6307\u5b9a\u3059\u308b\n\ -quiet wsimport\u51fa\u529b\u3092\u8868\u793a\u3057\u306a\u3044\n\ -s \u751f\u6210\u6e08\u306e\u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -target \u6307\u5b9a\u306eJAXWS\u4ed5\u69d8\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5f93\u3063\u3066\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\n\ \u30c7\u30d5\u30a9\u30eb\u30c8\u306f2.2\u3067\u3042\u308a\u3001\u4f7f\u7528\u53ef\u80fd\u306a\u5024\u306f2.0\u30012.1\u304a\u3088\u30732.2\u3067\u3059\n\ \u305f\u3068\u3048\u30702.0\u3067\u306f\u3001JAXWS 2.0\u4ed5\u69d8\u306e\u6e96\u62e0\u30b3\u30fc\u30c9\u304c\u751f\u6210\u3055\u308c\u307e\u3059\n\ -verbose \u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u51e6\u7406\u5185\u5bb9\u306b\u95a2\u3059\u308b\u51fa\u529b\u30e1\u30c3\u30bb\u30fc\u30b8\n\ -version \u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u5370\u5237\u3059\u308b\n\ -wsdllocation @WebServiceClient.wsdlLocation\u306e\u5024\n\ -clientjar \u751f\u6210\u6e08\u306e\u30a2\u30fc\u30c6\u30a3\u30d5\u30a1\u30af\u30c8\u306eJAR\u30d5\u30a1\u30a4\u30eb\u3068\u3001\n\ Web\u30b5\u30fc\u30d3\u30b9\u306e\u547c\u51fa\u3057\u306b\u5fc5\u8981\u306aWSDL\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\n\ -generateJWS \u30b9\u30bf\u30d6\u5316\u3055\u308c\u305fJWS\u5b9f\u88c5\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\n\ -implDestDir JWS\u5b9f\u88c5\u30d5\u30a1\u30a4\u30eb\u306e\u751f\u6210\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -implServiceName \u751f\u6210\u6e08\u306eJWS\u5b9f\u88c5\u306e\u30b5\u30fc\u30d3\u30b9\u540d\u306e\u30ed\u30fc\u30ab\u30eb\u90e8\u5206\n\ -implPortName \u751f\u6210\u6e08\u306eJWS\u5b9f\u88c5\u306e\u30dd\u30fc\u30c8\u540d\u306e\u30ed\u30fc\u30ab\u30eb\u90e8\u5206 + +wsimport.usage.extensions=\n\\\u62e1\u5f35\u6a5f\u80fd:\n\ -XadditionalHeaders \u30ea\u30af\u30a8\u30b9\u30c8\u307e\u305f\u306f\u30ec\u30b9\u30dd\u30f3\u30b9\u30fb\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u30d0\u30a4\u30f3\u30c9\u3055\u308c\u3066\u3044\u306a\u3044\u30d8\u30c3\u30c0\u30fc\u3092\n\ Java\u30e1\u30bd\u30c3\u30c9\u30fb\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u30de\u30c3\u30d7\n\ -Xauthfile \u6b21\u306e\u5f62\u5f0f\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u6301\u3064\u30d5\u30a1\u30a4\u30eb\n\ http://username:password@example.org/stock?wsdl\n\ -Xdebug \u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u5370\u5237\u3059\u308b\n\ -Xno-addressing-databinding W3C EndpointReferenceType\u306eJava\u3078\u306e\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u6709\u52b9\u5316\u3059\u308b\n\ -Xnocompile \u751f\u6210\u6e08\u306eJava\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u306a\u3044\n\ -XdisableAuthenticator JAX-WS RI\u3067\u4f7f\u7528\u3055\u308c\u308b\u8a8d\u8a3c\u3092\u7121\u52b9\u5316\u3059\u308b\n\ \u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001-Xauthfile\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u7121\u8996\u3055\u308c\u307e\u3059\n\ -XdisableSSLHostnameVerification WSDL\u306e\u30d5\u30a7\u30c3\u30c1\u4e2d\u306eSSL\u30db\u30b9\u30c8\u540d\u691c\u8a3c\u3092\n\ \u7121\u52b9\u5316\u3059\u308b + + +wsimport.usage.examples=\n\\\u4f8b:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=\u4f7f\u7528\u65b9\u6cd5: {0} [options] \n\n\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a73\u7d30\u306a\u8aac\u660e\u306b\u306f"wsgen -help"\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 + +wsgen.help=\n\u4f7f\u7528\u65b9\u6cd5: {0} [options] \n\n\\[options]\u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059:\n\ -classpath \u5165\u529b\u30af\u30e9\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u691c\u7d22\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -cp -classpath \u3068\u540c\u3058\n\ -d \u751f\u6210\u6e08\u306e\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -encoding \u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u7528\u3055\u308c\u308b\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6307\u5b9a\u3059\u308b\n\ -extension \u30d9\u30f3\u30c0\u30fc\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u8a31\u53ef\u3059\u308b - \u6a5f\u80fd\u306f\u4ed5\u69d8\u3067\n\ \u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\n\ \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30dd\u30fc\u30bf\u30d6\u30eb\u3067\u306a\u304f\u306a\u308b\u304b\u3001\n\ \u4ed6\u306e\u5b9f\u88c5\u3068\u306e\u76f8\u4e92\u904b\u7528\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\n\ -help \u30d8\u30eb\u30d7\u3092\u8868\u793a\u3059\u308b\n\ -keep \u751f\u6210\u6e08\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u6301\u3059\u308b\n\ -r \u30ea\u30bd\u30fc\u30b9\u5b9b\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3002WSDL\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\n\ \u683c\u7d0d\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -s \u751f\u6210\u6e08\u306e\u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\n\ -verbose \u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u51e6\u7406\u5185\u5bb9\u306b\u95a2\u3059\u308b\u51fa\u529b\u30e1\u30c3\u30bb\u30fc\u30b8\n\ -version \u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u5370\u5237\u3059\u308b\n\ -wsdl[:protocol] WSDL\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3002\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3002\n\ \u6709\u52b9\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u306f{1}\u3067\u3042\u308a\u3001\n\ \u30c7\u30d5\u30a9\u30eb\u30c8\u306fsoap1.1\u3067\u3059\u3002\n\ \u975e\u6a19\u6e96\u30d7\u30ed\u30c8\u30b3\u30eb{2}\n\ \u306f-extension\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u305f\u5834\u5408\u306e\u307f\n\ \u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\n\ -inlineSchemas \u751f\u6210\u6e08\u306eWSDL\u306e\u30a4\u30f3\u30e9\u30a4\u30f3\u30fb\u30b9\u30ad\u30fc\u30de\u3002-wsdl\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\n\ \u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n\ -servicename \u751f\u6210\u6e08\u306eWSDL\u3067\u4f7f\u7528\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u540d\u3092\u6307\u5b9a\u3059\u308b\n\ -wsdl\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002\n\ -portname \u751f\u6210\u6e08\u306eWSDL\u3067\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3059\u308b\n\ -wsdl\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002 + + +wsgen.usage.examples=\n\\\u4f8b:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=JAX-WS {0} API\u306b\u4ed8\u5c5e\u3057\u305fJDK6\u3067\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30c4\u30fc\u30eb\u306b\u306fJAX-WS {1} API\u304c\u5fc5\u8981\u3067\u3059\u3002Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/)\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001<{2}>\u3067xendorsed="true"\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002 + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi={1}\u304b\u3089JAX-WS {0} API\u3092\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30c4\u30fc\u30eb\u306b\u306fJAX-WS {2} API\u304c\u5fc5\u8981\u3067\u3059\u3002 + +invoker.needEndorsed=JAX-WS {0} API\u306b\u4ed8\u5c5e\u3057\u305fJDK6\u3067\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30c4\u30fc\u30eb\u306b\u306fJAX-WS {1} API\u304c\u5fc5\u8981\u3067\u3059\u3002Endorsed Standards Override Mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/)\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001-Xendorsed\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002 + + +# +# Generic Messages +# +wscompile.invalidOption=\u30d1\u30e9\u30e1\u30fc\u30bf{0}\u3092\u8a8d\u8b58\u3067\u304d\u307e\u305b\u3093 +wsimport.noSuchJaxbOption=\u305d\u306e\u3088\u3046\u306aJAXB\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3042\u308a\u307e\u305b\u3093: {0} + +wscompile.error=\u30a8\u30e9\u30fc: {0} +wscompile.warning=\u8b66\u544a: {0} +wscompile.info=\u60c5\u5831: {0} +wscompile.duplicateOption=\u91cd\u8907\u30aa\u30d7\u30b7\u30e7\u30f3: {0} +wscompile.noSuchDirectory=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308a\u307e\u305b\u3093: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=\u30aa\u30d7\u30b7\u30e7\u30f3\"{0}\"\u306b\u306f\u5f15\u6570\u304c\u5fc5\u8981\u3067\u3059 +wscompile.compilationFailed=\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u30a8\u30e9\u30fc\u306f\u5831\u544a\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 +wscompile.unsupportedEncoding=\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0: {0} + +wsimport.missingFile=WSDL_URI\u304c\u3042\u308a\u307e\u305b\u3093 + +wsgen.invalid.protocol=\"{0}\"\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059: {1}\u3002 +wsgen.invalid.transport=\"{0}\"\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059: {1}\u3002 +wsgen.class.not.found=\u30af\u30e9\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: \"{0}\" +wsgen.could.not.create.file="\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: "\\{0}\" +wsgen.missingFile=SEI\u304c\u3042\u308a\u307e\u305b\u3093 +wsgen.soap12.without.extension=\u30aa\u30d7\u30b7\u30e7\u30f3\u30fb\u30d7\u30ed\u30c8\u30b3\u30eb\"Xsoap1.2\"\u306f\u3001\"-extension\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 +wsgen.protocol.without.extension=\u30aa\u30d7\u30b7\u30e7\u30f3\u30fb\u30d7\u30ed\u30c8\u30b3\u30eb\"{0}\"\u306f\u3001\"-extension\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 +wsgen.wsdl.arg.no.genwsdl=\"{0}\"\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001"-wsdl"\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u3068\u7d44\u307f\u5408\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 +wsgen.servicename.missing.namespace=\u30b5\u30fc\u30d3\u30b9\u540d\"{0}\"\u306b\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 +wsgen.servicename.missing.localname=\u30b5\u30fc\u30d3\u30b9\u540d\"{0}\"\u306b\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u3042\u308a\u307e\u305b\u3093\u3002 +wsgen.portname.missing.namespace=\u30dd\u30fc\u30c8\u540d\"{0}\"\u306b\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002 +wsgen.portname.missing.localname=\u30dd\u30fc\u30c8\u540d\"{0}\"\u306b\u30ed\u30fc\u30ab\u30eb\u540d\u304c\u3042\u308a\u307e\u305b\u3093\u3002 +wsgen.class.must.be.implementation.class=\u30af\u30e9\u30b9\"{0}\"\u306f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u5b9f\u88c5\u30af\u30e9\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 +wsimport.NotAFileNorURL = "{0}"\u306f\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3082URL\u3067\u3082\u3042\u308a\u307e\u305b\u3093 + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen\u3067\u306f\u3001\u30af\u30e9\u30b9{1}\u306e\u975eSOAP\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0: {0}\u306b\u3064\u3044\u3066WSDL\u3092\u751f\u6210\u3067\u304d\u307e\u305b\u3093 + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen\u3067\u306f\u3001\u30af\u30e9\u30b9: {1}\u306eSOAP 1.2\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0: {0}\u306b\u3064\u3044\u3066WSDL\u3092\u751f\u6210\u3067\u304d\u307e\u305b\u3093\u3002\n +Please \"-extension\"\u304a\u3088\u3073\"-wsdl:protocol XSoap1.2\"\u30b9\u30a4\u30c3\u30c1\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4f8b:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\"\u306f\u3001\"-wsdl\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u7d44\u307f\u5408\u305b\u3066\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 + +wsgen.no.webservices.class=wsgen\u3067\u306f\u3001@WebService\u6ce8\u91c8\u304c\u4ed8\u3051\u3089\u308c\u305f\u30af\u30e9\u30b9\u304c\u691c\u51fa\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002{0}\u3067@WebService\u6ce8\u91c8\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002 + +wsimport.no.wsdl=1)\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u30012)\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u307f\u53d6\u308c\u306a\u304b\u3063\u305f\u30013)\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30eb\u30fc\u30c8\u8981\u7d20\u304c\u3067\u306f\u306a\u304b\u3063\u305f\u305f\u3081\u3001WSDL\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8{0}\u306e\u8aad\u53d6\u308a\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 + +wsimport.FailedToParse = "{0}"\u306e\u89e3\u6790\u306b\u5931\u6557\u3057\u307e\u3057\u305f: {1} + +wsimport.ParsingWSDL=WSDL\u3092\u89e3\u6790\u3057\u3066\u3044\u307e\u3059...\n\n +wsimport.GeneratingCode=\n\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059...\n +wsimport.CompilingCode=\n\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u307e\u3059...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}"\u306f\u6709\u52b9\u306a\u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002"2.0"\u304a\u3088\u3073"2.1"\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002 + +wsimport.ILLEGAL_AUTH_INFO = "{0}"\u306f\u6709\u52b9\u306a\u8a8d\u8a3c\u60c5\u5831\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f62\u5f0f\u306fhttp[s]://user:password@host:port//\u3067\u3059\u3002 + +wsimport.readingAuthFile = \u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308d\u3046\u3068\u3057\u3066\u3044\u307e\u3059: "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = \u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb"{0}"\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002WSDL\u30a2\u30af\u30bb\u30b9\u306b\u57fa\u672c\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3042\u308b\u5834\u5408\u3001{1}\u306b\u3042\u308b\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u53d6\u308a\u30a2\u30af\u30bb\u30b9\u306b\u3088\u308a\u6307\u5b9a\u3059\u308b\u304b\u3001-Xauthfile\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3001\u5404\u884c\u3067\u6b21\u306e\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u60c5\u5831\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044: http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}\u3002"{1}"\u306b\u306f\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3059\u3002{2}\u306b\u3042\u308b\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u53d6\u308a\u30a2\u30af\u30bb\u30b9\u306b\u3088\u308a\u6307\u5b9a\u3059\u308b\u304b\u3001-Xauthfile\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3001\u5404\u884c\u3067\u6b21\u306e\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u60c5\u5831\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044: http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "\u884c{0}/{1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = \u30b5\u30fc\u30d0\u30fc\u304cHTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30fb\u30b3\u30fc\u30c9: "{0}"\u3092\u8fd4\u3057\u307e\u3057\u305f\u3002"{1}"\u3067\u518d\u8a66\u884c\u3057\u3066\u3044\u307e\u3059 + +wsimport.maxRedirectAttempt = WSDL\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u6700\u5927\u56de\u6570(5)\u306b\u9054\u3057\u307e\u3057\u305f + +wsimport.wsdllocation.clientjar = clientJar\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4f7f\u7528\u6642\u306fwsdlLocation\u3092\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093 +# {0} - path to a zip file +wsimport.archivingArtifacts=\n\u751f\u6210\u6e08\u30a2\u30fc\u30c6\u30a3\u30d5\u30a1\u30af\u30c8\u3092{0}\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u3066\u3044\u307e\u3059\u3002\n +wsimport.archiveArtifact={0}\u3092\u30a2\u30fc\u30ab\u30a4\u30d6{1}\u306b\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059 +wsimport.fetchingMetadata=\nWSDL\u304a\u3088\u3073\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\n\u30e1\u30bf\u30c7\u30fc\u30bf\u30fb\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092{0}\u304b\u3089{1}\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=\uc0ac\uc6a9\ubc95: {0} [options] \n\n\uc635\uc158\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \uc124\uba85\uc744 \ubcf4\ub824\uba74 "wsimport -help"\ub97c \uc0ac\uc6a9\ud558\uc2ed\uc2dc\uc624. + +wsimport.help=\n\uc0ac\uc6a9\ubc95: {0} [options] \n\n\\\uc5ec\uae30\uc11c [options]\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n\ -b JAXWS/JAXB \ubc14\uc778\ub529 \ud30c\uc77c \ub610\ub294 \ucd94\uac00 \uc2a4\ud0a4\ub9c8\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ \uac01 \uc5d0\ub294 \uace0\uc720\ud55c -b\uac00 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4.\n\ -B JAXB \uc2a4\ud0a4\ub9c8 \ucef4\ud30c\uc77c\ub7ec\uc5d0 \uc774 \uc635\uc158\uc744 \uc804\ub2ec\ud569\ub2c8\ub2e4.\n\ -catalog \uc678\ubd80 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\ub97c \ubd84\uc11d\ud560 \uce74\ud0c8\ub85c\uadf8 \ud30c\uc77c\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ TR9401, XCatalog \ubc0f OASIS XML \uce74\ud0c8\ub85c\uadf8 \ud615\uc2dd\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4.\n\ -d \uc0dd\uc131\ub41c \ucd9c\ub825 \ud30c\uc77c\uc744 \ubc30\uce58\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -encoding \uc18c\uc2a4 \ud30c\uc77c\uc5d0 \uc0ac\uc6a9\ub418\ub294 \ubb38\uc790 \uc778\ucf54\ub529\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -extension \uc0ac\uc591\uc73c\ub85c \uc9c0\uc815\ub418\uc9c0 \uc54a\uc740 \uae30\ub2a5\uc778 \uacf5\uae09\uc5c5\uccb4\n\ \ud655\uc7a5\uc744 \ud5c8\uc6a9\ud569\ub2c8\ub2e4. \ud655\uc7a5\uc744 \uc0ac\uc6a9\ud558\uba74\n\ \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uc774\ub3d9\ud558\uc9c0 \ubabb\ud558\uac70\ub098\n\ \ub2e4\ub978 \uad6c\ud604\uacfc\uc758 \uc0c1\ud638 \uc791\ub3d9\uc774 \ubd88\uac00\ub2a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\ -help \ub3c4\uc6c0\ub9d0\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4.\n\ -httpproxy:: HTTP \ud504\ub85d\uc2dc \uc11c\ubc84\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc73c\ub85c \ud3ec\ud2b8\ub294 8080\uc73c\ub85c \uc124\uc815\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\n\ -keep \uc0dd\uc131\ub41c \ud30c\uc77c\uc744 \ubcf4\uad00\ud569\ub2c8\ub2e4.\n\ -p \ub300\uc0c1 \ud328\ud0a4\uc9c0\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -quiet wsimport \ucd9c\ub825\uc744 \ud45c\uc2dc\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n\ -s \uc0dd\uc131\ub41c \uc18c\uc2a4 \ud30c\uc77c\uc744 \ubc30\uce58\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -target \uc81c\uacf5\ub41c JAXWS \uc0ac\uc591 \ubc84\uc804\uc5d0 \ub530\ub77c \ucf54\ub4dc\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\ \uae30\ubcf8\uac12\uc740 2.2\ub85c \uc124\uc815\ub418\uc5b4 \uc788\uc73c\uba70 \ud5c8\uc6a9\ub418\ub294 \uac12\uc740 2.0, 2.1 \ubc0f 2.2\uc785\ub2c8\ub2e4.\n\ \uc608\ub97c \ub4e4\uc5b4, 2.0\uc744 \uc9c0\uc815\ud558\uba74 JAXWS 2.0 \uc0ac\uc591\uc5d0 \ub300\ud574 \ud638\ud658\ub418\ub294 \ucf54\ub4dc\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4.\n\ -verbose \ucef4\ud30c\uc77c\ub7ec\uac00 \uc218\ud589 \uc911\uc778 \uc791\uc5c5\uc5d0 \ub300\ud55c \uba54\uc2dc\uc9c0\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.\n\ -version \ubc84\uc804 \uc815\ubcf4\ub97c \uc778\uc1c4\ud569\ub2c8\ub2e4.\n\ -wsdllocation @WebServiceClient.wsdlLocation \uac12\uc785\ub2c8\ub2e4.\n\ -clientjar \uc6f9 \uc11c\ube44\uc2a4 \ud638\ucd9c\uc5d0 \ud544\uc694\ud55c WSDL \uba54\ud0c0 \ub370\uc774\ud130\uc640 \ud568\uaed8\n\ \uc0dd\uc131\ub41c \uc544\ud2f0\ud329\ud2b8\uc758 jar \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\ -generateJWS Stub\ub41c JWS \uad6c\ud604 \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\ -implDestDir JWS \uad6c\ud604 \ud30c\uc77c\uc744 \uc0dd\uc131\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -implServiceName \uc0dd\uc131\ub41c JWS \uad6c\ud604\uc5d0 \ub300\ud55c \uc11c\ube44\uc2a4 \uc774\ub984\uc758 \ub85c\uceec \ubd80\ubd84\uc785\ub2c8\ub2e4.\n\ -implPortName \uc0dd\uc131\ub41c JWS \uad6c\ud604\uc5d0 \ub300\ud55c \ud3ec\ud2b8 \uc774\ub984\uc758 \ub85c\uceec \ubd80\ubd84\uc785\ub2c8\ub2e4. + +wsimport.usage.extensions=\n\\\ud655\uc7a5:\n\ -XadditionalHeaders \uc694\uccad \ub610\ub294 \uc751\ub2f5 \uba54\uc2dc\uc9c0\uc5d0 \ubc14\uc778\ub4dc\ub418\uc9c0 \uc54a\uc740 \ud5e4\ub354\ub97c \n\ Java \uba54\uc18c\ub4dc \ub9e4\uac1c\ubcc0\uc218\uc5d0 \ub9e4\ud551\ud569\ub2c8\ub2e4.\n\ -Xauthfile http://username:password@example.org/stock?wsdl \n\ \ud615\uc2dd\uc73c\ub85c \uad8c\ud55c \ubd80\uc5ec \uc815\ubcf4\ub97c \uc804\ub2ec\ud560 \ud30c\uc77c\uc785\ub2c8\ub2e4.\n\ -Xdebug \ub514\ubc84\uadf8 \uc815\ubcf4\ub97c \uc778\uc1c4\ud569\ub2c8\ub2e4.\n\ -Xno-addressing-databinding W3C EndpointReferenceType\uacfc Java \uac04\uc758 \ubc14\uc778\ub529\uc744 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.\n\ -Xnocompile \uc0dd\uc131\ub41c Java \ud30c\uc77c\uc744 \ucef4\ud30c\uc77c\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n\ -XdisableAuthenticator JAX-WS RI\uc5d0 \uc0ac\uc6a9\ub418\ub294 \uc778\uc99d\uc790\ub97c \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.\n\ \uc124\uc815\ub41c \uacbd\uc6b0 -Xauthfile \uc635\uc158\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4.\n\ -XdisableSSLHostnameVerification WSDL\uc744 \uc778\ucd9c\ud558\ub294 \ub3d9\uc548 SSL \ud638\uc2a4\ud2b8 \uc774\ub984 \ud655\uc778\uc744\n\ \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4. + + +wsimport.usage.examples=\n\\\uc608:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=\uc0ac\uc6a9\ubc95: {0} [options] \n\n\uc635\uc158\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \uc124\uba85\uc744 \ubcf4\ub824\uba74 "wsgen -help"\ub97c \uc0ac\uc6a9\ud558\uc2ed\uc2dc\uc624. + +wsgen.help=\n\uc0ac\uc6a9\ubc95: {0} [options] \n\n\\\uc5ec\uae30\uc11c [options]\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n\ -classpath \uc785\ub825 \ud074\ub798\uc2a4 \ud30c\uc77c\uc744 \ucc3e\uc744 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -cp -classpath \uc640 \ub3d9\uc77c\ud569\ub2c8\ub2e4.\n\ -d \uc0dd\uc131\ub41c \ucd9c\ub825 \ud30c\uc77c\uc744 \ubc30\uce58\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -encoding \uc18c\uc2a4 \ud30c\uc77c\uc5d0 \uc0ac\uc6a9\ub418\ub294 \ubb38\uc790 \uc778\ucf54\ub529\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -extension \uc0ac\uc591\uc73c\ub85c \uc9c0\uc815\ub418\uc9c0 \uc54a\uc740 \uae30\ub2a5\uc778 \uacf5\uae09\uc5c5\uccb4\n\ \ud655\uc7a5\uc744 \ud5c8\uc6a9\ud569\ub2c8\ub2e4. \ud655\uc7a5\uc744 \uc0ac\uc6a9\ud558\uba74\n\ \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uc774\ub3d9\ud558\uc9c0 \ubabb\ud558\uac70\ub098\n\ \ub2e4\ub978 \uad6c\ud604\uacfc\uc758 \uc0c1\ud638 \uc791\ub3d9\uc774 \ubd88\uac00\ub2a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\ -help \ub3c4\uc6c0\ub9d0\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4.\n\ -keep \uc0dd\uc131\ub41c \ud30c\uc77c\uc744 \ubcf4\uad00\ud569\ub2c8\ub2e4.\n\ -r \ub9ac\uc18c\uc2a4 \ub300\uc0c1 \ub514\ub809\ud1a0\ub9ac\ub85c, \ub9ac\uc18c\uc2a4 \ud30c\uc77c(\uc608: WSDL)\uc744\n\ \ubc30\uce58\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -s \uc0dd\uc131\ub41c \uc18c\uc2a4 \ud30c\uc77c\uc744 \ubc30\uce58\ud560 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -verbose \ucef4\ud30c\uc77c\ub7ec\uac00 \uc218\ud589 \uc911\uc778 \uc791\uc5c5\uc5d0 \ub300\ud55c \uba54\uc2dc\uc9c0\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.\n\ -version \ubc84\uc804 \uc815\ubcf4\ub97c \uc778\uc1c4\ud569\ub2c8\ub2e4.\n\ -wsdl[:protocol] WSDL \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. protocol\uc740 \uc120\ud0dd \uc0ac\ud56d\uc785\ub2c8\ub2e4.\n\ \uc801\ud569\ud55c \ud504\ub85c\ud1a0\ucf5c\uc740 {1}\uc774\uba70\n\ \uae30\ubcf8\uac12\uc740 soap1.1\uc785\ub2c8\ub2e4.\n\ \ube44\ud45c\uc900 \ud504\ub85c\ud1a0\ucf5c {2}\uc740(\ub294)\n\ -extension \uc635\uc158\uacfc \ud568\uaed8\ub9cc\n\ \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\ -inlineSchemas \uc0dd\uc131\ub41c WSDL\uc758 \uc2a4\ud0a4\ub9c8\ub97c \uc778\ub77c\uc778\ud569\ub2c8\ub2e4.\n\ -wsdl \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4.\n\ -servicename \uc0dd\uc131\ub41c WSDL\uc5d0 \uc0ac\uc6a9\ud560 \uc11c\ube44\uc2a4 \uc774\ub984\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -wsdl \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.\n\ -portname \uc0dd\uc131\ub41c WSDL\uc5d0 \uc0ac\uc6a9\ud560 \ud3ec\ud2b8 \uc774\ub984\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ -wsdl \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. + + +wsgen.usage.examples=\n\\\uc608:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=JAX-WS {0} API\uc640 \ud568\uaed8 \uc81c\uacf5\ub418\ub294 JDK6\uc5d0\uc11c \uc2e4\ud589\ud558\uace0 \uc788\uc9c0\ub9cc \uc774 \ud234\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 JAX-WS {1} API\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \uc778\uc99d\ub41c \ud45c\uc900 \ubb34\ud6a8\ud654 \ubc29\uc2dd(http://docs.oracle.com/javase/6/docs/technotes/guides/standards/)\uc744 \uc0ac\uc6a9\ud558\uac70\ub098 <{2}>\uc5d0 \ub300\ud574 xendorsed="true"\ub97c \uc124\uc815\ud558\uc2ed\uc2dc\uc624. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi={1}\uc5d0\uc11c JAX-WS {0} API\ub97c \ub85c\ub4dc\ud558\uace0 \uc788\uc9c0\ub9cc \uc774 \ud234\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 JAX-WS {2} API\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. + +invoker.needEndorsed=JAX-WS {0} API\uc640 \ud568\uaed8 \uc81c\uacf5\ub418\ub294 JDK6\uc5d0\uc11c \uc2e4\ud589\ud558\uace0 \uc788\uc9c0\ub9cc \uc774 \ud234\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 JAX-WS {1} API\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \uc778\uc99d\ub41c \ud45c\uc900 \ubb34\ud6a8\ud654 \ubc29\uc2dd(http://docs.oracle.com/javase/6/docs/technotes/guides/standards/)\uc744 \uc0ac\uc6a9\ud558\uac70\ub098 -Xendorsed \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\uc2ed\uc2dc\uc624. + + +# +# Generic Messages +# +wscompile.invalidOption={0}\uc740(\ub294) \uc778\uc2dd\ud560 \uc218 \uc5c6\ub294 \ub9e4\uac1c\ubcc0\uc218\uc785\ub2c8\ub2e4. +wsimport.noSuchJaxbOption=\ud574\ub2f9 JAXB \uc635\uc158 \uc5c6\uc74c: {0} + +wscompile.error=\uc624\ub958: {0} +wscompile.warning=\uacbd\uace0: {0} +wscompile.info=\uc815\ubcf4: {0} +wscompile.duplicateOption=\uc911\ubcf5 \uc635\uc158: {0} +wscompile.noSuchDirectory=\ub514\ub809\ud1a0\ub9ac\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc74c: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=\"{0}\" \uc635\uc158\uc5d0 \uc778\uc218\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. +wscompile.compilationFailed=\ucef4\ud30c\uc77c\uc744 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \uc624\ub958\ub97c \ubcf4\uace0\ud574\uc57c \ud569\ub2c8\ub2e4. +wscompile.unsupportedEncoding=\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc778\ucf54\ub529: {0} + +wsimport.missingFile=WSDL_URI\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. + +wsgen.invalid.protocol=\"{0}\"\uc740(\ub294) \uc9c0\uc6d0\ub418\ub294 \ud504\ub85c\ud1a0\ucf5c\uc774 \uc544\ub2d9\ub2c8\ub2e4. \uc9c0\uc6d0\ub418\ub294 \ud504\ub85c\ud1a0\ucf5c: {1}. +wsgen.invalid.transport=\"{0}\"\uc740(\ub294) \uc9c0\uc6d0\ub418\ub294 \uc804\uc1a1\uc774 \uc544\ub2d9\ub2c8\ub2e4. \uc9c0\uc6d0\ub418\ub294 \uc804\uc1a1: {1}. +wsgen.class.not.found=\ud074\ub798\uc2a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc74c: \"{0}\" +wsgen.could.not.create.file=\ud30c\uc77c\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc74c: \"{0}\" +wsgen.missingFile=SEI\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. +wsgen.soap12.without.extension=\uc120\ud0dd\uc801 \ud504\ub85c\ud1a0\ucf5c \"Xsoap1.2\"\ub294 \"-extension\" \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. +wsgen.protocol.without.extension=\uc120\ud0dd\uc801 \ud504\ub85c\ud1a0\ucf5c \"{0}\"\uc740(\ub294) \"-extension\" \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. +wsgen.wsdl.arg.no.genwsdl=\"{0}\" \uc635\uc158\uc740 "-wsdl" \uc635\uc158\uacfc \ud568\uaed8\ub9cc \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. +wsgen.servicename.missing.namespace=\uc11c\ube44\uc2a4 \uc774\ub984 \"{0}\"\uc5d0 \ub124\uc784\uc2a4\ud398\uc774\uc2a4\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. +wsgen.servicename.missing.localname=\uc11c\ube44\uc2a4 \uc774\ub984 \"{0}\"\uc5d0 \ub85c\uceec \uc774\ub984\uc774 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. +wsgen.portname.missing.namespace=\ud3ec\ud2b8 \uc774\ub984 \"{0}\"\uc5d0 \ub124\uc784\uc2a4\ud398\uc774\uc2a4\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. +wsgen.portname.missing.localname=\ud3ec\ud2b8 \uc774\ub984 \"{0}\"\uc5d0 \ub85c\uceec \uc774\ub984\uc774 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. +wsgen.class.must.be.implementation.class=\"{0}\" \ud074\ub798\uc2a4\ub294 \ub05d\uc810 \uad6c\ud604 \ud074\ub798\uc2a4\uac00 \uc544\ub2d9\ub2c8\ub2e4. +wsimport.NotAFileNorURL = "{0}"\uc740(\ub294) \ud30c\uc77c \uc774\ub984 \ub610\ub294 URL\uc774 \uc544\ub2d9\ub2c8\ub2e4. + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen\uc740 {1} \ud074\ub798\uc2a4\uc758 \ube44SOAP \ubc14\uc778\ub529 {0}\uc5d0 \ub300\ud574 WSDL\uc744 \uc0dd\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen\uc740 {1} \ud074\ub798\uc2a4\uc758 SOAP 1.2 \ubc14\uc778\ub529 {0}\uc5d0 \ub300\ud574 WSDL\uc744 \uc0dd\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n +Please \"-extension\" \ubc0f \"-wsdl:protocol XSoap1.2\" \uc2a4\uc704\uce58\ub97c \uc9c0\uc815\ud558\uc2ed\uc2dc\uc624. \uc608:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\"\ub294 \"-wsdl\" \uc635\uc158\uacfc \ud568\uaed8 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. + +wsgen.no.webservices.class=wsgen\uc740 @WebService \uc8fc\uc11d\uc774 \uc788\ub294 \ud074\ub798\uc2a4\ub97c \ucc3e\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4. {0}\uc5d0\uc11c @WebService \uc8fc\uc11d\uc744 \uc9c0\uc815\ud558\uc2ed\uc2dc\uc624. + +wsimport.no.wsdl=WSDL \ubb38\uc11c \uc77d\uae30 \uc2e4\ud328: {0}. \uc6d0\uc778: 1) \ubb38\uc11c\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. 2) \ubb38\uc11c\ub97c \uc77d\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. 3) \ubb38\uc11c\uc758 \ub8e8\ud2b8 \uc694\uc18c\uac00 \uac00 \uc544\ub2d9\ub2c8\ub2e4. + +wsimport.FailedToParse = "{0}"\uc758 \uad6c\ubb38 \ubd84\uc11d \uc2e4\ud328: {1} + +wsimport.ParsingWSDL=WSDL\uc758 \uad6c\ubb38\uc744 \ubd84\uc11d\ud558\ub294 \uc911...\n\n +wsimport.GeneratingCode=\n\ucf54\ub4dc\ub97c \uc0dd\uc131\ud558\ub294 \uc911...\n +wsimport.CompilingCode=\n\ucf54\ub4dc\ub97c \ucef4\ud30c\uc77c\ud558\ub294 \uc911...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}"\uc740(\ub294) \uc801\ud569\ud55c \ub300\uc0c1 \ubc84\uc804\uc774 \uc544\ub2d9\ub2c8\ub2e4. "2.0" \ubc0f "2.1"\uc774 \uc9c0\uc6d0\ub429\ub2c8\ub2e4. + +wsimport.ILLEGAL_AUTH_INFO = "{0}"\uc740(\ub294) \uc801\ud569\ud55c \uad8c\ud55c \ubd80\uc5ec \uc815\ubcf4 \ud615\uc2dd\uc774 \uc544\ub2d9\ub2c8\ub2e4. \ud615\uc2dd\uc740 http[s]://user:password@host:port//\uc785\ub2c8\ub2e4. + +wsimport.readingAuthFile = \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c\uc744 \uc77d\uc73c\ub824\uace0 \uc2dc\ub3c4\ud558\ub294 \uc911: "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c "{0}"\uc744(\ub97c) \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. WSDL \uc561\uc138\uc2a4\uc5d0 \uae30\ubcf8 \uc778\uc99d\uc774 \ud544\uc694\ud560 \uacbd\uc6b0 {1}\uc5d0\uc11c \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c\uc5d0 \uc77d\uae30 \uc561\uc138\uc2a4 \uad8c\ud55c\uc744 \uc81c\uacf5\ud558\uac70\ub098 -Xauthfile\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c\uc744 \uc81c\uacf5\ud558\uace0 \uac01 \ud589\uc5d0\uc11c http[s]://user:password@host:port// \ud615\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad8c\ud55c \ubd80\uc5ec \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uc2ed\uc2dc\uc624. + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}"\uc5d0 \uad8c\ud55c \ubd80\uc5ec\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. {2}\uc5d0\uc11c \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c\uc5d0 \uc77d\uae30 \uc561\uc138\uc2a4 \uad8c\ud55c\uc744 \uc81c\uacf5\ud558\uac70\ub098 -Xauthfile\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad8c\ud55c \ubd80\uc5ec \ud30c\uc77c\uc744 \uc81c\uacf5\ud558\uace0 \uac01 \ud589\uc5d0\uc11c http[s]://user:password@host:port// \ud615\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc5ec \uad8c\ud55c \ubd80\uc5ec \uc815\ubcf4\ub97c \uc81c\uacf5\ud558\uc2ed\uc2dc\uc624. + +wsimport.AUTH_INFO_LINENO = {1}\uc758 {0}\ud589 + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = \uc11c\ubc84\uac00 HTTP \uc0c1\ud0dc \ucf54\ub4dc "{0}"\uc744(\ub97c) \ubc18\ud658\ud588\uc2b5\ub2c8\ub2e4. "{1}"\uc744(\ub97c) \uc0ac\uc6a9\ud558\uc5ec \uc7ac\uc2dc\ub3c4\ud558\ub294 \uc911 + +wsimport.maxRedirectAttempt = WSDL\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc74c - \ucd5c\ub300 \uc7ac\uc9c0\uc815 \uc218(5)\uc5d0 \ub3c4\ub2ec\ud588\uc2b5\ub2c8\ub2e4. + +wsimport.wsdllocation.clientjar = clientJar \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0 wsdlLocation\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. +# {0} - path to a zip file +wsimport.archivingArtifacts=\n\uc0dd\uc131\ub41c \uc544\ud2f0\ud329\ud2b8\ub97c {0}(\uc73c)\ub85c \uc544\uce74\uc774\ube0c\ud558\ub294 \uc911\uc785\ub2c8\ub2e4.\n +wsimport.archiveArtifact={1} \uc544\uce74\uc774\ube0c\uc5d0 {0}\uc744(\ub97c) \ucd94\uac00\ud558\ub294 \uc911 +wsimport.fetchingMetadata=\nWSDL \ubc0f \uc5f0\uad00\ub41c \uba54\ud0c0 \ub370\uc774\ud130\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294 \uc911\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\n{0}\uc5d0\uc11c {1}(\uc73c)\ub85c \uba54\ud0c0 \ub370\uc774\ud130 \ubb38\uc11c\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294 \uc911 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=Uso: {0} [options] \n\nUse "wsimport -help" para obter uma descri\u00e7\u00e3o detalhada das op\u00e7\u00f5es. + +wsimport.help=\nUso: {0} [options] \n\n\\onde [options] inclui:\n\\ -b especifica os arquivos de bind jaxws/jaxb ou esquemas adicionais\n\\ (Cada deve ter seu pr\u00f3prio -b)\n\\ -B Passe esta op\u00e7\u00e3o para o compilador do esquema JAXB\n\\ -catalog especifique o arquivo do cat\u00e1logo para resolver as refer\u00eancias da entidade externa\n\\ suporta o formato do Cat\u00e1logo TR9401, XCatalog e OASIS XML.\n\\ -d especifica onde colocar os arquivos de sa\u00edda gerados\n\\ -encoding especifica a codifica\u00e7\u00e3o de caracteres usada pelos arquivos de origem\n\\ -extension permite extens\u00f5es do fornecedor - funcionalidade n\u00e3o especificada\n\\ pela especifica\u00e7\u00e3o. O uso das extens\u00f5es pode\n\\ resultar em aplica\u00e7\u00f5es que n\u00e3o s\u00e3o port\u00e1veis ou\n\\ n\u00e3o pode interoperar com outras implementa\u00e7\u00f5es\n\\ -help display help\n\\ -httpproxy:: especifica um servidor proxy HTTP (a porta \u00e9 definida como default para 8080)\n\\ -keep mant\u00e9m arquivos gerados\n\\ -p especifica o pacote do alvo\n\\ -quiet suprime a sa\u00edda wsimport\n\\ -s especifica onde colocar os arquivos de origem gerados\n\\ -target gera c\u00f3digos conforme vers\u00e3o de especifica\u00e7\u00e3o JAXWS fornecida\n\\ \u00c9 definido como default para 2.2. Os valores aceitos s\u00e3o 2.0, 2.1 e 2.2\n\\ por exemplo 2.0 ir\u00e1 gerar o c\u00f3digo compat\u00edvel para a especifica\u00e7\u00e3o JAXWS 2.0\n\\ -verbose as mensagens de sa\u00edda sobre o que o compilador est\u00e1 fazendo\n\\ -version imprime as informa\u00e7\u00f5es da vers\u00e3o\n\n\\ -wsdllocation @WebServiceClient.wsdlLocation value\n\\ -clientjar Cria o arquivo jar dos artefatos gerados junto com os\n\\ metadados WSDL necess\u00e1rios para chamar o web service.\n\\ -generateJWS gera arquivo de implementa\u00e7\u00e3o JWS com stub\n\\ -implDestDir especifica onde gerar o arquivo de implementa\u00e7\u00e3o de JWS\n\\ -implServiceName parte do local do nome de servi\u00e7o para implementa\u00e7\u00e3o JWS gerada\n\\ -implPortName parte do local do nome da porta para implementa\u00e7\u00e3o de JWS gerada + +wsimport.usage.extensions=\n\\Extens\u00f5es:\n\\ -XadditionalHeaders mapeia cabe\u00e7alhos n\u00e3o vinculados para mensagem de solicita\u00e7\u00e3o ou resposta para \n\\ par\u00e2metros do m\u00e9todo Java\n\\ -Xauthfile arquivo para transmitir informa\u00e7\u00f5es de autoriza\u00e7\u00e3o no formato \n\\ http://username:password@example.org/stock?wsdl\n\\ -Xdebug imprime informa\u00e7\u00f5es de depura\u00e7\u00e3o\n\\ -Xno-addressing-databinding permite bind de W3C EndpointReferenceType para Java\n\\ -Xnocompile n\u00e3o compilar arquivos Java gerados\n\\ -XdisableAuthenticator desativar Autenticador usado por JAX-WS RI,\n\\ a op\u00e7\u00e3o -Xauthfile ser\u00e1 ignorada, se definida\n\\ -XdisableSSLHostnameVerification desativa a verifica\u00e7\u00e3o de Nome do host de SSL ao extrair\n\\ wsdls + + +wsimport.usage.examples=\n\\Exemplos:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d gerou http://example.org/stock?wsdl\n + +wsgen.usage=Uso: {0} [options] \n\nUse "wsgen -help" para obter uma descri\u00e7\u00e3o detalhada das op\u00e7\u00f5es. + +wsgen.help=\nUso: {0} [options] \n\n\\onde [options] inclui:\n\\ -classpath especifica onde localizar os arquivos de classe de entrada\n\\ -cp igual a -classpath \n\\ -d especifica onde colocar os arquivos de sa\u00edda gerados\n\\ -encoding especifica a codifica\u00e7\u00e3o de caracteres usada pelos arquivos de origem\n\\ -extension permite as extens\u00f5es do fornecedor - funcionalidade n\u00e3o especificada\n\\ pela especifica\u00e7\u00e3o. O uso das extens\u00f5es pode\n\\ resultar em aplica\u00e7\u00f5es que n\u00e3o s\u00e3o port\u00e1veis ou\n\\ n\u00e3o pode interoperar com outras implementa\u00e7\u00f5es\n\\ -help exibe ajuda\n\\ -keep mant\u00e9m arquivos gerados\n\\ -r diret\u00f3rio de destino do recurso, especifica onde\n\\ colocar arquivos de recursos, como WSDLs\n\\ -s especifica onde colocar os arquivos de origem gerados\n\\ -verbose mensagens de sa\u00edda sobre o que o compilador est\u00e1 fazendo\n\\ -version imprime informa\u00e7\u00f5es da vers\u00e3o\n\\ -wsdl[:protocol] gera um arquivo WSDL. O protocolo \u00e9 opcional.\n\\ Os protocolos v\u00e1lidos s\u00e3o {1},\n\\ o default \u00e9 soap1.1.\n\\ Os protocolos n\u00e3o padr\u00e3o {2}\n\\ s\u00f3 podem ser usados junto com a\n\\ op\u00e7\u00e3o -extension.\n\\ -inlineSchemas os esquemas em linha no wsdl gerado. Devem ser\n\\ usados junto com a op\u00e7\u00e3o -wsdl.\n\\ -servicename especifica o nome do Servi\u00e7o a ser usado no WSDL gerado\n\\ Usado junto com a op\u00e7\u00e3o -wsdl.\n\\ -portname especifica o nome da Porta a ser usado no WSDL gerado\n\\ Usado junto com a op\u00e7\u00e3o -wsdl. + + +wsgen.usage.examples=\n\\Exemplos:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=Voc\u00ea est\u00e1 executando no JDK6 que vem com a API de JAX-WS {0}, mas esta ferramenta exige a API de JAX-WS {1}. Use o mecanismo de substitui\u00e7\u00e3o de padr\u00f5es endossados (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/) ou defina xendorsed="true" em <{2}>. + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=Voc\u00ea est\u00e1 carregando a API de JAX-WS {0} de {1}, mas esta ferramenta requer a API de JAX-WS {2}. + +invoker.needEndorsed=Voc\u00ea est\u00e1 executando no JDK6 que vem com a API de JAX-WS {0}, mas esta ferramenta exige a API de JAX-WS {1}. Use o mecanismo de substitui\u00e7\u00e3o de padr\u00f5es endossados (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), ou use a op\u00e7\u00e3o -Xendorsed. + + +# +# Generic Messages +# +wscompile.invalidOption=par\u00e2metro {0} n\u00e3o reconhecido +wsimport.noSuchJaxbOption=nenhuma op\u00e7\u00e3o do JAXB: {0} + +wscompile.error=erro: {0} +wscompile.warning=advert\u00eancia: {0} +wscompile.info=informa\u00e7\u00f5es: {0} +wscompile.duplicateOption=op\u00e7\u00e3o: {0} duplicada +wscompile.noSuchDirectory=diret\u00f3rio n\u00e3o encontrado: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=a op\u00e7\u00e3o \"{0}\" requer um argumento +wscompile.compilationFailed=falha na compila\u00e7\u00e3o, os erros foram reportados +wscompile.unsupportedEncoding=codifica\u00e7\u00e3o n\u00e3o suportada: {0} + +wsimport.missingFile=WSDL_URI n\u00e3o encontrado + +wsgen.invalid.protocol=\"{0}\" n\u00e3o \u00e9 um protocolo suportado. Os protocolos suportados s\u00e3o: {1}. +wsgen.invalid.transport=\"{0}\" n\u00e3o \u00e9 um transporte suportado. Os transportes suportados s\u00e3o: {1}. +wsgen.class.not.found=Classe n\u00e3o encontrada: \"{0}\" +wsgen.could.not.create.file=N\u00e3o foi poss\u00edvel criar o arquivo: "\\{0}\" +wsgen.missingFile=SEI N\u00e3o Encontrado +wsgen.soap12.without.extension=O protocolo \"Xsoap1.2\" opcional deve ser usado junto com a op\u00e7\u00e3o \"-extension\". +wsgen.protocol.without.extension=O protocolo \"{0}\" opcional deve ser usado junto com a op\u00e7\u00e3o \"-extension\". +wsgen.wsdl.arg.no.genwsdl=A op\u00e7\u00e3o \"{0}\" s\u00f3 pode ser usada junto com a op\u00e7\u00e3o "-wsdl". +wsgen.servicename.missing.namespace=O nome do servi\u00e7o \"{0}\" n\u00e3o encontrou um namespace. +wsgen.servicename.missing.localname=O nome do servi\u00e7o \"{0}\" n\u00e3o encontrou um localname. +wsgen.portname.missing.namespace=O nome da porta \"{0}\" n\u00e3o encontrou um namespace. +wsgen.portname.missing.localname=O nome da porta \"{0}\" n\u00e3o encontrou um localname. +wsgen.class.must.be.implementation.class=A classe \"{0}\" n\u00e3o \u00e9 uma classe de implementa\u00e7\u00e3o de ponto final. +wsimport.NotAFileNorURL = "{0}" n\u00e3o \u00e9 um nome de arquivo nem um URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen n\u00e3o pode gerar WSDL para bind n\u00e3o-SOAP: {0} na Classe {1} + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen n\u00e3o pode gerar WSDL para bind de SOAP 1.2: {0} na classe: {1}.\n +Please especifique as chaves \"-extension\" e \"-wsdl:protocol XSoap1.2\". Por exemplo:\n\n +wsgen -wsdl:protocol XSoap1.2 -extension {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" deve ser usado junto com a op\u00e7\u00e3o \"-wsdl\" + +wsgen.no.webservices.class=wsgen n\u00e3o encontrou nenhuma classe com a anota\u00e7\u00e3o @WebService. Especifique a anota\u00e7\u00e3o @WebService em {0}. + +wsimport.no.wsdl=Falha ao ler o documento WSDL: {0}, porque 1) n\u00e3o p\u00f4de localizar o documento; /2) o documento n\u00e3o p\u00f4de ser lido; 3) o elemento-raiz do documento n\u00e3o \u00e9 . + +wsimport.FailedToParse = Falha ao fazer parse "{0}": {1} + +wsimport.ParsingWSDL=fazendo parse do WSDL...\n\n +wsimport.GeneratingCode=\nGerando o c\u00f3digo...\n +wsimport.CompilingCode=\nCompilando o c\u00f3digo...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" n\u00e3o \u00e9 uma vers\u00e3o do alvo v\u00e1lida. "2.0" e "2.1" s\u00e3o suportadas. + +wsimport.ILLEGAL_AUTH_INFO = "{0}" n\u00e3o est\u00e1 no formato de informa\u00e7\u00f5es de autoriza\u00e7\u00e3o v\u00e1lido. O formato \u00e9 http[s]://user:password@host:port//. + +wsimport.readingAuthFile = Tentando ler o arquivo de autoriza\u00e7\u00e3o : "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = Arquivo de autoriza\u00e7\u00e3o "{0}" n\u00e3o encontrado. Se o acesso do WSDL precisar da Autentica\u00e7\u00e3o B\u00e1sica, forne\u00e7a o arquivo de autoriza\u00e7\u00e3o com o acesso de leitura em {1} ou use -Xauthfile para fornecer o arquivo de autoriza\u00e7\u00e3o em cada linha para fornecer informa\u00e7\u00f5es de autoriza\u00e7\u00e3o usando este formato : http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" precisa de autoriza\u00e7\u00e3o; forne\u00e7a o arquivo de autoriza\u00e7\u00e3o com o acesso de leitura em {2} ou use -Xauthfile para fornecer o arquivo de autoriza\u00e7\u00e3o em cada linha para fornecer informa\u00e7\u00f5es de autoriza\u00e7\u00e3o usando este formato : http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "linha {0} de {1} + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = O servidor retornou o c\u00f3digo de Status HTTP: "{0}", recuperando com "{1}" + +wsimport.maxRedirectAttempt = N\u00e3o \u00e9 poss\u00edvel obter um WSDL - n\u00famero m\u00e1ximo de (5) redirecionamentos atingido. + +wsimport.wsdllocation.clientjar = wsdlLocation n\u00e3o pode ser especificado ao usar a op\u00e7\u00e3o clientJar +# {0} - path to a zip file +wsimport.archivingArtifacts=\nArquivando os artefatos gerados em {0}.\n +wsimport.archiveArtifact=Adicionando {0} ao archive {1} +wsimport.fetchingMetadata=\nFazendo download do WSDL e dos metadados associados\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\nFazendo download do documento de metadados de {0} para {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=\u7528\u6cd5: {0} [options] \n\n\u4f7f\u7528 "wsimport -help" \u83b7\u53d6\u8be6\u7ec6\u7684\u9009\u9879\u8bf4\u660e\u3002 + +wsimport.help=\n\u7528\u6cd5: {0} [options] \n\n\\\u5176\u4e2d [options] \u5305\u62ec:\n\ -b \u6307\u5b9a jaxws/jaxb \u7ed1\u5b9a\u6587\u4ef6\u6216\u9644\u52a0\u6a21\u5f0f\n\ (\u6bcf\u4e2a \u90fd\u5fc5\u987b\u5177\u6709\u81ea\u5df1\u7684 -b)\n\ -B \u5c06\u6b64\u9009\u9879\u4f20\u9012\u7ed9 JAXB \u6a21\u5f0f\u7f16\u8bd1\u5668\n\ -catalog \u6307\u5b9a\u7528\u4e8e\u89e3\u6790\u5916\u90e8\u5b9e\u4f53\u5f15\u7528\u7684\u76ee\u5f55\u6587\u4ef6\n\ \u652f\u6301 TR9401, XCatalog \u548c OASIS XML \u76ee\u5f55\u683c\u5f0f\u3002\n\ -d \u6307\u5b9a\u653e\u7f6e\u751f\u6210\u7684\u8f93\u51fa\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -encoding \u6307\u5b9a\u6e90\u6587\u4ef6\u6240\u4f7f\u7528\u7684\u5b57\u7b26\u7f16\u7801\n\ -extension \u5141\u8bb8\u4f9b\u5e94\u5546\u6269\u5c55 - \u4e0d\u6309\u89c4\u8303\n\ \u6307\u5b9a\u529f\u80fd\u3002\u4f7f\u7528\u6269\u5c55\u53ef\u80fd\u4f1a\n\ \u5bfc\u81f4\u5e94\u7528\u7a0b\u5e8f\u4e0d\u53ef\u79fb\u690d\u6216\n\ \u65e0\u6cd5\u4e0e\u5176\u4ed6\u5b9e\u73b0\u8fdb\u884c\u4e92\u64cd\u4f5c\n\ -help \u663e\u793a\u5e2e\u52a9\n\ -httpproxy:: \u6307\u5b9a HTTP \u4ee3\u7406\u670d\u52a1\u5668 (\u7aef\u53e3\u9ed8\u8ba4\u4e3a 8080)\n\ -keep \u4fdd\u7559\u751f\u6210\u7684\u6587\u4ef6\n\ -p \u6307\u5b9a\u76ee\u6807\u7a0b\u5e8f\u5305\n\ -quiet \u9690\u85cf wsimport \u8f93\u51fa\n\ -s \u6307\u5b9a\u653e\u7f6e\u751f\u6210\u7684\u6e90\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -target \u6309\u7ed9\u5b9a\u7684 JAXWS \u89c4\u8303\u7248\u672c\u751f\u6210\u4ee3\u7801\n\ \u9ed8\u8ba4\u4e3a 2.2, \u63a5\u53d7\u7684\u503c\u4e3a 2.0, 2.1 \u548c 2.2\n\ \u4f8b\u5982, 2.0 \u5c06\u4e3a JAXWS 2.0 \u89c4\u8303\u751f\u6210\u517c\u5bb9\u7684\u4ee3\u7801\n\ -verbose \u6709\u5173\u7f16\u8bd1\u5668\u5728\u6267\u884c\u4ec0\u4e48\u64cd\u4f5c\u7684\u8f93\u51fa\u6d88\u606f\n\ -version \u8f93\u51fa\u7248\u672c\u4fe1\u606f\n\ -wsdllocation @WebServiceClient.wsdlLocation \u503c\n\ -clientjar \u521b\u5efa\u751f\u6210\u7684 Artifact \u7684 jar \u6587\u4ef6\u4ee5\u53ca\n\ \u8c03\u7528 Web \u670d\u52a1\u6240\u9700\u7684 WSDL \u5143\u6570\u636e\u3002\n\ -generateJWS \u751f\u6210\u5b58\u6839 JWS \u5b9e\u73b0\u6587\u4ef6\n\ -implDestDir \u6307\u5b9a\u751f\u6210 JWS \u5b9e\u73b0\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -implServiceName \u751f\u6210\u7684 JWS \u5b9e\u73b0\u7684\u670d\u52a1\u540d\u7684\u672c\u5730\u90e8\u5206\n\ -implPortName \u751f\u6210\u7684 JWS \u5b9e\u73b0\u7684\u7aef\u53e3\u540d\u7684\u672c\u5730\u90e8\u5206 + +wsimport.usage.extensions=\n\\\u6269\u5c55:\n\ -XadditionalHeaders \u6620\u5c04\u6807\u5934\u4e0d\u7ed1\u5b9a\u5230\u8bf7\u6c42\u6216\u54cd\u5e94\u6d88\u606f\u4e0d\u7ed1\u5b9a\u5230\n\ Java \u65b9\u6cd5\u53c2\u6570\n\ -Xauthfile \u7528\u4e8e\u4f20\u9001\u4ee5\u4e0b\u683c\u5f0f\u7684\u6388\u6743\u4fe1\u606f\u7684\u6587\u4ef6: \n\ http://username:password@example.org/stock?wsdl\n\ -Xdebug \u8f93\u51fa\u8c03\u8bd5\u4fe1\u606f\n\ -Xno-addressing-databinding \u5141\u8bb8 W3C EndpointReferenceType \u5230 Java \u7684\u7ed1\u5b9a\n\ -Xnocompile \u4e0d\u7f16\u8bd1\u751f\u6210\u7684 Java \u6587\u4ef6\n\ -XdisableAuthenticator \u7981\u7528\u7531 JAX-WS RI \u4f7f\u7528\u7684\u9a8c\u8bc1\u7a0b\u5e8f,\n\ \u5c06\u5ffd\u7565 -Xauthfile \u9009\u9879 (\u5982\u679c\u8bbe\u7f6e)\n\ -XdisableSSLHostnameVerification \u5728\u63d0\u53d6 wsdl \u65f6\u7981\u7528 SSL \u4e3b\u673a\u540d\n\ \u9a8c\u8bc1 + + +wsimport.usage.examples=\n\\\u793a\u4f8b:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=\u7528\u6cd5: {0} [options] \n\n\u4f7f\u7528 "wsgen -help" \u83b7\u53d6\u9009\u9879\u7684\u8be6\u7ec6\u8bf4\u660e\u3002 + +wsgen.help=\n\u7528\u6cd5: {0} [options] \n\n\\\u5176\u4e2d [options] \u5305\u62ec:\n\ -classpath \u6307\u5b9a\u67e5\u627e\u8f93\u5165\u7c7b\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -cp \u4e0e -classpath \u76f8\u540c\n\ -d \u6307\u5b9a\u653e\u7f6e\u751f\u6210\u7684\u8f93\u51fa\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -encoding \u6307\u5b9a\u7531\u6e90\u6587\u4ef6\u4f7f\u7528\u7684\u5b57\u7b26\u7f16\u7801\n\ -extension \u5141\u8bb8\u4f9b\u5e94\u5546\u6269\u5c55 - \u4e0d\u6309\u89c4\u8303\n\ \u6307\u5b9a\u529f\u80fd\u3002\u4f7f\u7528\u6269\u5c55\u53ef\u80fd\u4f1a\n\ \u5bfc\u81f4\u5e94\u7528\u7a0b\u5e8f\u4e0d\u53ef\u79fb\u690d\u6216\n\ \u65e0\u6cd5\u4e0e\u5176\u4ed6\u5b9e\u73b0\u8fdb\u884c\u4e92\u64cd\u4f5c\n\ -help \u663e\u793a\u5e2e\u52a9\n\ -keep \u4fdd\u7559\u751f\u6210\u7684\u6587\u4ef6\n\ -r \u8d44\u6e90\u76ee\u6807\u76ee\u5f55, \u6307\u5b9a\u653e\u7f6e\n\ \u8d44\u6e90\u6587\u4ef6 (\u4f8b\u5982 WSDL) \u7684\u4f4d\u7f6e\n\ -s \u6307\u5b9a\u653e\u7f6e\u751f\u6210\u7684\u6e90\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ -verbose \u6709\u5173\u7f16\u8bd1\u5668\u5728\u6267\u884c\u4ec0\u4e48\u64cd\u4f5c\u7684\u8f93\u51fa\u6d88\u606f\n\ -version \u8f93\u51fa\u7248\u672c\u4fe1\u606f\n\ -wsdl[:protocol] \u751f\u6210 WSDL \u6587\u4ef6\u3002\u534f\u8bae\u662f\u53ef\u9009\u7684\u3002\n\ \u6709\u6548\u534f\u8bae\u662f{1},\n\ \u9ed8\u8ba4\u503c\u4e3a soap1.1\u3002\n\ \u975e\u6807\u51c6\u534f\u8bae{2}\n\ \u53ea\u80fd\u4e0e\n\ -extension \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002\n\ -inlineSchemas \u751f\u6210\u7684 wsdl \u4e2d\u7684\u5185\u5d4c\u6a21\u5f0f\u3002\u5fc5\u987b\n\ \u4e0e -wsdl \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002\n\ -servicename \u6307\u5b9a\u8981\u7528\u5728\u751f\u6210\u7684 WSDL \u4e2d\u7684\u670d\u52a1\u540d\n\ \u4e0e -wsdl \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002\n\ -portname \u6307\u5b9a\u8981\u7528\u5728\u751f\u6210\u7684 WSDL \u4e2d\u7684\u7aef\u53e3\u540d\n\ \u4e0e -wsdl \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002 + + +wsgen.usage.examples=\n\\\u793a\u4f8b:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=\u60a8\u6b63\u5728\u9644\u5e26 JAX-WS {0} API \u7684 JDK6 \u4e0a\u8fd0\u884c, \u4f46\u6b64\u5de5\u5177\u9700\u8981 JAX-WS {1} API\u3002\u8bf7\u4f7f\u7528\u6388\u6743\u6807\u51c6\u8986\u76d6\u673a\u5236 (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \u6216\u8005\u5728 <{2}> \u4e0a\u8bbe\u7f6e xendorsed="true"\u3002 + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=\u60a8\u6b63\u5728\u4ece{1}\u52a0\u8f7d JAX-WS {0} API, \u4f46\u6b64\u5de5\u5177\u9700\u8981 JAX-WS {2} API\u3002 + +invoker.needEndorsed=\u60a8\u6b63\u5728\u9644\u5e26 JAX-WS {0} API \u7684 JDK6 \u4e0a\u8fd0\u884c, \u4f46\u6b64\u5de5\u5177\u9700\u8981 JAX-WS {1} API\u3002\u8bf7\u4f7f\u7528\u6388\u6743\u6807\u51c6\u8986\u76d6\u673a\u5236 (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \u6216\u8005\u4f7f\u7528 -Xendorsed \u9009\u9879\u3002 + + +# +# Generic Messages +# +wscompile.invalidOption=\u65e0\u6cd5\u8bc6\u522b\u7684\u53c2\u6570{0} +wsimport.noSuchJaxbOption=\u6ca1\u6709\u8fd9\u79cd JAXB \u9009\u9879: {0} + +wscompile.error=\u9519\u8bef: {0} +wscompile.warning=\u8b66\u544a: {0} +wscompile.info=\u4fe1\u606f: {0} +wscompile.duplicateOption=\u91cd\u590d\u7684\u9009\u9879: {0} +wscompile.noSuchDirectory=\u627e\u4e0d\u5230\u76ee\u5f55: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=\u9009\u9879 \"{0}\" \u9700\u8981\u4e00\u4e2a\u53c2\u6570 +wscompile.compilationFailed=\u7f16\u8bd1\u5931\u8d25, \u9519\u8bef\u5e94\u8be5\u5df2\u4e88\u4ee5\u62a5\u544a +wscompile.unsupportedEncoding=\u4e0d\u652f\u6301\u7684\u7f16\u7801: {0} + +wsimport.missingFile=\u7f3a\u5c11 WSDL_URI + +wsgen.invalid.protocol=\"{0}\" \u4e0d\u662f\u652f\u6301\u7684\u534f\u8bae\u3002\u652f\u6301\u7684\u534f\u8bae\u5305\u62ec: {1}\u3002 +wsgen.invalid.transport=\"{0}\" \u4e0d\u662f\u652f\u6301\u7684\u4f20\u8f93\u3002\u652f\u6301\u7684\u4f20\u8f93\u5305\u62ec: {1}\u3002 +wsgen.class.not.found=\u672a\u627e\u5230\u7c7b: \"{0}\" +wsgen.could.not.create.file="\u65e0\u6cd5\u521b\u5efa\u6587\u4ef6: \"{0}\" +wsgen.missingFile=\u7f3a\u5c11 SEI +wsgen.soap12.without.extension=\u53ef\u9009\u534f\u8bae \"Xsoap1.2\" \u5fc5\u987b\u4e0e \"-extension\" \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002 +wsgen.protocol.without.extension=\u53ef\u9009\u534f\u8bae \"{0}\" \u5fc5\u987b\u4e0e \"-extension\" \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002 +wsgen.wsdl.arg.no.genwsdl=\"{0}\" \u9009\u9879\u53ea\u80fd\u4e0e "-wsdl" \u9009\u9879\u7ed3\u5408\u4f7f\u7528\u3002 +wsgen.servicename.missing.namespace=\u670d\u52a1\u540d \"{0}\" \u7f3a\u5c11\u540d\u79f0\u7a7a\u95f4\u3002 +wsgen.servicename.missing.localname=\u670d\u52a1\u540d \"{0}\" \u7f3a\u5c11\u672c\u5730\u540d\u79f0\u3002 +wsgen.portname.missing.namespace=\u7aef\u53e3\u540d \"{0}\" \u7f3a\u5c11\u540d\u79f0\u7a7a\u95f4\u3002 +wsgen.portname.missing.localname=\u7aef\u53e3\u540d \"{0}\" \u7f3a\u5c11\u672c\u5730\u540d\u79f0\u3002 +wsgen.class.must.be.implementation.class=\u7c7b \"{0}\" \u4e0d\u662f\u7aef\u70b9\u5b9e\u73b0\u7c7b\u3002 +wsimport.NotAFileNorURL = "{0}" \u4e0d\u662f\u6587\u4ef6\u540d\u4e5f\u4e0d\u662f URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen \u65e0\u6cd5\u5728\u7c7b{1}\u4e0a\u4e3a\u975e SOAP \u7ed1\u5b9a{0}\u751f\u6210 WSDL + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen \u65e0\u6cd5\u5728\u7c7b{1}\u4e0a\u4e3a SOAP 1.2 \u7ed1\u5b9a{0}\u751f\u6210 WSDL\u3002\n +Please \u6307\u5b9a \"-extension\" \u548c \"-wsdl:protocol XSoap1.2\" \u5f00\u5173\u3002\u4f8b\u5982:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" \u5fc5\u987b\u4e0e \"-wsdl\" \u9009\u9879\u7ed3\u5408\u4f7f\u7528 + +wsgen.no.webservices.class=wsgen \u672a\u627e\u5230\u5e26\u6709 @WebService \u6ce8\u91ca\u7684\u4efb\u4f55\u7c7b\u3002\u8bf7\u5728{0}\u4e0a\u6307\u5b9a @WebService \u6ce8\u91ca\u3002 + +wsimport.no.wsdl=\u65e0\u6cd5\u8bfb\u53d6 WSDL \u6587\u6863: {0}, \u539f\u56e0\u4e3a 1) \u627e\u4e0d\u5230\u6587\u6863; 2) \u65e0\u6cd5\u8bfb\u53d6\u6587\u6863; 3) \u6587\u6863\u7684\u6839\u5143\u7d20\u4e0d\u662f \u3002 + +wsimport.FailedToParse = \u65e0\u6cd5\u89e3\u6790 "{0}": {1} + +wsimport.ParsingWSDL=\u6b63\u5728\u89e3\u6790 WSDL...\n\n +wsimport.GeneratingCode=\n\u6b63\u5728\u751f\u6210\u4ee3\u7801...\n +wsimport.CompilingCode=\n\u6b63\u5728\u7f16\u8bd1\u4ee3\u7801...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u76ee\u6807\u7248\u672c\u3002\u652f\u6301 "2.0" \u548c "2.1"\u3002 + +wsimport.ILLEGAL_AUTH_INFO = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u6388\u6743\u4fe1\u606f\u683c\u5f0f\u3002\u683c\u5f0f\u5e94\u4e3a http[s]://user:password@host:port//\u3002 + +wsimport.readingAuthFile = \u6b63\u5728\u5c1d\u8bd5\u8bfb\u53d6\u6388\u6743\u6587\u4ef6: "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = \u672a\u627e\u5230\u6388\u6743\u6587\u4ef6 "{0}"\u3002\u5982\u679c WSDL \u8bbf\u95ee\u9700\u8981\u57fa\u672c\u9a8c\u8bc1, \u8bf7\u5728{1}\u4e2d\u63d0\u4f9b\u5177\u6709\u8bfb\u53d6\u8bbf\u95ee\u6743\u9650\u7684\u6388\u6743\u6587\u4ef6, \u6216\u8005\u4f7f\u7528 -Xauthfile \u6307\u5b9a\u6388\u6743\u6587\u4ef6\u5e76\u5728\u6bcf\u4e00\u884c\u4e0a\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\u63d0\u4f9b\u6388\u6743\u4fe1\u606f: http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" \u9700\u8981\u6388\u6743, \u8bf7\u5728{2}\u4e2d\u63d0\u4f9b\u5177\u6709\u8bfb\u53d6\u8bbf\u95ee\u6743\u9650\u7684\u6388\u6743\u6587\u4ef6, \u6216\u8005\u4f7f\u7528 -Xauthfile \u6307\u5b9a\u6388\u6743\u6587\u4ef6\u5e76\u5728\u6bcf\u4e00\u884c\u4e0a\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\u63d0\u4f9b\u6388\u6743\u4fe1\u606f: http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "{1}\u7684\u7b2c {0} \u884c + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = \u670d\u52a1\u5668\u8fd4\u56de\u4e86 HTTP \u72b6\u6001\u4ee3\u7801: "{0}", \u6b63\u5728\u4f7f\u7528 "{1}" \u91cd\u8bd5 + +wsimport.maxRedirectAttempt = \u65e0\u6cd5\u83b7\u53d6\u5df2\u8fbe\u5230\u7684 WSDL \u6700\u5927\u91cd\u5b9a\u5411\u6b21\u6570 (5) + +wsimport.wsdllocation.clientjar = \u4f7f\u7528 clientJar \u9009\u9879\u65f6\u4e0d\u80fd\u6307\u5b9a wsdlLocation +# {0} - path to a zip file +wsimport.archivingArtifacts=\n\u5c06\u751f\u6210\u7684 Artifact \u5f52\u6863\u5230{0}\u3002\n +wsimport.archiveArtifact=\u5c06{0}\u6dfb\u52a0\u5230\u6863\u6848{1} +wsimport.fetchingMetadata=\n\u4e0b\u8f7d WSDL \u53ca\u5173\u8054\u7684\u5143\u6570\u636e\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\n\u5c06\u5143\u6570\u636e\u6587\u6863\u4ece{0}\u4e0b\u8f7d\u5230{1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wscompile_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +# +# Copyright (c) 2005, 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. +# + +wsimport.usage=\u7528\u6cd5: {0} [options] \n\n\u4f7f\u7528 "wsimport -help" \u53ef\u53d6\u5f97\u9078\u9805\u7684\u8a73\u7d30\u63cf\u8ff0. + +wsimport.help=\n\u7528\u6cd5: {0} [options] \n\n\\\u5176\u4e2d [options] \u5305\u62ec:\n\\ -b \u6307\u5b9a jaxws/jaxb \u9023\u7d50\u6a94\u6848\u6216\u5176\u4ed6\u7db1\u8981\n\\ (\u6bcf\u500b \u5747\u5fc5\u9808\u8981\u6709\u81ea\u5df1\u7684 -b)\n\\ -B \u5c07\u6b64\u9078\u9805\u50b3\u9001\u5230 JAXB \u7db1\u8981\u7de8\u8b6f\u5668\n\\ -catalog \u6307\u5b9a\u8981\u7528\u4ee5\u89e3\u6790\u5916\u90e8\u500b\u9ad4\u53c3\u7167\u7684\u76ee\u9304\u6a94\u6848\n\\ \u652f\u63f4 TR9401\u3001XCatalog \u4ee5\u53ca OASIS XML \u76ee\u9304\u683c\u5f0f.\n\\ -d \u6307\u5b9a\u7f6e\u653e\u7522\u751f\u4e4b\u8f38\u51fa\u6a94\u6848\u7684\u4f4d\u7f6e\n\\ -encoding \u6307\u5b9a\u4f86\u6e90\u6a94\u6848\u6240\u4f7f\u7528\u7684\u5b57\u5143\u7de8\u78bc\n\\ -extension \u5141\u8a31\u5ee0\u5546\u64f4\u5145 - \u672a\u7531\u898f\u683c\u6307\u5b9a\n\\ \u529f\u80fd. \u4f7f\u7528\u64f4\u5145\u53ef\u80fd\u5c0e\u81f4\n\\ \u4e0d\u53ef\u651c\u61c9\u7528\u7a0b\u5f0f\u6216\u8005\u53ef\u80fd\u7121\u6cd5\n\\ \u8207\u5176\u4ed6\u5be6\u884c\u4e92\u52d5\u64cd\u4f5c\n\\ -help \u986f\u793a\u8aaa\u660e\n\\ -httpproxy:: \u6307\u5b9a HTTP \u4ee3\u7406\u4e3b\u6a5f\u4f3a\u670d\u5668 (\u9023\u63a5\u57e0\u9810\u8a2d\u70ba 8080)\n\\ -keep \u4fdd\u7559\u7522\u751f\u7684\u6a94\u6848\n\\ -p \u6307\u5b9a\u76ee\u6a19\u5957\u88dd\u7a0b\u5f0f\n\\ -quiet \u6291\u5236 wsimport \u8f38\u51fa\n\\ -s \u6307\u5b9a\u7f6e\u653e\u7522\u751f\u4e4b\u4f86\u6e90\u6a94\u6848\u7684\u4f4d\u7f6e\n\\ -target \u6839\u64da\u6307\u5b9a\u7684 JAXWS \u898f\u683c\u7248\u672c\u7522\u751f\u7a0b\u5f0f\u78bc\n\\ \u9810\u8a2d\u70ba 2.2, \u63a5\u53d7\u7684\u503c\u5305\u62ec 2.0\u30012.1 \u4ee5\u53ca 2.2\n\\ \u4f8b\u5982, 2.0 \u5c07\u6703\u7522\u751f\u8207 JAXWS 2.0 \u898f\u683c\u76f8\u5bb9\u7684\u7a0b\u5f0f\u78bc\n\\ -verbose \u8f38\u51fa\u7de8\u8b6f\u5668\u57f7\u884c\u76f8\u95dc\u8a0a\u606f\n\\ -version \u5217\u5370\u7248\u672c\u8cc7\u8a0a\n\\ -wsdllocation @WebServiceClient.wsdlLocation \u503c\n\\ -clientjar \u5efa\u7acb\u7522\u751f\u4e4b\u4f7f\u7528\u8005\u81ea\u5efa\u7269\u4ef6\u7684 jar \u6a94\u6848, \u4ee5\u53ca\n\\ \u547c\u53eb Web \u670d\u52d9\u6240\u9700\u7684 WSDL \u63cf\u8ff0\u8cc7\u6599.\n\\ -generateJWS \u7522\u751f stub JWS \u5be6\u884c\u6a94\u6848\n\\ -implDestDir \u6307\u5b9a\u7522\u751f JWS \u5be6\u884c\u6a94\u6848\u7684\u4f4d\u7f6e\n\\ -implServiceName \u7522\u751f\u4e4b JWS \u5be6\u884c\u7684\u670d\u52d9\u540d\u7a31\u672c\u6a5f\u90e8\u5206\n\\ -implPortName \u7522\u751f\u4e4b JWS \u5be6\u884c\u7684\u9023\u63a5\u57e0\u540d\u7a31\u672c\u6a5f\u90e8\u5206 + +wsimport.usage.extensions=\n\\\u64f4\u5145:\n\\ -XadditionalHeaders \u5c07\u672a\u9023\u7d50\u81f3\u8981\u6c42\u6216\u56de\u61c9\u8a0a\u606f\u7684\u6a19\u982d\u5c0d\u61c9\u81f3 \n\\ Java \u65b9\u6cd5\u53c3\u6578\n\\ -Xauthfile \u4fdd\u7559\u6388\u6b0a\u8cc7\u8a0a\u7684\u6a94\u6848, \u5176\u683c\u5f0f\u70ba: \n\\ http://username:password@example.org/stock?wsdl\n\\ -Xdebug \u5217\u5370\u9664\u932f\u8cc7\u8a0a\n\\ -Xno-addressing-databinding \u555f\u7528\u5c07 W3C EndpointReferenceType \u9023\u7d50\u81f3 Java\n\\ -Xnocompile \u4e0d\u7de8\u8b6f\u7522\u751f\u7684 Java \u6a94\u6848\n\\ -XdisableAuthenticator \u505c\u7528 JAX-WS RI \u6240\u4f7f\u7528\u7684\u300c\u8a8d\u8b49\u7a0b\u5f0f\u300d,\n\\ -Xauthfile \u9078\u9805\u5c07\u88ab\u5ffd\u7565, \u5982\u679c\u8a2d\u5b9a\n\\ -XdisableSSLHostnameVerification \u5728\u64f7\u53d6 wsdl \u6642\u505c\u7528 SSL \u4e3b\u6a5f\u540d\u7a31\n\\ \u9a57\u8b49 + + +wsimport.usage.examples=\n\\\u7bc4\u4f8b:\n\ wsimport stock.wsdl -b stock.xml -b stock.xjb\n\ wsimport -d generated http://example.org/stock?wsdl\n + +wsgen.usage=\u7528\u6cd5: {0} [options] \n\n\u4f7f\u7528 "wsgen -help" \u53ef\u53d6\u5f97\u9078\u9805\u7684\u8a73\u7d30\u63cf\u8ff0. + +wsgen.help=\n\u7528\u6cd5: {0} [options] \n\n\\\u5176\u4e2d [options] \u5305\u62ec:\n\ -classpath \u6307\u5b9a\u5c0b\u627e\u8f38\u5165\u985e\u5225\u6a94\u6848\u7684\u4f4d\u7f6e\n\ -cp \u8207 -classpath \u76f8\u540c\n\ -d \u6307\u5b9a\u7f6e\u653e\u7522\u751f\u4e4b\u8f38\u51fa\u6a94\u6848\u7684\u4f4d\u7f6e\n\ -encoding \u6307\u5b9a\u4f86\u6e90\u6a94\u6848\u6240\u4f7f\u7528\u7684\u5b57\u5143\u7de8\u78bc\n\ -extension \u5141\u8a31\u5ee0\u5546\u64f4\u5145 - \u672a\u7531\u898f\u683c\u6307\u5b9a\n\ \u529f\u80fd. \u4f7f\u7528\u64f4\u5145\u53ef\u80fd\u5c0e\u81f4\u4e0d\n\ \u53ef\u651c\u61c9\u7528\u7a0b\u5f0f\u6216\u8005\u53ef\u80fd\u7121\u6cd5\n\ \u8207\u5176\u4ed6\u5be6\u884c\u4e92\u52d5\u64cd\u4f5c\n\ -help \u986f\u793a\u8aaa\u660e\n\ -keep \u4fdd\u7559\u7522\u751f\u7684\u6a94\u6848s\n\ -r \u8cc7\u6e90\u76ee\u7684\u5730\u76ee\u9304, \u6307\u5b9a\u7f6e\u653e\n\ \u8cc7\u6e90\u6a94\u6848 (\u4f8b\u5982 WSDL) \u7684\u4f4d\u7f6e\n\ -s \u6307\u5b9a\u7f6e\u653e\u7522\u751f\u4e4b\u4f86\u6e90\u6a94\u6848\u7684\u4f4d\u7f6e\n\ -verbose \u8f38\u51fa\u7de8\u8b6f\u5668\u57f7\u884c\u76f8\u95dc\u8a0a\u606f\n\ -version \u5217\u5370\u7248\u672c\u8cc7\u8a0a\n\ -wsdl[:protocol] \u7522\u751f WSDL \u6a94\u6848. \u53ef\u9078\u64c7\u662f\u5426\u6307\u5b9a\u5354\u5b9a.\n\ \u6709\u6548\u7684\u5354\u5b9a\u70ba {1},\n\ \u9810\u8a2d\u70ba soap1.1.\n\ \u975e\u6a19\u6e96\u5354\u5b9a {2}\n\ \u53ea\u80fd\u642d\u914d -extension \u9078\u9805\n\ \u4e00\u8d77\u59cb\u7528.\n\ -inlineSchemas \u7522\u751f\u4e4b wsdl \u4e2d\u7684\u5167\u5d4c\u7db1\u8981. \u5fc5\u9808\n\ \u642d\u914d -wsdl \u9078\u9805\u4e00\u8d77\u59cb\u7528.\n\ -servicename \u6307\u5b9a\u7522\u751f\u4e4b WSDL \u4e2d\u6240\u8981\u4f7f\u7528\u7684\u300c\u670d\u52d9\u300d\u540d\u7a31\n\ \u642d\u914d -wsdl \u9078\u9805\u4e00\u8d77\u59cb\u7528.\n\ -portname \u6307\u5b9a\u7522\u751f\u4e4b WSDL \u4e2d\u6240\u8981\u4f7f\u7528\u7684\u300c\u9023\u63a5\u57e0\u300d\u540d\u7a31\n\ \u642d\u914d -wsdl \u9078\u9805\u4e00\u8d77\u59cb\u7528. + + +wsgen.usage.examples=\n\\\u7bc4\u4f8b:\n\ wsgen -cp . example.Stock\n\ wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'\n +wrapperTask.needEndorsed=\u60a8\u76ee\u524d\u57f7\u884c\u96a8\u9644\u65bc JAX-WS {0} API \u7684 JDK6, \u4f46\u662f\u6b64\u5de5\u5177\u9700\u8981\u4f7f\u7528 JAX-WS {1} API. \u8acb\u4f7f\u7528\u8a8d\u53ef\u7684\u6a19\u6e96\u8986\u5beb\u6a5f\u5236 (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \u6216\u8005\u5728 <{2}> \u8a2d\u5b9a xendorsed="true". + +# {0}, {2} - version (e.g. 2.1), {1} - absolute class location +wrapperTask.loadingIncorrectApi=\u60a8\u6b63\u5728\u5f9e {1} \u8f09\u5165 JAX-WS {0} API, \u4f46\u662f\u6b64\u5de5\u5177\u9700\u8981\u4f7f\u7528 JAX-WS {2} API. + +invoker.needEndorsed=\u60a8\u76ee\u524d\u57f7\u884c\u96a8\u9644\u65bc JAX-WS {0} API \u7684 JDK6, \u4f46\u662f\u6b64\u5de5\u5177\u9700\u8981\u4f7f\u7528 JAX-WS {1} API. \u8acb\u4f7f\u7528\u8a8d\u53ef\u7684\u6a19\u6e96\u8986\u5beb\u6a5f\u5236 (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), \u6216\u8005\u4f7f\u7528 -Xendorsed \u9078\u9805. + + +# +# Generic Messages +# +wscompile.invalidOption=\u7121\u6cd5\u8fa8\u8b58\u7684\u53c3\u6578 {0} +wsimport.noSuchJaxbOption=\u6c92\u6709\u6b64 JAXB \u9078\u9805: {0} + +wscompile.error=\u932f\u8aa4: {0} +wscompile.warning=\u8b66\u544a: {0} +wscompile.info=\u8cc7\u8a0a: {0} +wscompile.duplicateOption=\u91cd\u8907\u7684\u9078\u9805: {0} +wscompile.noSuchDirectory=\u627e\u4e0d\u5230\u76ee\u9304: {0} +# wscompile.missingOptionArgument +wscompile.missingOptionArgument=\u9078\u9805 \"{0}\" \u5fc5\u9808\u8981\u6709\u4e00\u500b\u5f15\u6578 +wscompile.compilationFailed=\u7de8\u8b6f\u5931\u6557, \u5fc5\u9808\u5831\u544a\u932f\u8aa4 +wscompile.unsupportedEncoding=\u4e0d\u652f\u63f4\u7684\u7de8\u78bc: {0} + +wsimport.missingFile=\u907a\u6f0f WSDL_URI + +wsgen.invalid.protocol=\u4e0d\u652f\u63f4 \"{0}\" \u5354\u5b9a. \u652f\u63f4\u7684\u5354\u5b9a\u5305\u62ec: {1}. +wsgen.invalid.transport=\u4e0d\u652f\u63f4 \"{0}\" \u50b3\u8f38. \u652f\u63f4\u7684\u50b3\u8f38\u5305\u62ec: {1}. +wsgen.class.not.found=\u627e\u4e0d\u5230\u985e\u5225: \"{0}\" +wsgen.could.not.create.file="\u7121\u6cd5\u5efa\u7acb\u6a94\u6848: "\\{0}\" +wsgen.missingFile=\u907a\u6f0f SEI +wsgen.soap12.without.extension=\u9078\u64c7\u6027\u5354\u5b9a \"Xsoap1.2\" \u5fc5\u9808\u642d\u914d \"-extension\" \u9078\u9805\u4e00\u8d77\u4f7f\u7528. +wsgen.protocol.without.extension=\u9078\u64c7\u6027\u5354\u5b9a \"{0}\" \u5fc5\u9808\u642d\u914d \"-extension\" \u9078\u9805\u4e00\u8d77\u4f7f\u7528. +wsgen.wsdl.arg.no.genwsdl=\"{0}\" \u9078\u9805\u53ea\u80fd\u642d\u914d "-wsdl" \u9078\u9805\u4e00\u8d77\u4f7f\u7528. +wsgen.servicename.missing.namespace=\u670d\u52d9\u540d\u7a31 \"{0}\" \u907a\u6f0f\u547d\u540d\u7a7a\u9593. +wsgen.servicename.missing.localname=\u670d\u52d9\u540d\u7a31 \"{0}\" \u907a\u6f0f\u672c\u6a5f\u540d\u7a31. +wsgen.portname.missing.namespace=\u9023\u63a5\u57e0\u540d\u7a31 \"{0}\" \u907a\u6f0f\u547d\u540d\u7a7a\u9593. +wsgen.portname.missing.localname=\u9023\u63a5\u57e0\u540d\u7a31 \"{0}\" \u907a\u6f0f\u672c\u6a5f\u540d\u7a31. +wsgen.class.must.be.implementation.class=\u985e\u5225 \"{0}\" \u4e0d\u662f\u4e00\u500b\u7aef\u9ede\u5be6\u884c\u985e\u5225. +wsimport.NotAFileNorURL = "{0}" \u4e0d\u662f\u6a94\u6848\u540d\u7a31\u6216 URL + +wsgen.cannot.gen.wsdl.for.non.soap.binding=wsgen \u7121\u6cd5\u7522\u751f\u985e\u5225 {1} \u4e4b\u975e SOAP \u9023\u7d50 {0} \u7684 WSDL + +wsgen.cannot.gen.wsdl.for.soap12.binding=wsgen \u7121\u6cd5\u7522\u751f\u985e\u5225 {1} \u4e4b SOAP 1.2 \u9023\u7d50 {0} \u7684 WSDL.\n +Please \u6307\u5b9a \"-extension\" \u548c \"-wsdl:protocol XSoap1.2\" \u53c3\u6578. \u4f8b\u5982:\n\n +wsgen -wsdl:protocol XSoap1.2 -extenson {1} +wsgen.inlineSchemas.only.with.wsdl=\"-inlineSchemas\" \u5fc5\u9808\u642d\u914d \"-wsdl\" \u9078\u9805\u4e00\u8d77\u4f7f\u7528 + +wsgen.no.webservices.class=wsgen \u627e\u4e0d\u5230\u4efb\u4f55\u542b @WebService \u8a3b\u89e3\u7684\u985e\u5225. \u8acb\u5728 {0} \u6307\u5b9a @WebService \u8a3b\u89e3. + +wsimport.no.wsdl=\u7121\u6cd5\u8b80\u53d6 WSDL \u6587\u4ef6: {0}, \u56e0\u70ba 1) \u627e\u4e0d\u5230\u6587\u4ef6; /2) \u7121\u6cd5\u8b80\u53d6\u6587\u4ef6; 3) \u6587\u4ef6\u7684\u6839\u5143\u7d20\u4e0d\u662f . + +wsimport.FailedToParse = \u7121\u6cd5\u5256\u6790 "{0}": {1} + +wsimport.ParsingWSDL=\u6b63\u5728\u5256\u6790 WSDL...\n\n +wsimport.GeneratingCode=\n\u6b63\u5728\u7522\u751f\u7a0b\u5f0f\u78bc...\n +wsimport.CompilingCode=\n\u6b63\u5728\u7de8\u8b6f\u7a0b\u5f0f\u78bc...\n +wsimport.ILLEGAL_TARGET_VERSION = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u76ee\u6a19\u7248\u672c. \u652f\u63f4 "2.0" \u548c "2.1". + +wsimport.ILLEGAL_AUTH_INFO = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u6388\u6b0a\u8cc7\u8a0a\u683c\u5f0f. \u683c\u5f0f\u70ba http[s]://user:password@host:port//. + +wsimport.readingAuthFile = \u6b63\u5728\u5617\u8a66\u8b80\u53d6\u6388\u6b0a\u6a94\u6848 : "{0}"... + +# {0} - path to current authorization file, {1} - path to metro authorization file +wsimport.authFileNotFound = \u627e\u4e0d\u5230\u6388\u6b0a\u6a94\u6848 "{0}". \u5982\u679c WSDL \u5b58\u53d6\u9700\u8981\u300c\u57fa\u672c\u8a8d\u8b49\u300d, \u8acb\u5728 {1} \u63d0\u4f9b\u5177\u6709\u8b80\u53d6\u5b58\u53d6\u6b0a\u7684\u6388\u6b0a\u6a94\u6848, \u6216\u8005\u4f7f\u7528 -Xauthfile \u6307\u5b9a\u6388\u6b0a\u6a94\u6848, \u4e26\u4e14\u5728\u6bcf\u4e00\u884c\u63d0\u4f9b\u6388\u6b0a\u8cc7\u8a0a (\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f) : http[s]://user:password@host:port// + +# {0} - exception message, {1} - systemId (e.g. location of WSDL file) , {2} - path to metro authentication file e.g.: Server returned HTTP response code: 401 for URL: http://localhost:8080/myServer/mywebService?WSDL, "http://localhost:8080/myServer/mywebService?WSDL" needs authorization, please provide authorization file with read access at C:\Documents and Settings\user\.metro\auth or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port// +wsimport.authInfoNeeded = {0}, "{1}" \u9700\u8981\u6388\u6b0a, \u8acb\u5728 {2} \u63d0\u4f9b\u5177\u6709\u8b80\u53d6\u5b58\u53d6\u6b0a\u7684\u6388\u6b0a\u6a94\u6848, \u6216\u8005\u4f7f\u7528 -Xauthfile \u6307\u5b9a\u6388\u6b0a\u6a94\u6848, \u4e26\u4e14\u5728\u6bcf\u4e00\u884c\u63d0\u4f9b\u6388\u6b0a\u8cc7\u8a0a (\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f) : http[s]://user:password@host:port// + +wsimport.AUTH_INFO_LINENO = "{1} \u7684\u7b2c {0} \u884c + + +wsimport.ErrorMessage = [ERROR] {0} + +wsimport.WarningMessage = [WARNING] {0} + +wsimport.InfoMessage = [INFO] {0} + +wsimport.DebugMessage = [DEBUG] {0} + +wsimport.httpRedirect = \u4f3a\u670d\u5668\u50b3\u56de HTTP \u72c0\u614b\u4ee3\u78bc: "{0}", \u4f7f\u7528 "{1}" \u91cd\u8a66 + +wsimport.maxRedirectAttempt = \u7121\u6cd5\u53d6\u5f97 WSDL, \u5df2\u9054\u91cd\u5c0e\u6b21\u6578\u4e0a\u9650 (5) + +wsimport.wsdllocation.clientjar = \u4f7f\u7528 clientJar \u9078\u9805\u6642\u7121\u6cd5\u6307\u5b9a wsdlLocation +# {0} - path to a zip file +wsimport.archivingArtifacts=\n\u6b63\u5728\u5c07\u7522\u751f\u7684\u4f7f\u7528\u8005\u81ea\u5efa\u7269\u4ef6\u5b58\u6a94\u81f3 {0}.\n +wsimport.archiveArtifact=\u6b63\u5728\u5c07 {0} \u52a0\u5230\u5b58\u6a94 {1} +wsimport.fetchingMetadata=\n\u6b63\u5728\u4e0b\u8f09 WSDL \u548c\u95dc\u806f\u7684\u63cf\u8ff0\u8cc7\u6599\n +# {0} - URI, {1} - path to a file +wsimport.document.download=\n\u6b63\u5728\u5c07 {0} \u7684\u63cf\u8ff0\u8cc7\u6599\u6587\u4ef6\u4e0b\u8f09\u81f3 {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 @@ -34,6 +34,7 @@ parsing.invalidExtensionElement=invalid extension element: \"{0}\" (in namespace \"{1}\") parsing.invalidWsdlElement=invalid WSDL element: \"{0}\" parsing.requiredExtensibilityElement=unknown required extensibility element \"{0}\" (in namespace \"{1}\") +parsing.unknownExtensibilityElementOrAttribute=unknown extensibility element or attribute \"{0}\" (in namespace \"{1}\") parsing.tooManyElements=too many \"{0}\" elements under \"{1}\" element \"{2}\" parsing.invalidOperationStyle=operation \"{0}\" has an invalid style # {0} - "definitions". Not concatenated with any other string. @@ -167,4 +168,4 @@ try.with.mex= {0} \n\nretrying with MEX... file.not.found={0} is unreachable parsing.unableToGetMetadata= {0}\n\n{1} -failed.noservice=failed.noservice=Could not find wsdl:service in the provided WSDL(s): \n\n{0} At least one WSDL with at least one service definition needs to be provided. +failed.noservice=Could not find wsdl:service in the provided WSDL(s): \n\n{0} At least one WSDL with at least one service definition needs to be provided. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=Standard-Namespace muss \\"{0}\\" sein +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=Nur eines der Attribute \\"element\\" oder \\"type\\" ist in Teil \\"{0}\\" zul\u00E4ssig +# Not concatenated with any other string. +parsing.elementOrTypeRequired=Warnung: Teil {0} wird ignoriert, entweder das Attribut \"element\" oder das Attribut \"type\" ist in Teil \"{0}\" erforderlich +parsing.invalidElement=ung\u00FCltiges Element: \"{0}\" (in Namespace \"{1}\") +parsing.invalidAttributeValue=Ung\u00FCltiger Wert \"{1}\" f\u00FCr Attribut \"{0}\" +parsing.invalidExtensionElement=ung\u00FCltiges Erweiterungselement: \"{0}\" (in Namespace \"{1}\") +parsing.invalidWsdlElement=Ung\u00FCltiges WSDL-Element: "{0}" +parsing.requiredExtensibilityElement=unbekanntes erforderliches Erweiterungselement \"{0}\" (in Namespace \"{1}\") +parsing.tooManyElements=zu viele \"{0}\"-Elemente unter \"{1}\"-Element \"{2}\" +parsing.invalidOperationStyle=Vorgang \"{0}\" hat einen ung\u00FCltigen Stil +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=Nur ein "types"-Element ist in "{0}" zul\u00E4ssig +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=Nur ein "documentation"-Element ist in "{0}" zul\u00E4ssig +parsing.incorrectRootElement=Root-Element \"{2}\" (in Namespace \"{3}\"), Element \"{0}\" (in Namespace \"{1}\") gefunden +parsing.unknownImportedDocumentType=importiertes Dokument hat unbekannten Typ: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=nicht deklariertes Namespace-Pr\u00E4fix: \\"{0}\\" +parsing.invalidURI=ung\u00FCltiger URI: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=Dokument in \"{0}\" konnte nicht geparst werden +# {0} - exception message +parsing.ioException=Parsen nicht erfolgreich: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=Ung\u00FCltige WSDL-Datei. Dokument in \"{0}\" konnte nicht geparst werden +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=Ung\u00FCltige WSDL-Datei. Parsing nicht erfolgreich: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=Ung\u00FCltige WSDL-Datei. Parsing nicht erfolgreich: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=Ung\u00FCltige WSDL-Datei. Parsing nicht erfolgreich: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=erforderliches Attribut \"{1}\" von Element \"{0}\" fehlt +parsing.invalidTag=Element \"{1}\" erwartet, \"{0}\" gefunden +# {4} - element name +parsing.invalidTagNS=Ung\u00FCltige WSDL in {4}: Element \\"{2}\\" (in Namespace \\"{3}\\") erwartet, Element \\"{0}\\" (in Namespace \\"{1}\\") gefunden +parsing.nonWhitespaceTextFound=unerwarteter Text ohne Leerstellen gefunden: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=unerwartetes Nicht-Element gefunden +# +entity.duplicate=doppelte Entity: \\"{0}\\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=doppelte \"{0}\" Entity: \"{1}\" + +entity.notFoundByID=ung\u00FCltige Entity-ID: \\"{0}\\" +entity.notFoundByQName={0} \"{1}\" nicht in WSDL gefunden: {2} +entity.notFound.portType=wsdl:portType \\"{0}\\" wird von wsdl:binding \\"{1}\\" referenziert, wird jedoch in der WSDL nicht gefunden +entity.notFound.binding=wsdl:binding \\"{0}\\" wird von wsdl:port \\"{1}\\" referenziert, wird jedoch in der WSDL nicht gefunden + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=erforderliches Attribut \"{0}\" von Element \"{1}\" fehlt +validation.missingRequiredProperty=erforderliche Eigenschaft \"{0}\" von Element \"{1}\" fehlt +validation.missingRequiredSubEntity=Erforderliche Sub-Entity \"{0}\" von Element \"{1}\" fehlt +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=ung\u00FCltiges Element: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=ung\u00FCltiges Element: \\"{1}\\", enth\u00E4lt benannten simpleType: \\"{0}\\" +validation.duplicatedElement=dupliziertes Element: \"{0}\" +validation.duplicatePartName=Ung\u00FCltige WSDL, doppelte Teile in einer wsdl:message sind nicht zul\u00E4ssig. \nwsdl:message {0} hat einen doppelten Teilnamen: \\"{1}\\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=Ung\u00FCltiges untergeordnetes Element \"{0}\" von Element \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=Ung\u00FCltiges Attribut \"{0}\" von Element \"{1}\" +validation.invalidAttributeValue=Ung\u00FCltiger Wert \"{1}\" f\u00FCr Attribut \"{0}\" +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=exklusive Attribute: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=Ziel-Namespace ist nicht korrekt (erwartet: {1}, gefunden: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=interner Fehler ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=nicht eindeutiger Vorgangsname: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="Verwendung von SOAP-Codierung wird nicht unterst\u00FCtzt. \nSOAP-Erweiterungselement in Zeile {0} in {1} enth\u00E4lt use=\\"encoded\\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=leere Aktion in \"{0}\" {1}-Element von \"{2}\"-Vorgang wird ignoriert, stattdessen wird Standardwert verwendet +# Not concatenated with any other string. +warning.inputOutputEmptyAction=leere Aktion in {0}-Element von \"{1}\"-Vorgang wird ignoriert, stattdessen wird Standardwert verwendet + +#wsi compliant WSDL warnings +warning.wsi.r2001=Keine mit WSI-BP konforme WSDL (R2001, R2002). wsdl:import darf nur WSDL-Dokumente importieren. Es wird versucht, \\"{0}\\" zu importieren +warning.wsi.r2002=Keine mit WSI-BP konforme WSDL (R2002). wsdl:import darf nicht f\u00FCr das Importieren eines XML-Schemas verwendet werden, das im WSDL-Dokument eingebettet ist. WSDL-Namespace {0} erwartet, {1} gefunden +warning.wsi.r2003=Keine mit WSI-BP konforme WSDL (R2003). xsd:import darf nur innerhalb von xsd:schema-Elementen verwendet werden. +warning.wsi.r2004=Keine mit WSI-BP konforme WSDL (R2001, R2004). xsd:import darf keine XML-Schemadefinitionen importieren, die inline in dem WSDL-Dokument eingebettet sind. + +#Parser +Parsing.ParseFailed = \tWSDL konnte nicht geparst werden. + +Parsing.NotAWSDL=WSDL-Komponenten konnten nicht abgerufen werden, wahrscheinlich ist {0} keine g\u00FCltige WSDL-Datei. + +AbstractReferenceFinderImpl.UnableToParse = \tParsen von "{0}" nicht m\u00F6glich: {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \tkeine externe Binding-Datei. Das Root-Element muss ''{''http://java.sun.com/xml/ns/jaxws''}''-Bindings sein, ist jedoch ''{''{0}''}''{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tSowohl jaxb:version als auch Version sind vorhanden +Internalizer.IncorrectVersion = \tJAXWS-Versionsattribut muss "2.0" sein + +Internalizer.VersionNotPresent = \tJAXWS-Versionsattribut muss vorhanden sein + +internalizer.targetNotAnElement= \tZielknoten ist kein Element +internalizer.targetNotFound= \tKein Ziel f\u00FCr wsdlLocation gefunden: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" ist nicht Bestandteil dieser Kompilierung. Ist dies ein Fehler bei "{1}"? + +internalizer.XPathEvaluationError = XPath-Fehler: {0} +internalizer.XPathEvaluatesToNoTarget = XPath-Auswertung von "{0}" ergibt einen leeren Zielknoten +internalizer.XPathEvaulatesToTooManyTargets = XPath-Auswertung von "{0}" ergibt zu viele ({1})-Zielknoten +internalizer.XPathEvaluatesToNonElement = XPath-Auswertung von "{0}" muss ein Element ergeben. +invalid.customization.namespace=Anpassung \\"{0}\\" wird ignoriert, weil sie keinen Namespace hat. Sie muss zu dem Anpassungs-Namespace geh\u00F6ren. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="Kein WSDL-Dokument: {0}, ergibt \"{1}\", Vorgang wird mit MEX wiederholt ..." +invalid.wsdl=Ung\u00FCltige WSDL {0}, {1} erwartet, {2} in (Zeile{3}) gefunden +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nVorgang wird mit MEX wiederholt ... +file.not.found={0} ist nicht erreichbar +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=wsdl:service konnte in den angegebenen WSDLs nicht gefunden werden: \n\n{0} Mindestens eine WSDL mit mindestens einer Servicedefinition muss bereitgestellt werden. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=el espacio de nombres por defecto debe ser \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=S\u00F3lo se permite uno de los atributos \\"element\\" o \\"type\\" en la parte \\"{0}\\". +# Not concatenated with any other string. +parsing.elementOrTypeRequired=Advertencia: la parte {0} se ignora. Se necesita el atributo \"element\" o \"type\" en la parte \"{0}\". +parsing.invalidElement=elemento no v\u00E1lido: \"{0}\" (en el espacio de nombres \"{1}\") +parsing.invalidAttributeValue=valor no v\u00E1lido \"{1}\" para el atributo \"{0}\" +parsing.invalidExtensionElement=elemento de extensi\u00F3n no v\u00E1lido: \"{0}\" (en el espacio de nombres \"{1}\") +parsing.invalidWsdlElement=elemento WSDL no v\u00E1lido: \"{0}\" +parsing.requiredExtensibilityElement=elemento de extensibilidad necesario desconocido\\"{0}\\" (en el espacio de nombres \\"{1}\\") +parsing.tooManyElements=demasiados elementos \"{0}\" en el elemento \"{1}\" \"{2}\" +parsing.invalidOperationStyle=la operaci\u00F3n \"{0}\" tiene un estilo no v\u00E1lido +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=S\u00F3lo se permite un elemento "types" en "{0}". +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=S\u00F3lo se permite un elemento "documentation" en "{0}". +parsing.incorrectRootElement=se esperaba el elemento ra\u00EDz \\"{2}\\" (en el espacio de nombres \\"{3}\\"), pero se ha encontrado el elemento \\"{0}\\" (en el espacio de nombres \\"{1}\\") +parsing.unknownImportedDocumentType=el documento importado es de un tipo desconocido: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=Prefijo de espacio de nombres no declarado: \"{0}\". +parsing.invalidURI=URI no v\u00E1lido: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=fallo al analizar el documento en \"{0}\" +# {0} - exception message +parsing.ioException=fallo al analizar: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=Archivo WSDL no v\u00E1lido. Fallo al analizar el documento en \"{0}\". +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=Archivo WSDL no v\u00E1lido. Fallo al realizar el an\u00E1lisis: {0}. +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=Archivo WSDL no v\u00E1lido. Fallo al realizar el an\u00E1lisis: {0}. +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=Archivo WSDL no v\u00E1lido. Fallo al realizar el an\u00E1lisis: {0}. + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=Falta el atributo necesario \"{1}\" del elemento \"{0}\". +parsing.invalidTag=se esperaba el elemento \"{1}\", pero se ha encontrado \"{0}\" +# {4} - element name +parsing.invalidTagNS=WSDL no v\u00E1lido en {4}: se esperaba el elemento \"{2}\" (en el espacio de nombres \"{3}\"), pero se ha encontrado el elemento \"{0}\" (en el espacio de nombres \"{1}\") +parsing.nonWhitespaceTextFound=se ha encontrado un texto sin espacios en blanco inesperado: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=Se ha encontrado un no elemento inesperado. +# +entity.duplicate=entidad duplicada: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=Entidad \"{0}\" duplicada: \"{1}\". + +entity.notFoundByID=identificador de entidad no v\u00E1lido: \\"{0}\\" +entity.notFoundByQName={0} \\"{1}\\" no encontrado en el WSDL: {2} +entity.notFound.portType=se hace referencia a wsdl:portType \\"{0}\\" en wsdl:binding \\"{1}\\", pero no se ha encontrado en el WSDL +entity.notFound.binding=se hace referencia a wsdl:binding \\"{0}" en wsdl:port \\"{1}\\", pero no se ha encontrado en el WSDL + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=Falta el atributo necesario \"{0}\" del elemento \"{1}\". +validation.missingRequiredProperty=falta la propiedad necesaria \"{0}\" del elemento \"{1}\" +validation.missingRequiredSubEntity=falta la subentidad necesaria \"{0}\" del elemento \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=Elemento no v\u00E1lido: \"{0}\". +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=elemento no v\u00E1lido: \\"{1}\\", tiene un simpleType con nombre: \\"{0}\\" +validation.duplicatedElement=elemento duplicado: \"{0}\" +validation.duplicatePartName=WSDL no v\u00E1lido; no se permiten partes duplicadas en wsdl:message. \nwsdl:message {0} tiene un nombre de parte duplicado: \\"{1}\\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=Subelemento no v\u00E1lido \"{0}\" del elemento \"{1}\". +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=Atributo no v\u00E1lido \"{0}\" del elemento \"{1}\". +validation.invalidAttributeValue=valor no v\u00E1lido \"{1}\" para el atributo \"{0}\" +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=atributos exclusivos: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=el espacio de nombres de destino es incorrecto (se esperaba: {1}, pero se ha encontrado: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=error interno ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=nombre de operaci\u00F3n ambiguo: \\"{0}\\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="No se soporta el uso de la codificaci\u00F3n SOAP. \nEl elemento de extensi\u00F3n SOAP de la l\u00EDnea {0} en {1} tiene use=\\"encoded\\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=Ignorando acci\u00F3n vac\u00EDa en el elemento \"{0}\" {1} de la operaci\u00F3n \"{2}\". Se utilizar\u00E1 la acci\u00F3n por defecto. +# Not concatenated with any other string. +warning.inputOutputEmptyAction=Ignorando acci\u00F3n vac\u00EDa en el elemento {0} de la operaci\u00F3n \"{1}\". Se utilizar\u00E1 la acci\u00F3n por defecto. + +#wsi compliant WSDL warnings +warning.wsi.r2001=No es un WSDL compatible con WSI-BP (R2001, R2002). wsdl:import s\u00F3lo debe importar documentos WSDL. Est\u00E1 intentando importar: \\"{0}\\" +warning.wsi.r2002=No es un WSDL compatible con WSI-BP (R2002). wsdl:import no se debe utilizar para importar esquemas XML embebidos en el documento WSDL. Se esperaba el espacio de nombres de WSDL: {0}, pero se ha encontrado: {1} +warning.wsi.r2003=No es un WSDL compatible con WSI-BP (R2003). xsd:import s\u00F3lo se debe utilizar dentro de elementos xsd:schema. +warning.wsi.r2004=No es un WSDL compatible con WSI-BP (R2001, R2004). wsdl:import no debe importar definiciones de esquemas XML embebidas en l\u00EDnea en el documento WSDL. + +#Parser +Parsing.ParseFailed = \tFallo al analizar el WSDL. + +Parsing.NotAWSDL=Fallo al obtener componentes WSDL. Probablemente {0} no es un archivo WSDL v\u00E1lido. + +AbstractReferenceFinderImpl.UnableToParse = \tNo se ha podido analizar "{0}": {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \tNo es un archivo de enlace externo. El elemento ra\u00EDz deben ser enlaces ''{''http://java.sun.com/xml/ns/jaxws''}'', pero es ''{''{0}''}''{1}. + + +#Internalizer +Internalizer.TwoVersionAttributes = \tTanto jaxws:version como version existen +Internalizer.IncorrectVersion = \tEl atributo de la versi\u00F3n de JAX-WS debe ser "2.0" + +Internalizer.VersionNotPresent = \tEl atributo de la versi\u00F3n de JAX-WS debe existir + +internalizer.targetNotAnElement= \tEl nodo de destino no es un elemento +internalizer.targetNotFound= \tNo se ha encontrado ning\u00FAn destino para wsdlLocation: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" no forma parte de esta compilaci\u00F3n. \u00BFEs un error de "{1}"? + +internalizer.XPathEvaluationError = Error de XPath: {0} +internalizer.XPathEvaluatesToNoTarget = La evaluaci\u00F3n de XPath de "{0}" da lugar a un nodo de destino vac\u00EDo +internalizer.XPathEvaulatesToTooManyTargets = La evaluaci\u00F3n de XPath de "{0}" da lugar a demasiados nodos de destino ({1}) +internalizer.XPathEvaluatesToNonElement = La evaluaci\u00F3n de XPath de "{0}" debe dar lugar a un elemento. +invalid.customization.namespace=Ignorando la personalizaci\u00F3n: \"{0}\", porque no tiene ning\u00FAn espacio de nombres. Debe pertenecer al espacio de nombres de personalizaci\u00F3n. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="No es un documento WSDL: {0}, proporciona \"{1}\"; reintentando con MEX..." +invalid.wsdl=WSDL no v\u00E1lido {0}; se esperaba {1}, pero se ha encontrado {2} en (l\u00EDnea{3}) +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nreintentando con MEX... +file.not.found=No se puede acceder a {0} +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=No se ha encontrado wsdl:service en los WSDL(s) proporcionados: \n\n{0} Es necesario proporcionar al menos un WSDL con al menos una definici\u00F3n de servicio. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=l''espace de noms par d\u00E9faut doit \u00EAtre \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=seul l''un des attributs \"element\" ou \"type\" est autoris\u00E9 dans la partie \"{0}\" +# Not concatenated with any other string. +parsing.elementOrTypeRequired=avertissement : la partie {0} n''est pas prise en compte, l''attribut \"element\" ou \"type\" est requis dans la partie \"{0}\" +parsing.invalidElement=\u00E9l\u00E9ment non valide : \"{0}\" (dans l''espace de noms \"{1}\") +parsing.invalidAttributeValue=valeur \"{1}\" non valide pour l''attribut \"{0}\" +parsing.invalidExtensionElement=\u00E9l\u00E9ment d''extension non valide : \"{0}\" (dans l''espace de noms \"{1}\") +parsing.invalidWsdlElement=\u00E9l\u00E9ment WSDL non valide : \"{0}\" +parsing.requiredExtensibilityElement=\u00E9l\u00E9ment d''extensibilit\u00E9 \"{0}\" obligatoire inconnu (dans l''espace de noms \"{1}\") +parsing.tooManyElements=trop d''\u00E9l\u00E9ments \"{0}\" sous l''\u00E9l\u00E9ment \"{1}\" \"{2}\" +parsing.invalidOperationStyle=l''op\u00E9ration \"{0}\" a un style non valide +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=un seul \u00E9l\u00E9ment "types" autoris\u00E9 dans "{0}" +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=un seul \u00E9l\u00E9ment "documentation" autoris\u00E9 dans "{0}" +parsing.incorrectRootElement=\u00E9l\u00E9ment racine \"{2}\" attendu (dans l''espace de noms \"{3}\"), \u00E9l\u00E9ment \"{0}\" trouv\u00E9 (dans l''espace de noms \"{1}\") +parsing.unknownImportedDocumentType=le document import\u00E9 est de type inconnu : {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=pr\u00E9fixe d''espace de noms non d\u00E9clar\u00E9 : \"{0}\" +parsing.invalidURI=URI non valide : {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=\u00E9chec de l''analyse du document \u00E0 \"{0}\" +# {0} - exception message +parsing.ioException=\u00E9chec de l''analyse : {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=fichier WSDL non valide. Echec de l''analyse du document \u00E0 \"{0}\" +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=fichier WSDL non valide. Echec de l''analyse : {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=fichier WSDL non valide. Echec de l''analyse : {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=fichier WSDL non valide. Echec de l''analyse : {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=attribut \"{1}\" obligatoire de l''\u00E9l\u00E9ment \"{0}\" manquant +parsing.invalidTag=\u00E9l\u00E9ment \"{1}\" attendu, \"{0}\" trouv\u00E9 +# {4} - element name +parsing.invalidTagNS=WSDL non valide \u00E0 {4} : \u00E9l\u00E9ment \"{2}\" attendu (dans l''espace de noms \"{3}\"), \u00E9l\u00E9ment \"{0}\" trouv\u00E9 (dans l''espace de noms \"{1}\") +parsing.nonWhitespaceTextFound=texte non imprimable inattendu trouv\u00E9 : \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=non-\u00E9l\u00E9ment inattendu trouv\u00E9 +# +entity.duplicate=entit\u00E9 en double : \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=entit\u00E9 \"{0}\" en double : \"{1}\" + +entity.notFoundByID=ID d''entit\u00E9 non valide : \"{0}\" +entity.notFoundByQName={0} \"{1}\" introuvable dans le WSDL : {2} +entity.notFound.portType=wsdl:portType \"{0}\" r\u00E9f\u00E9renc\u00E9 par wsdl:binding \"{1}\", mais il est introuvable dans le WSDL +entity.notFound.binding=wsdl:binding \"{0}" r\u00E9f\u00E9renc\u00E9 par wsdl:port \"{1}\", mais il est introuvable dans le WSDL + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=attribut \"{0}\" obligatoire de l''\u00E9l\u00E9ment \"{1}\" manquant +validation.missingRequiredProperty=la propri\u00E9t\u00E9 obligatoire \"{0}\" de l''\u00E9l\u00E9ment \"{1}\" est absente +validation.missingRequiredSubEntity=la sous-entit\u00E9 obligatoire \"{0}\" de l''\u00E9l\u00E9ment \"{1}\" est absente +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=\u00E9l\u00E9ment non valide : \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=\u00E9l\u00E9ment \"{1}\" non valide, a nomm\u00E9 simpleType: \"{0}\" +validation.duplicatedElement=\u00E9l\u00E9ment \"{0}\" en double +validation.duplicatePartName=WSDL non valide, les parties en double dans l''\u00E9l\u00E9ment wsdl:message ne sont pas autoris\u00E9es. \nL''\u00E9l\u00E9ment wsdl:message {0} comporte un nom de partie en double : \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=le sous-\u00E9l\u00E9ment \"{0}\" de l''\u00E9l\u00E9ment \"{1}\" n''est pas valide +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=l''attribut \"{0}\" de l''\u00E9l\u00E9ment \"{1}\" n''est pas valide +validation.invalidAttributeValue=valeur \"{1}\" non valide pour l''attribut \"{0}\" +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=attributs exclusifs : \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=l''espace de noms cible est incorrect ({1} attendu, {0} trouv\u00E9) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=erreur interne ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=nom d''op\u00E9ration ambigu : \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="L''utilisation de l''encodage SOAP n''est pas prise en charge. \nL''\u00E9l\u00E9ment d''extension SOAP \u00E0 la ligne {0} dans {1} a use=\"encoded\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=non-prise en compte de l''action vide dans l''\u00E9l\u00E9ment \"{0}\" {1} de l''op\u00E9ration \"{2}\", utilisation de l''\u00E9l\u00E9ment par d\u00E9faut \u00E0 la place +# Not concatenated with any other string. +warning.inputOutputEmptyAction=non-prise en compte de l''action vide dans l''\u00E9l\u00E9ment {0} de l''op\u00E9ration \"{1}\", utilisation de l''\u00E9l\u00E9ment par d\u00E9faut \u00E0 la place + +#wsi compliant WSDL warnings +warning.wsi.r2001=N''est pas un WSDL conforme \u00E0 WSI-BP (R2001, R2002). wsdl:import doit importer uniquement des documents WSDL. Il tente d''importer \"{0}\" +warning.wsi.r2002=N''est pas un WSDL conforme \u00E0 WSI-BP (R2002). wsdl:import ne doit pas \u00EAtre utilis\u00E9 pour importer l''instance XML Schema imbriqu\u00E9e dans le document WSDL. Espace de noms WSDL {0} attendu, {1} trouv\u00E9 +warning.wsi.r2003=N'est pas un WSDL conforme \u00E0 WSI-BP (R2003). xsd:import doit \u00EAtre utilis\u00E9 uniquement dans les \u00E9l\u00E9ments xsd.schema. +warning.wsi.r2004=N'est pas un WSDL conforme \u00E0 WSI-BP (R2001, R2004). xsd:import ne doit pas importer les d\u00E9finitions XML Schema imbriqu\u00E9es incorpor\u00E9es dans le document WSDL. + +#Parser +Parsing.ParseFailed = \tEchec de l'analyse du WSDL. + +Parsing.NotAWSDL=Echec d''obtention des composants WSDL, {0} n''est probablement pas un fichier WSDL valide. + +AbstractReferenceFinderImpl.UnableToParse = \tImpossible d''analyser "{0}" : {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \tn''est pas un fichier de binding externe. L''\u00E9l\u00E9ment racine doit correspondre aux bindings ''{''http://java.sun.com/xml/ns/jaxws''}'', mais il s''agit de ''{''{0}''}''{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tjaxws:version et version sont tous deux pr\u00E9sents +Internalizer.IncorrectVersion = \tL'attribut de version JAXWS doit \u00EAtre "2.0" + +Internalizer.VersionNotPresent = \tL'attribut de version JAXWS doit \u00EAtre pr\u00E9sent + +internalizer.targetNotAnElement= \tLe noeud cible n'est pas un \u00E9l\u00E9ment +internalizer.targetNotFound= \tCible introuvable pour wsdlLocation : {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" ne fait pas partie de cette compilation. S''agit-il d''une erreur pour "{1}" ? + +internalizer.XPathEvaluationError = Erreur XPath : {0} +internalizer.XPathEvaluatesToNoTarget = L''\u00E9valuation XPath de "{0}" g\u00E9n\u00E8re un noeud cible vide +internalizer.XPathEvaulatesToTooManyTargets = L''\u00E9valuation XPath de "{0}" g\u00E9n\u00E8re un trop grand nombre de noeuds cible ({1}) +internalizer.XPathEvaluatesToNonElement = L''\u00E9valuation XPath de "{0}" doit g\u00E9n\u00E9rer un \u00E9l\u00E9ment. +invalid.customization.namespace=Non-prise en compte de la personnalisation \"{0}\", car elle ne contient aucun espace de noms. Elle doit appartenir \u00E0 l''espace de noms de personnalisation. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="N''est pas un document WSDL : {0}, il g\u00E9n\u00E8re \"{1}\", nouvelle tentative avec MEX..." +invalid.wsdl=WSDL {0} non valide, {1} attendu, {2} trouv\u00E9 dans (ligne {3}) +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nnouvelle tentative avec MEX... +file.not.found={0} est inaccessible +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=wsdl:service introuvable dans les WSDL fournis : \n\n{0} Au moins un WSDL avec au moins une d\u00E9finition de service doit \u00EAtre fourni. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=lo spazio di nomi predefinito deve essere \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=nella parte \"{0}\" \u00E8 consentito solo un attributo \"element\" o \"type\" +# Not concatenated with any other string. +parsing.elementOrTypeRequired=avvertenza: la parte {0} viene ignorata. Nella parte \"{0}\" \u00E8 richiesto l''attributo \"element\" o \"type\" +parsing.invalidElement=elemento: \"{0}\" non valido (nello spazio di nomi \"{1}\") +parsing.invalidAttributeValue=valore \"{1}\" non valido per l''attributo \"{0}\" +parsing.invalidExtensionElement=elemento extension: \"{0}\" non valido (nello spazio di nomi \"{1}\") +parsing.invalidWsdlElement=elemento WSDL: \''{0}\'' non valido +parsing.requiredExtensibilityElement=elemento di estensione richiesto \"{0}\" sconosciuto (nello spazio di nomi \"{1}\") +parsing.tooManyElements=troppi elementi \"{0}\" nell''elemento \"{1}\" \"{2}\" +parsing.invalidOperationStyle=l''operazione \"{0}\" ha uno stile non valido +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=\u00E8 consentito solo un elemento "types" in "{0}" +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=\u00E8 consentito solo un elemento "documentation" in "{0}" +parsing.incorrectRootElement=previsto elemento radice \"{2}\" (nello spazio di nomi \"{3}\"), trovato elemento \"{0}\" (nello spazio di nomi \"{1}\") +parsing.unknownImportedDocumentType=il documento importato \u00E8 di tipo sconosciuto: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=prefisso di spazio di nomi non dichiarato: \"{0}\" +parsing.invalidURI=URI non valido: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=analisi del documento in \"{0}\" non riuscita +# {0} - exception message +parsing.ioException=analisi non riuscita: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=file WSDL non valido. Analisi del documento in \"{0}\" non riuscita +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=file WSDL non valido. Analisi non riuscita: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=file WSDL non valido. Analisi non riuscita: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=file WSDL non valido. Analisi non riuscita: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=attributo obbligatorio \"{1}\" dell''elemento \"{0}\" mancante +parsing.invalidTag=elemento previsto \"{1}\", trovato \"{0}\" +# {4} - element name +parsing.invalidTagNS=WSDL non valido in {4}: previsto elemento \"{2}\" (nello spazio di nomi \"{3}\"), trovato elemento \"{0}\" (nello spazio di nomi \"{1}\") +parsing.nonWhitespaceTextFound=trovato del testo senza spazi imprevisto: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=trovato non elemento imprevisto +# +entity.duplicate=entit\u00E0 duplicata: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=entit\u00E0 \"{0}\" duplicata: \"{1}\" + +entity.notFoundByID=ID entit\u00E0: \''{0}\'' non valido +entity.notFoundByQName={0} \"{1}\" non trovata in WSDL: {2} +entity.notFound.portType=a wsdl:portType \"{0}\" viene fatto riferimento da wsdl:binding \"{1}\" ma non \u00E8 presente in wsdl +entity.notFound.binding=a wsdl:binding \"{0}\" viene fatto riferimento da wsdl:port \"{1}\" ma non \u00E8 presente in wsdl + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=attributo obbligatorio \"{0}\" dell''elemento \"{1}\" mancante +validation.missingRequiredProperty=propriet\u00E0 obbligatoria \"{0}\" dell''elemento \"{1}\" mancante +validation.missingRequiredSubEntity=entit\u00E0 secondaria obbligatoria \"{0}\" dell''elemento \"{1}\" mancante +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=elemento: \''{0}\'' non valido +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=elemento: \"{1}\" non valido, ha un simpleType denominato: \"{0}\" +validation.duplicatedElement=elemento duplicato: \''{0}\'' +validation.duplicatePartName=WSDL non valido. Le parti duplicate in wsdl:message non sono consentite. \nwsdl:message {0} ha un nome parte duplicato: \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=elemento secondario \"{0}\" non valido dell''elemento \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=attributo \"{0}\" non valido dell''elemento \"{1}\" +validation.invalidAttributeValue=valore \"{1}\" non valido per l''attributo \"{0}\" +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=attributi esclusivi: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=lo spazio di nomi di destinazione \u00E8 errato (previsto: {1}, trovato: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=errore interno (''{0}'') +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=nome dell''operazione ambiguo: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="Uso della codifica SOAP non supportato. \nL''elemento SOAP extension sulla riga {0} in {1} ha use=\"encoded\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=l''azione vuota nell''elemento {1} \"{0}\" dell''operazione \"{2}\" verr\u00E0 ignorata. Viene usato invece il valore predefinito. +# Not concatenated with any other string. +warning.inputOutputEmptyAction=l''azione vuota nell''elemento {0} dell''operazione \"{1}\" verr\u00E0 ignorata. Viene usato invece il valore predefinito. + +#wsi compliant WSDL warnings +warning.wsi.r2001=WSDL non conforme a WSI-BP (R2001, R2002). wsdl:import deve importare solo documenti WSDL. Sta tentando di importare: \"{0}\" +warning.wsi.r2002=WSDL non conforme a WSI-BP (R2002). wsdl:import non deve essere usato per importare lo schema XML incorporato nel documento WSDL. Spazio di nomi WSDL previsto: {0}, trovato: {1} +warning.wsi.r2003=WSDL non conforme a WSI-BP (R2003). wsdl:import deve essere usato solo all'interno di elementi xsd:schema. +warning.wsi.r2004=WSDL non conforme a WSI-BP (R2001, R2004). wsdl:import non deve importare le definizioni di schema XML incorporate in linea nel documento WSDL. + +#Parser +Parsing.ParseFailed = \tAnalisi di WSDL non riuscita. + +Parsing.NotAWSDL=Recupero dei componenti WSDL non riuscito. \u00C8 possibile che {0} non sia un file WSDL valido. + +AbstractReferenceFinderImpl.UnableToParse = \tImpossibile analizzare "{0}" : {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \tnon \u00E8 un file di associazione esterno. L''elemento radice deve essere ''{''http://java.sun.com/xml/ns/jaxws''}''bindings ma \u00E8 ''{''{0}''}''{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tSono presenti jaxws:version e version +Internalizer.IncorrectVersion = \tL'attributo JAXWS version deve essere "2.0" + +Internalizer.VersionNotPresent = \tL'attributo JAXWS version deve essere presente + +internalizer.targetNotAnElement= \tIl nodo di destinazione non \u00E8 un elemento +internalizer.targetNotFound= \tNessuna destinazione trovata per wsdlLocation: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" non fa parte di questa compilazione. Si tratta di un errore per "{1}"? + +internalizer.XPathEvaluationError = Errore XPath: {0} +internalizer.XPathEvaluatesToNoTarget = La valutazione XPath di "{0}" restituisce un nodo di destinazione vuoto +internalizer.XPathEvaulatesToTooManyTargets = La valutazione XPath di "{0}" restituisce troppi ({1}) nodi di destinazione +internalizer.XPathEvaluatesToNonElement = La valutazione XPath di "{0}" deve restituire un elemento. +invalid.customization.namespace=La personalizzazione: \"{0}\" verr\u00E0 ignorata poich\u00E9 non ha uno spazio di nomi. Deve appartenere allo spazio di nomi della personalizzazione. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="Non \u00E8 un documento WSDL: {0}. Restituisce \"{1}\". Nuovo tentativo con MEX in corso..." +invalid.wsdl=WSDL non valido {0}: previsto {1}, trovato {2} in (riga {3}) +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nnuovo tentativo con MEX in corso... +file.not.found={0} non raggiungibile +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=Impossibile trovare wsdl:service nei WSDL forniti: \n\n{0} \u00C8 necessario fornire almeno un WSDL con almeno una definizione di servizio. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306F\"{0}\"\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=\u30D1\u30FC\u30C8\"{0}\"\u3067\u306F\u3001\"element\"\u307E\u305F\u306F\"type\"\u5C5E\u6027\u306E\u3044\u305A\u308C\u304B1\u3064\u306E\u307F\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u3059 +# Not concatenated with any other string. +parsing.elementOrTypeRequired=\u8B66\u544A: \u30D1\u30FC\u30C8{0}\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30D1\u30FC\u30C8\"{0}\"\u3067\u306F\u3001\"element\"\u307E\u305F\u306F\"type\"\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059 +parsing.invalidElement=\u7121\u52B9\u306A\u8981\u7D20: \"{0}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{1}\"\u5185) +parsing.invalidAttributeValue=\u5C5E\u6027\"{0}\"\u306E\u5024\"{1}\"\u306F\u7121\u52B9\u3067\u3059 +parsing.invalidExtensionElement=\u7121\u52B9\u306A\u62E1\u5F35\u8981\u7D20: \"{0}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{1}\"\u5185) +parsing.invalidWsdlElement=\u7121\u52B9\u306AWSDL\u8981\u7D20: \"{0}\" +parsing.requiredExtensibilityElement=\u5FC5\u9808\u306E\u62E1\u5F35\u6027\u8981\u7D20\"{0}\"\u304C\u4E0D\u660E\u3067\u3059(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{1}\"\u5185) +parsing.tooManyElements=\"{1}\"\u8981\u7D20\"{2}\"\u306E\u4E0B\u306E\"{0}\"\u8981\u7D20\u304C\u591A\u3059\u304E\u307E\u3059 +parsing.invalidOperationStyle=\u64CD\u4F5C\"{0}\"\u306E\u30B9\u30BF\u30A4\u30EB\u304C\u7121\u52B9\u3067\u3059 +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed="{0}"\u3067\u8A31\u53EF\u3055\u308C\u3066\u3044\u308B"types"\u8981\u7D20\u306F1\u3064\u306E\u307F\u3067\u3059 +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed="{0}"\u3067\u8A31\u53EF\u3055\u308C\u3066\u3044\u308B"documentation"\u8981\u7D20\u306F1\u3064\u306E\u307F\u3067\u3059 +parsing.incorrectRootElement=\u30EB\u30FC\u30C8\u8981\u7D20\"{2}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{3}\"\u5185)\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u8981\u7D20\"{0}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{1}\"\u5185)\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +parsing.unknownImportedDocumentType=\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30BF\u30A4\u30D7\u304C\u4E0D\u660E\u3067\u3059: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=\u5BA3\u8A00\u3055\u308C\u3066\u3044\u306A\u3044\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u63A5\u982D\u8F9E: \"{0}\" +parsing.invalidURI=\u7121\u52B9\u306AURI: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=\"{0}\"\u3067\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F +# {0} - exception message +parsing.ioException=\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=\u7121\u52B9\u306AWSDL\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\"{0}\"\u3067\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=\u7121\u52B9\u306AWSDL\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=\u7121\u52B9\u306AWSDL\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=\u7121\u52B9\u306AWSDL\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=\u8981\u7D20\"{0}\"\u306E\u5FC5\u9808\u5C5E\u6027\"{1}\"\u304C\u3042\u308A\u307E\u305B\u3093 +parsing.invalidTag=\u8981\u7D20\"{1}\"\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001\"{0}\"\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +# {4} - element name +parsing.invalidTagNS={4}\u306EWSDL\u304C\u7121\u52B9\u3067\u3059: \u8981\u7D20\"{2}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{3}\"\u5185)\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u8981\u7D20\"{0}\"(\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\"{1}\"\u5185)\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +parsing.nonWhitespaceTextFound=\u4E88\u671F\u3057\u306A\u3044\u7A7A\u767D\u4EE5\u5916\u306E\u30C6\u30AD\u30B9\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=\u4E88\u671F\u3057\u306A\u3044\u975E\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +# +entity.duplicate=\u91CD\u8907\u3057\u305F\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=\u91CD\u8907\u3057\u305F\"{0}\"\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3: \"{1}\" + +entity.notFoundByID=\u7121\u52B9\u306A\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3ID: \"{0}\" +entity.notFoundByQName={0} \"{1}\"\u304CWSDL\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {2} +entity.notFound.portType=wsdl:portType \"{0}\"\u306Fwsdl:binding \"{1}\"\u3067\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001WSDL\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +entity.notFound.binding=wsdl:binding \"{0}"\u306Fwsdl:port \"{1}\"\u3067\u53C2\u7167\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001WSDL\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093 + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=\u8981\u7D20\"{1}\"\u306E\u5FC5\u9808\u5C5E\u6027\"{0}\"\u304C\u3042\u308A\u307E\u305B\u3093 +validation.missingRequiredProperty=\u8981\u7D20\"{1}\"\u306E\u5FC5\u9808\u30D7\u30ED\u30D1\u30C6\u30A3\"{0}\"\u304C\u3042\u308A\u307E\u305B\u3093 +validation.missingRequiredSubEntity=\u8981\u7D20\"{1}\"\u306E\u5FC5\u9808\u30B5\u30D6\u30A8\u30F3\u30C8\u30EA\"{0}\"\u304C\u3042\u308A\u307E\u305B\u3093 +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=\u7121\u52B9\u306A\u8981\u7D20: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=\u8981\u7D20: \"{1}\"\u304C\u7121\u52B9\u3067\u3059\u3002\u540D\u524D\u4ED8\u304DsimpleType: \"{0}\"\u304C\u542B\u307E\u308C\u307E\u3059 +validation.duplicatedElement=\u91CD\u8907\u3057\u305F\u8981\u7D20: \"{0}\" +validation.duplicatePartName=\u7121\u52B9\u306AWSDL\u3067\u3042\u308A\u3001wsdl:message\u306E\u91CD\u8907\u3057\u305F\u30D1\u30FC\u30C8\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093\u3002\nwsdl:message {0}\u306B\u306F\u91CD\u8907\u3057\u305F\u30D1\u30FC\u30C8\u540D: \"{1}\"\u304C\u3042\u308A\u307E\u3059 +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=\u8981\u7D20\"{1}\"\u306E\u30B5\u30D6\u8981\u7D20\"{0}\"\u306F\u7121\u52B9\u3067\u3059 +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=\u8981\u7D20\"{1}\"\u306E\u5C5E\u6027\"{0}\"\u306F\u7121\u52B9\u3067\u3059 +validation.invalidAttributeValue=\u5C5E\u6027\"{0}\"\u306E\u5024\"{1}\"\u306F\u7121\u52B9\u3067\u3059 +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=\u6392\u4ED6\u5C5E\u6027: \"{0}\"\u3001\"{1}\" +validation.incorrectTargetNamespace=\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093({1}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C{0}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=\u5185\u90E8\u30A8\u30E9\u30FC("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=\u3042\u3044\u307E\u3044\u306A\u64CD\u4F5C\u540D: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="SOAP\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u306E\u4F7F\u7528\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\n{1}\u306E\u884C{0}\u306ESOAP\u62E1\u5F35\u8981\u7D20\u306B\u306Fuse=\"encoded\"\u304C\u542B\u307E\u308C\u307E\u3059" +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=\"{2}\"\u64CD\u4F5C\u306E\"{0}\" {1}\u8981\u7D20\u306E\u7A7A\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u304B\u308F\u308A\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059 +# Not concatenated with any other string. +warning.inputOutputEmptyAction=\"{1}\"\u64CD\u4F5C\u306E{0}\u8981\u7D20\u306E\u7A7A\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u304B\u308F\u308A\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059 + +#wsi compliant WSDL warnings +warning.wsi.r2001=WSI-BP\u6E96\u62E0WSDL (R2001\u3001R2002)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002wsdl:import\u3067\u306FWSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u307F\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\"{0}\"\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u3092\u8A66\u884C\u3057\u3066\u3044\u307E\u3059 +warning.wsi.r2002=WSI-BP\u6E96\u62E0WSDL (R2002)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002wsdl:import\u306F\u3001WSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u57CB\u3081\u8FBC\u307E\u308C\u305FXML\u30B9\u30AD\u30FC\u30DE\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002WSDL\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9: {0}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{1}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +warning.wsi.r2003=WSI-BP\u6E96\u62E0WSDL (R2003)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002xsd:import\u306F\u3001xsd:schema\u8981\u7D20\u5185\u3067\u306E\u307F\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +warning.wsi.r2004=WSI-BP\u6E96\u62E0WSDL (R2001\u3001R2004)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002xsd:import\u3067\u306F\u3001WSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u306B\u30A4\u30F3\u30E9\u30A4\u30F3\u306B\u57CB\u3081\u8FBC\u307E\u308C\u305FXML\u30B9\u30AD\u30FC\u30DE\u5B9A\u7FA9\u306F\u30A4\u30F3\u30DD\u30FC\u30C8\u3067\u304D\u307E\u305B\u3093\u3002 + +#Parser +Parsing.ParseFailed = \tWSDL\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 + +Parsing.NotAWSDL=WSDL\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002{0}\u304C\u6709\u52B9\u306AWSDL\u30D5\u30A1\u30A4\u30EB\u3067\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002 + +AbstractReferenceFinderImpl.UnableToParse = \t"{0}"\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093: {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \t\u5916\u90E8\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30EB\u30FC\u30C8\u8981\u7D20\u306F''{''http://java.sun.com/xml/ns/jaxws''}''bindings\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u304C\u3001''{''{0}''}''{1}\u3067\u3059 + + +#Internalizer +Internalizer.TwoVersionAttributes = \tjaxws:version\u304A\u3088\u3073\u30D0\u30FC\u30B8\u30E7\u30F3\u306E\u4E21\u65B9\u304C\u5B58\u5728\u3057\u307E\u3059 +Internalizer.IncorrectVersion = \tJAXWS\u306Eversion\u5C5E\u6027\u306F"2.0"\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + +Internalizer.VersionNotPresent = \tJAXWS\u306Eversion\u5C5E\u6027\u304C\u5B58\u5728\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + +internalizer.targetNotAnElement= \t\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30CE\u30FC\u30C9\u306F\u8981\u7D20\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +internalizer.targetNotFound= \twsdlLocation: {0}\u306E\u30BF\u30FC\u30B2\u30C3\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 + +Internalizer.IncorrectSchemaReference= \t"{0}"\u306F\u3053\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u306E\u4E00\u90E8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"{1}"\u306E\u8AA4\u308A\u3067\u3042\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002 + +internalizer.XPathEvaluationError = XPath\u30A8\u30E9\u30FC: {0} +internalizer.XPathEvaluatesToNoTarget = "{0}"\u306EXPath\u8A55\u4FA1\u3067\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30CE\u30FC\u30C9\u304C\u7A7A\u3068\u306A\u308A\u307E\u3057\u305F +internalizer.XPathEvaulatesToTooManyTargets = "{0}"\u306EXPath\u8A55\u4FA1\u3067\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30CE\u30FC\u30C9\u304C\u591A\u304F\u306A\u308A\u3059\u304E\u307E\u3057\u305F({1}) +internalizer.XPathEvaluatesToNonElement = "{0}"\u306EXPath\u8A55\u4FA1\u3067\u306F\u8981\u7D20\u3068\u306A\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +invalid.customization.namespace=\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u306A\u3044\u305F\u3081\u3001\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA: \"{0}\"\u3092\u7121\u8996\u3057\u307E\u3059\u3002\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u30FB\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306B\u5C5E\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="WSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093: {0}\u3002\"{1}\"\u3092\u6307\u5B9A\u3057\u3001MEX\u3067\u518D\u8A66\u884C\u3057\u3066\u3044\u307E\u3059..." +invalid.wsdl=WSDL {0}\u304C\u7121\u52B9\u3067\u3059\u3002\u6B21\u306E\u5834\u6240\u3067{1}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{2}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F(\u884C{3}) +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nMEX\u3067\u518D\u8A66\u884C\u3057\u3066\u3044\u307E\u3059... +file.not.found={0}\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093 +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=\u6307\u5B9A\u3055\u308C\u305FWSDL\u3067wsdl:service\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F: \n\n{0} \u5C11\u306A\u304F\u3068\u30821\u3064\u306EWSDL\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30B5\u30FC\u30D3\u30B9\u5B9A\u7FA9\u3068\u3068\u3082\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=\uAE30\uBCF8 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uB294 \"{0}\"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=\"element\" \uB610\uB294 \"type\" \uC18D\uC131 \uC911 \uD558\uB098\uB9CC \"{0}\" \uBD80\uBD84\uC5D0\uC11C \uD5C8\uC6A9\uB429\uB2C8\uB2E4. +# Not concatenated with any other string. +parsing.elementOrTypeRequired=\uACBD\uACE0: {0} \uBD80\uBD84\uC774 \uBB34\uC2DC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \"{0}\" \uBD80\uBD84\uC5D0\uB294 \"element\" \uB610\uB294 \"type\" \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +parsing.invalidElement=\uBD80\uC801\uD569\uD55C \uC694\uC18C: \"{1}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC758 \"{0}\" +parsing.invalidAttributeValue=\"{0}\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12 \"{1}\"\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +parsing.invalidExtensionElement=\uBD80\uC801\uD569\uD55C \uD655\uC7A5 \uC694\uC18C: \"{1}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC758 \"{0}\" +parsing.invalidWsdlElement=\uBD80\uC801\uD569\uD55C WSDL \uC694\uC18C: \"{0}\" +parsing.requiredExtensibilityElement=\"{1}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC758 \"{0}\"\uC740(\uB294) \uC54C \uC218 \uC5C6\uB294 \uD544\uC218 \uD655\uC7A5\uC131 \uC694\uC18C\uC785\uB2C8\uB2E4. +parsing.tooManyElements=\"{1}\" \uC694\uC18C\uC5D0 \"{0}\" \uC694\uC18C\uAC00 \uB108\uBB34 \uB9CE\uC2B5\uB2C8\uB2E4. \"{2}\" +parsing.invalidOperationStyle=\"{0}\" \uC791\uC5C5\uC5D0 \uBD80\uC801\uD569\uD55C \uC2A4\uD0C0\uC77C\uC774 \uC788\uC2B5\uB2C8\uB2E4. +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=\uD558\uB098\uC758 "types" \uC694\uC18C\uB9CC "{0}"\uC5D0\uC11C \uD5C8\uC6A9\uB429\uB2C8\uB2E4. +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=\uD558\uB098\uC758 "documentation" \uC694\uC18C\uB9CC "{0}"\uC5D0\uC11C \uD5C8\uC6A9\uB429\uB2C8\uB2E4. +parsing.incorrectRootElement=\"{3}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uB8E8\uD2B8 \uC694\uC18C \"{2}\"\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC \"{1}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0\uC11C \"{0}\" \uC694\uC18C\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +parsing.unknownImportedDocumentType=\uC784\uD3EC\uD2B8\uB41C \uBB38\uC11C\uC758 \uC720\uD615\uC744 \uC54C \uC218 \uC5C6\uC74C: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=\uC120\uC5B8\uB418\uC9C0 \uC54A\uC740 \uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC811\uB450\uC5B4: \"{0}\" +parsing.invalidURI=\uBD80\uC801\uD569\uD55C URI: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=\"{0}\"\uC5D0 \uC788\uB294 \uBB38\uC11C\uC758 \uAD6C\uBB38 \uBD84\uC11D\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +# {0} - exception message +parsing.ioException=\uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=WSDL \uD30C\uC77C\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4! \"{0}\"\uC5D0 \uC788\uB294 \uBB38\uC11C\uC758 \uAD6C\uBB38 \uBD84\uC11D\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=WSDL \uD30C\uC77C\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4! \uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=WSDL \uD30C\uC77C\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4! \uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=WSDL \uD30C\uC77C\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4! \uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=\"{0}\" \uC694\uC18C\uC758 \uD544\uC218 \uC18D\uC131 \"{1}\"\uC774(\uAC00) \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +parsing.invalidTag=\"{1}\" \uC694\uC18C\uAC00 \uD544\uC694\uD558\uC9C0\uB9CC \"{0}\"\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# {4} - element name +parsing.invalidTagNS={4}\uC5D0 \uBD80\uC801\uD569\uD55C WSDL\uC774 \uC788\uC74C: \"{3}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \"{2}\" \uC694\uC18C\uAC00 \uD544\uC694\uD558\uC9C0\uB9CC \"{1}\" \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0\uC11C \"{0}\" \uC694\uC18C\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +parsing.nonWhitespaceTextFound=\uC608\uC0C1\uCE58 \uC54A\uC740 \uBE44\uACF5\uBC31 \uD14D\uC2A4\uD2B8\uB97C \uCC3E\uC74C: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=\uC608\uC0C1\uCE58 \uC54A\uC740 \uBE44\uC694\uC18C\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# +entity.duplicate=\uC911\uBCF5 \uC5D4\uD2F0\uD2F0: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=\uC911\uBCF5 \"{0}\" \uC5D4\uD2F0\uD2F0: \"{1}\" + +entity.notFoundByID=\uBD80\uC801\uD569\uD55C \uC5D4\uD2F0\uD2F0 ID: \"{0}\" +entity.notFoundByQName={0} \"{1}\"\uC744(\uB97C) WSDL\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {2} +entity.notFound.portType=wsdl:portType \"{0}\"\uC774(\uAC00) wsdl:binding \"{1}\"\uC5D0\uC11C \uCC38\uC870\uB418\uC9C0\uB9CC WSDL\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +entity.notFound.binding=wsdl:binding \"{0}"\uC774(\uAC00) wsdl:port \"{1}\"\uC5D0\uC11C \uCC38\uC870\uB418\uC9C0\uB9CC WSDL\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=\"{1}\" \uC694\uC18C\uC758 \uD544\uC218 \uC18D\uC131 \"{0}\"\uC774(\uAC00) \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +validation.missingRequiredProperty=\"{1}\" \uC694\uC18C\uC758 \uD544\uC218 \uC18D\uC131 \"{0}\"\uC774(\uAC00) \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +validation.missingRequiredSubEntity=\"{1}\" \uC694\uC18C\uC758 \uD544\uC218 \uD558\uC704 \uC5D4\uD2F0\uD2F0 \"{0}\"\uC774(\uAC00) \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=\uBD80\uC801\uD569\uD55C \uC694\uC18C: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=\uBD80\uC801\uD569\uD55C \uC694\uC18C \"{1}\"\uC5D0 simpleType \"{0}\"\uC774(\uAC00) \uBA85\uBA85\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +validation.duplicatedElement=\uC911\uBCF5 \uC694\uC18C: \"{0}\" +validation.duplicatePartName=WSDL\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. wsdl:message\uC5D0\uB294 \uC911\uBCF5 \uBD80\uBD84\uC774 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \nwsdl:message {0}\uC5D0 \uC911\uBCF5 \uBD80\uBD84 \uC774\uB984\uC774 \uC788\uC74C: \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=\"{1}\" \uC694\uC18C\uC758 \uD558\uC704 \uC694\uC18C \"{0}\"\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=\"{1}\" \uC694\uC18C\uC758 \"{0}\" \uC18D\uC131\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +validation.invalidAttributeValue=\"{0}\" \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12 \"{1}\"\uC774(\uAC00) \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=\uBC30\uD0C0\uC801 \uC18D\uC131: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=\uB300\uC0C1 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. {1}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {0}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=\uB0B4\uBD80 \uC624\uB958("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=\uBAA8\uD638\uD55C \uC791\uC5C5 \uC774\uB984: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="SOAP \uC778\uCF54\uB529 \uC0AC\uC6A9\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \n{1}\uC5D0\uC11C {0}\uD589\uC758 SOAP \uD655\uC7A5 \uC694\uC18C\uC5D0 use=\"encoded\"\uAC00 \uC788\uC2B5\uB2C8\uB2E4." +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=\"{2}\" \uC791\uC5C5\uC758 \"{0}\" {1} \uC694\uC18C\uC5D0\uC11C \uBE48 \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uB300\uC2E0 \uAE30\uBCF8\uAC12\uC744 \uC0AC\uC6A9\uD558\uB294 \uC911 +# Not concatenated with any other string. +warning.inputOutputEmptyAction=\"{1}\" \uC791\uC5C5\uC758 {0} \uC694\uC18C\uC5D0\uC11C \uBE48 \uC791\uC5C5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uB300\uC2E0 \uAE30\uBCF8\uAC12\uC744 \uC0AC\uC6A9\uD558\uB294 \uC911 + +#wsi compliant WSDL warnings +warning.wsi.r2001=WSI-BP \uD638\uD658 WSDL(R2001, R2002)\uC774 \uC544\uB2D9\uB2C8\uB2E4. wsdl:import\uB294 WSDL \uBB38\uC11C\uB9CC \uC784\uD3EC\uD2B8\uD574\uC57C \uD569\uB2C8\uB2E4. \"{0}\"\uC744(\uB97C) \uC784\uD3EC\uD2B8\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 +warning.wsi.r2002=WSI-BP \uD638\uD658 WSDL(R2002)\uC774 \uC544\uB2D9\uB2C8\uB2E4. WSDL \uBB38\uC11C\uC5D0 \uD3EC\uD568\uB41C XML \uC2A4\uD0A4\uB9C8\uB97C \uC784\uD3EC\uD2B8\uD558\uB294 \uB370\uB294 wsdl:import\uB97C \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. WSDL \uB124\uC784\uC2A4\uD398\uC774\uC2A4 {0}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +warning.wsi.r2003=WSI-BP \uD638\uD658 WSDL(R2003)\uC774 \uC544\uB2D9\uB2C8\uB2E4. xsd:import\uB294 xsd:schema \uC694\uC18C\uC5D0\uC11C\uB9CC \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. +warning.wsi.r2004=WSI-BP \uD638\uD658 WSDL(R2001, R2004)\uC774 \uC544\uB2D9\uB2C8\uB2E4. xsd:import\uB294 WSDL \uBB38\uC11C \uB0B4 \uC778\uB77C\uC778\uC73C\uB85C \uD3EC\uD568\uB41C XML \uC2A4\uD0A4\uB9C8 \uC815\uC758\uB97C \uC784\uD3EC\uD2B8\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. + +#Parser +Parsing.ParseFailed = \tWSDL\uC758 \uAD6C\uBB38 \uBD84\uC11D\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. + +Parsing.NotAWSDL=WSDL \uAD6C\uC131 \uC694\uC18C \uAC00\uC838\uC624\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. {0}\uC774(\uAC00) \uC801\uD569\uD55C WSDL \uD30C\uC77C\uC774 \uC544\uB2CC \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. + +AbstractReferenceFinderImpl.UnableToParse = \t"{0}"\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC74C: {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \t\uC678\uBD80 \uBC14\uC778\uB529 \uD30C\uC77C\uC774 \uC544\uB2D9\uB2C8\uB2E4. \uB8E8\uD2B8 \uC694\uC18C\uB294 ''{''http://java.sun.com/xml/ns/jaxws''}''bindings\uC5EC\uC57C \uD558\uC9C0\uB9CC ''{''{0}''}''{1}\uC785\uB2C8\uB2E4. + + +#Internalizer +Internalizer.TwoVersionAttributes = \tjaxb:version\uACFC version\uC774 \uC788\uC2B5\uB2C8\uB2E4. +Internalizer.IncorrectVersion = \tJAXWS \uBC84\uC804 \uC18D\uC131\uC740 "2.0"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +Internalizer.VersionNotPresent = \tJAXWS \uBC84\uC804 \uC18D\uC131\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +internalizer.targetNotAnElement= \t\uB300\uC0C1 \uB178\uB4DC\uAC00 \uC694\uC18C\uAC00 \uC544\uB2D9\uB2C8\uB2E4. +internalizer.targetNotFound= \tWSDL \uC704\uCE58\uC5D0 \uB300\uD55C \uB300\uC0C1\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}"\uC740(\uB294) \uC774 \uCEF4\uD30C\uC77C\uC5D0 \uC18D\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. "{1}"\uC744(\uB97C) \uC0AC\uC6A9\uD558\uB824\uACE0 \uD55C \uAC83\uC785\uB2C8\uAE4C? + +internalizer.XPathEvaluationError = XPath \uC624\uB958: {0} +internalizer.XPathEvaluatesToNoTarget = "{0}"\uC758 XPath \uD3C9\uAC00\uB85C \uBE48 \uB300\uC0C1 \uB178\uB4DC\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +internalizer.XPathEvaulatesToTooManyTargets = "{0}"\uC758 XPath \uD3C9\uAC00\uB85C \uB108\uBB34 \uB9CE\uC740 ({1}) \uB300\uC0C1 \uB178\uB4DC\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +internalizer.XPathEvaluatesToNonElement = "{0}"\uC758 XPath \uD3C9\uAC00\uB85C \uC694\uC18C\uAC00 \uC0DD\uC131\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +invalid.customization.namespace=\uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544 \"{0}\" \uC0AC\uC6A9\uC790 \uC815\uC758\uB97C \uBB34\uC2DC\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uC0AC\uC6A9\uC790 \uC815\uC758 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uC18D\uD574\uC57C \uD569\uB2C8\uB2E4. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="WSDL \uBB38\uC11C\uAC00 \uC544\uB2D8: {0}. \"{1}\"\uC744(\uB97C) \uC81C\uACF5\uD569\uB2C8\uB2E4. MEX\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC7AC\uC2DC\uB3C4\uD558\uB294 \uC911..." +invalid.wsdl={0}\uC740(\uB294) \uBD80\uC801\uD569\uD55C WSDL\uC785\uB2C8\uB2E4. {1}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {3}\uD589\uC5D0\uC11C {2}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nMEX\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC7AC\uC2DC\uB3C4\uD558\uB294 \uC911... +file.not.found={0}\uC5D0 \uC5F0\uACB0\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=wsdl:service\uB97C \uC81C\uACF5\uB41C WSDL\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \n\n{0} \uC11C\uBE44\uC2A4 \uC815\uC758\uAC00 \uD558\uB098 \uC774\uC0C1\uC778 WSDL\uC744 \uD558\uB098 \uC774\uC0C1 \uC81C\uACF5\uD574\uC57C \uD569\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=namespace default deve ser \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=somente um dos atributos \"element\" ou \"type\" \u00E9 permitido na parte \"{0}\" +# Not concatenated with any other string. +parsing.elementOrTypeRequired=advert\u00EAncia: a parte {0} \u00E9 ignorada, ou o \"element\" ou o atributo \"type\" \u00E9 obrigat\u00F3rio na parte \"{0}\" +parsing.invalidElement=elemento inv\u00E1lido: \"{0}\" (no namespace \"{1}\") +parsing.invalidAttributeValue=valor inv\u00E1lido \"{1}\" para o atributo \"{0}\" +parsing.invalidExtensionElement=elemento de extens\u00E3o inv\u00E1lido: \"{0}\" (no namespace \"{1}\") +parsing.invalidWsdlElement=elemento: \"{0}\" de WSDL inv\u00E1lido +parsing.requiredExtensibilityElement=elemento \\"{0}\\" de extensibilidade obrigat\u00F3rio desconhecido (no namespace \\"{1}\\") +parsing.tooManyElements=muitos elementos \"{0}\" no elemento \"{1}\" \"{2}\" +parsing.invalidOperationStyle=a opera\u00E7\u00E3o \"{0}\" tem um estilo inv\u00E1lido +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed=somente um elemento "tipos" permitido em "{0}" +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed=somente um elemento "documenta\u00E7\u00E3o" permitido em "{0}" +parsing.incorrectRootElement=elemento-raiz \"{2}\" esperado (no namespace \"{3}\"), elemento \"{0}\" encontrado (no namespace \"{1}\") +parsing.unknownImportedDocumentType=documento importado do tipo desconhecido: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=prefixo de namespace n\u00E3o declarado: \"{0}\" +parsing.invalidURI=URI: {0} inv\u00E1lido +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=falha ao fazer parse do documento em \"{0}\" +# {0} - exception message +parsing.ioException=o parse falhou: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=arquivo de WSL inv\u00E1lido! falha ao fazer parse do documento em \"{0}\" +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=arquivo WSDL inv\u00E1lido! falha de parse: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=arquivo WSDL inv\u00E1lido! falha de parse: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=arquivo WSDL inv\u00E1lido! falha de parse: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=o atributo \"{1}\" obrigat\u00F3rio do elemento \"{0}\" n\u00E3o foi encontrado +parsing.invalidTag=esperava o elemento \"{1}\"; encontrou \"{0}\" +# {4} - element name +parsing.invalidTagNS=WSDL inv\u00E1lido em {4}: esperava o elemento \\"{2}\\" (no namespace \\"{3}\\"); encontrou o elemento \\"{0}\\" (no namespace \\"{1}\\") +parsing.nonWhitespaceTextFound=detectou texto sem espa\u00E7o em branco: \"{0}\" inesperado +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=sem elemento encontrado inesperado +# +entity.duplicate=entidade: \"{0}\" duplicada +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=entidade \"{0}\" duplicada: \"{1}\" + +entity.notFoundByID=id da entidade: \"{0}\" inv\u00E1lida +entity.notFoundByQName={0} \\"{1}\\" n\u00E3o encontrada no wsdl: {2} +entity.notFound.portType=wsdl:portType \"{0}\" mencionado por wsdl:binding \"{1}\", mas n\u00E3o foi encontrado no wsdl +entity.notFound.binding=wsdl:binding \"{0}" mencionado por wsdl:port \"{1}\", mas n\u00E3o foi encontrado no wsdl + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=o atributo \"{0}\" obrigat\u00F3rio do elemento \"{1}\" n\u00E3o foi encontrado +validation.missingRequiredProperty=a propriedade \"{0}\" obrigat\u00F3ria do elemento \"{1}\" n\u00E3o foi encontrado +validation.missingRequiredSubEntity=a subentidade obrigat\u00F3ria \"{0}\" do elemento \"{1}\" n\u00E3o foi encontrada +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=elemento inv\u00E1lido: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=elemento: \"{1}\" inv\u00E1lido, tem simpleType: \"{0}\" nomeado +validation.duplicatedElement=elemento: \"{0}\" duplicado +validation.duplicatePartName=WSDL inv\u00E1lido, pe\u00E7as duplicadas em uma wsdl:message n\u00E3o \u00E9 permitida. \nwsdl:message {0} tem um nome de pe\u00E7a: \"{1}\" duplicado +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=subelemento inv\u00E1lido \"{0}\" do elemento \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=atributo inv\u00E1lido \"{0}\" do elemento \"{1}\" +validation.invalidAttributeValue=valor inv\u00E1lido \"{1}\" para o atributo \"{0}\" +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=atributos exclusivos: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=o namespace do alvo est\u00E1 incorreto (esperava: {1}; encontrou: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=erro interno ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=nome da opera\u00E7\u00E3o: \"{0}\" amb\u00EDguo +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="O uso da Codifica\u00E7\u00E3o SOAP n\u00E3o \u00E9 suportado. \nO elemento da extens\u00E3o de SOAP na linha {0} em {1} tem o uso=\"encoded\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=ignorando A\u00E7\u00E3o vazia no elemento \"{0}\" {1} da opera\u00E7\u00E3o \"{2}\", usando default +# Not concatenated with any other string. +warning.inputOutputEmptyAction=ignorando A\u00E7\u00E3o vazia no elemento {0} da opera\u00E7\u00E3o \"{1}\"; usando o valor default em seu lugar + +#wsi compliant WSDL warnings +warning.wsi.r2001=N\u00E3o \u00E9 um WSDL compat\u00EDvel com WSI-BP (R2001, R2002). wsdl:import deve importar somente documentos WSDL. Est\u00E1 tentando importar: \\"{0}\\" +warning.wsi.r2002=N\u00E3o \u00E9 um WSDL (R2002) compat\u00EDvel com WSI-BP. wsdl:import n\u00E3o deve ser usado para importar o Esquema XML incorporado no documento WSDL. Esperava o namespace WSDL: {0}, encontrou: {1} +warning.wsi.r2003=N\u00E3o \u00E9 um WSDL compat\u00EDvel com WSI-BP (R2003). xsd:import s\u00F3 deve ser usado nos elementos de xsd:schema. +warning.wsi.r2004=N\u00E3o \u00E9 um WSDL (R2001, R2004) compat\u00EDvel com WSI-BP. xsd:import n\u00E3o deve importar as defini\u00E7\u00F5es do Esquema XML incorporadas em linha no documento WSDL. + +#Parser +Parsing.ParseFailed = \tFalha ao fazer parse do WSDL. + +Parsing.NotAWSDL=Falha ao obter os componentes WSDL, provavelmente {0} n\u00E3o \u00E9 um arquivo WSDL v\u00E1lido. + +AbstractReferenceFinderImpl.UnableToParse = \tN\u00E3o \u00E9 poss\u00EDvel fazer parse de "{0}" : {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \tn\u00E3o \u00E9 um arquivo de bind externo. O elemento-raiz deve ser binds {http://java.sun.com/xml/ns/jaxws}, mas \u00E9 "{{0}}"{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tTanto jaxws:version como version est\u00E3o presentes +Internalizer.IncorrectVersion = \to atributo da vers\u00E3o JAXWS deve ser "2.0" + +Internalizer.VersionNotPresent = \to atributo da vers\u00E3o JAXWS deve estar presente + +internalizer.targetNotAnElement= \tO n\u00F3 do alvo n\u00E3o \u00E9 um elemento +internalizer.targetNotFound= \tNenhum alvo encontrado para o wsdlLocation: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" n\u00E3o faz parte desta compila\u00E7\u00E3o. \u00C9 um erro de "{1}"? + +internalizer.XPathEvaluationError = Erro de XPath: {0} +internalizer.XPathEvaluatesToNoTarget = A avalia\u00E7\u00E3o de XPath de "{0}" resulta em um n\u00F3 do alvo vazio +internalizer.XPathEvaulatesToTooManyTargets = A avalia\u00E7\u00E3o do XPath de "{0}" resulta em um n\u00FAmero excessivo de n\u00F3s do alvo ({1}) +internalizer.XPathEvaluatesToNonElement = A avalia\u00E7\u00E3o do XPath de "{0}" precisa resultar em um elemento. +invalid.customization.namespace=Ignorando personaliza\u00E7\u00E3o: \"{0}\", porque n\u00E3o tem namespace. Deve pertencer ao namespace de personaliza\u00E7\u00E3o. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="N\u00E3o \u00E9 um documento WSDL: {0}, ele fornece \"{1}\", recuperando com MEX..." +invalid.wsdl=WSDL {0} inv\u00E1lido, esperava {1} encontrou {2} na (linha {3}) +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\nrecuperando com MEX... +file.not.found={0} \u00E9 inacess\u00EDvel +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=N\u00E3o foi poss\u00EDvel localizar wsdl:service no(s) WSDL fornecido: \n\n{0} Pelo menos um WSDL com pelo menos uma defini\u00E7\u00E3o de servi\u00E7o precisa ser fornecido. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=\u9ED8\u8BA4\u540D\u79F0\u7A7A\u95F4\u5FC5\u987B\u4E3A \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=\u90E8\u5206 \"{0}\" \u4E2D\u53EA\u5141\u8BB8\u6709 \"element\" \u6216 \"type\" \u5C5E\u6027\u4E2D\u7684\u5176\u4E2D\u4E00\u4E2A +# Not concatenated with any other string. +parsing.elementOrTypeRequired=\u8B66\u544A: \u5FFD\u7565\u90E8\u5206{0}, \u90E8\u5206 \"{0}\" \u4E2D\u9700\u8981 \"element\" \u6216 \"type\" \u5C5E\u6027 +parsing.invalidElement=\u5143\u7D20\u65E0\u6548: \"{0}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{1}\" \u4E2D) +parsing.invalidAttributeValue=\u5C5E\u6027 \"{0}\" \u7684\u503C \"{1}\" \u65E0\u6548 +parsing.invalidExtensionElement=\u6269\u5C55\u5143\u7D20\u65E0\u6548: \"{0}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{1}\" \u4E2D) +parsing.invalidWsdlElement=WSDL \u5143\u7D20\u65E0\u6548: \"{0}\" +parsing.requiredExtensibilityElement=\u672A\u77E5\u7684\u5FC5\u9700\u53EF\u6269\u5C55\u6027\u5143\u7D20 \"{0}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{1}\" \u4E2D) +parsing.tooManyElements=\"{1}\" \u5143\u7D20 \"{2}\" \u4E0B\u7684 \"{0}\" \u5143\u7D20\u8FC7\u591A +parsing.invalidOperationStyle=\u64CD\u4F5C \"{0}\" \u7684\u6837\u5F0F\u65E0\u6548 +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed="{0}" \u4E2D\u53EA\u5141\u8BB8\u6709\u4E00\u4E2A "types" \u5143\u7D20 +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed="{0}" \u4E2D\u53EA\u5141\u8BB8\u6709\u4E00\u4E2A "documentation" \u5143\u7D20 +parsing.incorrectRootElement=\u5E94\u4E3A\u6839\u5143\u7D20 \"{2}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{3}\" \u4E2D), \u627E\u5230\u7684\u662F\u5143\u7D20 \"{0}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{1}\" \u4E2D) +parsing.unknownImportedDocumentType=\u6240\u5BFC\u5165\u6587\u6863\u7684\u7C7B\u578B\u672A\u77E5: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=\u672A\u58F0\u660E\u540D\u79F0\u7A7A\u95F4\u524D\u7F00: \"{0}\" +parsing.invalidURI=URI \u65E0\u6548: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=\u65E0\u6CD5\u89E3\u6790\u4F4D\u4E8E \"{0}\" \u4E2D\u7684\u6587\u6863 +# {0} - exception message +parsing.ioException=\u89E3\u6790\u5931\u8D25: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=WSDL \u6587\u4EF6\u65E0\u6548! \u65E0\u6CD5\u89E3\u6790\u4F4D\u4E8E \"{0}\" \u4E2D\u7684\u6587\u6863 +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=WSDL \u6587\u4EF6\u65E0\u6548! \u89E3\u6790\u5931\u8D25: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=WSDL \u6587\u4EF6\u65E0\u6548! \u89E3\u6790\u5931\u8D25: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=WSDL \u6587\u4EF6\u65E0\u6548! \u89E3\u6790\u5931\u8D25: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=\u7F3A\u5C11\u5143\u7D20 \"{0}\" \u7684\u5FC5\u9700\u5C5E\u6027 \"{1}\" +parsing.invalidTag=\u5E94\u4E3A\u5143\u7D20 \"{1}\", \u627E\u5230\u7684\u662F \"{0}\" +# {4} - element name +parsing.invalidTagNS=\u4F4D\u4E8E{4}\u4E2D\u7684 WSDL \u65E0\u6548: \u5E94\u4E3A\u5143\u7D20 \"{2}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{3}\" \u4E2D), \u627E\u5230\u7684\u662F\u5143\u7D20 \"{0}\" (\u4F4D\u4E8E\u540D\u79F0\u7A7A\u95F4 \"{1}\" \u4E2D) +parsing.nonWhitespaceTextFound=\u627E\u5230\u610F\u5916\u7684\u975E\u7A7A\u683C\u6587\u672C: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=\u627E\u5230\u610F\u5916\u7684\u975E\u5143\u7D20 +# +entity.duplicate=\u5B9E\u4F53\u91CD\u590D: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=\"{0}\" \u5B9E\u4F53\u91CD\u590D: \"{1}\" + +entity.notFoundByID=\u5B9E\u4F53 ID \u65E0\u6548: \"{0}\" +entity.notFoundByQName=\u5728 wsdl \u4E2D\u672A\u627E\u5230{0} \"{1}\": {2} +entity.notFound.portType=wsdl:portType \"{0}\" \u7531 wsdl:binding \"{1}\" \u5F15\u7528, \u4F46\u5728 wsdl \u4E2D\u672A\u627E\u5230\u5B83 +entity.notFound.binding=wsdl:binding \"{0}" \u7531 wsdl:port \"{1}\" \u5F15\u7528, \u4F46\u5728 wsdl \u4E2D\u672A\u627E\u5230\u5B83 + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=\u7F3A\u5C11\u5143\u7D20 \"{1}\" \u7684\u5FC5\u9700\u5C5E\u6027 \"{0}\" +validation.missingRequiredProperty=\u7F3A\u5C11\u5143\u7D20 \"{1}\" \u7684\u5FC5\u9700\u5C5E\u6027 \"{0}\" +validation.missingRequiredSubEntity=\u7F3A\u5931\u5143\u7D20 \"{1}\" \u7684\u5FC5\u9700\u7684\u5B50\u5B9E\u4F53 \"{0}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=\u5143\u7D20\u65E0\u6548: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=\u5143\u7D20\u65E0\u6548: \"{1}\", \u5177\u6709\u5DF2\u547D\u540D\u7684 simpleType: \"{0}\" +validation.duplicatedElement=\u5143\u7D20\u91CD\u590D: \"{0}\" +validation.duplicatePartName=WSDL \u65E0\u6548, \u4E0D\u5141\u8BB8 wsdl:message \u4E2D\u6709\u91CD\u590D\u90E8\u5206\u3002\nwsdl:message {0}\u5B58\u5728\u91CD\u590D\u7684\u90E8\u5206\u540D\u79F0: \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=\u5143\u7D20 \"{1}\" \u7684\u5B50\u5143\u7D20 \"{0}\" \u65E0\u6548 +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=\u5143\u7D20 \"{1}\" \u7684\u5C5E\u6027 \"{0}\" \u65E0\u6548 +validation.invalidAttributeValue=\u5C5E\u6027 \"{0}\" \u7684\u503C \"{1}\" \u65E0\u6548 +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=\u4E92\u65A5\u5C5E\u6027: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=\u76EE\u6807\u540D\u79F0\u7A7A\u95F4\u4E0D\u6B63\u786E (\u5E94\u4E3A: {1}, \u627E\u5230\u7684\u662F: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=\u5185\u90E8\u9519\u8BEF ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=\u4E0D\u660E\u786E\u7684\u64CD\u4F5C\u540D: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="\u4E0D\u652F\u6301\u4F7F\u7528 SOAP \u7F16\u7801\u3002\n{1}\u4E2D\u7684\u7B2C {0} \u884C\u4E0A\u7684 SOAP \u6269\u5C55\u5143\u7D20\u5305\u542B use=\"encoded\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=\u5FFD\u7565 \"{2}\" \u64CD\u4F5C\u7684 \"{0}\" {1}\u5143\u7D20\u4E2D\u7684\u7A7A\u64CD\u4F5C, \u6539\u7528\u9ED8\u8BA4\u503C +# Not concatenated with any other string. +warning.inputOutputEmptyAction=\u5FFD\u7565 \"{1}\" \u64CD\u4F5C\u7684{0}\u5143\u7D20\u4E2D\u7684\u7A7A\u64CD\u4F5C, \u6539\u7528\u9ED8\u8BA4\u503C + +#wsi compliant WSDL warnings +warning.wsi.r2001=\u4E0D\u662F WSI-BP \u517C\u5BB9\u7684 WSDL (R2001, R2002)\u3002wsdl:import \u53EA\u80FD\u5BFC\u5165 WSDL \u6587\u6863\u3002\u5B83\u5C1D\u8BD5\u5BFC\u5165\u7684\u662F: \"{0}\" +warning.wsi.r2002=\u4E0D\u662F WSI-BP \u517C\u5BB9\u7684 WSDL (R2002)\u3002wsdl:import \u4E0D\u80FD\u7528\u4E8E\u5BFC\u5165\u5D4C\u5165\u5728 WSDL \u6587\u6863\u4E2D\u7684 XML \u6A21\u5F0F\u3002\u5E94\u4E3A WSDL \u540D\u79F0\u7A7A\u95F4: {0}, \u627E\u5230\u7684\u662F: {1} +warning.wsi.r2003=\u4E0D\u662F WSI-BP \u517C\u5BB9\u7684 WSDL (R2003)\u3002xsd:import \u53EA\u80FD\u5728 xsd:schema \u5143\u7D20\u4E2D\u4F7F\u7528\u3002 +warning.wsi.r2004=\u4E0D\u662F WSI-BP \u517C\u5BB9\u7684 WSDL (R2001, R2004)\u3002xsd:import \u4E0D\u80FD\u5BFC\u5165\u5185\u5D4C\u5728 WSDL \u6587\u6863\u4E2D\u7684 XML \u6A21\u5F0F\u5B9A\u4E49\u3002 + +#Parser +Parsing.ParseFailed = \t\u65E0\u6CD5\u89E3\u6790 WSDL\u3002 + +Parsing.NotAWSDL=\u65E0\u6CD5\u83B7\u53D6 WSDL \u7EC4\u4EF6, \u53EF\u80FD{0}\u4E0D\u662F\u6709\u6548\u7684 WSDL \u6587\u4EF6\u3002 + +AbstractReferenceFinderImpl.UnableToParse = \t\u65E0\u6CD5\u89E3\u6790 "{0}": {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \t\u4E0D\u662F\u5916\u90E8\u7ED1\u5B9A\u6587\u4EF6\u3002\u6839\u5143\u7D20\u5FC5\u987B\u4E3A ''{''http://java.sun.com/xml/ns/jaxws''}'' \u7ED1\u5B9A, \u4F46\u5B9E\u9645\u4E3A ''{''{0}''}''{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tjaxws:version \u548C\u7248\u672C\u540C\u65F6\u5B58\u5728 +Internalizer.IncorrectVersion = \tJAXWS \u7248\u672C\u5C5E\u6027\u5FC5\u987B\u4E3A "2.0" + +Internalizer.VersionNotPresent = \tJAXWS \u7248\u672C\u5C5E\u6027\u5FC5\u987B\u5B58\u5728 + +internalizer.targetNotAnElement= \t\u76EE\u6807\u8282\u70B9\u4E0D\u662F\u5143\u7D20 +internalizer.targetNotFound= \t\u672A\u627E\u5230 wsdlLocation \u7684\u76EE\u6807: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" \u4E0D\u662F\u6B64\u7F16\u8BD1\u7684\u4E00\u90E8\u5206\u3002\u8FD9\u662F\u5426\u5C5E\u4E8E "{1}" \u7684\u9519\u8BEF? + +internalizer.XPathEvaluationError = XPath \u9519\u8BEF: {0} +internalizer.XPathEvaluatesToNoTarget = "{0}" \u7684 XPath \u6C42\u503C\u4EA7\u751F\u7A7A\u76EE\u6807\u8282\u70B9 +internalizer.XPathEvaulatesToTooManyTargets = "{0}" \u7684 XPath \u6C42\u503C\u751F\u6210\u4E86\u8FC7\u591A\u7684 ({1}) \u76EE\u6807\u8282\u70B9 +internalizer.XPathEvaluatesToNonElement = "{0}" \u7684 XPath \u6C42\u503C\u5FC5\u987B\u751F\u6210\u5143\u7D20\u3002 +invalid.customization.namespace=\u7531\u4E8E\u5B9A\u5236\u8BBE\u7F6E \"{0}\" \u6CA1\u6709\u540D\u79F0\u7A7A\u95F4, \u56E0\u6B64\u5C06\u5176\u5FFD\u7565\u3002\u5B83\u5FC5\u987B\u5C5E\u4E8E\u5B9A\u5236\u8BBE\u7F6E\u540D\u79F0\u7A7A\u95F4\u3002 + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="\u4E0D\u662F WSDL \u6587\u6863: {0}, \u5B83\u63D0\u4F9B\u7684\u662F \"{1}\", \u6B63\u5728\u4F7F\u7528 MEX \u91CD\u8BD5..." +invalid.wsdl=WSDL {0}\u65E0\u6548, \u5E94\u4E3A{1}, \u5728\u884C {3} \u627E\u5230\u7684\u662F{2} +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\n\u6B63\u5728\u4F7F\u7528 MEX \u91CD\u8BD5... +file.not.found={0}\u4E0D\u53EF\u8BBF\u95EE +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=\u5728\u63D0\u4F9B\u7684 WSDL \u4E2D\u627E\u4E0D\u5230 wsdl:service: \n\n{0}\u9700\u8981\u81F3\u5C11\u63D0\u4F9B\u4E00\u4E2A WSDL, \u8BE5 WSDL \u81F3\u5C11\u5177\u6709\u4E00\u4E2A\u670D\u52A1\u5B9A\u4E49\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/wsdl_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +# +# Copyright (c) 2005, 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. +# + +localized.error={0} +parsing.wsdlNotDefaultNamespace=\u9810\u8A2D\u547D\u540D\u7A7A\u9593\u5FC5\u9808\u662F \"{0}\" +# Not concatenated with any other string. +parsing.onlyOneOfElementOrTypeRequired=\u7D44\u4EF6 \"{0}\" \u4E2D\u53EA\u80FD\u4F7F\u7528 \"element\" \u6216 \"type\" \u5176\u4E2D\u4E00\u500B\u5C6C\u6027 +# Not concatenated with any other string. +parsing.elementOrTypeRequired=\u8B66\u544A: \u5DF2\u5FFD\u7565\u7D44\u4EF6 {0}, \u7D44\u4EF6 \"{0}\" \u4E2D\u53EA\u9700\u8981 \"element\" \u6216 \"type\" \u5C6C\u6027 +parsing.invalidElement=\u7121\u6548\u7684\u5143\u7D20: \"{0}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{1}\" \u4E2D) +parsing.invalidAttributeValue=\u5C6C\u6027 \"{0}\" \u7684\u503C \"{1}\" \u7121\u6548 +parsing.invalidExtensionElement=\u7121\u6548\u7684\u64F4\u5145\u5143\u7D20: \"{0}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{1}\" \u4E2D) +parsing.invalidWsdlElement=\u7121\u6548\u7684 WSDL \u5143\u7D20: \"{0}\" +parsing.requiredExtensibilityElement=\u4E0D\u660E\u7684\u5FC5\u8981\u64F4\u5145\u6027\u5143\u7D20 \"{0}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{1}\" \u4E2D) +parsing.tooManyElements=\"{1}\" \u5143\u7D20\u5E95\u4E0B\u6709\u592A\u591A \"{0}\" \u5143\u7D20 \"{2}\" +parsing.invalidOperationStyle=\u4F5C\u696D \"{0}\" \u7684\u6A23\u5F0F\u7121\u6548 +# {0} - "definitions". Not concatenated with any other string. +parsing.onlyOneTypesAllowed="{0}" \u4E2D\u53EA\u80FD\u6709\u4E00\u500B "types" \u5143\u7D20 +# {0} - element local name (e.g. PingType). Wrapped into an Exception. Not concatenated with any other string. +parsing.onlyOneDocumentationAllowed="{0}" \u4E2D\u53EA\u80FD\u6709\u4E00\u500B "documentation" \u5143\u7D20 +parsing.incorrectRootElement=\u9810\u671F\u61C9\u70BA\u6839\u5143\u7D20 \"{2}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{3}\" \u4E2D), \u4F46\u5BE6\u969B\u70BA\u5143\u7D20 \"{0}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{1}\" \u4E2D) +parsing.unknownImportedDocumentType=\u532F\u5165\u4E4B\u6587\u4EF6\u7684\u985E\u578B\u4E0D\u660E: {0} +# Not concatenated with any other string. +parsing.unknownNamespacePrefix=\u672A\u5BA3\u544A\u7684\u547D\u540D\u7A7A\u9593\u524D\u7F6E\u78BC: \"{0}\" +parsing.invalidURI=\u7121\u6548\u7684 URI: {0} +# {0} - WSDL URL +parsing.ioExceptionWithSystemId=\u7121\u6CD5\u5256\u6790\u4F4D\u65BC \"{0}\" \u7684\u6587\u4EF6 +# {0} - exception message +parsing.ioException=\u5256\u6790\u5931\u6557: {0} +# {0} - WSDL URL, Not concatenated with any other string. +parsing.saxExceptionWithSystemId=\u7121\u6548\u7684 WSDL \u6A94\u6848! \u7121\u6CD5\u5256\u6790\u4F4D\u65BC \"{0}\" \u7684\u6587\u4EF6 +# {0} - exception message, Not concatenated with any other string. +parsing.saxException=\u7121\u6548\u7684 WSDL \u6A94\u6848! \u5256\u6790\u5931\u6557: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.parserConfigException=\u7121\u6548\u7684 WSDL \u6A94\u6848! \u5256\u6790\u5931\u6557: {0} +# {0} - exception message, Not concatenated with any other string. +parsing.factoryConfigException=\u7121\u6548\u7684 WSDL \u6A94\u6848! \u5256\u6790\u5931\u6557: {0} + +# Wrapped into an Exception. Not concatenated with any other string. +parsing.missingRequiredAttribute=\u907A\u6F0F\u5143\u7D20 \"{0}\" \u7684\u5FC5\u8981\u5C6C\u6027 \"{1}\" +parsing.invalidTag=\u9810\u671F\u61C9\u70BA\u5143\u7D20 \"{1}\", \u4F46\u5BE6\u969B\u70BA \"{0}\" +# {4} - element name +parsing.invalidTagNS={4} \u7684 WSDL \u7121\u6548: \u9810\u671F\u61C9\u70BA\u5143\u7D20 \"{2}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{3}\" \u4E2D), \u4F46\u5BE6\u969B\u70BA\u5143\u7D20 \"{0}\" (\u5728\u547D\u540D\u7A7A\u9593 \"{1}\" \u4E2D) +parsing.nonWhitespaceTextFound=\u767C\u73FE\u672A\u9810\u671F\u7684\u975E\u7A7A\u683C\u6587\u5B57: \"{0}\" +# Not concatenated with any other string (written on a separate line). +parsing.elementExpected=\u767C\u73FE\u672A\u9810\u671F\u7684\u975E\u5143\u7D20 +# +entity.duplicate=\u91CD\u8907\u7684\u500B\u9AD4: \"{0}\" +# {0} - type of entity, {1} - entity name e.g.: duplicate "message" entity: "PingRequest", Wrapped into an Exception. Not concatenated with any other string. +entity.duplicateWithType=\u91CD\u8907\u7684 \"{0}\" \u500B\u9AD4: \"{1}\" + +entity.notFoundByID=\u7121\u6548\u7684\u500B\u9AD4 ID: \"{0}\" +entity.notFoundByQName=\u5728 WSDL \u4E2D\u627E\u4E0D\u5230 {0} \"{1}\": {2} +entity.notFound.portType=\u5728 WSDL \u4E2D\u627E\u4E0D\u5230 wsdl:binding \"{1}\" \u6240\u53C3\u7167\u7684 wsdl:portType \"{0}\" +entity.notFound.binding=\u5728 WSDL \u4E2D\u627E\u4E0D\u5230 wsdl:port \"{1}\" \u6240\u53C3\u7167\u7684 wsdl:binding \"{0}" + +# Wrapped into an Exception. Not concatenated with any other string. +validation.missingRequiredAttribute=\u907A\u6F0F\u5143\u7D20 \"{1}\" \u7684\u5FC5\u8981\u5C6C\u6027 \"{0}\" +validation.missingRequiredProperty=\u907A\u6F0F\u5143\u7D20 \"{1}\" \u7684\u5FC5\u8981\u7279\u6027 \"{0}\" +validation.missingRequiredSubEntity=\u907A\u6F0F\u5143\u7D20 \"{1}\" \u7684\u5FC5\u8981\u5B50\u500B\u9AD4 \"{0}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidElement=\u7121\u6548\u7684\u5143\u7D20: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidComplexTypeInElement=invalid element: \"{1}\", has named complexType: \"{0}\" +validation.invalidSimpleTypeInElement=\u7121\u6548\u7684\u5143\u7D20: \"{1}\", \u542B\u6709\u6307\u5B9A\u7684 simpleType: \"{0}\" +validation.duplicatedElement=\u91CD\u8907\u7684\u5143\u7D20: \"{0}\" +validation.duplicatePartName=\u7121\u6548\u7684 WSDL, wsdl:message \u4E2D\u4E0D\u5141\u8A31\u6709\u91CD\u8907\u7684\u7D44\u4EF6. \nwsdl:message {0} \u542B\u6709\u91CD\u8907\u7684\u7D44\u4EF6\u540D\u7A31: \"{1}\" +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidSubEntity=\u5143\u7D20 \"{1}\" \u7684\u5B50\u5143\u7D20 \"{0}\" \u7121\u6548 +# Wrapped into an Exception. Not concatenated with any other string. +validation.invalidAttribute=\u5143\u7D20 \"{1}\" \u7684\u5C6C\u6027 \"{0}\" \u7121\u6548 +validation.invalidAttributeValue=\u5C6C\u6027 \"{0}\" \u7684\u503C \"{1}\" \u7121\u6548 +# Usage not found. TODO Remove +#validation.invalidRange=invalid range found (min: {0}, max: {1}) +validation.exclusiveAttributes=\u5C08\u7528\u5C6C\u6027: \"{0}\", \"{1}\" +validation.incorrectTargetNamespace=\u76EE\u6A19\u547D\u540D\u7A7A\u9593\u4E0D\u6B63\u78BA (\u9810\u671F\u61C9\u70BA: {1}, \u5BE6\u969B\u70BA: {0}) +# Usage not found. TODO Remove +#validation.unsupportedSchemaFeature=unsupported XML Schema feature: \"{0}\" +validation.shouldNotHappen=\u5167\u90E8\u932F\u8AA4 ("{0}") +# Usage not found. TODO Remove +#validation.invalidToken=invalid token \"{0}\" +# Usage not found. TODO Remove +#validation.notSimpleType=not a simple type: \"{0}\" +validation.ambiguousName=\u4E0D\u660E\u78BA\u7684\u4F5C\u696D\u540D\u7A31: \"{0}\" +# Usage not found. TODO Remove +#validation.invalidPrefix=undeclared namespace prefix: \"{0}\" +# {0} - number, {1} - WSDL location e.g.: Use of SOAP Encoding is not supported. SOAP extension element on line 945 in file:/foo/bar.wsdl has use="encoded" +validation.unsupportedUse.encoded="\u4E0D\u652F\u63F4\u4F7F\u7528\u300CSOAP \u7DE8\u78BC\u300D. \n{1} \u4E2D\u7B2C {0} \u884C\u7684 SOAP \u64F4\u5145\u5143\u7D20\u4F7F\u7528 use=\"encoded\" " +# {0}, {2} - element / attribute name, {1} - element name. Not concatenated with any other string. +warning.faultEmptyAction=\u5FFD\u7565 \"{2}\" \u4F5C\u696D\u4E4B \"{0}\" {1} \u5143\u7D20\u4E2D\u7684\u7A7A\u767D Action, \u6539\u7528\u9810\u8A2D\u503C +# Not concatenated with any other string. +warning.inputOutputEmptyAction=\u5FFD\u7565 \"{1}\" \u4F5C\u696D\u4E4B {0} \u5143\u7D20\u4E2D\u7684\u7A7A\u767D Action, \u6539\u7528\u9810\u8A2D\u503C + +#wsi compliant WSDL warnings +warning.wsi.r2001=\u4E0D\u662F WSI-BP \u76F8\u5BB9\u7684 WSDL (R2001, R2002). wsdl:import \u53EA\u80FD\u532F\u5165 WSDL \u6587\u4EF6. \u4F46\u662F, \u5B83\u5617\u8A66\u532F\u5165: \\"{0}\\" +warning.wsi.r2002=\u4E0D\u662F WSI-BP \u76F8\u5BB9\u7684 WSDL (R2002). \u53EA\u80FD\u4F7F\u7528 wsdl:import \u532F\u5165 WSDL \u6587\u4EF6\u4E2D\u5167\u5D4C\u7684\u300CXML \u7DB1\u8981\u300D. \u9810\u671F\u61C9\u70BA WSDL \u547D\u540D\u7A7A\u9593: {0}, \u4F46\u5BE6\u969B\u70BA: {1} +warning.wsi.r2003=\u4E0D\u662F WSI-BP \u76F8\u5BB9\u7684 WSDL (R2003). \u53EA\u80FD\u5728 xsd:schema \u5143\u7D20\u4E4B\u5167\u4F7F\u7528 xsd:import. +warning.wsi.r2004=\u4E0D\u662F WSI-BP \u76F8\u5BB9\u7684 WSDL (R2001, R2004). xsd:import \u4E0D\u53EF\u532F\u5165 WSDL \u6587\u4EF6\u4E2D\u5167\u5D4C\u7684\u300CXML \u7DB1\u8981\u300D\u5B9A\u7FA9. + +#Parser +Parsing.ParseFailed = \t\u7121\u6CD5\u5256\u6790 WSDL. + +Parsing.NotAWSDL=\u7121\u6CD5\u53D6\u5F97 WSDL \u5143\u4EF6, {0} \u53EF\u80FD\u4E0D\u662F\u6709\u6548\u7684 WSDL \u6A94\u6848. + +AbstractReferenceFinderImpl.UnableToParse = \t\u7121\u6CD5\u5256\u6790 "{0}" : {1} + +# Not concatenated with any other string. +Parser.NotABindingFile = \t\u4E0D\u662F\u5916\u90E8\u9023\u7D50\u6A94\u6848. \u6839\u5143\u7D20\u5FC5\u9808\u662F ''{''http://java.sun.com/xml/ns/jaxws''}''bindings, \u4F46\u5176\u70BA ''{''{0}''}''{1} + + +#Internalizer +Internalizer.TwoVersionAttributes = \tjaxws:version \u548C version \u540C\u6642\u5B58\u5728 +Internalizer.IncorrectVersion = \tJAXWS \u7248\u672C\u5C6C\u6027\u5FC5\u9808\u662F "2.0" + +Internalizer.VersionNotPresent = \tJAXWS \u7248\u672C\u5C6C\u6027\u5FC5\u9808\u5B58\u5728 + +internalizer.targetNotAnElement= \t\u76EE\u6A19\u7BC0\u9EDE\u4E0D\u662F\u4E00\u500B\u5143\u7D20 +internalizer.targetNotFound= \t\u627E\u4E0D\u5230 wsdlLocation \u7684\u76EE\u6A19: {0} + +Internalizer.IncorrectSchemaReference= \t"{0}" \u4E0D\u5C6C\u65BC\u6B64\u7DE8\u8B6F. \u9019\u662F "{1}" \u932F\u8AA4\u55CE? + +internalizer.XPathEvaluationError = XPath \u932F\u8AA4: {0} +internalizer.XPathEvaluatesToNoTarget = "{0}" \u7684 XPath \u8A55\u4F30\u7D50\u679C\u70BA\u7A7A\u767D\u7684\u76EE\u6A19\u7BC0\u9EDE +internalizer.XPathEvaulatesToTooManyTargets = "{0}" \u7684 XPath \u8A55\u4F30\u5C0E\u81F4\u592A\u591A ({1}) \u76EE\u6A19\u7BC0\u9EDE +internalizer.XPathEvaluatesToNonElement = "{0}" \u7684 XPath \u8A55\u4F30\u7D50\u679C\u5FC5\u9808\u662F\u4E00\u500B\u5143\u7D20. +invalid.customization.namespace=\u5FFD\u7565\u81EA\u8A02 \"{0}\", \u56E0\u70BA\u5B83\u6C92\u6709\u547D\u540D\u7A7A\u9593. \u5B83\u5FC5\u9808\u5C6C\u65BC\u81EA\u8A02\u547D\u540D\u7A7A\u9593. + +# {0} - wsdl document location, {1} - namespace and local name of a element e.g.: Not a WSDL document: http://foo.org/bar?wsdl, it gives "{http://www.w3.org/1999/xhtml}html", retrying with MEX... +invalid.wsdl.with.dooc="\u4E0D\u662F WSDL \u6587\u4EF6: {0}, \u800C\u662F \"{1}\", \u4F7F\u7528 MEX \u9032\u884C\u91CD\u8A66..." +invalid.wsdl=\u7121\u6548\u7684 WSDL {0}, \u9810\u671F\u61C9\u70BA {1}, \u4F46\u5BE6\u969B\u70BA {2}, \u4F4D\u7F6E\u5728\u7B2C {3} \u884C +# Concatenated with: Server returned HTTP response code: {code} for URL: {url} e.g.: Server returned HTTP response code: 500 for URL: http://foo/bar/mex retrying with MEX... +try.with.mex= {0} \n\n\u4F7F\u7528 MEX \u9032\u884C\u91CD\u8A66... +file.not.found=\u7121\u6CD5\u9023\u7DDA {0} +parsing.unableToGetMetadata= {0}\n\n{1} +failed.noservice=failed.noservice=\u5728\u63D0\u4F9B\u7684 WSDL \u4E2D\u627E\u4E0D\u5230 wsdl:service: \n\n{0} \u81F3\u5C11\u9700\u8981\u63D0\u4F9B\u4E00\u500B WSDL \u8207\u81F3\u5C11\u4E00\u500B\u670D\u52D9\u5B9A\u7FA9. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/spi/WSToolsObjectFactory.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/spi/WSToolsObjectFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/spi/WSToolsObjectFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -67,7 +67,7 @@ * * @return true if there is no error, otherwise false * - * @see {@link #wsimport(OutputStream, Container, String[])} + * @see #wsimport(OutputStream, Container, String[]) */ public boolean wsimport(OutputStream logStream, String[] args) { return wsimport(logStream, Container.NONE, args); @@ -91,7 +91,7 @@ * artifacts like wrapper, exception bean classes etc. * * @return true if there is no error, otherwise false - * @see {@link #wsgen(OutputStream, Container, String[])} + * @see #wsgen(OutputStream, Container, String[]) */ public boolean wsgen(OutputStream logStream, String[] args) { return wsgen(logStream, Container.NONE, args); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/spi/package-info.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/spi/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/spi/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/ClassNameInfo.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/ClassNameInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/ClassNameInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/ForkEntityResolver.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/ForkEntityResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/ForkEntityResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -49,6 +49,12 @@ InputSource is = lhs.resolveEntity(publicId, systemId); if(is!=null) return is; + + if(publicId == null) { + // WorkAround: Ant's XMLCatalog supports public IDs only, this allows us to treat it as system IDs + publicId = systemId; + } + return rhs.resolveEntity(publicId, systemId); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLFetcher.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLFetcher.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLFetcher.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -70,7 +70,7 @@ /** * Fetches the wsdls in the DOMForest to the options.destDir * @param forest - * @return + * @return location of fetched root WSDL document * @throws IOException * @throws XMLStreamException * @throws FileNotFoundException @@ -100,26 +100,34 @@ } }, docLocator); - //XMLInputFactory readerFactory = XMLInputFactory.newInstance(); - //XMLStreamReader xsr = readerFactory.createXMLStreamReader(new DOMSource(forest.get(rootWsdl))); - - XMLStreamReader xsr = SourceReaderFactory.createSourceReader(new DOMSource(forest.get(doc)), false); - XMLOutputFactory writerfactory = XMLOutputFactory.newInstance(); - String resolvedRootWsdl = docLocator.getLocationFor(null, doc); - File outFile = new File(destDir, resolvedRootWsdl); - OutputStream os = new FileOutputStream(outFile); - if(options.verbose) { - listener.message(WscompileMessages.WSIMPORT_DOCUMENT_DOWNLOAD(doc,outFile)); + XMLStreamReader xsr = null; + XMLStreamWriter xsw = null; + OutputStream os = null; + String resolvedRootWsdl = null; + try { + XMLOutputFactory writerfactory; + xsr = SourceReaderFactory.createSourceReader(new DOMSource(forest.get(doc)), false); + writerfactory = XMLOutputFactory.newInstance(); + resolvedRootWsdl = docLocator.getLocationFor(null, doc); + File outFile = new File(destDir, resolvedRootWsdl); + os = new FileOutputStream(outFile); + if(options.verbose) { + listener.message(WscompileMessages.WSIMPORT_DOCUMENT_DOWNLOAD(doc,outFile)); + } + xsw = writerfactory.createXMLStreamWriter(os); + //DOMForest eats away the whitespace loosing all the indentation, so write it through + // indenting writer for better readability of fetched documents + IndentingXMLStreamWriter indentingWriter = new IndentingXMLStreamWriter(xsw); + wsdlPatcher.bridge(xsr, indentingWriter); + options.addGeneratedFile(outFile); + } finally { + try { + if (xsr != null) {xsr.close();} + if (xsw != null) {xsw.close();} + } finally { + if (os != null) {os.close();} + } } - XMLStreamWriter xsw = writerfactory.createXMLStreamWriter(os); - //DOMForest eats away the whitespace loosing all the indentation, so write it through - // indenting writer for better readability of fetched documents - IndentingXMLStreamWriter indentingWriter = new IndentingXMLStreamWriter(xsw); - wsdlPatcher.bridge(xsr, indentingWriter); - xsr.close(); - xsw.close(); - os.close(); - options.addGeneratedFile(outFile); return resolvedRootWsdl; @@ -136,9 +144,9 @@ if(!rootWsdlFileName.endsWith(WSDL_FILE_EXTENSION)) { Document rootWsdlDoc = forest.get(rootWsdl); NodeList serviceNodes = rootWsdlDoc.getElementsByTagNameNS(WSDLConstants.QNAME_SERVICE.getNamespaceURI(),WSDLConstants.QNAME_SERVICE.getLocalPart()); - if(serviceNodes.getLength() == 0) + if (serviceNodes.getLength() == 0) { rootWsdlName = "Service"; - else { + } else { Node serviceNode = serviceNodes.item(0); String serviceName = ((Element)serviceNode).getAttribute( WSDLConstants.ATTR_NAME); rootWsdlName = serviceName; @@ -177,8 +185,8 @@ } private DocumentLocationResolver createDocResolver(final String baseWsdl, final DOMForest forest, final Map documentMap) { - return new DocumentLocationResolver() { + @Override public String getLocationFor(String namespaceURI, String systemId) { try { URL reference = new URL(new URL(baseWsdl),systemId); @@ -198,7 +206,7 @@ private String sanitize(String fileName) { fileName = fileName.replace('?', '.'); - StringBuffer sb = new StringBuffer(fileName); + StringBuilder sb = new StringBuilder(fileName); for (int i = 0; i < sb.length(); i++) { char c = sb.charAt(i); if (Character.isLetterOrDigit(c) || @@ -216,8 +224,11 @@ } private File getWSDLDownloadDir() { - File wsdlDir = new File(options.destDir,WSDL_PATH); - wsdlDir.mkdirs(); + File wsdlDir = new File(options.destDir, WSDL_PATH); + boolean created = wsdlDir.mkdirs(); + if (options.verbose && !created) { + listener.message(WscompileMessages.WSCOMPILE_NO_SUCH_DIRECTORY(wsdlDir)); + } return wsdlDir; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLParseException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLParseException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSDLParseException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSToolsObjectFactoryImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSToolsObjectFactoryImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/WSToolsObjectFactoryImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/util/xml/XmlUtil.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/util/xml/XmlUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/util/xml/XmlUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/version.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/version.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/version.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 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 @@ -23,8 +23,7 @@ # questions. # -build-id=b09 - build-version=JAX-WS RI 2.2.7-b09 - major-version=2.2.7 - svn-revision=12895 - svn-url=https://svn.java.net/svn/jax-ws~sources/branches/jaxws22/jaxws-ri +build-id=2.2.9-b13941 +build-version=JAX-WS RI 2.2.9-b13941 +major-version=2.2.9 +svn-revision=unknown diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AbortException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AbortException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AbortException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AuthInfo.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AuthInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/AuthInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,6 +28,7 @@ import com.sun.istack.internal.NotNull; import java.net.URL; +import java.util.regex.Pattern; /** * Represents authorization information needed by {@link com.sun.tools.internal.ws.wscompile.DefaultAuthenticator} to @@ -39,10 +40,11 @@ public final class AuthInfo { private final String user; private final String password; - private final URL url; + private final Pattern urlPattern; - public AuthInfo(@NotNull URL url, @NotNull String user, @NotNull String password){ - this.url = url; + public AuthInfo(@NotNull URL url, @NotNull String user, @NotNull String password) { + String u = url.toExternalForm().replaceFirst("\\?", "\\\\?"); + this.urlPattern = Pattern.compile(u.replace("*", ".*"), Pattern.CASE_INSENSITIVE); this.user = user; this.password = password; } @@ -59,7 +61,7 @@ * Returns if the requesting host and port are associated with this {@link AuthInfo} */ public boolean matchingHost(@NotNull URL requestingURL) { - return requestingURL.equals(url); + return urlPattern.matcher(requestingURL.toExternalForm()).matches(); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/BadCommandLineException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/BadCommandLineException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/BadCommandLineException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -31,7 +31,7 @@ * @author Vivek Pandey */ public class BadCommandLineException extends Exception { - private Options options; + private transient Options options; public BadCommandLineException(String msg) { super(msg); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/DefaultAuthenticator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/DefaultAuthenticator.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,196 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.tools.internal.ws.wscompile; - -import com.sun.istack.internal.NotNull; -import com.sun.tools.internal.ws.resources.WscompileMessages; -import org.xml.sax.SAXParseException; -import org.xml.sax.helpers.LocatorImpl; - -import java.io.*; -import java.lang.reflect.Field; -import java.net.Authenticator; -import java.net.PasswordAuthentication; -import java.net.URL; -import java.security.AccessController; -import java.security.PrivilegedAction; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Vivek Pandey - */ -public class DefaultAuthenticator extends Authenticator { - - private final List authInfo = new ArrayList(); - private final ErrorReceiver errReceiver; - private final String proxyUser; - private final String proxyPasswd; - - //can user.home value be null? - public static final String defaultAuthfile = System.getProperty("user.home")+ System.getProperty("file.separator")+".metro"+System.getProperty("file.separator")+"auth"; - private File authFile = new File(defaultAuthfile); - private boolean giveError; - - public DefaultAuthenticator(@NotNull ErrorReceiver receiver, @NotNull File authfile) throws BadCommandLineException { - this.errReceiver = receiver; - this.proxyUser = System.getProperty("http.proxyUser"); - this.proxyPasswd = System.getProperty("http.proxyPassword"); - - if(authfile != null){ - this.authFile = authfile; - this.giveError = true; - } - - if(!authFile.exists()){ - try { - error(new SAXParseException(WscompileMessages.WSIMPORT_AUTH_FILE_NOT_FOUND(authFile.getCanonicalPath(), defaultAuthfile), null)); - } catch (IOException e) { - error(new SAXParseException(WscompileMessages.WSIMPORT_FAILED_TO_PARSE(authFile,e.getMessage()), null)); - } - return; - } - - if(!authFile.canRead()){ - error(new SAXParseException("Authorization file: "+authFile + " does not have read permission!", null)); - return; - } - parseAuth(); - } - - protected PasswordAuthentication getPasswordAuthentication() { - //If user sets proxy user and passwd and the RequestType is from proxy server then create - // PasswordAuthentication using proxyUser and proxyClass; - if((getRequestorType() == RequestorType.PROXY) && proxyUser != null && proxyPasswd != null){ - return new PasswordAuthentication(proxyUser, proxyPasswd.toCharArray()); - } - for(AuthInfo auth:authInfo){ - if(auth.matchingHost(getRequestingURL())){ - return new PasswordAuthentication(auth.getUser(), auth.getPassword().toCharArray()); - } - } - return null; - } - - static Authenticator getCurrentAuthenticator() { - final Field f = getTheAuthenticator(); - if (f == null) { - return null; - } - - try { - AccessController.doPrivileged(new PrivilegedAction() { - - public Void run() { - f.setAccessible(true); - return null; - } - }); - return (Authenticator) f.get(null); - } catch (Exception ex) { - return null; - } finally { - if (f != null) { - AccessController.doPrivileged(new PrivilegedAction() { - - public Void run() { - f.setAccessible(false); - return null; - } - }); - } - } - } - - private static Field getTheAuthenticator() { - try { - return Authenticator.class.getDeclaredField("theAuthenticator"); - } catch (Exception ex) { - return null; - } - } - - private void parseAuth() { - errReceiver.info(new SAXParseException(WscompileMessages.WSIMPORT_READING_AUTH_FILE(authFile), null)); - - BufferedReader in; - try { - in = new BufferedReader(new InputStreamReader(new FileInputStream(authFile), "UTF-8")); - } catch (UnsupportedEncodingException e) { - error(new SAXParseException(e.getMessage(), null)); - return; - } catch (FileNotFoundException e) { - error(new SAXParseException(WscompileMessages.WSIMPORT_AUTH_FILE_NOT_FOUND(authFile, defaultAuthfile), null, e)); - return; - } - String text; - LocatorImpl locator = new LocatorImpl(); - try { - int lineno = 1; - - locator.setSystemId(authFile.getCanonicalPath()); - - while ((text = in.readLine()) != null) { - locator.setLineNumber(lineno++); - try { - URL url = new URL(text); - String authinfo = url.getUserInfo(); - - if (authinfo != null) { - int i = authinfo.indexOf(':'); - - if (i >= 0) { - String user = authinfo.substring(0, i); - String password = authinfo.substring(i + 1); - authInfo.add(new AuthInfo(new URL(text), user, password)); - } else { - error(new SAXParseException(WscompileMessages.WSIMPORT_ILLEGAL_AUTH_INFO(url), locator)); - } - } else { - error(new SAXParseException(WscompileMessages.WSIMPORT_ILLEGAL_AUTH_INFO(url), locator)); - } - - } catch (NumberFormatException e) { - error(new SAXParseException(WscompileMessages.WSIMPORT_ILLEGAL_AUTH_INFO(text), locator)); - } - } - in.close(); - } catch (IOException e) { - error(new SAXParseException(WscompileMessages.WSIMPORT_FAILED_TO_PARSE(authFile,e.getMessage()), locator)); - } - } - - /** - * When user provides authfile explicitly using -Xauthfile we throw error otherwise show the mesage by default with -Xdebug flag - */ - private void error(SAXParseException e){ - if(giveError){ - errReceiver.error(e); - } else{ - errReceiver.debug(e); - } - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiver.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -44,7 +44,7 @@ *

* However, to make the error handling easy (and make it work * with visitor patterns nicely), - * none of the methods on thi class throws {@link org.xml.sax.SAXException}. + * none of the methods on this class throws {@link org.xml.sax.SAXException}. * Instead, when the compilation needs to be aborted, * it throws {@link AbortException}, which is unchecked. * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiverFilter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiverFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ErrorReceiverFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/FilerCodeWriter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/FilerCodeWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/FilerCodeWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -51,7 +51,11 @@ public Writer openSource(JPackage pkg, String fileName) throws IOException { String tmp = fileName.substring(0, fileName.length()-5); - w = filer.createSourceFile(pkg.name() + "." + tmp).openWriter(); + if (pkg.name() != null && ! "".equals(pkg.name())) { + w = filer.createSourceFile(pkg.name() + "." + tmp).openWriter(); + } else { + w = filer.createSourceFile(tmp).openWriter(); + } return w; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/JavaCompilerHelper.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/JavaCompilerHelper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/JavaCompilerHelper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Options.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Options.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Options.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -36,6 +36,7 @@ import java.net.URLClassLoader; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; +import java.text.MessageFormat; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; @@ -92,6 +93,12 @@ */ public boolean nocompile; + /** + * Disable secure xml processing. + * -XdisableSecureXmlProcessing + */ + public boolean disableSecureXmlProcessing = false; + public enum Target { V2_0, V2_1, V2_2; @@ -180,13 +187,6 @@ return compatibilityMode == EXTENSION; } - /** - * Target direcoty when producing files. - */ - public File targetDir = new File("."); - - - public boolean debug = false; /** @@ -213,7 +213,10 @@ public void removeGeneratedFiles(){ for(File file : generatedFiles){ if (file.getName().endsWith(".java")) { - file.delete(); + boolean deleted = file.delete(); + if (verbose && !deleted) { + System.out.println(MessageFormat.format("{0} could not be deleted.", file)); + } } } generatedFiles.clear(); @@ -235,7 +238,10 @@ synchronized (generatedFiles) { for (File file : generatedFiles) { if (file.getName().endsWith(".java")) { - file.delete(); + boolean deleted = file.delete(); + if (verbose && !deleted) { + System.out.println(MessageFormat.format("{0} could not be deleted.", file)); + } } } generatedFiles.clear(); @@ -348,6 +354,9 @@ throw new BadCommandLineException(WscompileMessages.WSCOMPILE_UNSUPPORTED_ENCODING(encoding)); } return 2; + } else if (args[i].equals("-XdisableSecureXmlProcessing")) { + disableSecureXmlProcessing= true; + return 1; } return 0; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Plugin.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Plugin.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/Plugin.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -73,7 +73,7 @@ * *

Since options can appear in no particular order, WsImport allows * sub-options of a plugin to show up before the option that activates a - * plugin (one that's returned by {@link #getOptionName().) + * plugin (one that's returned by {@link #getOptionName()}.) * * But nevertheless a {@link Plugin} needs to be activated to participate in * further processing. @@ -120,14 +120,14 @@ * @param options This object allows access to various options used for code * generation as well as access to the generated code. * - * @param errorHandler Errors should be reported to this handler. + * @param errorReceiver Errors should be reported to this handler. * * @return If the add-on executes successfully, return true. If it detects * some errors but those are reported and recovered gracefully, return * false. * - * @throws SAXException After an error is reported to {@link ErrorHandler}, - * the same exception can be thrown to indicate a fatal irrecoverable error. {@link ErrorHandler} + * @throws SAXException After an error is reported to {@link ErrorReceiver}, + * the same exception can be thrown to indicate a fatal irrecoverable error. {@link ErrorReceiver} * itself may throw it, if it chooses not to recover from the error. */ public abstract boolean run( diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WSCodeWriter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WSCodeWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WSCodeWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenOptions.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenOptions.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenOptions.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,17 +25,22 @@ package com.sun.tools.internal.ws.wscompile; -import com.sun.tools.internal.ws.resources.WscompileMessages; import com.sun.tools.internal.ws.api.WsgenExtension; import com.sun.tools.internal.ws.api.WsgenProtocol; +import com.sun.tools.internal.ws.resources.WscompileMessages; import com.sun.xml.internal.ws.api.BindingID; +import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import com.sun.xml.internal.ws.util.ServiceFinder; -import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import javax.jws.WebService; import javax.xml.namespace.QName; import java.io.File; -import java.util.*; +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; /** * @author Vivek Pandey @@ -90,6 +95,12 @@ */ public boolean protocolSet = false; + /** + * -x file1 -x file2 ...
+ * Files to be parsed to get classes' metadata in addition/instead of using annotations and reflection API + */ + public List externalMetadataFiles = new ArrayList(); + private static final String SERVICENAME_OPTION = "-servicename"; private static final String PORTNAME_OPTION = "-portname"; private static final String HTTP = "http"; @@ -163,6 +174,9 @@ } else if (args[i].equals("-inlineSchemas")) { inlineSchemas = true; return 1; + } else if ("-x".equals(args[i])) { + externalMetadataFiles.add(requireArgument("-x", args, ++i)); + return 1; } return j; @@ -180,7 +194,6 @@ private boolean isImplClass; - private boolean noWebServiceEndpoint; public void validate() throws BadCommandLineException { if(nonclassDestDir == null) @@ -233,9 +246,6 @@ if(!isImplClass){ throw new BadCommandLineException(WscompileMessages.WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(clazz.getName())); } - if(noWebServiceEndpoint){ - throw new BadCommandLineException(WscompileMessages.WSGEN_NO_WEBSERVICES_CLASS(clazz.getName())); - } endpoint = clazz; validateBinding(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenTool.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenTool.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsgenTool.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,6 +25,7 @@ package com.sun.tools.internal.ws.wscompile; +import com.oracle.webservices.internal.api.databinding.WSDLResolver; import com.sun.istack.internal.tools.ParallelWorldClassLoader; import com.sun.tools.internal.ws.ToolVersion; import com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAp; @@ -43,9 +44,9 @@ import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.api.wsdl.writer.WSDLGeneratorExtension; import com.sun.xml.internal.ws.binding.WebServiceFeatureList; +import com.sun.xml.internal.ws.model.ExternalMetadataReader; import com.sun.xml.internal.ws.model.AbstractSEIModelImpl; import com.sun.xml.internal.ws.util.ServiceFinder; -import com.sun.xml.internal.ws.wsdl.writer.WSDLResolver; import org.xml.sax.SAXParseException; import javax.tools.DiagnosticCollector; @@ -71,6 +72,7 @@ import java.util.Collection; import java.util.Collections; import java.util.HashMap; +import java.util.List; import java.util.Map; /** @@ -86,7 +88,7 @@ public WsgenTool(OutputStream out, Container container) { - this.out = (out instanceof PrintStream)?(PrintStream)out:new PrintStream(out); + this.out = (out instanceof PrintStream) ? (PrintStream) out : new PrintStream(out); this.container = container; } @@ -95,7 +97,7 @@ this(out, null); } - public boolean run(String[] args){ + public boolean run(String[] args) { final Listener listener = new Listener(); for (String arg : args) { if (arg.equals("-version")) { @@ -112,22 +114,22 @@ try { options.parseArguments(args); options.validate(); - if(!buildModel(options.endpoint.getName(), listener)){ + if (!buildModel(options.endpoint.getName(), listener)) { return false; } - }catch (Options.WeAreDone done){ - usage((WsgenOptions)done.getOptions()); - }catch (BadCommandLineException e) { - if(e.getMessage()!=null) { + } catch (Options.WeAreDone done) { + usage(done.getOptions()); + } catch (BadCommandLineException e) { + if (e.getMessage() != null) { System.out.println(e.getMessage()); System.out.println(); } - usage((WsgenOptions)e.getOptions()); + usage(e.getOptions()); return false; - }catch(AbortException e){ + } catch (AbortException e) { //error might have been reported - }finally{ - if(!options.keep){ + } finally { + if (!options.keep) { options.removeGeneratedFiles(); } } @@ -136,21 +138,25 @@ private final Container container; - private int round = 0; - /* * To take care of JDK6-JDK6u3, where 2.1 API classes are not there */ private static boolean useBootClasspath(Class clazz) { try { - ParallelWorldClassLoader.toJarUrl(clazz.getResource('/'+clazz.getName().replace('.','/')+".class")); + ParallelWorldClassLoader.toJarUrl(clazz.getResource('/' + clazz.getName().replace('.', '/') + ".class")); return true; - } catch(Exception e) { + } catch (Exception e) { return false; } } - + /** + * + * @param endpoint + * @param listener + * @return + * @throws BadCommandLineException + */ public boolean buildModel(String endpoint, Listener listener) throws BadCommandLineException { final ErrorReceiverFilter errReceiver = new ErrorReceiverFilter(listener); @@ -178,7 +184,7 @@ .append(JavaCompilerHelper.getJarFile(XmlSeeAlso.class)).toString()); } - JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); + JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();// compiler = JavacTool.create(); DiagnosticCollector diagnostics = new DiagnosticCollector(); StandardJavaFileManager fileManager = compiler.getStandardFileManager(diagnostics, null, null); JavaCompiler.CompilationTask task = compiler.getTask( @@ -196,8 +202,15 @@ return false; } if (options.genWsdl) { - DatabindingConfig config = new DatabindingConfig(); - String tmpPath = options.destDir.getAbsolutePath()+ File.pathSeparator+options.classpath; + DatabindingConfig config = new DatabindingConfig(); + + List externalMetadataFileNames = options.externalMetadataFiles; + boolean disableSecureXmlProcessing = options.disableSecureXmlProcessing; + if (externalMetadataFileNames != null && externalMetadataFileNames.size() > 0) { + config.setMetadataReader(new ExternalMetadataReader(getExternalFiles(externalMetadataFileNames), null, null, true, disableSecureXmlProcessing)); + } + + String tmpPath = options.destDir.getAbsolutePath() + File.pathSeparator + options.classpath; ClassLoader classLoader = new URLClassLoader(Options.pathToURLs(tmpPath), this.getClass().getClassLoader()); Class endpointClass; @@ -218,23 +231,26 @@ config.getMappingInfo().setPortName(options.portName);//rtModeler.setPortName(options.portName); // AbstractSEIModelImpl rtModel = rtModeler.buildRuntimeModel(); - DatabindingFactory fac = DatabindingFactory.newInstance(); - config.setEndpointClass(endpointClass); - config.getMappingInfo().setServiceName(options.serviceName); - config.setFeatures(wsfeatures.toArray()); - config.setClassLoader(classLoader); - config.getMappingInfo().setBindingID(bindingID); - com.sun.xml.internal.ws.db.DatabindingImpl rt = (com.sun.xml.internal.ws.db.DatabindingImpl)fac.createRuntime(config); + DatabindingFactory fac = DatabindingFactory.newInstance(); + config.setEndpointClass(endpointClass); + config.getMappingInfo().setServiceName(options.serviceName); + config.setFeatures(wsfeatures.toArray()); + config.setClassLoader(classLoader); + config.getMappingInfo().setBindingID(bindingID); + com.sun.xml.internal.ws.db.DatabindingImpl rt = (com.sun.xml.internal.ws.db.DatabindingImpl) fac.createRuntime(config); final File[] wsdlFileName = new File[1]; // used to capture the generated WSDL file. - final Map schemaFiles = new HashMap(); + final Map schemaFiles = new HashMap(); WSDLGenInfo wsdlGenInfo = new WSDLGenInfo(); + wsdlGenInfo.setSecureXmlProcessingDisabled(disableSecureXmlProcessing); + wsdlGenInfo.setWsdlResolver( new WSDLResolver() { private File toFile(String suggestedFilename) { return new File(options.nonclassDestDir, suggestedFilename); } + private Result toResult(File file) { Result result; try { @@ -247,21 +263,27 @@ return result; } + @Override public Result getWSDL(String suggestedFilename) { File f = toFile(suggestedFilename); wsdlFileName[0] = f; return toResult(f); } + public Result getSchemaOutput(String namespace, String suggestedFilename) { if (namespace == null) return null; File f = toFile(suggestedFilename); - schemaFiles.put(namespace,f); + schemaFiles.put(namespace, f); return toResult(f); } + + @Override public Result getAbstractWSDL(Holder filename) { return toResult(toFile(filename.value)); } + + @Override public Result getSchemaOutput(String namespace, Holder filename) { return getSchemaOutput(namespace, filename.value); } @@ -274,20 +296,34 @@ rt.generateWSDL(wsdlGenInfo); - if(options.wsgenReport!=null) - generateWsgenReport(endpointClass,(AbstractSEIModelImpl)rt.getModel(),wsdlFileName[0],schemaFiles); + if (options.wsgenReport != null) + generateWsgenReport(endpointClass, (AbstractSEIModelImpl) rt.getModel(), wsdlFileName[0], schemaFiles); } return true; } + private List getExternalFiles(List exts) { + List files = new ArrayList(); + for (String ext : exts) { + // first try absolute path ... + File file = new File(ext); + if (!file.exists()) { + // then relative path ... + file = new File(options.sourceDir.getAbsolutePath() + File.separator + ext); + } + files.add(file); + } + return files; + } + /** * Generates a small XML file that captures the key activity of wsgen, * so that test harness can pick up artifacts. */ - private void generateWsgenReport(Class endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map schemaFiles) { + private void generateWsgenReport(Class endpointClass, AbstractSEIModelImpl rtModel, File wsdlFile, Map schemaFiles) { try { ReportOutput.Report report = TXW.create(ReportOutput.Report.class, - new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport)))); + new StreamSerializer(new BufferedOutputStream(new FileOutputStream(options.wsgenReport)))); report.wsdl(wsdlFile.getAbsolutePath()); ReportOutput.writeQName(rtModel.getServiceQName(), report.service()); @@ -296,7 +332,7 @@ report.implClass(endpointClass.getName()); - for (Map.Entry e : schemaFiles.entrySet()) { + for (Map.Entry e : schemaFiles.entrySet()) { ReportOutput.Schema s = report.schema(); s.ns(e.getKey()); s.location(e.getValue().getAbsolutePath()); @@ -317,10 +353,13 @@ interface Report extends TypedXmlWriter { @XmlElement void wsdl(String file); // location of WSDL + @XmlElement QualifiedName portType(); + @XmlElement QualifiedName service(); + @XmlElement QualifiedName port(); @@ -337,6 +376,7 @@ interface QualifiedName extends TypedXmlWriter { @XmlAttribute void uri(String ns); + @XmlAttribute void localName(String localName); } @@ -344,23 +384,28 @@ interface Schema extends TypedXmlWriter { @XmlAttribute void ns(String ns); + @XmlAttribute void location(String filePath); } - private static void writeQName( QName n, QualifiedName w ) { + private static void writeQName(QName n, QualifiedName w) { w.uri(n.getNamespaceURI()); w.localName(n.getLocalPart()); } } - protected void usage(WsgenOptions options) { + protected void usage(Options options) { // Just don't see any point in passing WsgenOptions // BadCommandLineException also shouldn't have options if (options == null) options = this.options; - System.out.println(WscompileMessages.WSGEN_HELP("WSGEN", options.protocols, options.nonstdProtocols.keySet())); - System.out.println(WscompileMessages.WSGEN_USAGE_EXAMPLES()); + if (options instanceof WsgenOptions) { + System.out.println(WscompileMessages.WSGEN_HELP("WSGEN", + ((WsgenOptions)options).protocols, + ((WsgenOptions)options).nonstdProtocols.keySet())); + System.out.println(WscompileMessages.WSGEN_USAGE_EXAMPLES()); + } } class Listener extends WsimportListener { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportListener.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportListener.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportListener.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportOptions.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportOptions.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportOptions.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -62,6 +62,8 @@ import java.util.Arrays; import java.util.List; import java.util.HashMap; +import java.util.logging.Level; +import java.util.logging.Logger; /** * @author Vivek Pandey @@ -139,7 +141,12 @@ /** * Authentication file */ - public File authFile; + public File authFile = null; + + //can user.home value be null? + public static final String defaultAuthfile + = System.getProperty("user.home") + System.getProperty("file.separator") + + ".metro" + System.getProperty("file.separator") + "auth"; /** * Setting disableAuthenticator to true disables the DefaultAuthenticator. @@ -147,6 +154,10 @@ */ public boolean disableAuthenticator; + public String proxyAuth = null; + private String proxyHost = null; + private String proxyPort = null; + /** * Additional arguments */ @@ -240,6 +251,16 @@ } } } + + if (encoding != null && schemaCompiler.getOptions().encoding == null) { + try { + schemaCompiler.getOptions().parseArgument( + new String[] {"-encoding", encoding}, 0); + } catch (com.sun.tools.internal.xjc.BadCommandLineException ex) { + Logger.getLogger(WsimportOptions.class.getName()).log(Level.SEVERE, null, ex); + } + } + if(destDir == null) destDir = new File("."); if(sourceDir == null) @@ -292,15 +313,15 @@ if (value.length() == 0) { throw new BadCommandLineException(WscompileMessages.WSCOMPILE_INVALID_OPTION(args[i])); } - int index = value.indexOf(':'); - if (index == -1) { + parseProxy(value); + if (proxyHost != null || proxyPort != null) { System.setProperty("proxySet", "true"); - System.setProperty("proxyHost", value); - System.setProperty("proxyPort", "8080"); - } else { - System.setProperty("proxySet", "true"); - System.setProperty("proxyHost", value.substring(0, index)); - System.setProperty("proxyPort", value.substring(index + 1)); + } + if (proxyHost != null) { + System.setProperty("proxyHost", proxyHost); + } + if (proxyPort != null) { + System.setProperty("proxyPort", proxyPort); } return 1; } else if (args[i].equals("-Xno-addressing-databinding")) { @@ -576,6 +597,37 @@ return extensionOptions.get(argument); } + private void parseProxy(String text) throws BadCommandLineException { + int i = text.lastIndexOf('@'); + int j = text.lastIndexOf(':'); + + if (i > 0) { + proxyAuth = text.substring(0, i); + if (j > i) { + proxyHost = text.substring(i + 1, j); + proxyPort = text.substring(j + 1); + } else { + proxyHost = text.substring(i + 1); + proxyPort = "8080"; + } + } else { + //no auth info + if (j < 0) { + //no port + proxyHost = text; + proxyPort = "8080"; + } else { + proxyHost = text.substring(0, j); + proxyPort = text.substring(j + 1); + } + } + try { + Integer.valueOf(proxyPort); + } catch (NumberFormatException e) { + throw new BadCommandLineException(WscompileMessages.WSIMPORT_ILLEGAL_PROXY(text)); + } + } + /** * Looks for all "META-INF/services/[className]" files and * create one instance for each class name found inside this file. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,6 +27,7 @@ import com.sun.codemodel.internal.CodeWriter; import com.sun.codemodel.internal.writer.ProgressCodeWriter; +import com.sun.istack.internal.tools.DefaultAuthenticator; import com.sun.tools.internal.ws.ToolVersion; import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; import com.sun.tools.internal.ws.processor.generator.CustomExceptionGenerator; @@ -55,9 +56,10 @@ import javax.xml.ws.EndpointContext; import java.io.*; import java.util.*; -import java.net.Authenticator; +import java.text.MessageFormat; import java.util.jar.JarEntry; import java.util.jar.JarOutputStream; +import org.xml.sax.Locator; import org.xml.sax.SAXException; /** @@ -134,11 +136,13 @@ this.listener = listener; } + @Override public void info(SAXParseException exception) { if (options.verbose) super.info(exception); } + @Override public void warning(SAXParseException exception) { if (!options.quiet) super.warning(exception); @@ -179,13 +183,10 @@ } } - Authenticator orig = null; try { parseArguments(args, listener, receiver); try { - orig = DefaultAuthenticator.getCurrentAuthenticator(); - Model wsdlModel = buildWsdlModel(listener, receiver); if (wsdlModel == null) return false; @@ -235,7 +236,7 @@ } finally{ deleteGeneratedFiles(); if (!options.disableAuthenticator) { - Authenticator.setDefault(orig); + DefaultAuthenticator.reset(); } } if(receiver.hadError()) { @@ -253,11 +254,12 @@ synchronized (generatedFiles) { for (File file : generatedFiles) { if (!file.getName().endsWith(".java")) { - file.delete(); + boolean deleted = file.delete(); + if (options.verbose && !deleted) { + System.out.println(MessageFormat.format("{0} could not be deleted.", file)); + } trackedRootPackages.add(file.getParentFile()); - } - } } //remove empty package dirs @@ -265,7 +267,10 @@ while(pkg.list() != null && pkg.list().length ==0 && !pkg.equals(options.destDir)) { File parentPkg = pkg.getParentFile(); - pkg.delete(); + boolean deleted = pkg.delete(); + if (options.verbose && !deleted) { + System.out.println(MessageFormat.format("{0} could not be deleted.", pkg)); + } pkg = parentPkg; } } @@ -273,7 +278,6 @@ if(!options.keep) { options.removeGeneratedFiles(); } - } private void addClassesToGeneratedFiles() throws IOException { @@ -286,7 +290,7 @@ File classDir = new File(options.destDir,relativeDir); if(classDir.exists()) { classDir.listFiles(new FilenameFilter() { - + @Override public boolean accept(File dir, String name) { if(name.equals(className+".class") || (name.startsWith(className+"$") && name.endsWith(".class"))) { trackedClassFiles.add(new File(dir,name)); @@ -309,42 +313,50 @@ zipFile = new File(options.destDir, options.clientjar); } - if (zipFile.exists()) { - //TODO + FileOutputStream fos; + if (!options.quiet) { + listener.message(WscompileMessages.WSIMPORT_ARCHIVING_ARTIFACTS(zipFile)); } - FileOutputStream fos = null; - if( !options.quiet ) - listener.message(WscompileMessages.WSIMPORT_ARCHIVING_ARTIFACTS(zipFile)); - + BufferedInputStream bis = null; + FileInputStream fi = null; fos = new FileOutputStream(zipFile); JarOutputStream jos = new JarOutputStream(fos); - - String base = options.destDir.getCanonicalPath(); - for(File f: options.getGeneratedFiles()) { - //exclude packaging the java files in the jar - if(f.getName().endsWith(".java")) { - continue; - } - if(options.verbose) { - listener.message(WscompileMessages.WSIMPORT_ARCHIVE_ARTIFACT(f, options.clientjar)); + try { + String base = options.destDir.getCanonicalPath(); + for(File f: options.getGeneratedFiles()) { + //exclude packaging the java files in the jar + if(f.getName().endsWith(".java")) { + continue; + } + if(options.verbose) { + listener.message(WscompileMessages.WSIMPORT_ARCHIVE_ARTIFACT(f, options.clientjar)); + } + String entry = f.getCanonicalPath().substring(base.length()+1); + fi = new FileInputStream(f); + bis = new BufferedInputStream(fi); + JarEntry jarEntry = new JarEntry(entry); + jos.putNextEntry(jarEntry); + int bytesRead; + byte[] buffer = new byte[1024]; + while ((bytesRead = bis.read(buffer)) != -1) { + jos.write(buffer, 0, bytesRead); + } } - String entry = f.getCanonicalPath().substring(base.length()+1); - BufferedInputStream bis = new BufferedInputStream( - new FileInputStream(f)); - JarEntry jarEntry = new JarEntry(entry); - jos.putNextEntry(jarEntry); - int bytesRead; - byte[] buffer = new byte[1024]; - while ((bytesRead = bis.read(buffer)) != -1) { - jos.write(buffer, 0, bytesRead); + } finally { + try { + if (bis != null) { + bis.close(); + } + } finally { + if (jos != null) { + jos.close(); + } + if (fi != null) { + fi.close(); + } } - bis.close(); - } - - jos.close(); - } protected void parseArguments(String[] args, Listener listener, @@ -356,15 +368,56 @@ options.parseBindings(receiver); } - protected Model buildWsdlModel(Listener listener, - Receiver receiver) throws BadCommandLineException, XMLStreamException, IOException { - if( !options.quiet ) - listener.message(WscompileMessages.WSIMPORT_PARSING_WSDL()); - + protected Model buildWsdlModel(Listener listener, final Receiver receiver) + throws BadCommandLineException, XMLStreamException, IOException { //set auth info //if(options.authFile != null) if (!options.disableAuthenticator) { - Authenticator.setDefault(new DefaultAuthenticator(receiver, options.authFile)); + class AuthListener implements DefaultAuthenticator.Receiver { + + private final boolean isFatal; + + AuthListener(boolean isFatal) { + this.isFatal = isFatal; + } + + @Override + public void onParsingError(String text, Locator loc) { + error(new SAXParseException(WscompileMessages.WSIMPORT_ILLEGAL_AUTH_INFO(text), loc)); + } + + @Override + public void onError(Exception e, Locator loc) { + if (e instanceof FileNotFoundException) { + error(new SAXParseException(WscompileMessages.WSIMPORT_AUTH_FILE_NOT_FOUND( + loc.getSystemId(), WsimportOptions.defaultAuthfile), null)); + } else { + error(new SAXParseException(WscompileMessages.WSIMPORT_FAILED_TO_PARSE(loc.getSystemId(),e.getMessage()), loc)); + } + } + + private void error(SAXParseException e) { + if (isFatal) { + receiver.error(e); + } else { + receiver.debug(e); + } + } + } + + DefaultAuthenticator da = DefaultAuthenticator.getAuthenticator(); + if (options.proxyAuth != null) { + da.setProxyAuth(options.proxyAuth); + } + if (options.authFile != null) { + da.setAuth(options.authFile, new AuthListener(true)); + } else { + da.setAuth(new File(WsimportOptions.defaultAuthfile), new AuthListener(false)); + } + } + + if (!options.quiet) { + listener.message(WscompileMessages.WSIMPORT_PARSING_WSDL()); } MetadataFinder forest = new MetadataFinder(new WSDLInternalizationLogic(), options, receiver); @@ -498,7 +551,7 @@ listener.message(WscompileMessages.WSIMPORT_COMPILING_CODE()); if(options.verbose){ - StringBuffer argstr = new StringBuffer(); + StringBuilder argstr = new StringBuilder(); for(String arg:args){ argstr.append(arg).append(" "); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/plugin/at_generated/PluginImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/plugin/at_generated/PluginImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/plugin/at_generated/PluginImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Binding.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Binding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Binding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingFault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingInput.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingInput.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingInput.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOperation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -59,7 +59,7 @@ public String getUniqueKey() { if (_uniqueKey == null) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append(_name); sb.append(' '); if (_input != null) { @@ -121,6 +121,7 @@ return _faults; } + @Override public QName getElementName() { return WSDLConstants.QNAME_OPERATION; } @@ -133,30 +134,37 @@ _documentation = d; } + @Override public String getNameValue() { return getName(); } + @Override public String getNamespaceURI() { - return parent.getNamespaceURI(); + return (parent == null) ? null : parent.getNamespaceURI(); } + @Override public QName getWSDLElementName() { return getElementName(); } + @Override public void addExtension(TWSDLExtension e) { _helper.addExtension(e); } + @Override public Iterable extensions() { return _helper.extensions(); } + @Override public TWSDLExtensible getParent() { return parent; } + @Override public void withAllSubEntitiesDo(EntityAction action) { if (_input != null) { action.perform(_input); @@ -186,6 +194,7 @@ visitor.postVisit(this); } + @Override public void validateThis() { if (_name == null) { failValidation("validation.missingRequiredAttribute", "name"); @@ -202,7 +211,7 @@ if (_output != null) { failValidation("validation.invalidSubEntity", "output"); } - if (_faults != null && _faults.size() != 0) { + if (_faults != null && !_faults.isEmpty()) { failValidation("validation.invalidSubEntity", "fault"); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOutput.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOutput.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/BindingOutput.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Definitions.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Definitions.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Definitions.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,6 +28,7 @@ import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible; import com.sun.tools.internal.ws.api.wsdl.TWSDLExtension; import com.sun.tools.internal.ws.wsdl.framework.*; + import org.xml.sax.Locator; import javax.xml.namespace.QName; @@ -213,6 +214,10 @@ public void validateThis() { } + public Map resolveBindings() { + return _document.getMap(Kinds.BINDING); + } + private AbstractDocument _document; private ExtensibilityHelper _helper; private Documentation _documentation; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Documentation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Documentation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Documentation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Fault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Fault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Fault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -64,6 +64,7 @@ return (Message) document.find(Kinds.MESSAGE, _message); } + @Override public QName getElementName() { return WSDLConstants.QNAME_FAULT; } @@ -76,12 +77,14 @@ _documentation = d; } + @Override public void withAllQNamesDo(QNameAction action) { if (_message != null) { action.perform(_message); } } + @Override public void withAllEntityReferencesDo(EntityReferenceAction action) { super.withAllEntityReferencesDo(action); if (_message != null) { @@ -94,6 +97,7 @@ visitor.postVisit(this); } + @Override public void validateThis() { if (_name == null) { failValidation("validation.missingRequiredAttribute", "name"); @@ -109,14 +113,17 @@ private String _action; private ExtensibilityHelper _helper; + @Override public String getNameValue() { return getName(); } + @Override public String getNamespaceURI() { - return parent.getNamespaceURI(); + return (parent == null) ? null : parent.getNamespaceURI(); } + @Override public QName getWSDLElementName() { return getElementName(); } @@ -124,6 +131,7 @@ /* (non-Javadoc) * @see TWSDLExtensible#addExtension(ExtensionImpl) */ + @Override public void addExtension(TWSDLExtension e) { _helper.addExtension(e); @@ -132,10 +140,12 @@ /* (non-Javadoc) * @see TWSDLExtensible#extensions() */ + @Override public Iterable extensions() { return _helper.extensions(); } + @Override public TWSDLExtensible getParent() { return parent; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Import.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Import.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Import.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Input.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Input.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Input.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Kinds.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Kinds.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Kinds.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Message.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Message.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Message.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/MessagePart.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/MessagePart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/MessagePart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Operation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Operation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Operation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/OperationStyle.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/OperationStyle.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/OperationStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Output.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Output.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Output.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Port.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Port.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Port.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/PortType.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/PortType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/PortType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Service.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Service.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Service.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Types.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Types.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/Types.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -47,6 +47,7 @@ _helper = new ExtensibilityHelper(); } + @Override public QName getElementName() { return WSDLConstants.QNAME_TYPES; } @@ -65,32 +66,39 @@ visitor.postVisit(this); } + @Override public void validateThis() { } /** * wsdl:type does not have any name attribute */ + @Override public String getNameValue() { return null; } + @Override public String getNamespaceURI() { - return parent.getNamespaceURI(); + return (parent == null) ? null : parent.getNamespaceURI(); } + @Override public QName getWSDLElementName() { return getElementName(); } + @Override public void addExtension(TWSDLExtension e) { _helper.addExtension(e); } + @Override public Iterable extensions() { return _helper.extensions(); } + @Override public TWSDLExtensible getParent() { return parent; } @@ -99,6 +107,7 @@ this.parent = parent; } + @Override public void withAllSubEntitiesDo(EntityAction action) { _helper.withAllSubEntitiesDo(action); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,25 +35,24 @@ public interface WSDLConstants { // namespace URIs - public static String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; - public static String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; + static final String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; + static final String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; // QNames - public static QName QNAME_BINDING = new QName(NS_WSDL, "binding"); - public static QName QNAME_DEFINITIONS = new QName(NS_WSDL, "definitions"); - public static QName QNAME_DOCUMENTATION = - new QName(NS_WSDL, "documentation"); - public static QName QNAME_FAULT = new QName(NS_WSDL, "fault"); - public static QName QNAME_IMPORT = new QName(NS_WSDL, "import"); - public static QName QNAME_INPUT = new QName(NS_WSDL, "input"); - public static QName QNAME_MESSAGE = new QName(NS_WSDL, "message"); - public static QName QNAME_OPERATION = new QName(NS_WSDL, "operation"); - public static QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); - public static QName QNAME_PART = new QName(NS_WSDL, "part"); - public static QName QNAME_PORT = new QName(NS_WSDL, "port"); - public static QName QNAME_PORT_TYPE = new QName(NS_WSDL, "portType"); - public static QName QNAME_SERVICE = new QName(NS_WSDL, "service"); - public static QName QNAME_TYPES = new QName(NS_WSDL, "types"); + static final QName QNAME_BINDING = new QName(NS_WSDL, "binding"); + static final QName QNAME_DEFINITIONS = new QName(NS_WSDL, "definitions"); + static final QName QNAME_DOCUMENTATION = new QName(NS_WSDL, "documentation"); + static final QName QNAME_FAULT = new QName(NS_WSDL, "fault"); + static final QName QNAME_IMPORT = new QName(NS_WSDL, "import"); + static final QName QNAME_INPUT = new QName(NS_WSDL, "input"); + static final QName QNAME_MESSAGE = new QName(NS_WSDL, "message"); + static final QName QNAME_OPERATION = new QName(NS_WSDL, "operation"); + static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); + static final QName QNAME_PART = new QName(NS_WSDL, "part"); + static final QName QNAME_PORT = new QName(NS_WSDL, "port"); + static final QName QNAME_PORT_TYPE = new QName(NS_WSDL, "portType"); + static final QName QNAME_SERVICE = new QName(NS_WSDL, "service"); + static final QName QNAME_TYPES = new QName(NS_WSDL, "types"); - public static QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_WSDL, "arrayType"); + static final QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_WSDL, "arrayType"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocument.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocument.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocument.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,7 +32,6 @@ import javax.xml.namespace.QName; import java.util.ArrayList; import java.util.Iterator; -import java.util.Set; /** * A WSDL document. @@ -110,6 +109,7 @@ _definitions.accept(visitor); } + @Override public void validate(EntityReferenceValidator validator) { GloballyValidatingAction action = new GloballyValidatingAction(this, validator); @@ -119,14 +119,14 @@ } } + @Override protected Entity getRoot() { return _definitions; } private Definitions _definitions; - private class GloballyValidatingAction - implements EntityAction, EntityReferenceAction { + private static class GloballyValidatingAction implements EntityAction, EntityReferenceAction { public GloballyValidatingAction( AbstractDocument document, EntityReferenceValidator validator) { @@ -134,6 +134,7 @@ _validator = validator; } + @Override public void perform(Entity entity) { try { entity.validateThis(); @@ -146,9 +147,10 @@ } } + @Override public void perform(Kind kind, QName name) { try { - GloballyKnown entity = _document.find(kind, name); + _document.find(kind, name); } catch (NoSuchEntityException e) { // failed to resolve, check with the validator if (_exception == null) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitorBase.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitorBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitorBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPAddress.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPAddress.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPAddress.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPBinding.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,14 +35,12 @@ public interface HTTPConstants { // namespace URIs - public static String NS_WSDL_HTTP = "http://schemas.xmlsoap.org/wsdl/http/"; + static final String NS_WSDL_HTTP = "http://schemas.xmlsoap.org/wsdl/http/"; // QNames - public static QName QNAME_ADDRESS = new QName(NS_WSDL_HTTP, "address"); - public static QName QNAME_BINDING = new QName(NS_WSDL_HTTP, "binding"); - public static QName QNAME_OPERATION = new QName(NS_WSDL_HTTP, "operation"); - public static QName QNAME_URL_ENCODED = - new QName(NS_WSDL_HTTP, "urlEncoded"); - public static QName QNAME_URL_REPLACEMENT = - new QName(NS_WSDL_HTTP, "urlReplacement"); + static final QName QNAME_ADDRESS = new QName(NS_WSDL_HTTP, "address"); + static final QName QNAME_BINDING = new QName(NS_WSDL_HTTP, "binding"); + static final QName QNAME_OPERATION = new QName(NS_WSDL_HTTP, "operation"); + static final QName QNAME_URL_ENCODED = new QName(NS_WSDL_HTTP, "urlEncoded"); + static final QName QNAME_URL_REPLACEMENT = new QName(NS_WSDL_HTTP, "urlReplacement"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPOperation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlEncoded.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlEncoded.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlEncoded.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlReplacement.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlReplacement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlReplacement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/CustomName.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/CustomName.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/CustomName.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Exception.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Exception.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Exception.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBinding.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -291,19 +291,6 @@ this.className = className; } - /** - * @return Returns the exception. - */ - public Exception getException() { - return exception; - } - /** - * @param exception The exception to set. - */ - public void setException(Exception exception) { - this.exception = exception; - } - private String wsdlNamespace; private String wsdlLocation; private String node; @@ -316,7 +303,6 @@ // private Boolean enableAdditionalHeaderMapping; private Boolean enableMimeContentMapping; private Boolean isProvider; - private Exception exception; private Set jaxbBindings; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBindingsConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBindingsConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBindingsConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,9 +35,9 @@ */ public interface JAXWSBindingsConstants { - public static String NS_JAXWS_BINDINGS = "http://java.sun.com/xml/ns/jaxws"; - public static String NS_JAXB_BINDINGS = "http://java.sun.com/xml/ns/jaxb"; - public static String NS_XJC_BINDINGS = "http://java.sun.com/xml/ns/jaxb/xjc"; + static final String NS_JAXWS_BINDINGS = "http://java.sun.com/xml/ns/jaxws"; + static final String NS_JAXB_BINDINGS = "http://java.sun.com/xml/ns/jaxb"; + static final String NS_XJC_BINDINGS = "http://java.sun.com/xml/ns/jaxb/xjc"; /** * jaxws:bindings schema component @@ -62,44 +62,44 @@ * elements that don't have any jaxws:bindings ancestors (i.e. on * outermost binding declarations). */ - public static QName JAXWS_BINDINGS = new QName(NS_JAXWS_BINDINGS, "bindings"); - public static String WSDL_LOCATION_ATTR = "wsdlLocation"; - public static String NODE_ATTR = "node"; - public static String VERSION_ATTR = "version"; + static final QName JAXWS_BINDINGS = new QName(NS_JAXWS_BINDINGS, "bindings"); + static final String WSDL_LOCATION_ATTR = "wsdlLocation"; + static final String NODE_ATTR = "node"; + static final String VERSION_ATTR = "version"; /* * ? xs:string * */ - public static QName PACKAGE = new QName(NS_JAXWS_BINDINGS, "package"); - public static String NAME_ATTR = "name"; - public static QName JAVADOC = new QName(NS_JAXWS_BINDINGS, "javadoc"); + static final QName PACKAGE = new QName(NS_JAXWS_BINDINGS, "package"); + static final String NAME_ATTR = "name"; + static final QName JAVADOC = new QName(NS_JAXWS_BINDINGS, "javadoc"); /* * xs:boolean ? */ - public static QName ENABLE_WRAPPER_STYLE = new QName(NS_JAXWS_BINDINGS, "enableWrapperStyle"); + static final QName ENABLE_WRAPPER_STYLE = new QName(NS_JAXWS_BINDINGS, "enableWrapperStyle"); /* * xs:boolean * ? */ - public static QName ENABLE_ASYNC_MAPPING = new QName(NS_JAXWS_BINDINGS, "enableAsyncMapping"); + static final QName ENABLE_ASYNC_MAPPING = new QName(NS_JAXWS_BINDINGS, "enableAsyncMapping"); /* * xs:boolean? */ - public static QName ENABLE_ADDITIONAL_SOAPHEADER_MAPPING = new QName(NS_JAXWS_BINDINGS, "enableAdditionalSOAPHeaderMapping"); + static final QName ENABLE_ADDITIONAL_SOAPHEADER_MAPPING = new QName(NS_JAXWS_BINDINGS, "enableAdditionalSOAPHeaderMapping"); /* * xs:boolean? */ - public static QName ENABLE_MIME_CONTENT = new QName(NS_JAXWS_BINDINGS, "enableMIMEContent"); + static final QName ENABLE_MIME_CONTENT = new QName(NS_JAXWS_BINDINGS, "enableMIMEContent"); /* * xs:boolean? */ - public static QName PROVIDER = new QName(NS_JAXWS_BINDINGS, "provider"); + static final QName PROVIDER = new QName(NS_JAXWS_BINDINGS, "provider"); /* * PortType @@ -118,7 +118,7 @@ * */ - public static QName CLASS = new QName(NS_JAXWS_BINDINGS, "class"); + static final QName CLASS = new QName(NS_JAXWS_BINDINGS, "class"); /* * PortType WSDLOperation @@ -142,10 +142,10 @@ - public static QName METHOD = new QName(NS_JAXWS_BINDINGS, "method"); - public static QName PARAMETER = new QName(NS_JAXWS_BINDINGS, "parameter"); - public static String PART_ATTR = "part"; - public static String ELEMENT_ATTR = "childElementName"; + static final QName METHOD = new QName(NS_JAXWS_BINDINGS, "method"); + static final QName PARAMETER = new QName(NS_JAXWS_BINDINGS, "parameter"); + static final String PART_ATTR = "part"; + static final String ELEMENT_ATTR = "childElementName"; /* * Binding @@ -181,14 +181,14 @@ * */ - public static QName EXCEPTION = new QName(NS_JAXWS_BINDINGS, "exception"); + static final QName EXCEPTION = new QName(NS_JAXWS_BINDINGS, "exception"); /* * jaxb:bindgs QName */ - public static QName JAXB_BINDINGS = new QName(NS_JAXB_BINDINGS, "bindings"); - public static String JAXB_BINDING_VERSION = "2.0"; - public static QName XSD_APPINFO = new QName(Constants.NS_XSD, "appinfo"); - public static QName XSD_ANNOTATION = new QName(Constants.NS_XSD, "annotation"); + static final QName JAXB_BINDINGS = new QName(NS_JAXB_BINDINGS, "bindings"); + static final String JAXB_BINDING_VERSION = "2.0"; + static final QName XSD_APPINFO = new QName(Constants.NS_XSD, "appinfo"); + static final QName XSD_ANNOTATION = new QName(Constants.NS_XSD, "annotation"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Parameter.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Parameter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/jaxws/Parameter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,12 +35,11 @@ public interface MIMEConstants { // namespace URIs - public static String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; + static final String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; // QNames - public static QName QNAME_CONTENT = new QName(NS_WSDL_MIME, "content"); - public static QName QNAME_MULTIPART_RELATED = - new QName(NS_WSDL_MIME, "multipartRelated"); - public static QName QNAME_PART = new QName(NS_WSDL_MIME, "part"); - public static QName QNAME_MIME_XML = new QName(NS_WSDL_MIME, "mimeXml"); + static final QName QNAME_CONTENT = new QName(NS_WSDL_MIME, "content"); + static final QName QNAME_MULTIPART_RELATED = new QName(NS_WSDL_MIME, "multipartRelated"); + static final QName QNAME_PART = new QName(NS_WSDL_MIME, "part"); + static final QName QNAME_MIME_XML = new QName(NS_WSDL_MIME, "mimeXml"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEContent.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEContent.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEContent.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEMultipartRelated.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEMultipartRelated.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEMultipartRelated.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEPart.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEPart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEPart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEXml.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEXml.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/mime/MIMEXml.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -34,118 +34,103 @@ public interface SchemaConstants { // namespace URIs - public static String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; - public static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; - public static String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; + static final String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; + static final String NS_XSD = "http://www.w3.org/2001/XMLSchema"; + static final String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; // QNames - public static QName QNAME_ALL = new QName(NS_XSD, "all"); - public static QName QNAME_ANNOTATION = new QName(NS_XSD, "annotation"); - public static QName QNAME_ANY = new QName(NS_XSD, "any"); - public static QName QNAME_ANY_ATTRIBUTE = new QName(NS_XSD, "anyAttribute"); - public static QName QNAME_ATTRIBUTE = new QName(NS_XSD, "attribute"); - public static QName QNAME_ATTRIBUTE_GROUP = - new QName(NS_XSD, "attributeGroup"); - public static QName QNAME_CHOICE = new QName(NS_XSD, "choice"); - public static QName QNAME_COMPLEX_CONTENT = - new QName(NS_XSD, "complexContent"); - public static QName QNAME_COMPLEX_TYPE = new QName(NS_XSD, "complexType"); - public static QName QNAME_ELEMENT = new QName(NS_XSD, "element"); - public static QName QNAME_ENUMERATION = new QName(NS_XSD, "enumeration"); - public static QName QNAME_EXTENSION = new QName(NS_XSD, "extension"); - public static QName QNAME_FIELD = new QName(NS_XSD, "field"); - public static QName QNAME_FRACTION_DIGITS = - new QName(NS_XSD, "fractionDigits"); - public static QName QNAME_GROUP = new QName(NS_XSD, "group"); - public static QName QNAME_IMPORT = new QName(NS_XSD, "import"); - public static QName QNAME_INCLUDE = new QName(NS_XSD, "include"); - public static QName QNAME_KEY = new QName(NS_XSD, "key"); - public static QName QNAME_KEYREF = new QName(NS_XSD, "keyref"); - public static QName QNAME_LENGTH = new QName(NS_XSD, "length"); - public static QName QNAME_LIST = new QName(NS_XSD, "list"); - public static QName QNAME_MAX_EXCLUSIVE = new QName(NS_XSD, "maxExclusive"); - public static QName QNAME_MAX_INCLUSIVE = new QName(NS_XSD, "maxInclusive"); - public static QName QNAME_MAX_LENGTH = new QName(NS_XSD, "maxLength"); - public static QName QNAME_MIN_EXCLUSIVE = new QName(NS_XSD, "minExclusive"); - public static QName QNAME_MIN_INCLUSIVE = new QName(NS_XSD, "minInclusive"); - public static QName QNAME_MIN_LENGTH = new QName(NS_XSD, "minLength"); - public static QName QNAME_NOTATION = new QName(NS_XSD, "notation"); - public static QName QNAME_RESTRICTION = new QName(NS_XSD, "restriction"); - public static QName QNAME_PATTERN = new QName(NS_XSD, "pattern"); - public static QName QNAME_PRECISION = new QName(NS_XSD, "precision"); - public static QName QNAME_REDEFINE = new QName(NS_XSD, "redefine"); - public static QName QNAME_SCALE = new QName(NS_XSD, "scale"); - public static QName QNAME_SCHEMA = new QName(NS_XSD, "schema"); - public static QName QNAME_SELECTOR = new QName(NS_XSD, "selector"); - public static QName QNAME_SEQUENCE = new QName(NS_XSD, "sequence"); - public static QName QNAME_SIMPLE_CONTENT = + static final QName QNAME_ALL = new QName(NS_XSD, "all"); + static final QName QNAME_ANNOTATION = new QName(NS_XSD, "annotation"); + static final QName QNAME_ANY = new QName(NS_XSD, "any"); + static final QName QNAME_ANY_ATTRIBUTE = new QName(NS_XSD, "anyAttribute"); + static final QName QNAME_ATTRIBUTE = new QName(NS_XSD, "attribute"); + static final QName QNAME_ATTRIBUTE_GROUP = new QName(NS_XSD, "attributeGroup"); + static final QName QNAME_CHOICE = new QName(NS_XSD, "choice"); + static final QName QNAME_COMPLEX_CONTENT = new QName(NS_XSD, "complexContent"); + static final QName QNAME_COMPLEX_TYPE = new QName(NS_XSD, "complexType"); + static final QName QNAME_ELEMENT = new QName(NS_XSD, "element"); + static final QName QNAME_ENUMERATION = new QName(NS_XSD, "enumeration"); + static final QName QNAME_EXTENSION = new QName(NS_XSD, "extension"); + static final QName QNAME_FIELD = new QName(NS_XSD, "field"); + static final QName QNAME_FRACTION_DIGITS = new QName(NS_XSD, "fractionDigits"); + static final QName QNAME_GROUP = new QName(NS_XSD, "group"); + static final QName QNAME_IMPORT = new QName(NS_XSD, "import"); + static final QName QNAME_INCLUDE = new QName(NS_XSD, "include"); + static final QName QNAME_KEY = new QName(NS_XSD, "key"); + static final QName QNAME_KEYREF = new QName(NS_XSD, "keyref"); + static final QName QNAME_LENGTH = new QName(NS_XSD, "length"); + static final QName QNAME_LIST = new QName(NS_XSD, "list"); + static final QName QNAME_MAX_EXCLUSIVE = new QName(NS_XSD, "maxExclusive"); + static final QName QNAME_MAX_INCLUSIVE = new QName(NS_XSD, "maxInclusive"); + static final QName QNAME_MAX_LENGTH = new QName(NS_XSD, "maxLength"); + static final QName QNAME_MIN_EXCLUSIVE = new QName(NS_XSD, "minExclusive"); + static final QName QNAME_MIN_INCLUSIVE = new QName(NS_XSD, "minInclusive"); + static final QName QNAME_MIN_LENGTH = new QName(NS_XSD, "minLength"); + static final QName QNAME_NOTATION = new QName(NS_XSD, "notation"); + static final QName QNAME_RESTRICTION = new QName(NS_XSD, "restriction"); + static final QName QNAME_PATTERN = new QName(NS_XSD, "pattern"); + static final QName QNAME_PRECISION = new QName(NS_XSD, "precision"); + static final QName QNAME_REDEFINE = new QName(NS_XSD, "redefine"); + static final QName QNAME_SCALE = new QName(NS_XSD, "scale"); + static final QName QNAME_SCHEMA = new QName(NS_XSD, "schema"); + static final QName QNAME_SELECTOR = new QName(NS_XSD, "selector"); + static final QName QNAME_SEQUENCE = new QName(NS_XSD, "sequence"); + static final QName QNAME_SIMPLE_CONTENT = new QName(NS_XSD, "simpleContent"); - public static QName QNAME_SIMPLE_TYPE = new QName(NS_XSD, "simpleType"); - public static QName QNAME_TOTAL_DIGITS = new QName(NS_XSD, "totalDigits"); - public static QName QNAME_UNIQUE = new QName(NS_XSD, "unique"); - public static QName QNAME_UNION = new QName(NS_XSD, "union"); - public static QName QNAME_WHITE_SPACE = new QName(NS_XSD, "whiteSpace"); + static final QName QNAME_SIMPLE_TYPE = new QName(NS_XSD, "simpleType"); + static final QName QNAME_TOTAL_DIGITS = new QName(NS_XSD, "totalDigits"); + static final QName QNAME_UNIQUE = new QName(NS_XSD, "unique"); + static final QName QNAME_UNION = new QName(NS_XSD, "union"); + static final QName QNAME_WHITE_SPACE = new QName(NS_XSD, "whiteSpace"); // QNames for built-in XSD types - public static QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); - public static QName QNAME_TYPE_NORMALIZED_STRING = - new QName(NS_XSD, "normalizedString"); - public static QName QNAME_TYPE_TOKEN = new QName(NS_XSD, "token"); - public static QName QNAME_TYPE_BYTE = new QName(NS_XSD, "byte"); - public static QName QNAME_TYPE_UNSIGNED_BYTE = - new QName(NS_XSD, "unsignedByte"); - public static QName QNAME_TYPE_BASE64_BINARY = - new QName(NS_XSD, "base64Binary"); - public static QName QNAME_TYPE_HEX_BINARY = new QName(NS_XSD, "hexBinary"); - public static QName QNAME_TYPE_INTEGER = new QName(NS_XSD, "integer"); - public static QName QNAME_TYPE_POSITIVE_INTEGER = - new QName(NS_XSD, "positiveInteger"); - public static QName QNAME_TYPE_NEGATIVE_INTEGER = - new QName(NS_XSD, "negativeInteger"); - public static QName QNAME_TYPE_NON_NEGATIVE_INTEGER = - new QName(NS_XSD, "nonNegativeInteger"); - public static QName QNAME_TYPE_NON_POSITIVE_INTEGER = - new QName(NS_XSD, "nonPositiveInteger"); - public static QName QNAME_TYPE_INT = new QName(NS_XSD, "int"); - public static QName QNAME_TYPE_UNSIGNED_INT = - new QName(NS_XSD, "unsignedInt"); - public static QName QNAME_TYPE_LONG = new QName(NS_XSD, "long"); - public static QName QNAME_TYPE_UNSIGNED_LONG = - new QName(NS_XSD, "unsignedLong"); - public static QName QNAME_TYPE_SHORT = new QName(NS_XSD, "short"); - public static QName QNAME_TYPE_UNSIGNED_SHORT = - new QName(NS_XSD, "unsignedShort"); - public static QName QNAME_TYPE_DECIMAL = new QName(NS_XSD, "decimal"); - public static QName QNAME_TYPE_FLOAT = new QName(NS_XSD, "float"); - public static QName QNAME_TYPE_DOUBLE = new QName(NS_XSD, "double"); - public static QName QNAME_TYPE_BOOLEAN = new QName(NS_XSD, "boolean"); - public static QName QNAME_TYPE_TIME = new QName(NS_XSD, "time"); - public static QName QNAME_TYPE_DATE_TIME = new QName(NS_XSD, "dateTime"); - public static QName QNAME_TYPE_DURATION = new QName(NS_XSD, "duration"); - public static QName QNAME_TYPE_DATE = new QName(NS_XSD, "date"); - public static QName QNAME_TYPE_G_MONTH = new QName(NS_XSD, "gMonth"); - public static QName QNAME_TYPE_G_YEAR = new QName(NS_XSD, "gYear"); - public static QName QNAME_TYPE_G_YEAR_MONTH = - new QName(NS_XSD, "gYearMonth"); - public static QName QNAME_TYPE_G_DAY = new QName(NS_XSD, "gDay"); - public static QName QNAME_TYPE_G_MONTH_DAY = new QName(NS_XSD, "gMonthDay"); - public static QName QNAME_TYPE_NAME = new QName(NS_XSD, "Name"); - public static QName QNAME_TYPE_QNAME = new QName(NS_XSD, "QName"); - public static QName QNAME_TYPE_NCNAME = new QName(NS_XSD, "NCName"); - public static QName QNAME_TYPE_ANY_URI = new QName(NS_XSD, "anyURI"); - public static QName QNAME_TYPE_ID = new QName(NS_XSD, "ID"); - public static QName QNAME_TYPE_IDREF = new QName(NS_XSD, "IDREF"); - public static QName QNAME_TYPE_IDREFS = new QName(NS_XSD, "IDREFS"); - public static QName QNAME_TYPE_ENTITY = new QName(NS_XSD, "ENTITY"); - public static QName QNAME_TYPE_ENTITIES = new QName(NS_XSD, "ENTITIES"); - public static QName QNAME_TYPE_NOTATION = new QName(NS_XSD, "NOTATION"); - public static QName QNAME_TYPE_NMTOKEN = new QName(NS_XSD, "NMTOKEN"); - public static QName QNAME_TYPE_NMTOKENS = new QName(NS_XSD, "NMTOKENS"); + static final QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); + static final QName QNAME_TYPE_NORMALIZED_STRING = new QName(NS_XSD, "normalizedString"); + static final QName QNAME_TYPE_TOKEN = new QName(NS_XSD, "token"); + static final QName QNAME_TYPE_BYTE = new QName(NS_XSD, "byte"); + static final QName QNAME_TYPE_UNSIGNED_BYTE = new QName(NS_XSD, "unsignedByte"); + static final QName QNAME_TYPE_BASE64_BINARY = new QName(NS_XSD, "base64Binary"); + static final QName QNAME_TYPE_HEX_BINARY = new QName(NS_XSD, "hexBinary"); + static final QName QNAME_TYPE_INTEGER = new QName(NS_XSD, "integer"); + static final QName QNAME_TYPE_POSITIVE_INTEGER = new QName(NS_XSD, "positiveInteger"); + static final QName QNAME_TYPE_NEGATIVE_INTEGER = new QName(NS_XSD, "negativeInteger"); + static final QName QNAME_TYPE_NON_NEGATIVE_INTEGER = new QName(NS_XSD, "nonNegativeInteger"); + static final QName QNAME_TYPE_NON_POSITIVE_INTEGER = new QName(NS_XSD, "nonPositiveInteger"); + static final QName QNAME_TYPE_INT = new QName(NS_XSD, "int"); + static final QName QNAME_TYPE_UNSIGNED_INT = new QName(NS_XSD, "unsignedInt"); + static final QName QNAME_TYPE_LONG = new QName(NS_XSD, "long"); + static final QName QNAME_TYPE_UNSIGNED_LONG = new QName(NS_XSD, "unsignedLong"); + static final QName QNAME_TYPE_SHORT = new QName(NS_XSD, "short"); + static final QName QNAME_TYPE_UNSIGNED_SHORT = new QName(NS_XSD, "unsignedShort"); + static final QName QNAME_TYPE_DECIMAL = new QName(NS_XSD, "decimal"); + static final QName QNAME_TYPE_FLOAT = new QName(NS_XSD, "float"); + static final QName QNAME_TYPE_DOUBLE = new QName(NS_XSD, "double"); + static final QName QNAME_TYPE_BOOLEAN = new QName(NS_XSD, "boolean"); + static final QName QNAME_TYPE_TIME = new QName(NS_XSD, "time"); + static final QName QNAME_TYPE_DATE_TIME = new QName(NS_XSD, "dateTime"); + static final QName QNAME_TYPE_DURATION = new QName(NS_XSD, "duration"); + static final QName QNAME_TYPE_DATE = new QName(NS_XSD, "date"); + static final QName QNAME_TYPE_G_MONTH = new QName(NS_XSD, "gMonth"); + static final QName QNAME_TYPE_G_YEAR = new QName(NS_XSD, "gYear"); + static final QName QNAME_TYPE_G_YEAR_MONTH = new QName(NS_XSD, "gYearMonth"); + static final QName QNAME_TYPE_G_DAY = new QName(NS_XSD, "gDay"); + static final QName QNAME_TYPE_G_MONTH_DAY = new QName(NS_XSD, "gMonthDay"); + static final QName QNAME_TYPE_NAME = new QName(NS_XSD, "Name"); + static final QName QNAME_TYPE_QNAME = new QName(NS_XSD, "QName"); + static final QName QNAME_TYPE_NCNAME = new QName(NS_XSD, "NCName"); + static final QName QNAME_TYPE_ANY_URI = new QName(NS_XSD, "anyURI"); + static final QName QNAME_TYPE_ID = new QName(NS_XSD, "ID"); + static final QName QNAME_TYPE_IDREF = new QName(NS_XSD, "IDREF"); + static final QName QNAME_TYPE_IDREFS = new QName(NS_XSD, "IDREFS"); + static final QName QNAME_TYPE_ENTITY = new QName(NS_XSD, "ENTITY"); + static final QName QNAME_TYPE_ENTITIES = new QName(NS_XSD, "ENTITIES"); + static final QName QNAME_TYPE_NOTATION = new QName(NS_XSD, "NOTATION"); + static final QName QNAME_TYPE_NMTOKEN = new QName(NS_XSD, "NMTOKEN"); + static final QName QNAME_TYPE_NMTOKENS = new QName(NS_XSD, "NMTOKENS"); - public static QName QNAME_TYPE_LANGUAGE = new QName(NS_XSD, "language"); + static final QName QNAME_TYPE_LANGUAGE = new QName(NS_XSD, "language"); // QNames for special types - public static QName QNAME_TYPE_URTYPE = new QName(NS_XSD, "anyType"); - public static QName QNAME_TYPE_SIMPLE_URTYPE = - new QName(NS_XSD, "anySimpleType"); + static final QName QNAME_TYPE_URTYPE = new QName(NS_XSD, "anyType"); + static final QName QNAME_TYPE_SIMPLE_URTYPE = new QName(NS_XSD, "anySimpleType"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaKinds.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaKinds.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/schema/SchemaKinds.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Binding.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Binding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Binding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Constants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Constants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Constants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,205 +35,122 @@ public interface SOAP12Constants { // namespace URIs - public static String NS_WSDL_SOAP = "http://schemas.xmlsoap.org/wsdl/soap12/"; - public static String NS_SOAP_ENCODING = - "http://schemas.xmlsoap.org/soap/encoding/"; + static final String NS_WSDL_SOAP = "http://schemas.xmlsoap.org/wsdl/soap12/"; + static final String NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; // other URIs - public static String URI_SOAP_TRANSPORT_HTTP = - "http://www.w3.org/2003/05/soap/bindings/HTTP/"; - ; + static final String URI_SOAP_TRANSPORT_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"; // QNames - public static QName QNAME_ADDRESS = new QName(NS_WSDL_SOAP, "address"); - public static QName QNAME_BINDING = new QName(NS_WSDL_SOAP, "binding"); - public static QName QNAME_BODY = new QName(NS_WSDL_SOAP, "body"); - public static QName QNAME_FAULT = new QName(NS_WSDL_SOAP, "fault"); - public static QName QNAME_HEADER = new QName(NS_WSDL_SOAP, "header"); - public static QName QNAME_HEADERFAULT = - new QName(NS_WSDL_SOAP, "headerfault"); - public static QName QNAME_OPERATION = new QName(NS_WSDL_SOAP, "operation"); + static final QName QNAME_ADDRESS = new QName(NS_WSDL_SOAP, "address"); + static final QName QNAME_BINDING = new QName(NS_WSDL_SOAP, "binding"); + static final QName QNAME_BODY = new QName(NS_WSDL_SOAP, "body"); + static final QName QNAME_FAULT = new QName(NS_WSDL_SOAP, "fault"); + static final QName QNAME_HEADER = new QName(NS_WSDL_SOAP, "header"); + static final QName QNAME_HEADERFAULT = new QName(NS_WSDL_SOAP, "headerfault"); + static final QName QNAME_OPERATION = new QName(NS_WSDL_SOAP, "operation"); // SOAP encoding QNames - public static QName QNAME_TYPE_ARRAY = new QName(NS_SOAP_ENCODING, "Array"); - public static QName QNAME_ATTR_GROUP_COMMON_ATTRIBUTES = - new QName(NS_SOAP_ENCODING, "commonAttributes"); - public static QName QNAME_ATTR_ARRAY_TYPE = - new QName(NS_SOAP_ENCODING, "arrayType"); - public static QName QNAME_ATTR_ITEM_TYPE = - new QName(NS_SOAP_ENCODING, "itemType"); - public static QName QNAME_ATTR_ARRAY_SIZE = - new QName(NS_SOAP_ENCODING, "arraySize"); - public static QName QNAME_ATTR_OFFSET = - new QName(NS_SOAP_ENCODING, "offset"); - public static QName QNAME_ATTR_POSITION = - new QName(NS_SOAP_ENCODING, "position"); + static final QName QNAME_TYPE_ARRAY = new QName(NS_SOAP_ENCODING, "Array"); + static final QName QNAME_ATTR_GROUP_COMMON_ATTRIBUTES = new QName(NS_SOAP_ENCODING, "commonAttributes"); + static final QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_SOAP_ENCODING, "arrayType"); + static final QName QNAME_ATTR_ITEM_TYPE = new QName(NS_SOAP_ENCODING, "itemType"); + static final QName QNAME_ATTR_ARRAY_SIZE = new QName(NS_SOAP_ENCODING, "arraySize"); + static final QName QNAME_ATTR_OFFSET = new QName(NS_SOAP_ENCODING, "offset"); + static final QName QNAME_ATTR_POSITION = new QName(NS_SOAP_ENCODING, "position"); - public static QName QNAME_TYPE_BASE64 = - new QName(NS_SOAP_ENCODING, "base64"); + static final QName QNAME_TYPE_BASE64 = new QName(NS_SOAP_ENCODING, "base64"); - public static QName QNAME_ELEMENT_STRING = - new QName(NS_SOAP_ENCODING, "string"); - public static QName QNAME_ELEMENT_NORMALIZED_STRING = - new QName(NS_SOAP_ENCODING, "normalizedString"); - public static QName QNAME_ELEMENT_TOKEN = - new QName(NS_SOAP_ENCODING, "token"); - public static QName QNAME_ELEMENT_BYTE = - new QName(NS_SOAP_ENCODING, "byte"); - public static QName QNAME_ELEMENT_UNSIGNED_BYTE = - new QName(NS_SOAP_ENCODING, "unsignedByte"); - public static QName QNAME_ELEMENT_BASE64_BINARY = - new QName(NS_SOAP_ENCODING, "base64Binary"); - public static QName QNAME_ELEMENT_HEX_BINARY = - new QName(NS_SOAP_ENCODING, "hexBinary"); - public static QName QNAME_ELEMENT_INTEGER = - new QName(NS_SOAP_ENCODING, "integer"); - public static QName QNAME_ELEMENT_POSITIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "positiveInteger"); - public static QName QNAME_ELEMENT_NEGATIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "negativeInteger"); - public static QName QNAME_ELEMENT_NON_NEGATIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); - public static QName QNAME_ELEMENT_NON_POSITIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); - public static QName QNAME_ELEMENT_INT = new QName(NS_SOAP_ENCODING, "int"); - public static QName QNAME_ELEMENT_UNSIGNED_INT = - new QName(NS_SOAP_ENCODING, "unsignedInt"); - public static QName QNAME_ELEMENT_LONG = - new QName(NS_SOAP_ENCODING, "long"); - public static QName QNAME_ELEMENT_UNSIGNED_LONG = - new QName(NS_SOAP_ENCODING, "unsignedLong"); - public static QName QNAME_ELEMENT_SHORT = - new QName(NS_SOAP_ENCODING, "short"); - public static QName QNAME_ELEMENT_UNSIGNED_SHORT = - new QName(NS_SOAP_ENCODING, "unsignedShort"); - public static QName QNAME_ELEMENT_DECIMAL = - new QName(NS_SOAP_ENCODING, "decimal"); - public static QName QNAME_ELEMENT_FLOAT = - new QName(NS_SOAP_ENCODING, "float"); - public static QName QNAME_ELEMENT_DOUBLE = - new QName(NS_SOAP_ENCODING, "double"); - public static QName QNAME_ELEMENT_BOOLEAN = - new QName(NS_SOAP_ENCODING, "boolean"); - public static QName QNAME_ELEMENT_TIME = - new QName(NS_SOAP_ENCODING, "time"); - public static QName QNAME_ELEMENT_DATE_TIME = - new QName(NS_SOAP_ENCODING, "dateTime"); - public static QName QNAME_ELEMENT_DURATION = - new QName(NS_SOAP_ENCODING, "duration"); - public static QName QNAME_ELEMENT_DATE = - new QName(NS_SOAP_ENCODING, "date"); - public static QName QNAME_ELEMENT_G_MONTH = - new QName(NS_SOAP_ENCODING, "gMonth"); - public static QName QNAME_ELEMENT_G_YEAR = - new QName(NS_SOAP_ENCODING, "gYear"); - public static QName QNAME_ELEMENT_G_YEAR_MONTH = - new QName(NS_SOAP_ENCODING, "gYearMonth"); - public static QName QNAME_ELEMENT_G_DAY = - new QName(NS_SOAP_ENCODING, "gDay"); - public static QName QNAME_ELEMENT_G_MONTH_DAY = - new QName(NS_SOAP_ENCODING, "gMonthDay"); - public static QName QNAME_ELEMENT_NAME = - new QName(NS_SOAP_ENCODING, "Name"); - public static QName QNAME_ELEMENT_QNAME = - new QName(NS_SOAP_ENCODING, "QName"); - public static QName QNAME_ELEMENT_NCNAME = - new QName(NS_SOAP_ENCODING, "NCName"); - public static QName QNAME_ELEMENT_ANY_URI = - new QName(NS_SOAP_ENCODING, "anyURI"); - public static QName QNAME_ELEMENT_ID = new QName(NS_SOAP_ENCODING, "ID"); - public static QName QNAME_ELEMENT_IDREF = - new QName(NS_SOAP_ENCODING, "IDREF"); - public static QName QNAME_ELEMENT_IDREFS = - new QName(NS_SOAP_ENCODING, "IDREFS"); - public static QName QNAME_ELEMENT_ENTITY = - new QName(NS_SOAP_ENCODING, "ENTITY"); - public static QName QNAME_ELEMENT_ENTITIES = - new QName(NS_SOAP_ENCODING, "ENTITIES"); - public static QName QNAME_ELEMENT_NOTATION = - new QName(NS_SOAP_ENCODING, "NOTATION"); - public static QName QNAME_ELEMENT_NMTOKEN = - new QName(NS_SOAP_ENCODING, "NMTOKEN"); - public static QName QNAME_ELEMENT_NMTOKENS = - new QName(NS_SOAP_ENCODING, "NMTOKENS"); + static final QName QNAME_ELEMENT_STRING = new QName(NS_SOAP_ENCODING, "string"); + static final QName QNAME_ELEMENT_NORMALIZED_STRING = new QName(NS_SOAP_ENCODING, "normalizedString"); + static final QName QNAME_ELEMENT_TOKEN = new QName(NS_SOAP_ENCODING, "token"); + static final QName QNAME_ELEMENT_BYTE = new QName(NS_SOAP_ENCODING, "byte"); + static final QName QNAME_ELEMENT_UNSIGNED_BYTE = new QName(NS_SOAP_ENCODING, "unsignedByte"); + static final QName QNAME_ELEMENT_BASE64_BINARY = new QName(NS_SOAP_ENCODING, "base64Binary"); + static final QName QNAME_ELEMENT_HEX_BINARY = new QName(NS_SOAP_ENCODING, "hexBinary"); + static final QName QNAME_ELEMENT_INTEGER = new QName(NS_SOAP_ENCODING, "integer"); + static final QName QNAME_ELEMENT_POSITIVE_INTEGER = new QName(NS_SOAP_ENCODING, "positiveInteger"); + static final QName QNAME_ELEMENT_NEGATIVE_INTEGER = new QName(NS_SOAP_ENCODING, "negativeInteger"); + static final QName QNAME_ELEMENT_NON_NEGATIVE_INTEGER = new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); + static final QName QNAME_ELEMENT_NON_POSITIVE_INTEGER = new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); + static final QName QNAME_ELEMENT_INT = new QName(NS_SOAP_ENCODING, "int"); + static final QName QNAME_ELEMENT_UNSIGNED_INT = new QName(NS_SOAP_ENCODING, "unsignedInt"); + static final QName QNAME_ELEMENT_LONG = new QName(NS_SOAP_ENCODING, "long"); + static final QName QNAME_ELEMENT_UNSIGNED_LONG = new QName(NS_SOAP_ENCODING, "unsignedLong"); + static final QName QNAME_ELEMENT_SHORT = new QName(NS_SOAP_ENCODING, "short"); + static final QName QNAME_ELEMENT_UNSIGNED_SHORT = new QName(NS_SOAP_ENCODING, "unsignedShort"); + static final QName QNAME_ELEMENT_DECIMAL = new QName(NS_SOAP_ENCODING, "decimal"); + static final QName QNAME_ELEMENT_FLOAT = new QName(NS_SOAP_ENCODING, "float"); + static final QName QNAME_ELEMENT_DOUBLE = new QName(NS_SOAP_ENCODING, "double"); + static final QName QNAME_ELEMENT_BOOLEAN = new QName(NS_SOAP_ENCODING, "boolean"); + static final QName QNAME_ELEMENT_TIME = new QName(NS_SOAP_ENCODING, "time"); + static final QName QNAME_ELEMENT_DATE_TIME = new QName(NS_SOAP_ENCODING, "dateTime"); + static final QName QNAME_ELEMENT_DURATION = new QName(NS_SOAP_ENCODING, "duration"); + static final QName QNAME_ELEMENT_DATE = new QName(NS_SOAP_ENCODING, "date"); + static final QName QNAME_ELEMENT_G_MONTH = new QName(NS_SOAP_ENCODING, "gMonth"); + static final QName QNAME_ELEMENT_G_YEAR = new QName(NS_SOAP_ENCODING, "gYear"); + static final QName QNAME_ELEMENT_G_YEAR_MONTH = new QName(NS_SOAP_ENCODING, "gYearMonth"); + static final QName QNAME_ELEMENT_G_DAY = new QName(NS_SOAP_ENCODING, "gDay"); + static final QName QNAME_ELEMENT_G_MONTH_DAY = new QName(NS_SOAP_ENCODING, "gMonthDay"); + static final QName QNAME_ELEMENT_NAME = new QName(NS_SOAP_ENCODING, "Name"); + static final QName QNAME_ELEMENT_QNAME = new QName(NS_SOAP_ENCODING, "QName"); + static final QName QNAME_ELEMENT_NCNAME = new QName(NS_SOAP_ENCODING, "NCName"); + static final QName QNAME_ELEMENT_ANY_URI = new QName(NS_SOAP_ENCODING, "anyURI"); + static final QName QNAME_ELEMENT_ID = new QName(NS_SOAP_ENCODING, "ID"); + static final QName QNAME_ELEMENT_IDREF = new QName(NS_SOAP_ENCODING, "IDREF"); + static final QName QNAME_ELEMENT_IDREFS = new QName(NS_SOAP_ENCODING, "IDREFS"); + static final QName QNAME_ELEMENT_ENTITY = new QName(NS_SOAP_ENCODING, "ENTITY"); + static final QName QNAME_ELEMENT_ENTITIES = new QName(NS_SOAP_ENCODING, "ENTITIES"); + static final QName QNAME_ELEMENT_NOTATION = new QName(NS_SOAP_ENCODING, "NOTATION"); + static final QName QNAME_ELEMENT_NMTOKEN = new QName(NS_SOAP_ENCODING, "NMTOKEN"); + static final QName QNAME_ELEMENT_NMTOKENS = new QName(NS_SOAP_ENCODING, "NMTOKENS"); - public static QName QNAME_TYPE_STRING = - new QName(NS_SOAP_ENCODING, "string"); - public static QName QNAME_TYPE_NORMALIZED_STRING = - new QName(NS_SOAP_ENCODING, "normalizedString"); - public static QName QNAME_TYPE_TOKEN = new QName(NS_SOAP_ENCODING, "token"); - public static QName QNAME_TYPE_BYTE = new QName(NS_SOAP_ENCODING, "byte"); - public static QName QNAME_TYPE_UNSIGNED_BYTE = - new QName(NS_SOAP_ENCODING, "unsignedByte"); - public static QName QNAME_TYPE_BASE64_BINARY = - new QName(NS_SOAP_ENCODING, "base64Binary"); - public static QName QNAME_TYPE_HEX_BINARY = - new QName(NS_SOAP_ENCODING, "hexBinary"); - public static QName QNAME_TYPE_INTEGER = - new QName(NS_SOAP_ENCODING, "integer"); - public static QName QNAME_TYPE_POSITIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "positiveInteger"); - public static QName QNAME_TYPE_NEGATIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "negativeInteger"); - public static QName QNAME_TYPE_NON_NEGATIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); - public static QName QNAME_TYPE_NON_POSITIVE_INTEGER = - new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); - public static QName QNAME_TYPE_INT = new QName(NS_SOAP_ENCODING, "int"); - public static QName QNAME_TYPE_UNSIGNED_INT = - new QName(NS_SOAP_ENCODING, "unsignedInt"); - public static QName QNAME_TYPE_LONG = new QName(NS_SOAP_ENCODING, "long"); - public static QName QNAME_TYPE_UNSIGNED_LONG = - new QName(NS_SOAP_ENCODING, "unsignedLong"); - public static QName QNAME_TYPE_SHORT = new QName(NS_SOAP_ENCODING, "short"); - public static QName QNAME_TYPE_UNSIGNED_SHORT = - new QName(NS_SOAP_ENCODING, "unsignedShort"); - public static QName QNAME_TYPE_DECIMAL = - new QName(NS_SOAP_ENCODING, "decimal"); - public static QName QNAME_TYPE_FLOAT = new QName(NS_SOAP_ENCODING, "float"); - public static QName QNAME_TYPE_DOUBLE = - new QName(NS_SOAP_ENCODING, "double"); - public static QName QNAME_TYPE_BOOLEAN = - new QName(NS_SOAP_ENCODING, "boolean"); - public static QName QNAME_TYPE_TIME = new QName(NS_SOAP_ENCODING, "time"); - public static QName QNAME_TYPE_DATE_TIME = - new QName(NS_SOAP_ENCODING, "dateTime"); - public static QName QNAME_TYPE_DURATION = - new QName(NS_SOAP_ENCODING, "duration"); - public static QName QNAME_TYPE_DATE = new QName(NS_SOAP_ENCODING, "date"); - public static QName QNAME_TYPE_G_MONTH = - new QName(NS_SOAP_ENCODING, "gMonth"); - public static QName QNAME_TYPE_G_YEAR = - new QName(NS_SOAP_ENCODING, "gYear"); - public static QName QNAME_TYPE_G_YEAR_MONTH = - new QName(NS_SOAP_ENCODING, "gYearMonth"); - public static QName QNAME_TYPE_G_DAY = new QName(NS_SOAP_ENCODING, "gDay"); - public static QName QNAME_TYPE_G_MONTH_DAY = - new QName(NS_SOAP_ENCODING, "gMonthDay"); - public static QName QNAME_TYPE_NAME = new QName(NS_SOAP_ENCODING, "Name"); - public static QName QNAME_TYPE_QNAME = new QName(NS_SOAP_ENCODING, "QName"); - public static QName QNAME_TYPE_NCNAME = - new QName(NS_SOAP_ENCODING, "NCName"); - public static QName QNAME_TYPE_ANY_URI = - new QName(NS_SOAP_ENCODING, "anyURI"); - public static QName QNAME_TYPE_ID = new QName(NS_SOAP_ENCODING, "ID"); - public static QName QNAME_TYPE_IDREF = new QName(NS_SOAP_ENCODING, "IDREF"); - public static QName QNAME_TYPE_IDREFS = - new QName(NS_SOAP_ENCODING, "IDREFS"); - public static QName QNAME_TYPE_ENTITY = - new QName(NS_SOAP_ENCODING, "ENTITY"); - public static QName QNAME_TYPE_ENTITIES = - new QName(NS_SOAP_ENCODING, "ENTITIES"); - public static QName QNAME_TYPE_NOTATION = - new QName(NS_SOAP_ENCODING, "NOTATION"); - public static QName QNAME_TYPE_NMTOKEN = - new QName(NS_SOAP_ENCODING, "NMTOKEN"); - public static QName QNAME_TYPE_NMTOKENS = - new QName(NS_SOAP_ENCODING, "NMTOKENS"); - public static QName QNAME_TYPE_LANGUAGE = - new QName(NS_SOAP_ENCODING, "LANGUAGE"); + static final QName QNAME_TYPE_STRING = new QName(NS_SOAP_ENCODING, "string"); + static final QName QNAME_TYPE_NORMALIZED_STRING = new QName(NS_SOAP_ENCODING, "normalizedString"); + static final QName QNAME_TYPE_TOKEN = new QName(NS_SOAP_ENCODING, "token"); + static final QName QNAME_TYPE_BYTE = new QName(NS_SOAP_ENCODING, "byte"); + static final QName QNAME_TYPE_UNSIGNED_BYTE = new QName(NS_SOAP_ENCODING, "unsignedByte"); + static final QName QNAME_TYPE_BASE64_BINARY = new QName(NS_SOAP_ENCODING, "base64Binary"); + static final QName QNAME_TYPE_HEX_BINARY = new QName(NS_SOAP_ENCODING, "hexBinary"); + static final QName QNAME_TYPE_INTEGER = new QName(NS_SOAP_ENCODING, "integer"); + static final QName QNAME_TYPE_POSITIVE_INTEGER = new QName(NS_SOAP_ENCODING, "positiveInteger"); + static final QName QNAME_TYPE_NEGATIVE_INTEGER = new QName(NS_SOAP_ENCODING, "negativeInteger"); + static final QName QNAME_TYPE_NON_NEGATIVE_INTEGER = new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); + static final QName QNAME_TYPE_NON_POSITIVE_INTEGER = new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); + static final QName QNAME_TYPE_INT = new QName(NS_SOAP_ENCODING, "int"); + static final QName QNAME_TYPE_UNSIGNED_INT = new QName(NS_SOAP_ENCODING, "unsignedInt"); + static final QName QNAME_TYPE_LONG = new QName(NS_SOAP_ENCODING, "long"); + static final QName QNAME_TYPE_UNSIGNED_LONG = new QName(NS_SOAP_ENCODING, "unsignedLong"); + static final QName QNAME_TYPE_SHORT = new QName(NS_SOAP_ENCODING, "short"); + static final QName QNAME_TYPE_UNSIGNED_SHORT = new QName(NS_SOAP_ENCODING, "unsignedShort"); + static final QName QNAME_TYPE_DECIMAL = new QName(NS_SOAP_ENCODING, "decimal"); + static final QName QNAME_TYPE_FLOAT = new QName(NS_SOAP_ENCODING, "float"); + static final QName QNAME_TYPE_DOUBLE = new QName(NS_SOAP_ENCODING, "double"); + static final QName QNAME_TYPE_BOOLEAN = new QName(NS_SOAP_ENCODING, "boolean"); + static final QName QNAME_TYPE_TIME = new QName(NS_SOAP_ENCODING, "time"); + static final QName QNAME_TYPE_DATE_TIME = new QName(NS_SOAP_ENCODING, "dateTime"); + static final QName QNAME_TYPE_DURATION = new QName(NS_SOAP_ENCODING, "duration"); + static final QName QNAME_TYPE_DATE = new QName(NS_SOAP_ENCODING, "date"); + static final QName QNAME_TYPE_G_MONTH = new QName(NS_SOAP_ENCODING, "gMonth"); + static final QName QNAME_TYPE_G_YEAR = new QName(NS_SOAP_ENCODING, "gYear"); + static final QName QNAME_TYPE_G_YEAR_MONTH = new QName(NS_SOAP_ENCODING, "gYearMonth"); + static final QName QNAME_TYPE_G_DAY = new QName(NS_SOAP_ENCODING, "gDay"); + static final QName QNAME_TYPE_G_MONTH_DAY = new QName(NS_SOAP_ENCODING, "gMonthDay"); + static final QName QNAME_TYPE_NAME = new QName(NS_SOAP_ENCODING, "Name"); + static final QName QNAME_TYPE_QNAME = new QName(NS_SOAP_ENCODING, "QName"); + static final QName QNAME_TYPE_NCNAME = new QName(NS_SOAP_ENCODING, "NCName"); + static final QName QNAME_TYPE_ANY_URI = new QName(NS_SOAP_ENCODING, "anyURI"); + static final QName QNAME_TYPE_ID = new QName(NS_SOAP_ENCODING, "ID"); + static final QName QNAME_TYPE_IDREF = new QName(NS_SOAP_ENCODING, "IDREF"); + static final QName QNAME_TYPE_IDREFS = new QName(NS_SOAP_ENCODING, "IDREFS"); + static final QName QNAME_TYPE_ENTITY = new QName(NS_SOAP_ENCODING, "ENTITY"); + static final QName QNAME_TYPE_ENTITIES = new QName(NS_SOAP_ENCODING, "ENTITIES"); + static final QName QNAME_TYPE_NOTATION = new QName(NS_SOAP_ENCODING, "NOTATION"); + static final QName QNAME_TYPE_NMTOKEN = new QName(NS_SOAP_ENCODING, "NMTOKEN"); + static final QName QNAME_TYPE_NMTOKENS = new QName(NS_SOAP_ENCODING, "NMTOKENS"); + static final QName QNAME_TYPE_LANGUAGE = new QName(NS_SOAP_ENCODING, "LANGUAGE"); // SOAP attributes with non-colonized names - public static QName QNAME_ATTR_ID = new QName("", "id"); - public static QName QNAME_ATTR_HREF = new QName("", "ref"); + static final QName QNAME_ATTR_ID = new QName("", "id"); + static final QName QNAME_ATTR_HREF = new QName("", "ref"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPAddress.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPAddress.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPAddress.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBinding.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBody.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBody.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBody.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPConstants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPFault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeader.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeaderFault.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeaderFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeaderFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPOperation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPStyle.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPStyle.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPUse.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPUse.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/soap/SOAPUse.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -34,8 +34,6 @@ import javax.xml.namespace.QName; import java.util.*; -import org.xml.sax.helpers.LocatorImpl; - /** * An abstract class for documents containing entities. * @@ -163,10 +161,11 @@ private final Set includedDocuments; private final List includedEntities; - private class LocallyValidatingAction implements EntityAction { + private static class LocallyValidatingAction implements EntityAction { public LocallyValidatingAction() { } + @Override public void perform(Entity entity) { try { entity.validateThis(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Defining.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Defining.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Defining.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/DuplicateEntityException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/DuplicateEntityException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/DuplicateEntityException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Elemental.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Elemental.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Elemental.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Entity.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Entity.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Entity.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityAction.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceAction.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceValidator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceValidator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensibilityHelper.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensibilityHelper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensibilityHelper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitor.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitorBase.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitorBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitorBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExternalEntityReference.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExternalEntityReference.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ExternalEntityReference.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GlobalEntity.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GlobalEntity.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GlobalEntity.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GloballyKnown.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GloballyKnown.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/GloballyKnown.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Identifiable.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Identifiable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Identifiable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Kind.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Kind.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/Kind.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/NoSuchEntityException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/NoSuchEntityException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/NoSuchEntityException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParseException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParseException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParseException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.tools.internal.ws.wsdl.framework; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * An exception signalling a parsing error. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParserListener.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParserListener.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ParserListener.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/QNameAction.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/QNameAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/QNameAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/TWSDLParserContextImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/TWSDLParserContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/TWSDLParserContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/WSDLLocation.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/WSDLLocation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/WSDLLocation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -43,17 +43,12 @@ if (idPos >= max) { LocationContext newContexts[] = new LocationContext[max * 2]; System.arraycopy(contexts, 0, newContexts, 0, max); - max *= 2; contexts = newContexts; } currentContext = contexts[idPos]; if (currentContext == null) { contexts[idPos] = currentContext = new LocationContext(); } - if (idPos > 0) { - currentContext.setParent(contexts[idPos - 1]); - } - } public void pop() { @@ -63,7 +58,7 @@ } } - public void reset() { + public final void reset() { contexts = new LocationContext[32]; idPos = 0; contexts[idPos] = currentContext = new LocationContext(); @@ -91,11 +86,6 @@ return location; } - void setParent(LocationContext parent) { - parentLocation = parent; - } - private String location; - private LocationContext parentLocation; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractReferenceFinderImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractReferenceFinderImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/AbstractReferenceFinderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -70,6 +70,7 @@ */ protected abstract String findExternalResource( String nsURI, String localName, Attributes atts); + @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { super.startElement(namespaceURI, localName, qName, atts); @@ -79,16 +80,17 @@ try { // absolutize URL. - String lsi = locator.getSystemId(); - String ref; - if (lsi.startsWith("jar:")) { - int bangIdx = lsi.indexOf('!'); - if (bangIdx > 0) { - ref = new URL(new URL(lsi), relativeRef).toString(); - } else - ref = relativeRef; - } else - ref = new URI(lsi).resolve(new URI(relativeRef)).toString(); + assert locator != null; + String lsi = locator.getSystemId(); + String ref; + if (lsi.startsWith("jar:")) { + int bangIdx = lsi.indexOf('!'); + if (bangIdx > 0) { + ref = new URL(new URL(lsi), relativeRef).toString(); + } else + ref = relativeRef; + } else + ref = new URI(lsi).resolve(new URI(relativeRef)).toString(); // then parse this schema as well, // but don't mark this document as a root. @@ -112,6 +114,7 @@ private Locator locator; + @Override public void setDocumentLocator(Locator locator) { super.setDocumentLocator(locator); this.locator = locator; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Constants.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Constants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Constants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -32,114 +32,114 @@ */ public interface Constants { // WSDL element tags - public static String TAG_BINDING = "binding"; - public static String TAG_DEFINITIONS = "definitions"; - public static String TAG_DOCUMENTATION = "documentation"; - public static String TAG_MESSAGE = "message"; - public static String TAG_PART = "part"; - public static String TAG_PORT_TYPE = "portType"; - public static String TAG_TYPES = "types"; - public static String TAG_OPERATION = "operation"; - public static String TAG_INPUT = "input"; - public static String TAG_OUTPUT = "output"; - public static String TAG_FAULT = "fault"; - public static String TAG_SERVICE = "service"; - public static String TAG_PORT = "port"; - public static String TAG_ = ""; + static final String TAG_BINDING = "binding"; + static final String TAG_DEFINITIONS = "definitions"; + static final String TAG_DOCUMENTATION = "documentation"; + static final String TAG_MESSAGE = "message"; + static final String TAG_PART = "part"; + static final String TAG_PORT_TYPE = "portType"; + static final String TAG_TYPES = "types"; + static final String TAG_OPERATION = "operation"; + static final String TAG_INPUT = "input"; + static final String TAG_OUTPUT = "output"; + static final String TAG_FAULT = "fault"; + static final String TAG_SERVICE = "service"; + static final String TAG_PORT = "port"; + static final String TAG_ = ""; // WSDL attribute names - public static String ATTR_ELEMENT = "element"; - public static String ATTR_NAME = "name"; - public static String ATTR_REQUIRED = "required"; - public static String ATTR_TARGET_NAMESPACE = "targetNamespace"; - public static String ATTR_TYPE = "type"; - public static String ATTR_MESSAGE = "message"; - public static String ATTR_BINDING = "binding"; - public static String ATTR_LOCATION = "location"; - public static String ATTR_TRANSPORT = "transport"; - public static String ATTR_STYLE = "style"; - public static String ATTR_USE = "use"; - public static String ATTR_NAMESPACE = "namespace"; - public static String ATTR_ENCODING_STYLE = "encodingStyle"; - public static String ATTR_PART = "part"; - public static String ATTR_PARTS = "parts"; - public static String ATTR_SOAP_ACTION = "soapAction"; - public static String ATTR_PARAMETER_ORDER = "parameterOrder"; - public static String ATTR_VERB = "verb"; + static final String ATTR_ELEMENT = "element"; + static final String ATTR_NAME = "name"; + static final String ATTR_REQUIRED = "required"; + static final String ATTR_TARGET_NAMESPACE = "targetNamespace"; + static final String ATTR_TYPE = "type"; + static final String ATTR_MESSAGE = "message"; + static final String ATTR_BINDING = "binding"; + static final String ATTR_LOCATION = "location"; + static final String ATTR_TRANSPORT = "transport"; + static final String ATTR_STYLE = "style"; + static final String ATTR_USE = "use"; + static final String ATTR_NAMESPACE = "namespace"; + static final String ATTR_ENCODING_STYLE = "encodingStyle"; + static final String ATTR_PART = "part"; + static final String ATTR_PARTS = "parts"; + static final String ATTR_SOAP_ACTION = "soapAction"; + static final String ATTR_PARAMETER_ORDER = "parameterOrder"; + static final String ATTR_VERB = "verb"; // schema attribute names - public static String ATTR_ID = "id"; - public static String ATTR_VERSION = "version"; - public static String ATTR_ATTRIBUTE_FORM_DEFAULT = "attributeFormDefault"; - public static String ATTR_BLOCK_DEFAULT = "blockDefault"; - public static String ATTR_ELEMENT_FORM_DEFAULT = "elementFormDefault"; - public static String ATTR_FINAL_DEFAULT = "finalDefault"; - public static String ATTR_ABSTRACT = "abstract"; - public static String ATTR_NILLABLE = "nillable"; - public static String ATTR_DEFAULT = "default"; - public static String ATTR_FIXED = "fixed"; - public static String ATTR_FORM = "form"; - public static String ATTR_BLOCK = "block"; - public static String ATTR_FINAL = "final"; - public static String ATTR_REF = "ref"; - public static String ATTR_SUBSTITUTION_GROUP = "substitutionGroup"; - public static String ATTR_MIN_OCCURS = "minOccurs"; - public static String ATTR_MAX_OCCURS = "maxOccurs"; - public static String ATTR_PROCESS_CONTENTS = "processContents"; - public static String ATTR_MIXED = "mixed"; - public static String ATTR_BASE = "base"; - public static String ATTR_VALUE = "value"; - public static String ATTR_XPATH = "xpath"; - public static String ATTR_SCHEMA_LOCATION = "schemaLocation"; - public static String ATTR_REFER = "refer"; - public static String ATTR_ITEM_TYPE = "itemType"; - public static String ATTR_PUBLIC = "public"; - public static String ATTR_SYSTEM = "system"; - public static String ATTR_MEMBER_TYPES = "memberTypes"; - public static String ATTR_ = ""; + static final String ATTR_ID = "id"; + static final String ATTR_VERSION = "version"; + static final String ATTR_ATTRIBUTE_FORM_DEFAULT = "attributeFormDefault"; + static final String ATTR_BLOCK_DEFAULT = "blockDefault"; + static final String ATTR_ELEMENT_FORM_DEFAULT = "elementFormDefault"; + static final String ATTR_FINAL_DEFAULT = "finalDefault"; + static final String ATTR_ABSTRACT = "abstract"; + static final String ATTR_NILLABLE = "nillable"; + static final String ATTR_DEFAULT = "default"; + static final String ATTR_FIXED = "fixed"; + static final String ATTR_FORM = "form"; + static final String ATTR_BLOCK = "block"; + static final String ATTR_FINAL = "final"; + static final String ATTR_REF = "ref"; + static final String ATTR_SUBSTITUTION_GROUP = "substitutionGroup"; + static final String ATTR_MIN_OCCURS = "minOccurs"; + static final String ATTR_MAX_OCCURS = "maxOccurs"; + static final String ATTR_PROCESS_CONTENTS = "processContents"; + static final String ATTR_MIXED = "mixed"; + static final String ATTR_BASE = "base"; + static final String ATTR_VALUE = "value"; + static final String ATTR_XPATH = "xpath"; + static final String ATTR_SCHEMA_LOCATION = "schemaLocation"; + static final String ATTR_REFER = "refer"; + static final String ATTR_ITEM_TYPE = "itemType"; + static final String ATTR_PUBLIC = "public"; + static final String ATTR_SYSTEM = "system"; + static final String ATTR_MEMBER_TYPES = "memberTypes"; + static final String ATTR_ = ""; // WSDL attribute values - public static String ATTRVALUE_RPC = "rpc"; - public static String ATTRVALUE_DOCUMENT = "document"; - public static String ATTRVALUE_LITERAL = "literal"; - public static String ATTRVALUE_ENCODED = "encoded"; + static final String ATTRVALUE_RPC = "rpc"; + static final String ATTRVALUE_DOCUMENT = "document"; + static final String ATTRVALUE_LITERAL = "literal"; + static final String ATTRVALUE_ENCODED = "encoded"; // schema attribute values - public static String ATTRVALUE_QUALIFIED = "qualified"; - public static String ATTRVALUE_UNQUALIFIED = "unqualified"; - public static String ATTRVALUE_ALL = "#all"; - public static String ATTRVALUE_SUBSTITUTION = "substitution"; - public static String ATTRVALUE_EXTENSION = "extension"; - public static String ATTRVALUE_RESTRICTION = "restriction"; - public static String ATTRVALUE_LIST = "list"; - public static String ATTRVALUE_UNION = "union"; - public static String ATTRVALUE_UNBOUNDED = "unbounded"; - public static String ATTRVALUE_PROHIBITED = "prohibited"; - public static String ATTRVALUE_OPTIONAL = "optional"; - public static String ATTRVALUE_REQUIRED = "required"; - public static String ATTRVALUE_LAX = "lax"; - public static String ATTRVALUE_SKIP = "skip"; - public static String ATTRVALUE_STRICT = "strict"; - public static String ATTRVALUE_ANY = "##any"; - public static String ATTRVALUE_LOCAL = "##local"; - public static String ATTRVALUE_OTHER = "##other"; - public static String ATTRVALUE_TARGET_NAMESPACE = "##targetNamespace"; - public static String ATTRVALUE_ = ""; + static final String ATTRVALUE_QUALIFIED = "qualified"; + static final String ATTRVALUE_UNQUALIFIED = "unqualified"; + static final String ATTRVALUE_ALL = "#all"; + static final String ATTRVALUE_SUBSTITUTION = "substitution"; + static final String ATTRVALUE_EXTENSION = "extension"; + static final String ATTRVALUE_RESTRICTION = "restriction"; + static final String ATTRVALUE_LIST = "list"; + static final String ATTRVALUE_UNION = "union"; + static final String ATTRVALUE_UNBOUNDED = "unbounded"; + static final String ATTRVALUE_PROHIBITED = "prohibited"; + static final String ATTRVALUE_OPTIONAL = "optional"; + static final String ATTRVALUE_REQUIRED = "required"; + static final String ATTRVALUE_LAX = "lax"; + static final String ATTRVALUE_SKIP = "skip"; + static final String ATTRVALUE_STRICT = "strict"; + static final String ATTRVALUE_ANY = "##any"; + static final String ATTRVALUE_LOCAL = "##local"; + static final String ATTRVALUE_OTHER = "##other"; + static final String ATTRVALUE_TARGET_NAMESPACE = "##targetNamespace"; + static final String ATTRVALUE_ = ""; // namespace URIs - public static String NS_XML = "http://www.w3.org/XML/1998/namespace"; - public static String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; - public static String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; - public static String NS_WSDL_SOAP = "http://schemas.xmlsoap.org/wsdl/soap/"; - public static String NS_WSDL_SOAP12 = "http://schemas.xmlsoap.org/wsdl/soap12/"; - public static String NS_WSDL_HTTP = "http://schemas.xmlsoap.org/wsdl/http/"; - public static String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; - public static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; - public static String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; - public static String NS_ = ""; + static final String NS_XML = "http://www.w3.org/XML/1998/namespace"; + static final String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; + static final String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; + static final String NS_WSDL_SOAP = "http://schemas.xmlsoap.org/wsdl/soap/"; + static final String NS_WSDL_SOAP12 = "http://schemas.xmlsoap.org/wsdl/soap12/"; + static final String NS_WSDL_HTTP = "http://schemas.xmlsoap.org/wsdl/http/"; + static final String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; + static final String NS_XSD = "http://www.w3.org/2001/XMLSchema"; + static final String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; + static final String NS_ = ""; // other constants - public static String XMLNS = "xmlns"; - public static String TRUE = "true"; - public static String FALSE = "false"; + static final String XMLNS = "xmlns"; + static final String TRUE = "true"; + static final String FALSE = "false"; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMBuilder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForest.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForest.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForest.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,15 +26,12 @@ package com.sun.tools.internal.ws.wsdl.parser; import com.sun.istack.internal.NotNull; -import com.sun.tools.internal.ws.resources.WscompileMessages; -import com.sun.tools.internal.ws.wscompile.AbortException; -import com.sun.tools.internal.ws.wscompile.DefaultAuthenticator; +import com.sun.tools.internal.ws.util.xml.XmlUtil; import com.sun.tools.internal.ws.wscompile.ErrorReceiver; import com.sun.tools.internal.ws.wscompile.WsimportOptions; import com.sun.tools.internal.ws.wsdl.document.schema.SchemaConstants; import com.sun.tools.internal.xjc.reader.internalizer.LocatorTable; import com.sun.xml.internal.bind.marshaller.DataWriter; -import com.sun.xml.internal.ws.util.JAXWSUtils; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; @@ -51,9 +48,6 @@ import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.sax.SAXResult; -import javax.net.ssl.HttpsURLConnection; -import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.SSLSession; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -119,11 +113,13 @@ this.errorReceiver = errReceiver; this.logic = logic; try { - DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + // secure xml processing can be switched off if input requires it + boolean secureProcessingEnabled = options == null || !options.disableSecureXmlProcessing; + DocumentBuilderFactory dbf = XmlUtil.newDocumentBuilderFactory(secureProcessingEnabled); dbf.setNamespaceAware(true); this.documentBuilder = dbf.newDocumentBuilder(); - this.parserFactory = SAXParserFactory.newInstance(); + this.parserFactory = XmlUtil.newSAXParserFactory(secureProcessingEnabled); this.parserFactory.setNamespaceAware(true); } catch (ParserConfigurationException e) { throw new AssertionError(e); @@ -368,7 +364,10 @@ public void dump(OutputStream out) throws IOException { try { // create identity transformer - Transformer it = TransformerFactory.newInstance().newTransformer(); + // secure xml processing can be switched off if input requires it + boolean secureProcessingEnabled = options == null || !options.disableSecureXmlProcessing; + TransformerFactory tf = XmlUtil.newTransformerFactory(secureProcessingEnabled); + Transformer it = tf.newTransformer(); for (Map.Entry e : core.entrySet()) { out.write(("---<< " + e.getKey() + '\n').getBytes()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestParser.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestScanner.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestScanner.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/DOMForestScanner.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/HTTPExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/HTTPExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/HTTPExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/InternalizationLogic.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/InternalizationLogic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/InternalizationLogic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -36,12 +36,8 @@ import com.sun.xml.internal.bind.v2.util.EditDistance; import com.sun.xml.internal.ws.util.DOMUtil; import com.sun.xml.internal.ws.util.JAXWSUtils; -import org.w3c.dom.Attr; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; +import com.sun.xml.internal.ws.util.xml.XmlUtil; +import org.w3c.dom.*; import org.xml.sax.SAXParseException; import javax.xml.namespace.NamespaceContext; @@ -52,10 +48,8 @@ import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; -import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; -import java.util.Map; import java.util.Set; @@ -65,16 +59,15 @@ * @author Vivek Pandey */ public class Internalizer { - private static final XPathFactory xpf = XPathFactory.newInstance(); + + private static final XPathFactory xpf = XmlUtil.newXPathFactory(true); private final XPath xpath = xpf.newXPath(); - private final WsimportOptions options; private final DOMForest forest; private final ErrorReceiver errorReceiver; public Internalizer(DOMForest forest, WsimportOptions options, ErrorReceiver errorReceiver) { this.forest = forest; - this.options = options; this.errorReceiver = errorReceiver; } @@ -82,15 +75,6 @@ for (Element jaxwsBinding : forest.outerMostBindings) { internalize(jaxwsBinding, jaxwsBinding); } - /* - Map targetNodes = new HashMap(); - for (Element jaxwsBinding : forest.outerMostBindings) { - buildTargetNodeMap(jaxwsBinding, jaxwsBinding, targetNodes); - } - for (Element jaxwsBinding : forest.outerMostBindings) { - move(jaxwsBinding, targetNodes); - } - */ } /** @@ -100,12 +84,15 @@ NamedNodeMap atts = bindings.getAttributes(); for (int i = 0; i < atts.getLength(); i++) { Attr a = (Attr) atts.item(i); - if (a.getNamespaceURI() != null) + if (a.getNamespaceURI() != null) { continue; // all foreign namespace OK. - if (a.getLocalName().equals("node")) + } + if (a.getLocalName().equals("node")) { continue; - if (a.getLocalName().equals("wsdlLocation")) + } + if (a.getLocalName().equals("wsdlLocation")) { continue; + } // TODO: flag error for this undefined attribute } @@ -181,9 +168,9 @@ //if target is null or empty it means the xpath evaluation has some problem, // just return - if (targetNodes == null && hasNode && !isToplevelBinding) + if (targetNodes == null && hasNode && !isToplevelBinding) { return; - + } if (hasNode) { if (targetNodes != null) { @@ -191,10 +178,11 @@ insertBinding(bindings, targetNodes.item(i)); // look for child and process them recursively Element[] children = getChildElements(bindings); - for (Element child : children) - if("bindings".equals(child.getLocalName())) { + for (Element child : children) { + if ("bindings".equals(child.getLocalName())) { internalize(child, targetNodes.item(i)); } + } } } } @@ -202,8 +190,9 @@ // look for child and process them recursively Element[] children = getChildElements(bindings); - for (Element child : children) + for (Element child : children) { internalize(child, target); + } } } @@ -226,105 +215,20 @@ } } - - /** - * Determines the target node of the "bindings" element - * by using the inherited target node, then put - * the result into the "result" map. - */ - /* TODO Remove this logic if there are no regressions with new internalization logic - private void buildTargetNodeMap(Element bindings, Node inheritedTarget, Map result) { - // start by the inherited target - Node target = inheritedTarget; - - validate(bindings); // validate this node - - // look for @wsdlLocation - if (isTopLevelBinding(bindings)) { - String wsdlLocation; - if (bindings.getAttributeNode("wsdlLocation") != null) { - wsdlLocation = bindings.getAttribute("wsdlLocation"); - - try { - // absolutize this URI. - // TODO: use the URI class - // TODO: honor xml:base - wsdlLocation = new URL(new URL(forest.getSystemId(bindings.getOwnerDocument())), - wsdlLocation).toExternalForm(); - } catch (MalformedURLException e) { - wsdlLocation = JAXWSUtils.absolutize(JAXWSUtils.getFileOrURLName(wsdlLocation)); - } - } else { - //the node does not have - wsdlLocation = forest.getFirstRootDocument(); - } - target = forest.get(wsdlLocation); - - if (target == null) { - reportError(bindings, WsdlMessages.INTERNALIZER_INCORRECT_SCHEMA_REFERENCE(wsdlLocation, EditDistance.findNearest(wsdlLocation, forest.listSystemIDs()))); - return; // abort processing this - } - } - - //if the target node is xs:schema, declare the jaxb version on it as latter on it will be - //required by the inlined schema bindings - - Element element = DOMUtil.getFirstElementChild(target); - if (element != null && element.getNamespaceURI().equals(Constants.NS_WSDL) && element.getLocalName().equals("definitions")) { - //get all schema elements - Element type = DOMUtils.getFirstChildElement(element, Constants.NS_WSDL, "types"); - if (type != null) { - for (Element schemaElement : DOMUtils.getChildElements(type, Constants.NS_XSD, "schema")) { - if (!schemaElement.hasAttributeNS(Constants.NS_XMLNS, "jaxb")) { - schemaElement.setAttributeNS(Constants.NS_XMLNS, "xmlns:jaxb", JAXWSBindingsConstants.NS_JAXB_BINDINGS); - } - - //add jaxb:bindings version info. Lets put it to 1.0, may need to change latter - if (!schemaElement.hasAttributeNS(JAXWSBindingsConstants.NS_JAXB_BINDINGS, "version")) { - schemaElement.setAttributeNS(JAXWSBindingsConstants.NS_JAXB_BINDINGS, "jaxb:version", JAXWSBindingsConstants.JAXB_BINDING_VERSION); - } - } - } - } - - - boolean hasNode = true; - if ((isJAXWSBindings(bindings) || isJAXBBindings(bindings)) && bindings.getAttributeNode("node") != null) { - target = evaluateXPathNode(bindings, target, bindings.getAttribute("node"), new NamespaceContextImpl(bindings)); - } else - if (isJAXWSBindings(bindings) && (bindings.getAttributeNode("node") == null) && !isTopLevelBinding(bindings)) { - hasNode = false; - } else - if (isGlobalBinding(bindings) && !isWSDLDefinition(target) && isTopLevelBinding(bindings.getParentNode())) { - target = getWSDLDefintionNode(bindings, target); - } - - //if target is null it means the xpath evaluation has some problem, - // just return - if (target == null) - return; - - // update the result map - if (hasNode) - result.put(bindings, target); - - // look for child and process them recursively - Element[] children = getChildElements(bindings); - for (Element child : children) - buildTargetNodeMap(child, target, result); - } - */ private NodeList getWSDLDefintionNode(Node bindings, Node target) { return evaluateXPathMultiNode(bindings, target, "wsdl:definitions", new NamespaceContext() { + @Override public String getNamespaceURI(String prefix) { return "http://schemas.xmlsoap.org/wsdl/"; } + @Override public String getPrefix(String nsURI) { throw new UnsupportedOperationException(); } + @Override public Iterator getPrefixes(String namespaceURI) { throw new UnsupportedOperationException(); } @@ -332,8 +236,9 @@ } private boolean isWSDLDefinition(Node target) { - if (target == null) + if (target == null) { return false; + } String localName = target.getLocalName(); String nsURI = target.getNamespaceURI(); return fixNull(localName).equals("definitions") && fixNull(nsURI).equals("http://schemas.xmlsoap.org/wsdl/"); @@ -369,43 +274,17 @@ NodeList children = parent.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node item = children.item(i); - if (!(item instanceof Element)) continue; - + if (!(item instanceof Element)) { + continue; + } if (JAXWSBindingsConstants.NS_JAXWS_BINDINGS.equals(item.getNamespaceURI()) || - JAXWSBindingsConstants.NS_JAXB_BINDINGS.equals(item.getNamespaceURI())) + JAXWSBindingsConstants.NS_JAXB_BINDINGS.equals(item.getNamespaceURI())) { a.add((Element) item); + } } return a.toArray(new Element[a.size()]); } - private Node evaluateXPathNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) { - NodeList nlst; - try { - xpath.setNamespaceContext(namespaceContext); - nlst = (NodeList) xpath.evaluate(expression, target, XPathConstants.NODESET); - } catch (XPathExpressionException e) { - reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATION_ERROR(e.getMessage()), e); - return null; // abort processing this - } - - if (nlst.getLength() == 0) { - reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(expression)); - return null; // abort - } - - if (nlst.getLength() != 1) { - reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(expression, nlst.getLength())); - return null; // abort - } - - Node rnode = nlst.item(0); - if (!(rnode instanceof Element)) { - reportError((Element) bindings, WsdlMessages.INTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(expression)); - return null; // abort - } - return rnode; - } - private NodeList evaluateXPathMultiNode(Node bindings, Node target, String expression, NamespaceContext namespaceContext) { NodeList nlst; try { @@ -424,35 +303,6 @@ return nlst; } - /** - * Moves JAXWS customizations under their respective target nodes. - */ - private void move(Element bindings, Map targetNodes) { - Node target = targetNodes.get(bindings); - if (target == null) - // this must be the result of an error on the external binding. - // recover from the error by ignoring this node - return; - - Element[] children = DOMUtils.getChildElements(bindings); - - for (Element item : children) { - if ("bindings".equals(item.getLocalName())) { - // process child recursively - move(item, targetNodes); - } else if (isGlobalBinding(item)) { - target = targetNodes.get(item); - moveUnder(item, (Element) target); - } else { - if (!(target instanceof Element)) { - return; // abort - } - // move this node under the target - moveUnder(item, (Element) target); - } - } - } - private boolean isJAXBBindingElement(Element e) { return fixNull(e.getNamespaceURI()).equals(JAXWSBindingsConstants.NS_JAXB_BINDINGS); } @@ -536,8 +386,11 @@ Attr a = (Attr) atts.item(i); if (Constants.NS_XMLNS.equals(a.getNamespaceURI())) { String prefix; - if (a.getName().indexOf(':') == -1) prefix = ""; - else prefix = a.getLocalName(); + if (a.getName().indexOf(':') == -1) { + prefix = ""; + } else { + prefix = a.getLocalName(); + } if (inscopes.add(prefix) && p != e) { // if this is the first time we see this namespace bindings, @@ -550,8 +403,9 @@ } } - if (p.getParentNode() instanceof Document) + if (p.getParentNode() instanceof Document) { break; + } p = (Element) p.getParentNode(); } @@ -567,15 +421,17 @@ public Element refineSchemaTarget(Element target) { // look for existing xs:annotation Element annotation = DOMUtils.getFirstChildElement(target, Constants.NS_XSD, "annotation"); - if (annotation == null) + if (annotation == null) { // none exists. need to make one annotation = insertXMLSchemaElement(target, "annotation"); + } // then look for appinfo Element appinfo = DOMUtils.getFirstChildElement(annotation, Constants.NS_XSD, "appinfo"); - if (appinfo == null) + if (appinfo == null) { // none exists. need to make one appinfo = insertXMLSchemaElement(annotation, "appinfo"); + } return appinfo; } @@ -583,9 +439,10 @@ public Element refineWSDLTarget(Element target) { // look for existing xs:annotation Element JAXWSBindings = DOMUtils.getFirstChildElement(target, JAXWSBindingsConstants.NS_JAXWS_BINDINGS, "bindings"); - if (JAXWSBindings == null) + if (JAXWSBindings == null) { // none exists. need to make one JAXWSBindings = insertJAXWSBindingsElement(target, "bindings"); + } return JAXWSBindings; } @@ -600,17 +457,21 @@ // the namespace binding. String qname = parent.getTagName(); int idx = qname.indexOf(':'); - if (idx == -1) qname = localName; - else qname = qname.substring(0, idx + 1) + localName; + if (idx == -1) { + qname = localName; + } else { + qname = qname.substring(0, idx + 1) + localName; + } Element child = parent.getOwnerDocument().createElementNS(Constants.NS_XSD, qname); NodeList children = parent.getChildNodes(); - if (children.getLength() == 0) + if (children.getLength() == 0) { parent.appendChild(child); - else + } else { parent.insertBefore(child, children.item(0)); + } return child; } @@ -622,22 +483,24 @@ NodeList children = parent.getChildNodes(); - if (children.getLength() == 0) + if (children.getLength() == 0) { parent.appendChild(child); - else + } else { parent.insertBefore(child, children.item(0)); + } return child; } - private static @NotNull - String fixNull(@Nullable String s) { - if (s == null) return ""; - else return s; + static String fixNull(@Nullable String s) { + if (s == null) { + return ""; + } else { + return s; + } } - private void reportError(Element errorSource, String formattedMsg) { reportError(errorSource, formattedMsg, null); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -40,10 +40,7 @@ import javax.xml.namespace.NamespaceContext; import javax.xml.namespace.QName; -import javax.xml.xpath.XPath; -import javax.xml.xpath.XPathConstants; -import javax.xml.xpath.XPathExpressionException; -import javax.xml.xpath.XPathFactory; +import javax.xml.xpath.*; import java.util.Iterator; import java.util.Map; @@ -56,7 +53,8 @@ */ public class JAXWSBindingExtensionHandler extends AbstractExtensionHandler { - private static final XPathFactory xpf = XPathFactory.newInstance(); + // xml security enabled always, xpath used for parsing "part" attribute + private static final XPathFactory xpf = XmlUtil.newXPathFactory(true); private final XPath xpath = xpf.newXPath(); public JAXWSBindingExtensionHandler(Map extensionHandlerMap) { @@ -66,6 +64,7 @@ /* (non-Javadoc) * @see AbstractExtensionHandler#getNamespaceURI() */ + @Override public String getNamespaceURI() { return JAXWSBindingsConstants.NS_JAXWS_BINDINGS; } @@ -80,8 +79,9 @@ context.registerNamespaces(e); JAXWSBinding jaxwsBinding = getJAXWSExtension(parent); - if(jaxwsBinding == null) + if(jaxwsBinding == null) { jaxwsBinding = new JAXWSBinding(context.getLocation(e)); + } String attr = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.WSDL_LOCATION_ATTR); if (attr != null) { jaxwsBinding.setWsdlLocation(attr); @@ -99,29 +99,29 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } - if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.PACKAGE)){ + if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.PACKAGE)) { parsePackage(context, jaxwsBinding, e2); - if((jaxwsBinding.getJaxwsPackage() != null) && (jaxwsBinding.getJaxwsPackage().getJavaDoc() != null)){ - ((Definitions)parent).setDocumentation(new Documentation(jaxwsBinding.getJaxwsPackage().getJavaDoc())); + if ((jaxwsBinding.getJaxwsPackage() != null) && (jaxwsBinding.getJaxwsPackage().getJavaDoc() != null)) { + ((Definitions) parent).setDocumentation(new Documentation(jaxwsBinding.getJaxwsPackage().getJavaDoc())); } - }else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_WRAPPER_STYLE)){ + } else if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_WRAPPER_STYLE)) { parseWrapperStyle(context, jaxwsBinding, e2); - }else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ASYNC_MAPPING)){ + } else if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ASYNC_MAPPING)) { parseAsynMapping(context, jaxwsBinding, e2); - } -// else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ADDITIONAL_SOAPHEADER_MAPPING)){ -// parseAdditionalSOAPHeaderMapping(context, jaxwsBinding, e2); -// } - else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_MIME_CONTENT)){ + } // else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ADDITIONAL_SOAPHEADER_MAPPING)){ + // parseAdditionalSOAPHeaderMapping(context, jaxwsBinding, e2); + // } + else if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_MIME_CONTENT)) { parseMimeContent(context, jaxwsBinding, e2); - }else{ + } else { Util.fail( - "parsing.invalidExtensionElement", - e2.getTagName(), - e2.getNamespaceURI()); + "parsing.invalidExtensionElement", + e2.getTagName(), + e2.getNamespaceURI()); return false; } } @@ -150,28 +150,18 @@ */ private void parseProvider(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, JAXWSBinding parent, Element e) { String val = e.getTextContent(); - if(val == null) + if (val == null) { return; - if(val.equals("false") || val.equals("0")){ + } + if (val.equals("false") || val.equals("0")) { ((JAXWSBinding)parent).setProvider(Boolean.FALSE); - }else if(val.equals("true") || val.equals("1")){ + } else if(val.equals("true") || val.equals("1")) { ((JAXWSBinding)parent).setProvider(Boolean.TRUE); } } /** - * - * @param context - * @param parent - * @param e - */ - private void parseJAXBBindings(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, TWSDLExtensible parent, Element e) { - JAXWSBinding binding = (JAXWSBinding)parent; - binding.addJaxbBindings(e); - } - - /** * @param context * @param parent * @param e @@ -191,12 +181,13 @@ private void parseWrapperStyle(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, JAXWSBinding parent, Element e) { //System.out.println("In handleWrapperStyleExtension: " + e.getNodeName()); String val = e.getTextContent(); - if(val == null) + if (val == null) { return; - if(val.equals("false") || val.equals("0")){ - ((JAXWSBinding)parent).setEnableWrapperStyle(Boolean.FALSE); - }else if(val.equals("true") || val.equals("1")){ - ((JAXWSBinding)parent).setEnableWrapperStyle(Boolean.TRUE); + } + if (val.equals("false") || val.equals("0")) { + ((JAXWSBinding) parent).setEnableWrapperStyle(Boolean.FALSE); + } else if (val.equals("true") || val.equals("1")) { + ((JAXWSBinding) parent).setEnableWrapperStyle(Boolean.TRUE); } } @@ -225,12 +216,13 @@ private void parseAsynMapping(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, JAXWSBinding parent, Element e) { //System.out.println("In handleAsynMappingExtension: " + e.getNodeName()); String val = e.getTextContent(); - if(val == null) + if (val == null) { return; - if(val.equals("false") || val.equals("0")){ - ((JAXWSBinding)parent).setEnableAsyncMapping(Boolean.FALSE); - }else if(val.equals("true") || val.equals("1")){ - ((JAXWSBinding)parent).setEnableAsyncMapping(Boolean.TRUE); + } + if (val.equals("false") || val.equals("0")) { + ((JAXWSBinding) parent).setEnableAsyncMapping(Boolean.FALSE); + } else if (val.equals("true") || val.equals("1")) { + ((JAXWSBinding) parent).setEnableAsyncMapping(Boolean.TRUE); } } @@ -242,12 +234,13 @@ private void parseMimeContent(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, JAXWSBinding parent, Element e) { //System.out.println("In handleMimeContentExtension: " + e.getNodeName()); String val = e.getTextContent(); - if(val == null) + if (val == null) { return; - if(val.equals("false") || val.equals("0")){ - ((JAXWSBinding)parent).setEnableMimeContentMapping(Boolean.FALSE); - }else if(val.equals("true") || val.equals("1")){ - ((JAXWSBinding)parent).setEnableMimeContentMapping(Boolean.TRUE); + } + if (val.equals("false") || val.equals("0")) { + ((JAXWSBinding) parent).setEnableMimeContentMapping(Boolean.FALSE); + } else if (val.equals("true") || val.equals("1")) { + ((JAXWSBinding) parent).setEnableMimeContentMapping(Boolean.TRUE); } } @@ -276,10 +269,9 @@ String partName = XmlUtil.getAttributeOrNull(msgPartElm, "name"); String msgName = XmlUtil.getAttributeOrNull((Element)msgElm, "name"); - if((partName == null) || (msgName == null)) + if ((partName == null) || (msgName == null)) { return; - - String val = XmlUtil.getAttributeOrNull(msgPartElm, "element"); + } String element = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.ELEMENT_ATTR); String name = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.NAME_ATTR); @@ -333,28 +325,12 @@ } - /** - * @param context - * @param jaxwsBinding - * @param e - */ - private void parseException(com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext context, JAXWSBinding jaxwsBinding, Element e) { - for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ - Element e2 = Util.nextElement(iter); - if (e2 == null) - break; - if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.CLASS)){ - String className = XmlUtil.getAttributeOrNull(e2, JAXWSBindingsConstants.NAME_ATTR); - String javaDoc = getJavaDoc(e2); - jaxwsBinding.setException(new com.sun.tools.internal.ws.wsdl.document.jaxws.Exception(new CustomName(className, javaDoc))); - } - } - } - + @Override public boolean handleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { return parseGlobalJAXWSBindings(context, parent, e); } + @Override public boolean handlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ context.push(); @@ -363,23 +339,24 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } - if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_WRAPPER_STYLE)){ + if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_WRAPPER_STYLE)) { parseWrapperStyle(context, jaxwsBinding, e2); - }else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ASYNC_MAPPING)){ + } else if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ASYNC_MAPPING)) { parseAsynMapping(context, jaxwsBinding, e2); - }else if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.CLASS)){ + } else if (XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.CLASS)) { parseClass(context, jaxwsBinding, e2); - if((jaxwsBinding.getClassName() != null) && (jaxwsBinding.getClassName().getJavaDoc() != null)){ - ((PortType)parent).setDocumentation(new Documentation(jaxwsBinding.getClassName().getJavaDoc())); + if ((jaxwsBinding.getClassName() != null) && (jaxwsBinding.getClassName().getJavaDoc() != null) && (parent instanceof PortType)) { + ((PortType) parent).setDocumentation(new Documentation(jaxwsBinding.getClassName().getJavaDoc())); } - }else{ + } else { Util.fail( - "parsing.invalidExtensionElement", - e2.getTagName(), - e2.getNamespaceURI()); + "parsing.invalidExtensionElement", + e2.getTagName(), + e2.getNamespaceURI()); return false; } } @@ -398,6 +375,7 @@ } } + @Override public boolean handleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ if(parent instanceof Operation){ @@ -423,8 +401,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } // if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ADDITIONAL_SOAPHEADER_MAPPING)){ // parseAdditionalSOAPHeaderMapping(context, jaxwsBinding, e2); @@ -463,8 +442,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_WRAPPER_STYLE)){ parseWrapperStyle(context, jaxwsBinding, e2); @@ -493,6 +473,7 @@ return true; } + @Override public boolean handleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ context.push(); @@ -501,8 +482,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } // if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.ENABLE_ADDITIONAL_SOAPHEADER_MAPPING)){ // parseAdditionalSOAPHeaderMapping(context, jaxwsBinding, e2); @@ -535,6 +517,7 @@ /* (non-Javadoc) * @see ExtensionHandlerBase#handleFaultExtension(TWSDLParserContextImpl, TWSDLExtensible, org.w3c.dom.Element) */ + @Override public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ context.push(); @@ -543,8 +526,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.CLASS)){ parseClass(context, jaxwsBinding, e2); if((jaxwsBinding.getClassName() != null) && (jaxwsBinding.getClassName().getJavaDoc() != null)){ @@ -573,6 +557,7 @@ } } + @Override public boolean handleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ context.push(); @@ -581,8 +566,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.CLASS)){ parseClass(context, jaxwsBinding, e2); if((jaxwsBinding.getClassName() != null) && (jaxwsBinding.getClassName().getJavaDoc() != null)){ @@ -611,6 +597,7 @@ } } + @Override public boolean handlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { if(XmlUtil.matchesTagNS(e, JAXWSBindingsConstants.JAXWS_BINDINGS)){ context.push(); @@ -619,8 +606,9 @@ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.PROVIDER)){ parseProvider(context, jaxwsBinding, e2); @@ -655,8 +643,9 @@ private String getJavaDoc(Element e){ for(Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();){ Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if(XmlUtil.matchesTagNS(e2, JAXWSBindingsConstants.JAVADOC)){ return XmlUtil.getTextForNode(e2); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MIMEExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MIMEExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MIMEExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MemberSubmissionAddressingExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MemberSubmissionAddressingExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MemberSubmissionAddressingExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,23 +27,35 @@ import com.sun.tools.internal.ws.api.wsdl.TWSDLExtensible; import com.sun.tools.internal.ws.api.wsdl.TWSDLParserContext; +import com.sun.tools.internal.ws.resources.ModelerMessages; +import com.sun.tools.internal.ws.resources.WsdlMessages; +import com.sun.tools.internal.ws.util.xml.XmlUtil; import com.sun.tools.internal.ws.wscompile.ErrorReceiver; +import com.sun.tools.internal.ws.wsdl.document.Fault; +import com.sun.tools.internal.ws.wsdl.document.Input; +import com.sun.tools.internal.ws.wsdl.document.Output; +import com.sun.xml.internal.ws.addressing.W3CAddressingMetadataConstants; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import org.w3c.dom.Element; +import org.xml.sax.Locator; import javax.xml.namespace.QName; import java.util.Map; +import static com.sun.xml.internal.ws.addressing.v200408.MemberSubmissionAddressingConstants.WSA_ACTION_QNAME; + /** * @author Arun Gupta */ public class MemberSubmissionAddressingExtensionHandler extends W3CAddressingExtensionHandler { - public MemberSubmissionAddressingExtensionHandler(Map extensionHandlerMap) { - super(extensionHandlerMap); - } + + private ErrorReceiver errReceiver; + private boolean extensionModeOn; - public MemberSubmissionAddressingExtensionHandler(Map extensionHandlerMap, ErrorReceiver env) { + public MemberSubmissionAddressingExtensionHandler(Map extensionHandlerMap, ErrorReceiver env, boolean extensionModeOn) { super(extensionHandlerMap, env); + this.errReceiver = env; + this.extensionModeOn = extensionModeOn; } @Override @@ -61,4 +73,67 @@ return false; } + @Override + public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { + if (extensionModeOn) { + warn(context.getLocation(e)); + String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); + if (actionValue == null || actionValue.equals("")) { + return warnEmptyAction(parent, context.getLocation(e)); + } + ((Input) parent).setAction(actionValue); + return true; + } else { + return fail(context.getLocation(e)); + } + } + + private boolean fail(Locator location) { + errReceiver.warning(location, + ModelerMessages.WSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING( + AddressingVersion.MEMBER.nsUri, W3CAddressingMetadataConstants.WSAM_NAMESPACE_NAME)); + return false; + } + + private void warn(Locator location) { + errReceiver.warning(location, + ModelerMessages.WSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED( + AddressingVersion.MEMBER.nsUri, W3CAddressingMetadataConstants.WSAM_NAMESPACE_NAME)); + } + + @Override + public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { + if (extensionModeOn) { + warn(context.getLocation(e)); + String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); + if (actionValue == null || actionValue.equals("")) { + return warnEmptyAction(parent, context.getLocation(e)); + } + ((Output) parent).setAction(actionValue); + return true; + } else { + return fail(context.getLocation(e)); + } + } + + @Override + public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { + if (extensionModeOn) { + warn(context.getLocation(e)); + String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME); + if (actionValue == null || actionValue.equals("")) { + errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); + return false; // keep compiler happy + } + ((Fault) parent).setAction(actionValue); + return true; + } else { + return fail(context.getLocation(e)); + } + } + + private boolean warnEmptyAction(TWSDLExtensible parent, Locator pos) { + errReceiver.warning(pos, WsdlMessages.WARNING_INPUT_OUTPUT_EMPTY_ACTION(parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue())); + return false; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MetadataFinder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MetadataFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/MetadataFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,7 +30,6 @@ import com.sun.tools.internal.ws.resources.WscompileMessages; import com.sun.tools.internal.ws.resources.WsdlMessages; import com.sun.tools.internal.ws.wscompile.AbortException; -import com.sun.tools.internal.ws.wscompile.DefaultAuthenticator; import com.sun.tools.internal.ws.wscompile.ErrorReceiver; import com.sun.tools.internal.ws.wscompile.WsimportOptions; import com.sun.tools.internal.ws.wsdl.document.WSDLConstants; @@ -69,28 +68,31 @@ public boolean isMexMetadata; private String rootWSDL; - private Set rootWsdls = new HashSet(); + private final Set rootWsdls = new HashSet(); public MetadataFinder(InternalizationLogic logic, WsimportOptions options, ErrorReceiver errReceiver) { super(logic, new WSEntityResolver(options,errReceiver), options, errReceiver); } + @SuppressWarnings("element-type-mismatch") public void parseWSDL(){ // parse source grammars for (InputSource value : options.getWSDLs()) { String systemID = value.getSystemId(); errorReceiver.pollAbort(); - Document dom ; - Element doc = null; + Document dom; + Element doc; try { - //if there is entity resolver use it - if (options.entityResolver != null) - value = options.entityResolver.resolveEntity(null, systemID); - if (value == null) - value = new InputSource(systemID); + //if there is entity resolver use it + if (options.entityResolver != null) { + value = options.entityResolver.resolveEntity(null, systemID); + } + if (value == null) { + value = new InputSource(systemID); + } dom = parse(value, true); doc = dom.getDocumentElement(); @@ -100,9 +102,9 @@ //if its not a WSDL document, retry with MEX if (doc.getNamespaceURI() == null || !doc.getNamespaceURI().equals(WSDLConstants.NS_WSDL) || !doc.getLocalName().equals("definitions")) { throw new SAXParseException(WsdlMessages.INVALID_WSDL(systemID, - com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_DEFINITIONS, doc.getNodeName(), locatorTable.getStartLocation(doc).getLineNumber()), locatorTable.getStartLocation(doc)); + com.sun.xml.internal.ws.wsdl.parser.WSDLConstants.QNAME_DEFINITIONS, doc.getNodeName(), locatorTable.getStartLocation(doc).getLineNumber()), locatorTable.getStartLocation(doc)); } - } catch(FileNotFoundException e){ + } catch (FileNotFoundException e) { errorReceiver.error(WsdlMessages.FILE_NOT_FOUND(systemID), e); return; } catch (IOException e) { @@ -119,24 +121,27 @@ NodeList schemas = doc.getElementsByTagNameNS(SchemaConstants.NS_XSD, "schema"); for (int i = 0; i < schemas.getLength(); i++) { - if(!inlinedSchemaElements.contains(schemas.item(i))) + if (!inlinedSchemaElements.contains(schemas.item(i))) { inlinedSchemaElements.add((Element) schemas.item(i)); + } } } identifyRootWsdls(); } public static class WSEntityResolver implements EntityResolver { - EntityResolver parentResolver; WsimportOptions options; ErrorReceiver errorReceiver; + private URLConnection c = null; + private boolean doReset = false; + public WSEntityResolver(WsimportOptions options, ErrorReceiver errReceiver) { - this.parentResolver = options.entityResolver; this.options = options; this.errorReceiver = errReceiver; } + @Override public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { InputSource inputSource = null; @@ -161,6 +166,14 @@ ((HttpURLConnection) conn).setInstanceFollowRedirects(false); } + if (conn instanceof JarURLConnection) { + if (conn.getUseCaches()) { + doReset = true; + conn.setDefaultUseCaches(false); + c = conn; + } + } + try { is = conn.getInputStream(); //is = sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(conn); @@ -170,7 +183,7 @@ int code = httpConn.getResponseCode(); if (code == 401) { errorReceiver.error(new SAXParseException(WscompileMessages.WSIMPORT_AUTH_INFO_NEEDED(e.getMessage(), - systemId, DefaultAuthenticator.defaultAuthfile), null, e)); + systemId, WsimportOptions.defaultAuthfile), null, e)); throw new AbortException(); } //FOR other code we will retry with MEX @@ -211,11 +224,19 @@ return inputSource; } + @Override + protected void finalize() throws Throwable { + //see http://java.net/jira/browse/JAX_WS-1087 + if (doReset) { + c.setDefaultUseCaches(true); + } + } } // overide default SSL HttpClientVerifier to always return true // effectively overiding Hostname client verification when using SSL private static class HttpClientVerifier implements HostnameVerifier { + @Override public boolean verify(String s, SSLSession sslSession) { return true; } @@ -263,7 +284,7 @@ } //no wsdl with wsdl:service found, throw error if(rootWSDL == null){ - StringBuffer strbuf = new StringBuffer(); + StringBuilder strbuf = new StringBuilder(); for(String str : rootWsdls){ strbuf.append(str); strbuf.append('\n'); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/NamespaceContextImpl.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/NamespaceContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/NamespaceContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -3,7 +3,7 @@ * DO NOT REMOVE OR ALTER! */ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy12ExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy12ExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy12ExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy15ExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy15ExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Policy15ExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAP12ExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAP12ExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAP12ExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPEntityReferenceValidator.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPEntityReferenceValidator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPEntityReferenceValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/SOAPExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -232,127 +232,110 @@ // context.fireDoneParsingEntity(getBodyQName(), body); return true; } else if (XmlUtil.matchesTagNS(e, getHeaderQName())) { - context.push(); - context.registerNamespaces(e); - - SOAPHeader header = new SOAPHeader(context.getLocation(e)); - - String use = XmlUtil.getAttributeOrNull(e, Constants.ATTR_USE); - if (use != null) { - if (use.equals(Constants.ATTRVALUE_LITERAL)) { - header.setUse(SOAPUse.LITERAL); - } else if (use.equals(Constants.ATTRVALUE_ENCODED)) { - header.setUse(SOAPUse.ENCODED); - } else { - Util.fail( - "parsing.invalidAttributeValue", - Constants.ATTR_USE, - use); - } - } - - String namespace = - XmlUtil.getAttributeOrNull(e, Constants.ATTR_NAMESPACE); - if (namespace != null) { - header.setNamespace(namespace); - } - - String encodingStyle = - XmlUtil.getAttributeOrNull(e, Constants.ATTR_ENCODING_STYLE); - if (encodingStyle != null) { - header.setEncodingStyle(encodingStyle); - } - - String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); - if (part != null) { - header.setPart(part); - } - - String messageAttr = - XmlUtil.getAttributeOrNull(e, Constants.ATTR_MESSAGE); - if (messageAttr != null) { - header.setMessage(context.translateQualifiedName(context.getLocation(e), messageAttr)); - } - - for (Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();) { - Element e2 = Util.nextElement(iter); - if (e2 == null) - break; - - if (XmlUtil - .matchesTagNS(e2, getHeaderfaultQName())) { - context.push(); - context.registerNamespaces(e); - - SOAPHeaderFault headerfault = new SOAPHeaderFault(context.getLocation(e)); - - String use2 = - XmlUtil.getAttributeOrNull(e2, Constants.ATTR_USE); - if (use2 != null) { - if (use2.equals(Constants.ATTRVALUE_LITERAL)) { - headerfault.setUse(SOAPUse.LITERAL); - } else if (use.equals(Constants.ATTRVALUE_ENCODED)) { - headerfault.setUse(SOAPUse.ENCODED); - } else { - Util.fail( - "parsing.invalidAttributeValue", - Constants.ATTR_USE, - use2); - } - } - - String namespace2 = - XmlUtil.getAttributeOrNull( - e2, - Constants.ATTR_NAMESPACE); - if (namespace2 != null) { - headerfault.setNamespace(namespace2); - } - - String encodingStyle2 = - XmlUtil.getAttributeOrNull( - e2, - Constants.ATTR_ENCODING_STYLE); - if (encodingStyle2 != null) { - headerfault.setEncodingStyle(encodingStyle2); - } - - String part2 = - XmlUtil.getAttributeOrNull(e2, Constants.ATTR_PART); - if (part2 != null) { - headerfault.setPart(part2); - } - - String messageAttr2 = - XmlUtil.getAttributeOrNull(e2, Constants.ATTR_MESSAGE); - if (messageAttr2 != null) { - headerfault.setMessage( - context.translateQualifiedName(context.getLocation(e2), messageAttr2)); - } - - header.add(headerfault); - context.pop(); - } else { - Util.fail( - "parsing.invalidElement", - e2.getTagName(), - e2.getNamespaceURI()); - } - } - - parent.addExtension(header); - context.pop(); - context.fireDoneParsingEntity(getHeaderQName(), header); - return true; + return handleHeaderElement(parent, e, context); } else { - Util.fail( - "parsing.invalidExtensionElement", - e.getTagName(), - e.getNamespaceURI()); + Util.fail("parsing.invalidExtensionElement", e.getTagName(), e.getNamespaceURI()); return false; // keep compiler happy } } + private boolean handleHeaderElement(TWSDLExtensible parent, Element e, TWSDLParserContextImpl context) { + context.push(); + context.registerNamespaces(e); + + SOAPHeader header = new SOAPHeader(context.getLocation(e)); + + String use = XmlUtil.getAttributeOrNull(e, Constants.ATTR_USE); + if (use != null) { + if (use.equals(Constants.ATTRVALUE_LITERAL)) { + header.setUse(SOAPUse.LITERAL); + } else if (use.equals(Constants.ATTRVALUE_ENCODED)) { + header.setUse(SOAPUse.ENCODED); + } else { + Util.fail("parsing.invalidAttributeValue", Constants.ATTR_USE, use); + } + } + + String namespace = XmlUtil.getAttributeOrNull(e, Constants.ATTR_NAMESPACE); + if (namespace != null) { + header.setNamespace(namespace); + } + + String encodingStyle = XmlUtil.getAttributeOrNull(e, Constants.ATTR_ENCODING_STYLE); + if (encodingStyle != null) { + header.setEncodingStyle(encodingStyle); + } + + String part = XmlUtil.getAttributeOrNull(e, Constants.ATTR_PART); + if (part != null) { + header.setPart(part); + } + + String messageAttr = XmlUtil.getAttributeOrNull(e, Constants.ATTR_MESSAGE); + if (messageAttr != null) { + header.setMessage(context.translateQualifiedName(context.getLocation(e), messageAttr)); + } + + for (Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();) { + Element e2 = Util.nextElement(iter); + if (e2 == null) + break; + + if (XmlUtil.matchesTagNS(e2, getHeaderfaultQName())) { + handleHeaderFaultElement(e, context, header, use, e2); + } else { + Util.fail("parsing.invalidElement", e2.getTagName(), e2.getNamespaceURI()); + } + } + + parent.addExtension(header); + context.pop(); + context.fireDoneParsingEntity(getHeaderQName(), header); + return true; + } + + private void handleHeaderFaultElement(Element e, TWSDLParserContextImpl context, SOAPHeader header, String use, Element e2) { + context.push(); + context.registerNamespaces(e); + + SOAPHeaderFault headerfault = new SOAPHeaderFault(context.getLocation(e)); + + String use2 = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_USE); + if (use2 != null) { + if (use2.equals(Constants.ATTRVALUE_LITERAL)) { + headerfault.setUse(SOAPUse.LITERAL); + } else if (use.equals(Constants.ATTRVALUE_ENCODED)) { + headerfault.setUse(SOAPUse.ENCODED); + } else { + Util.fail("parsing.invalidAttributeValue", Constants.ATTR_USE, use2); + } + } + + String namespace2 = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_NAMESPACE); + if (namespace2 != null) { + headerfault.setNamespace(namespace2); + } + + String encodingStyle2 = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_ENCODING_STYLE); + if (encodingStyle2 != null) { + headerfault.setEncodingStyle(encodingStyle2); + } + + String part2 = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_PART); + if (part2 != null) { + headerfault.setPart(part2); + } + + String messageAttr2 = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_MESSAGE); + if (messageAttr2 != null) { + headerfault.setMessage( + context.translateQualifiedName(context.getLocation(e2), messageAttr2)); + } + + header.add(headerfault); + context.pop(); + } + public boolean handleFaultExtension( TWSDLParserContext context, TWSDLExtensible parent, @@ -398,6 +381,10 @@ context.pop(); // context.fireDoneParsingEntity(getFaultQName(), fault); return true; + } else if (XmlUtil.matchesTagNS(e, getHeaderQName())) { + // although SOAP spec doesn't define meaning of this extension; it is allowed + // to be here, so we have to accept it, not fail (bug 13576977) + return handleHeaderElement(parent, e, (TWSDLParserContextImpl) context); } else { Util.fail( "parsing.invalidExtensionElement", diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Util.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Util.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Util.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/VersionChecker.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/VersionChecker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/VersionChecker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingMetadataExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingMetadataExtensionHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/W3CAddressingMetadataExtensionHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLInternalizationLogic.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLInternalizationLogic.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLInternalizationLogic.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,7 +25,6 @@ package com.sun.tools.internal.ws.wsdl.parser; -import com.sun.tools.internal.ws.wscompile.WsimportOptions; import com.sun.tools.internal.ws.wsdl.document.WSDLConstants; import com.sun.tools.internal.ws.wsdl.document.jaxws.JAXWSBindingsConstants; import com.sun.tools.internal.ws.wsdl.document.schema.SchemaConstants; @@ -49,11 +48,12 @@ super(parent); } + @Override protected String findExternalResource( String nsURI, String localName, Attributes atts) { if(WSDLConstants.NS_WSDL.equals(nsURI) && "import".equals(localName)){ - if(parent.isExtensionMode()){ - //TODO: add support for importing schema using wsdl:import - } +// if(parent.isExtensionMode()){ +// //TODO: add support for importing schema using wsdl:import +// } return atts.getValue("location"); } @@ -67,14 +67,17 @@ return null; } } + @Override public XMLFilterImpl createExternalReferenceFinder(DOMForest parent) { return new ReferenceFinder(parent); } + @Override public boolean checkIfValidTargetNode(DOMForest parent, Element bindings, Element target) { return false; } + @Override public Element refineSchemaTarget(Element target) { // look for existing xs:annotation Element annotation = DOMUtils.getFirstChildElement(target, Constants.NS_XSD, "annotation"); @@ -92,6 +95,7 @@ } + @Override public Element refineWSDLTarget(Element target){ // look for existing xs:annotation Element JAXWSBindings = DOMUtils.getFirstChildElement(target, JAXWSBindingsConstants.NS_JAXWS_BINDINGS, "bindings"); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLParser.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WSDLParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -58,11 +58,9 @@ import com.sun.tools.internal.ws.wsdl.framework.ParserListener; import com.sun.tools.internal.ws.wsdl.framework.TWSDLParserContextImpl; import com.sun.xml.internal.ws.util.ServiceFinder; - import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; -import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import org.xml.sax.Locator; @@ -73,6 +71,7 @@ import java.util.HashMap; import java.util.Iterator; import java.util.Map; +import org.w3c.dom.Node; /** * A parser for WSDL documents. This parser is used only at the tool time. @@ -101,9 +100,10 @@ if (forest == null) { forest = new MetadataFinder(new WSDLInternalizationLogic(), options, errReceiver); forest.parseWSDL(); - if (forest.isMexMetadata) + if (forest.isMexMetadata) { errReceiver.reset(); } + } this.forest = forest; // register handlers for default extensions register(new SOAPExtensionHandler(extensionHandlers)); @@ -111,7 +111,10 @@ register(new MIMEExtensionHandler(extensionHandlers)); register(new JAXWSBindingExtensionHandler(extensionHandlers)); register(new SOAP12ExtensionHandler(extensionHandlers)); - register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver)); + + // MemberSubmission Addressing not supported by WsImport anymore see JAX_WS-1040 for details + //register(new MemberSubmissionAddressingExtensionHandler(extensionHandlers, errReceiver, options.isExtensionMode())); + register(new W3CAddressingExtensionHandler(extensionHandlers, errReceiver)); register(new W3CAddressingMetadataExtensionHandler(extensionHandlers, errReceiver)); register(new Policy12ExtensionHandler()); @@ -144,7 +147,7 @@ Document root = forest.parse(value, false); if(root==null) continue; // error must have been reported Element binding = root.getDocumentElement(); - if (!fixNull(binding.getNamespaceURI()).equals(JAXWSBindingsConstants.NS_JAXWS_BINDINGS) + if (!Internalizer.fixNull(binding.getNamespaceURI()).equals(JAXWSBindingsConstants.NS_JAXWS_BINDINGS) || !binding.getLocalName().equals("bindings")){ errReceiver.error(forest.locatorTable.getStartLocation(binding), WsdlMessages.PARSER_NOT_A_BINDING_FILE( binding.getNamespaceURI(), @@ -162,11 +165,6 @@ return buildWSDLDocument(); } - private String fixNull(String s) { - if(s==null) return ""; - else return s; - } - public MetadataFinder getDOMForest() { return forest; } @@ -203,13 +201,6 @@ new Internalizer(forest, options, errReceiver).transform(); - //print the wsdl -// try{ -// forest.dump(System.out); -// }catch(IOException e){ -// e.printStackTrace(); -// } - Definitions definitions = parseDefinitionsNoImport(context, root); if(definitions == null){ Locator locator = forest.locatorTable.getStartLocation(root.getDocumentElement()); @@ -221,20 +212,6 @@ return definitions; } - private void processMexDocs(TWSDLParserContextImpl context){ - for(String location : forest.listSystemIDs()){ - if (!context.getDocument().isImportedDocument(location)){ - Document doc = forest.get(location); - if(doc == null) - continue; - Definitions importedDefinitions = parseDefinitionsNoImport(context, doc); - if(importedDefinitions == null) - continue; - context.getDocument().addImportedEntity(importedDefinitions); - context.getDocument().addImportedDocument(location); - } - } - } private void processImports(TWSDLParserContextImpl context) { for(String location : forest.getExternalReferences()){ if (!context.getDocument().isImportedDocument(location)){ @@ -520,10 +497,7 @@ // possible extensibility element -- must live outside the WSDL namespace checkNotWsdlAttribute(e3); - if (!handleExtension(context, input, e3, e2)) { - // ignore the extensiblity attribute - // TODO throw a WARNING - } + handleExtension(context, input, e3, e2); } // verify that there is at most one child element and it is a documentation element @@ -582,10 +556,7 @@ // possible extensibility element -- must live outside the WSDL namespace checkNotWsdlAttribute(e3); - if (!handleExtension(context, output, e3, e2)) { - // ignore the extensiblity attribute - // TODO throw a WARNING - } + handleExtension(context, output, e3, e2); } // verify that there is at most one child element and it is a documentation element @@ -635,10 +606,7 @@ // possible extensibility element -- must live outside the WSDL namespace checkNotWsdlAttribute(e3); - if (!handleExtension(context, fault, e3, e2)) { - // ignore the extensiblity attribute - // TODO throw a WARNING - } + handleExtension(context, fault, e3, e2); } // verify that there is at most one child element and it is a documentation element @@ -780,7 +748,6 @@ } /* Here we check for the use scenario */ - Iterator itere2 = XmlUtil.getAllChildren(e2); context.push(); context.registerNamespaces(e2); BindingInput input = new BindingInput(forest.locatorTable.getStartLocation(e2)); @@ -984,8 +951,9 @@ errReceiver.error(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(e.getLocalName())); } gotDocumentation = true; - if(service.getDocumentation() == null) + if (service.getDocumentation() == null) { service.setDocumentation(getDocumentationFor(e2)); + } } else if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_PORT)) { Port port = parsePort(context, definitions, e2); service.add(port); @@ -1022,16 +990,18 @@ for (Iterator iter = XmlUtil.getAllChildren(e); iter.hasNext();) { Element e2 = Util.nextElement(iter); - if (e2 == null) + if (e2 == null) { break; + } if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_DOCUMENTATION)) { if (gotDocumentation) { errReceiver.error(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(e.getLocalName())); } gotDocumentation = true; - if(port.getDocumentation() == null) + if (port.getDocumentation() == null) { port.setDocumentation(getDocumentationFor(e2)); + } } else { // possible extensibility element -- must live outside the WSDL namespace checkNotWsdlElement(e2); @@ -1049,8 +1019,9 @@ private void validateSchemaImports(Element typesElement){ for (Iterator iter = XmlUtil.getAllChildren(typesElement); iter.hasNext();) { Element e = Util.nextElement(iter); - if (e == null) + if (e == null) { break; + } if (XmlUtil.matchesTagNS(e, SchemaConstants.QNAME_IMPORT)) { errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.WARNING_WSI_R_2003()); }else{ @@ -1072,6 +1043,7 @@ (TWSDLExtensionHandler) extensionHandlers.get(e.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); + errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(e.getLocalName(), e.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); @@ -1087,6 +1059,7 @@ (TWSDLExtensionHandler) extensionHandlers.get(n.getNamespaceURI()); if (h == null) { context.fireIgnoringExtension(e, (Entity) entity); + errReceiver.warning(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(n.getLocalName(), n.getNamespaceURI())); return false; } else { return h.doHandleExtension(context, entity, e); @@ -1095,15 +1068,17 @@ private void checkNotWsdlElement(Element e) { // possible extensibility element -- must live outside the WSDL namespace - if (e.getNamespaceURI() != null && e.getNamespaceURI().equals(Constants.NS_WSDL)) + if (e.getNamespaceURI() != null && e.getNamespaceURI().equals(Constants.NS_WSDL)) { errReceiver.error(forest.locatorTable.getStartLocation(e), WsdlMessages.PARSING_INVALID_WSDL_ELEMENT(e.getTagName())); } + } private void checkNotWsdlAttribute(Attr a) { // possible extensibility element -- must live outside the WSDL namespace - if (a.getNamespaceURI().equals(Constants.NS_WSDL)) + if (Constants.NS_WSDL.equals(a.getNamespaceURI())) { errReceiver.error(forest.locatorTable.getStartLocation(a.getOwnerElement()), WsdlMessages.PARSING_INVALID_WSDL_ELEMENT(a.getLocalName())); } + } private void checkNotWsdlRequired(Element e) { // check the wsdl:required attribute, fail if set to "true" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WhitespaceStripper.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WhitespaceStripper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/WhitespaceStripper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/xjc/ClassLoaderBuilder.java --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/ClassLoaderBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/ClassLoaderBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -36,7 +36,6 @@ import com.sun.istack.internal.tools.MaskingClassLoader; import com.sun.istack.internal.tools.ParallelWorldClassLoader; -import com.sun.tools.internal.xjc.SecureLoader; /** * Creates a class loader configured to run XJC 1.0/2.0 safely without @@ -62,7 +61,7 @@ // JAXB API is loaded from the bootstrap. We need to override one with ours mustang = true; - List mask = new ArrayList(Arrays.asList(maskedPackages)); + List mask = new ArrayList(Arrays.asList(maskedPackages)); mask.add("javax.xml.bind."); cl = new MaskingClassLoader(cl,mask); @@ -80,7 +79,7 @@ // so that the XJC2 classes in the parent class loader // won't interfere with loading XJC1 classes in a child class loader - if (v.equals("1.0")) { + if ("1.0".equals(v)) { if(!mustang) // if we haven't used Masking ClassLoader, do so now. cl = new MaskingClassLoader(cl,toolPackages); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/xjc/Driver.java --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/Driver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/Driver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -38,6 +38,7 @@ import com.sun.codemodel.internal.writer.ZipCodeWriter; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; +import com.sun.istack.internal.tools.DefaultAuthenticator; import com.sun.tools.internal.xjc.generator.bean.BeanGenerator; import com.sun.tools.internal.xjc.model.Model; import com.sun.tools.internal.xjc.outline.Outline; @@ -222,9 +223,15 @@ opt.setSchemaLanguage(Language.XMLSCHEMA); // disable auto-guessing try { opt.parseArguments(args); - } catch (WeAreDone _) { + } catch (WeAreDone e) { + if (opt.proxyAuth != null) { + DefaultAuthenticator.reset(); + } return -1; } catch(BadCommandLineException e) { + if (opt.proxyAuth != null) { + DefaultAuthenticator.reset(); + } e.initOptions(opt); throw e; } @@ -401,6 +408,10 @@ listener.message(Messages.format(Messages.STACK_OVERFLOW)); return -1; } + } finally { + if (opt.proxyAuth != null) { + DefaultAuthenticator.reset(); + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/xjc/MessageBundle.properties --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/MessageBundle.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/MessageBundle.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. +# 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 @@ -70,6 +70,7 @@ \ \ -target (2.0|2.1) : behave like XJC 2.0 or 2.1 and generate code that doesn't use any 2.2 features.\n\ \ \ -encoding : specify character encoding for generated source files\n\ \ \ -enableIntrospection : enable correct generation of Boolean getters/setters to enable Bean Introspection apis \n\ +\ \ -disableXmlSecurity : disables XML security features when parsing XML documents \n\ \ \ -contentForWildcard : generates content property for types with multiple xs:any derived elements \n\ \ \ -xmlschema : treat input as W3C XML Schema (default)\n\ \ \ -relaxng : treat input as RELAX NG (experimental,unsupported)\n\ @@ -170,31 +171,31 @@ Driver.FailedToGenerateCode = \ Failed to produce code. -# DO NOT localize the 2.2.5-b10 string - it is a token for an ant +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant Driver.FilePrologComment = \ - This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 \n\ + This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b63 \n\ See
http://java.sun.com/xml/jaxb \n\ Any modifications to this file will be lost upon recompilation of the source schema. \n\ Generated on: {0} \n Driver.Version = \ - xjc 2.2.5-b10 + xjc 2.2.7-b63 Driver.FullVersion = \ - xjc full version "2.2.5-b10-b14" + xjc full version "2.2.7-b63-b19" -Driver.BuildID = 2.2.5-b10 +Driver.BuildID = 2.2.7-b63 # for JDK integration - include version in source zip -jaxb.jdk.version=2.2.5-b10 +jaxb.jdk.version=2.2.7-b63 # see java.text.SimpleDateFormat for format syntax -# Format should not be changed, English locale is used to transform this string into a real date. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. Driver.DateFormat = \ yyyy.MM.dd # see java.text.SimpleDateFormat for format syntax -# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +# Format should not be changed, English locale is used to transform this string into a real time. Driver.TimeFormat = \ hh:mm:ss a z diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/tools/internal/xjc/MessageBundle_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/MessageBundle_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,152 @@ +# +# Copyright (c) 1997, 2011, 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. +# + +# Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.UnknownLocation) if location of the error is not known. +ConsoleErrorReporter.UnknownLocation = unbekanntes Verzeichnis + +# Concatenated with Driver.ErrorMessage, Driver.WarningMessage, Driver.InfoMessage (Driver.InfoMessage + exception message + ConsoleErrorReporter.LineXOfY). {0} - "?"/number, {1} - file location/"unknown file" e.g.: [xjc] [ERROR] Attempt to create a property having the same name as the reserved word "Class". [xjc] line 6 of example.xsd +ConsoleErrorReporter.LineXOfY = \ \ Zeile {0} von {1} + +# may be a placeholder replacement for the second placeholder of ConsoleErrorReporter.LineXOfY (if the file location is unknown) +ConsoleErrorReporter.UnknownFile = unbekannte Datei + +Driver.Private.Usage = Zus\u00e4tzliche private Testoptionen:\n\\ \\ -debug : Ausf\u00fchrung im Debug-Modus (umfasst -verbose)\n\\ \\ -mode : F\u00fchrt XJC in einem anderen Ausf\u00fchrungsmodus aus\n\\ \\ -private : Zeigt diese Hilfemeldung an\nModus:\n\\ \\ code : Generiert Java-Quellcode (Standard)\n\\ \\ dryrun : Kompiliert das Schema im Speicher, generiert die Java-Quelle jedoch nicht\n\\ \\ zip : Generiert den Java-Quellcode in einer .zip-Datei, wie mit der Option -d angegeben\n\\ \\ sig : Gibt die Signaturen des generierten Codes aus\n\\ \\ forest : Gibt transformierte DOM-Gesamtstruktur aus\n +Driver.Public.Usage = Verwendung: xjc [-options ...] ... [-b ] ...\nWenn dir angegeben wird, werden alle Schemadateien im Verzeichnis kompiliert.\nWenn jar angegeben wird, wird die /META-INF/sun-jaxb.episode-Binding-Datei kompiliert.\nOptionen:\n\\ \\ -nv : F\u00fchrt keine strikte Validierung der Eingabeschemas durch\n\\ \\ -extension : L\u00e4sst Herstellererweiterungen zu - Befolgt die \n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Kompatibilit\u00e4tsregeln und App E.2 der JAXB-Spezifikation nicht strikt\n\\ \\ -b : Gibt externe Bindings-Dateien an (jede muss ihre eigene Option -b haben)\n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Wenn ein Verzeichnis angegeben wird, wird **/*.xjb durchsucht\n\\ \\ -d

: Generierte Dateien werden in diesem Verzeichnis gespeichert\n\\ \\ -p : Gibt das Zielpackage an\n\\ \\ -httpproxy : set HTTP/HTTPS proxy. Format ist [user[:password]@]proxyHost:proxyPort\n\\ \\ -httpproxyfile : Wird wie -httpproxy verwendet, verwendet jedoch das Argument in einer Datei zum Schutz des Kennwortes \n\\ \\ -classpath : Gibt an, wo die Benutzerklassendateien gefunden werden\n\\ \\ -catalog : Gibt Katalogdateien zur Aufl\u00f6sung von externen Entity-Referenzen an\n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Unterst\u00fctzt TR9401, XCatalog und OASIS-XML-Katalogformat.\n\\ \\ -readOnly : Generierte Dateien werden im schreibgesch\u00fctzten Modus gelesen\n\\ \\ -npa : Unterdr\u00fcckt die Generierung von Annotationen auf Packageebene (**/package-info.java)\n\\ \\ -no-header : Unterdr\u00fcckt die Generierung eines Datei-Headers mit Zeitstempel\n\\ \\ -target (2.0|2.1) : Verh\u00e4lt sich wie XJC 2.0 oder 2.1 und generiert Code, der keine 2.2-Features verwendet.\n\\ \\ -encoding : Gibt Zeichencodierung f\u00fcr generierte Quelldateien an\n\\ \\ -enableIntrospection : Aktiviert die ordnungsgem\u00e4\u00dfe Generierung von booleschen Gettern/Settern zur Aktivierung von Bean Introspection-APIs \n\\ \\ -contentForWildcard : Generiert Contenteigenschaft f\u00fcr Typen mit mehreren von xs:any abgeleiteten Elementen \n\\ \\ -xmlschema : Behandelt Eingabe als W3C-XML-Schema (Standard)\n\\ \\ -relaxng : Behandelt Eingabe als RELAX NG (experimentell, nicht unterst\u00fctzt)\n\\ \\ -relaxng-compact : Behandelt Eingabe als RELAX NG-Kompaktsyntax (experimentell, nicht unterst\u00fctzt)\n\\ \\ -dtd : Behandelt Eingabe als XML DTD (experimentell, nicht unterst\u00fctzt)\n\\ \\ -wsdl : Behandelt Eingabe als WSDL und kompiliert enthaltene Schemas (experimentell, nicht unterst\u00fctzt)\n\\ \\ -verbose : Verwendet extra-verbose\n\\ \\ -quiet : Unterdr\u00fcckt die Compilerausgabe\n\\ \\ -help : Zeigt diese Hilfemeldung an\n\\ \\ -version : Zeigt Versionsinformationen an\n\\ \\ -fullversion : Zeigt vollst\u00e4ndige Versionsinformationen an\n +Driver.AddonUsage = \nErweiterungen: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = Versuchen Sie, {0} zu kompilieren? Unterst\u00fctzung f\u00fcr {0} ist zu Testzwecken bestimmt. Eine Aktivierung ist mit der Option {1} m\u00f6glich. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = In ein nicht vorhandenes Verzeichnis "{0}" kann nicht geschrieben werden + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = Bei der Option -mode fehlt ein Operand + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = Ein Operand fehlt + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = Entweder fehlt bei der Option -host ein Operand, \noder es wurde -port, jedoch nicht -host angegeben + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = Entweder fehlt bei der Option -port ein Operand, \noder es wurde -host, jedoch nicht -port angegeben + +Driver.ILLEGAL_TARGET_VERSION = "{0}" ist keine g\u00fcltige Zielversion. "2.0" und "2.1" werden unterst\u00fctzt. + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = Bei der Option -httpproxyfile fehlt ein Operand + +Driver.NO_SUCH_FILE = Keine derartige Datei: {0} + +Driver.ILLEGAL_PROXY = "{0}" ist kein g\u00fcltiges Proxyformat. Das Format ist [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = unbekannter Modus {0} + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = unbekannter Parameter {0} + +Driver.UnsupportedEncoding = nicht unterst\u00fctzte Codierung: {0} + +Driver.MissingGrammar = Grammatik nicht angegeben + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = keine externe Binding-Datei. Das Root-Element muss ''{''http://java.sun.com/xml/ns/jaxb''}''-Bindings sein, ist jedoch ''{''{0}''}''{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = Ein Schema wird geparst ... + +Driver.ParseFailed = Ein Schema konnte nicht geparst werden. + +Driver.StackOverflow = Stack-\u00dcberlauf. Entweder kompilieren Sie ein gro\u00dfes Schema, das mehr Ressourcen erfordert, oder XJC enth\u00e4lt einen Bug. Erweitern Sie zuerst die Stack-Gr\u00f6\u00dfe mit der Option -Xss JVM. Wenn das Problem dadurch nicht gel\u00f6st wird, verwenden Sie die Option -debug, um den Stack Trace abzurufen, und wenden Sie sich an Sun. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = Ein Schema wird kompiliert ... + +Driver.FailedToGenerateCode = Code konnte nicht erzeugt werden. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b63 generiert \nSiehe http://java.sun.com/xml/jaxb \n\u00c4nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. \nGeneriert: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = xjc vollst\u00e4ndige Version "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : les fichiers g\u00e9n\u00e9r\u00e9s seront plac\u00e9s dans ce r\u00e9pertoire\n\ \ -p : indique le package cible\n\ \ -httpproxy : d\u00e9finissez le proxy HTTP/HTTPS. Le format est [user[:password]@]proxyHost:proxyPort\n\ \ -httpproxyfile : fonctionne comme -httpproxy mais prend l'argument dans un fichier pour prot\u00e9ger le mot de passe \n\ \ -classpath : indiquez o\u00f9 trouver les fichiers de classe utilisateur\n\ \ -catalog : indiquez les fichiers de catalogue pour r\u00e9soudre les r\u00e9f\u00e9rences d'entit\u00e9 externes\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ prenez en charge le format de catalogue TR9401, XCatalog et OASIS XML.\n\ \ -readOnly : les fichiers g\u00e9n\u00e9r\u00e9s seront en mode lecture seule\n\ \ -npa : supprimez la g\u00e9n\u00e9ration des annotations de niveau package (**/package-info.java)\n\ \ -no-header : supprimez la g\u00e9n\u00e9ration d'un en-t\u00eate de fichier avec horodatage\n\ \ -target (2.0|2.1) : comportez-vous comme XJC 2.0 ou 2.1 et g\u00e9n\u00e9rez du code qui n'utilise aucune fonctionnalit\u00e9 2.2.\n\ \ -encoding : indiquez l'encodage de caract\u00e8res pour les fichiers source g\u00e9n\u00e9r\u00e9s\n\ \ -enableIntrospection : activez la g\u00e9n\u00e9ration correcte des m\u00e9thodes get/set bool\u00e9ennes pour activer les API d'introspection de bean \n\ \ -contentForWildcard : g\u00e9n\u00e8re la propri\u00e9t\u00e9 de contenu pour les types avec plusieurs \u00e9l\u00e9ments d\u00e9riv\u00e9s xs:any \n\ \ -xmlschema : traitez l'entr\u00e9e en tant que W3C XML Schema (par d\u00e9faut)\n\ \ -relaxng : traitez l'entr\u00e9e en tant que RELAX NG (exp\u00e9rimental, non pris en charge)\n\ \ -relaxng-compact : traitez l'entr\u00e9e en tant que syntaxe compacte RELAX NG (exp\u00e9rimental, non pris en charge)\n\ \ -dtd : traitez l'entr\u00e9e en tant que DTD XML (exp\u00e9rimental, non pris en charge)\n\ \ -wsdl : traitez l'entr\u00e9e en tant que WSDL et compilez-y les sch\u00e9mas (exp\u00e9rimental, non pris en charge)\n\ \ -verbose : agissez en mode extra verbose\n\ \ -quiet : supprimez la sortie de compilateur\n\ \ -help : affichez ce message d'aide\n\ \ -version : affichez ces informations de version\n\ \ -fullversion : affichez ces informations de version compl\u00e8te\n +Driver.AddonUsage = \nExtensions : + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = Essayez-vous de compiler {0} ? La prise en charge de {0} est exp\u00e9rimentale. Vous pouvez l''activer \u00e0 l''aide de l''option {1}. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = ne peut pas \u00e9crire sur un r\u00e9pertoire "{0}" non existant + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = un op\u00e9rande est manquant dans l'option -mode + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = un op\u00e9rande est manquant + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = un op\u00e9rande est manquant dans l'option -host \nou -port a \u00e9t\u00e9 indiqu\u00e9, mais pas -host + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = un op\u00e9rande est manquant dans l'option -port \nou -host a \u00e9t\u00e9 indiqu\u00e9, mais pas -port + +Driver.ILLEGAL_TARGET_VERSION = "{0}" n''est pas une version cible valide. Les versions "2.0" et "2.1" sont prises en charge. + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = un op\u00e9rande est manquant dans l'option -httpproxyfile + +Driver.NO_SUCH_FILE = Aucun fichier de ce type : {0} + +Driver.ILLEGAL_PROXY = "{0}" n''est pas un format de proxy valide. Le format est [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = mode {0} non reconnu + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = param\u00e8tre {0} non reconnu + +Driver.UnsupportedEncoding = encodage non pris en charge : {0} + +Driver.MissingGrammar = la grammaire n'est pas indiqu\u00e9e + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = n''est pas un fichier de binding externe. L''\u00e9l\u00e9ment racine doit correspondre aux bindings ''{''http://java.sun.com/xml/ns/jaxb''}'', mais il s''agit de ''{''{0}''}''{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = analyse d'un sch\u00e9ma... + +Driver.ParseFailed = Echec de l'analyse d'un sch\u00e9ma. + +Driver.StackOverflow = D\u00e9bordement de pile. Vous compilez un sch\u00e9ma volumineux qui exige davantage de ressources ou XJC pr\u00e9sente un bug. Etendez d'abord la taille de pile \u00e0 l'aide de l'option JVM -Xss. Si le probl\u00e8me persiste, utilisez l'option -debug pour obtenir la trace de pile et contactez Sun. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = compilation d'un sch\u00e9ma... + +Driver.FailedToGenerateCode = Echec de la production du code. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = Ce fichier a \u00e9t\u00e9 g\u00e9n\u00e9r\u00e9 par l''impl\u00e9mentation de r\u00e9f\u00e9rence JavaTM Architecture for XML Binding (JAXB), v2.2.7-b63 \nVoir http://java.sun.com/xml/jaxb \nToute modification apport\u00e9e \u00e0 ce fichier sera perdue lors de la recompilation du sch\u00e9ma source. \nG\u00e9n\u00e9r\u00e9 le : {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = version compl\u00e8te xjc "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : i file generati andranno in questa directory\n\ \ -p : specifica il package di destinazione\n\ \ -httpproxy : imposta il proxy HTTP/HTTPS. Il formato \u00e8 [user[:password]@]proxyHost:proxyPort\n\ \ -httpproxyfile : funziona come -httpproxy ma prende l'argomento da un file per proteggere la password \n\ \ -classpath : specifica dove trovare i file delle classi utente\n\ \ -catalog : specifica i file di catalogo per risolvere i riferimenti a entit\u00e0 esterne\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ supporta il formato di catalogo XML TR9401, XCatalog e OASIS.\n\ \ -readOnly : i file generati saranno in modalit\u00e0 di sola lettura\n\ \ -npa : elimina la generazione delle annotazioni a livello di package (**/package-info.java)\n\ \ -no-header : elimina la generazione di un'intestazione di file con indicatore orario\n\ \ -target (2.0|2.1) : funziona come XJC 2.0 o 2.1 e genera del codice che non usa alcuna funzione 2.2.\n\ \ -encoding : specifica la codifica di caratteri per i file di origine generati\n\ \ -enableIntrospection : abilita la generazione di getter/setter booleani per abilitare le API di introspezione dei bean \n\ \ -contentForWildcard : genera la propriet\u00e0 di contenuto per i tipi con pi\u00f9 elementi derivati xs:any \n\ \ -xmlschema : tratta l'input come schema XML W3C (valore predefinito)\n\ \ -relaxng : tratta l'input come NG RELAX (sperimentale, non supportato)\n\ \ -relaxng-compact : tratta l'input come sintassi compatta NG RELAX (sperimentale, non supportato)\n\ \ -dtd : tratta l'input come DTD XML (sperimentale, non supportato)\n\ \ -wsdl : tratta l'input come WSDL e compila gli schemi al suo interno (sperimentale, non supportato)\n\ \ -verbose : be extra verbose\n\ \ -quiet : elimina l'output del compilatore\n\ \ -help : visualizza questo messaggio della Guida\n\ \ -version : visualizza le informazioni sulla versione\n\ \ -fullversion : visualizza le informazioni sulla versione completa\n +Driver.AddonUsage = \nEstensioni: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = Si sta tentando di compilare {0}? Il supporto per {0} \u00e8 sperimentale. \u00c8 possibile abilitarlo usando l''opzione {1}. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = impossibile scrivere su una directory non esistente "{0}" + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = operando mancante nell'opzione -mode + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = operando mancante + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = operando mancante nell'opzione -host \noppure \u00e8 stato specificato -port ma non -host + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = operando mancante nell'opzione -port \noppure \u00e8 stato specificato -host ma non -port + +Driver.ILLEGAL_TARGET_VERSION = "{0}" non \u00e8 una versione di destinazione valida. Sono supportate le versioni "2.0" e "2.1". + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = operando mancante nell'opzione -httpproxyfile + +Driver.NO_SUCH_FILE = Nessun file di questo tipo: {0} + +Driver.ILLEGAL_PROXY = "{0}" non \u00e8 un formato proxy valido. Il formato \u00e8 [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = modalit\u00e0 non riconosciuta {0} + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = parametro non riconosciuto {0} + +Driver.UnsupportedEncoding = codifica non supportata: {0} + +Driver.MissingGrammar = grammatica non specificata + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = non \u00e8 un file di associazione esterno. L''elemento radice deve essere ''{''http://java.sun.com/xml/ns/jaxb''}''bindings ma \u00e8 ''{''{0}''}''{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = analisi di uno schema in corso... + +Driver.ParseFailed = Analisi di uno schema non riuscita. + +Driver.StackOverflow = Overflow dello stack. Si sta compilando uno schema grande che richiede pi\u00f9 risorse oppure XJC contiene un bug. Per prima cosa, estendere la dimensione dello stack usando l'opzione -Xss JVM. Se questo non risolve il problema, usare l'opzione -debug per ottenere lo stack trace e contattare Sun. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = compilazione di uno schema in corso... + +Driver.FailedToGenerateCode = Produzione del codice non riuscita. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = Questo file \u00e8 stato generato dall''architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7-b63 \nVedere http://java.sun.com/xml/jaxb \nQualsiasi modifica a questo file andr\u00e0 persa durante la ricompilazione dello schema di origine. \nGenerato il: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = versione completa xjc "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : \u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u9077\u79fb\u3057\u307e\u3059\n\ \ -p : \u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u307e\u3059\n\ \ -httpproxy : HTTP/HTTPS\u30d7\u30ed\u30ad\u30b7\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5f62\u5f0f\u306f[user[:password]@]proxyHost:proxyPort\u3067\u3059\n\ \ -httpproxyfile : -httpproxy\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3057\u307e\u3059\u304c\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u5f15\u6570\u3092\u53d6\u308a\u307e\u3059\n\ \ -classpath : \u30e6\u30fc\u30b6\u30fc\u30fb\u30af\u30e9\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u307e\u3059\n\ \ -catalog : \u5916\u90e8\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u53c2\u7167\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001\u30ab\u30bf\u30ed\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ TR9401\u3001XCatalog\u304a\u3088\u3073OASIS XML Catalog\u5f62\u5f0f\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\n\ \ -readOnly : \u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u8aad\u53d6\u308a\u5c02\u7528\u30e2\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\n\ \ -npa : \u30d1\u30c3\u30b1\u30fc\u30b8\u30fb\u30ec\u30d9\u30eb\u6ce8\u91c8(**/package-info.java)\u306e\u751f\u6210\u3092\u6291\u5236\u3057\u307e\u3059\n\ \ -no-header : \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u4ed8\u304d\u306e\u30d5\u30a1\u30a4\u30eb\u30fb\u30d8\u30c3\u30c0\u30fc\u306e\u751f\u6210\u3092\u6291\u5236\u3057\u307e\u3059\n\ \ -target (2.0|2.1) : XJC 2.0\u307e\u305f\u306f2.1\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u30012.2\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u306a\u3044\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u307e\u3059\u3002\n\ \ -encoding : \u751f\u6210\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6307\u5b9a\u3057\u307e\u3059\n\ \ -enableIntrospection : Boolean getters/setters\u3092\u6b63\u3057\u304f\u751f\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3001Bean Introspection apis\u3092\u6709\u52b9\u306b\u3057\u307e\u3059 \n\ \ -contentForWildcard : \u8907\u6570\u306exs:any\u5c0e\u51fa\u8981\u7d20\u3092\u6301\u3064\u30bf\u30a4\u30d7\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30fb\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u751f\u6210\u3057\u307e\u3059\n\ \ -xmlschema : \u5165\u529b\u3092W3C XML\u30b9\u30ad\u30fc\u30de\u3068\u3057\u3066\u51e6\u7406\u3057\u307e\u3059(\u30c7\u30d5\u30a9\u30eb\u30c8)\n\ \ -relaxng : \u5165\u529b\u3092RELAX NG\u3068\u3057\u3066\u51e6\u7406\u3057\u307e\u3059(\u8a66\u9a13\u7684\u3001\u30b5\u30dd\u30fc\u30c8\u306a\u3057)\n\ \ -relaxng-compact : \u5165\u529b\u3092RELAX NG\u306e\u7c21\u5358\u306a\u69cb\u6587\u3068\u3057\u3066\u51e6\u7406\u3057\u307e\u3059(\u8a66\u9a13\u7684\u3001\u30b5\u30dd\u30fc\u30c8\u306a\u3057)\n\ \ -dtd : \u5165\u529b\u3092XML DTD\u3068\u3057\u3066\u51e6\u7406\u3057\u307e\u3059(\u8a66\u9a13\u7684\u3001\u30b5\u30dd\u30fc\u30c8\u306a\u3057)\n\ \ -wsdl : \u5165\u529b\u3092WSDL\u3068\u3057\u3066\u51e6\u7406\u3057\u3001\u305d\u306e\u5185\u90e8\u306e\u30b9\u30ad\u30fc\u30de\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059(\u8a66\u9a13\u7684\u3001\u30b5\u30dd\u30fc\u30c8\u306a\u3057)\n\ \ -verbose : \u5197\u9577\u306b\u306a\u308a\u307e\u3059\n\ \ -quiet : \u30b3\u30f3\u30d1\u30a4\u30e9\u51fa\u529b\u3092\u975e\u8868\u793a\u306b\u3057\u307e\u3059\n\ \ -help : \u3053\u306e\u30d8\u30eb\u30d7\u30fb\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\n\ \ -version : \u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\n\ \ -fullversion : \u30d5\u30eb\u30fb\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\n +Driver.AddonUsage = \n\u62e1\u5f35: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = {0}\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u304b\u3002{0}\u306e\u30b5\u30dd\u30fc\u30c8\u306f\u8a66\u9a13\u7684\u3067\u3059\u3002{1}\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u6709\u52b9\u306b\u3067\u304d\u307e\u3059\u3002 + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = \u5b58\u5728\u3057\u306a\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea"{0}"\u306b\u66f8\u304d\u8fbc\u3081\u307e\u305b\u3093 + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = -mode\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30aa\u30da\u30e9\u30f3\u30c9\u304c\u3042\u308a\u307e\u305b\u3093 + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = \u30aa\u30da\u30e9\u30f3\u30c9\u304c\u3042\u308a\u307e\u305b\u3093 + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = -host\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30aa\u30da\u30e9\u30f3\u30c9\u304c\u306a\u3044\u304b\u3001\n-host\u3067\u306f\u306a\u304f-port\u304c\u6307\u5b9a\u3055\u308c\u307e\u3057\u305f + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = -port\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30aa\u30da\u30e9\u30f3\u30c9\u304c\u306a\u3044\u304b\u3001\n-port\u3067\u306f\u306a\u304f-host\u304c\u6307\u5b9a\u3055\u308c\u307e\u3057\u305f + +Driver.ILLEGAL_TARGET_VERSION = "{0}"\u306f\u6709\u52b9\u306a\u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002"2.0"\u304a\u3088\u3073"2.1"\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002 + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = -httpproxyfile\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30aa\u30da\u30e9\u30f3\u30c9\u304c\u3042\u308a\u307e\u305b\u3093 + +Driver.NO_SUCH_FILE = \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3042\u308a\u307e\u305b\u3093: {0} + +Driver.ILLEGAL_PROXY = "{0}"\u306f\u6709\u52b9\u306a\u30d7\u30ed\u30ad\u30b7\u306e\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f62\u5f0f\u306f[user[:password]@]proxyHost:proxyPort\u3067\u3059 + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = \u30e2\u30fc\u30c9{0}\u3092\u8a8d\u8b58\u3067\u304d\u307e\u305b\u3093 + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = \u30d1\u30e9\u30e1\u30fc\u30bf{0}\u3092\u8a8d\u8b58\u3067\u304d\u307e\u305b\u3093 + +Driver.UnsupportedEncoding = \u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0: {0} + +Driver.MissingGrammar = \u69cb\u6587\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093 + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = \u5916\u90e8\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u30fb\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30eb\u30fc\u30c8\u8981\u7d20\u306f''{''http://java.sun.com/xml/ns/jaxb''}''bindings\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001''{''{0}''}''{1}\u3067\u3059 + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = \u30b9\u30ad\u30fc\u30de\u306e\u89e3\u6790\u4e2d... + +Driver.ParseFailed = \u30b9\u30ad\u30fc\u30de\u306e\u89e3\u6790\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 + +Driver.StackOverflow = \u30b9\u30bf\u30c3\u30af\u30fb\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3067\u3059\u3002\u3055\u3089\u306b\u30ea\u30bd\u30fc\u30b9\u304c\u5fc5\u8981\u306a\u5927\u304d\u3044\u30b9\u30ad\u30fc\u30de\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u308b\u304b\u3001XJC\u306b\u30d0\u30b0\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001-Xss JVM\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u30b9\u30bf\u30c3\u30af\u30fb\u30b5\u30a4\u30ba\u3092\u62e1\u5f35\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3067\u554f\u984c\u304c\u89e3\u6c7a\u3057\u306a\u3044\u5834\u5408\u306f\u3001-debug\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u30b9\u30bf\u30c3\u30af\u30fb\u30c8\u30ec\u30fc\u30b9\u3092\u53d6\u5f97\u3057\u3001\u3054\u8cfc\u5165\u5148\u306b\u9023\u7d61\u3057\u3066\u304f\u3060\u3055\u3044\u3002 + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = \u30b9\u30ad\u30fc\u30de\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u4e2d... + +Driver.FailedToGenerateCode = \u30b3\u30fc\u30c9\u306e\u751f\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001JavaTM Architecture for XML Binding(JAXB) Reference Implementation\u3001v2.2.7-b63\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u307e\u3057\u305f \nhttp://java.sun.com/xml/jaxb\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \n\u30bd\u30fc\u30b9\u30fb\u30b9\u30ad\u30fc\u30de\u306e\u518d\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u306f\u5931\u308f\u308c\u307e\u3059\u3002 \n\u751f\u6210\u65e5: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = xjc\u30d5\u30eb\u30fb\u30d0\u30fc\u30b8\u30e7\u30f3"2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : \uc0dd\uc131\ub41c \ud30c\uc77c\uc774 \uc774 \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc800\uc7a5\ub429\ub2c8\ub2e4.\n\ \ -p : \ub300\uc0c1 \ud328\ud0a4\uc9c0\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ \ -httpproxy : HTTP/HTTPS \ud504\ub85d\uc2dc\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. \ud615\uc2dd\uc740 [user[:password]@]proxyHost:proxyPort\uc785\ub2c8\ub2e4.\n\ \ -httpproxyfile : -httpproxy\uc640 \ub3d9\uc77c\ud558\uac8c \uc791\ub3d9\ud558\uc9c0\ub9cc \ube44\ubc00\ubc88\ud638\ub97c \ubcf4\ud638\ud558\uae30 \uc704\ud574 \ud30c\uc77c\uc5d0 \uc778\uc218\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \n\ \ -classpath : \uc0ac\uc6a9\uc790 \ud074\ub798\uc2a4 \ud30c\uc77c\uc744 \ucc3e\uc744 \uc704\uce58\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ \ -catalog : \uc678\ubd80 \uc5d4\ud2f0\ud2f0 \ucc38\uc870\ub97c \ubd84\uc11d\ud560 \uce74\ud0c8\ub85c\uadf8 \ud30c\uc77c\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ TR9401, XCatalog \ubc0f OASIS XML \uce74\ud0c8\ub85c\uadf8 \ud615\uc2dd\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4.\n\ \ -readOnly : \uc0dd\uc131\ub41c \ud30c\uc77c\uc774 \uc77d\uae30 \uc804\uc6a9 \ubaa8\ub4dc\ub85c \uc124\uc815\ub429\ub2c8\ub2e4.\n\ \ -npa : \ud328\ud0a4\uc9c0 \ub808\ubca8 \uc8fc\uc11d(**/package-info.java)\uc774 \uc0dd\uc131\ub418\uc9c0 \uc54a\ub3c4\ub85d \ud569\ub2c8\ub2e4.\n\ \ -no-header : \uc2dc\uac04 \uae30\ub85d\uc744 \ud3ec\ud568\ud558\ub294 \ud30c\uc77c \uba38\ub9ac\uae00\uc774 \uc0dd\uc131\ub418\uc9c0 \uc54a\ub3c4\ub85d \ud569\ub2c8\ub2e4.\n\ \ -target (2.0|2.1) : XJC 2.0 \ub610\ub294 2.1\ucc98\ub7fc \uc791\ub3d9\ud558\uba70 2.2 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub294 \ucf54\ub4dc\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\ \ -encoding : \uc0dd\uc131\ub41c \uc18c\uc2a4 \ud30c\uc77c\uc5d0 \ub300\ud55c \ubb38\uc790 \uc778\ucf54\ub529\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\n\ \ -enableIntrospection : \ubd80\uc6b8 getter/setter\uac00 \uc62c\ubc14\ub974\uac8c \uc0dd\uc131\ub418\ub3c4\ub85d \ud558\uc5ec Bean \uac80\uc0ac API\ub97c \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ud569\ub2c8\ub2e4. \n\ \ -contentForWildcard : xs:any \ud30c\uc0dd \uc694\uc18c\uac00 \uc5ec\ub7ec \uac1c\uc778 \uc720\ud615\uc5d0 \ub300\ud574 \ucf58\ud150\uce20 \uc18d\uc131\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \n\ \ -xmlschema : \uc785\ub825\uac12\uc744 W3C XML \uc2a4\ud0a4\ub9c8\ub85c \ucc98\ub9ac\ud569\ub2c8\ub2e4(\uae30\ubcf8\uac12).\n\ \ -relaxng : \uc785\ub825\uac12\uc744 RELAX NG\ub85c \ucc98\ub9ac\ud569\ub2c8\ub2e4(\uc2e4\ud5d8 \ub2e8\uacc4, \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc74c).\n\ \ -relaxng-compact : \uc785\ub825\uac12\uc744 RELAX NG \uc555\ucd95 \uad6c\ubb38\uc73c\ub85c \ucc98\ub9ac\ud569\ub2c8\ub2e4(\uc2e4\ud5d8 \ub2e8\uacc4, \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc74c).\n\ \ -dtd : \uc785\ub825\uac12\uc744 XML DTD\ub85c \ucc98\ub9ac\ud569\ub2c8\ub2e4(\uc2e4\ud5d8 \ub2e8\uacc4, \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc74c).\n\ \ -wsdl : \uc785\ub825\uac12\uc744 WSDL\ub85c \ucc98\ub9ac\ud558\uace0 \ud3ec\ud568\ub41c \uc2a4\ud0a4\ub9c8\ub97c \ucef4\ud30c\uc77c\ud569\ub2c8\ub2e4(\uc2e4\ud5d8 \ub2e8\uacc4, \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc74c).\n\ \ -verbose : \ucd94\uac00 \uc138\ubd80 \uc815\ubcf4 \ud45c\uc2dc \ubaa8\ub4dc\uc785\ub2c8\ub2e4.\n\ \ -quiet : \ucef4\ud30c\uc77c\ub7ec \ucd9c\ub825\uc744 \ud45c\uc2dc\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n\ \ -help : \uc774 \ub3c4\uc6c0\ub9d0 \uba54\uc2dc\uc9c0\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4.\n\ \ -version : \ubc84\uc804 \uc815\ubcf4\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4.\n\ \ -fullversion : \uc815\uc2dd \ubc84\uc804 \uc815\ubcf4\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4.\n +Driver.AddonUsage = \n\ud655\uc7a5: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = {0} \ucef4\ud30c\uc77c\uc744 \uc2dc\ub3c4\ud558\uace0 \uc788\uc2b5\ub2c8\uae4c? {0}\uc5d0 \ub300\ud55c \uc9c0\uc6d0\uc740 \uc2e4\ud5d8 \ub2e8\uacc4\uc785\ub2c8\ub2e4. {1} \uc635\uc158\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = \uc874\uc7ac\ud558\uc9c0 \uc54a\ub294 \ub514\ub809\ud1a0\ub9ac "{0}"\uc5d0 \uc4f8 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = -mode \uc635\uc158\uc5d0 \ud53c\uc5f0\uc0b0\uc790\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = \ud53c\uc5f0\uc0b0\uc790\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = -host \uc635\uc158\uc5d0 \ud53c\uc5f0\uc0b0\uc790\uac00 \ub204\ub77d\ub418\uc5c8\uac70\ub098 \n-port\uac00 \uc9c0\uc815\ub418\uc5c8\uc9c0\ub9cc -host\uac00 \uc9c0\uc815\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = -port \uc635\uc158\uc5d0 \ud53c\uc5f0\uc0b0\uc790\uac00 \ub204\ub77d\ub418\uc5c8\uac70\ub098 \n-host\uac00 \uc9c0\uc815\ub418\uc5c8\uc9c0\ub9cc -port\uac00 \uc9c0\uc815\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4. + +Driver.ILLEGAL_TARGET_VERSION = "{0}"\uc740(\ub294) \uc801\ud569\ud55c \ub300\uc0c1 \ubc84\uc804\uc774 \uc544\ub2d9\ub2c8\ub2e4. "2.0" \ubc0f "2.1"\uc774 \uc9c0\uc6d0\ub429\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = -httpproxyfile \uc635\uc158\uc5d0 \ud53c\uc5f0\uc0b0\uc790\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. + +Driver.NO_SUCH_FILE = \ud574\ub2f9 \ud30c\uc77c \uc5c6\uc74c: {0} + +Driver.ILLEGAL_PROXY = "{0}"\uc740(\ub294) \uc801\ud569\ud55c \ud504\ub85d\uc2dc \ud615\uc2dd\uc774 \uc544\ub2d9\ub2c8\ub2e4. \ud615\uc2dd\uc740 [user[:password]@]proxyHost:proxyPort\uc785\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = {0}\uc740(\ub294) \uc778\uc2dd\ud560 \uc218 \uc5c6\ub294 \ubaa8\ub4dc\uc785\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = {0}\uc740(\ub294) \uc778\uc2dd\ud560 \uc218 \uc5c6\ub294 \ub9e4\uac1c\ubcc0\uc218\uc785\ub2c8\ub2e4. + +Driver.UnsupportedEncoding = \uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uc778\ucf54\ub529: {0} + +Driver.MissingGrammar = \ubb38\ubc95\uc774 \uc9c0\uc815\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4. + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = \uc678\ubd80 \ubc14\uc778\ub529 \ud30c\uc77c\uc774 \uc544\ub2d9\ub2c8\ub2e4. \ub8e8\ud2b8 \uc694\uc18c\ub294 ''{''http://java.sun.com/xml/ns/jaxb''}''bindings\uc5ec\uc57c \ud558\uc9c0\ub9cc ''{''{0}''}''{1}\uc785\ub2c8\ub2e4. + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = \uc2a4\ud0a4\ub9c8\uc758 \uad6c\ubb38\uc744 \ubd84\uc11d\ud558\ub294 \uc911... + +Driver.ParseFailed = \uc2a4\ud0a4\ub9c8 \uad6c\ubb38 \ubd84\uc11d\uc744 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. + +Driver.StackOverflow = \uc2a4\ud0dd \uc624\ubc84\ud50c\ub85c\uc6b0\uc785\ub2c8\ub2e4. \ub354 \ub9ce\uc740 \ub9ac\uc18c\uc2a4\uac00 \ud544\uc694\ud55c \ud070 \uc2a4\ud0a4\ub9c8\ub97c \ucef4\ud30c\uc77c\ud558\uace0 \uc788\uac70\ub098 XJC\uc5d0 \ubc84\uadf8\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uba3c\uc800 -Xss JVM \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud0dd \ud06c\uae30\ub97c \ub298\ub9ac\uc2ed\uc2dc\uc624. \uc774\ub97c \ud1b5\ud574 \ubb38\uc81c\uac00 \ud574\uacb0\ub418\uc9c0 \uc54a\uc73c\uba74 -debug \uc635\uc158\uc744 \ud1b5\ud574 \uc2a4\ud0dd \ucd94\uc801\uc744 \uc5bb\uc5b4 Sun\uc5d0 \ubb38\uc758\ud558\uc2ed\uc2dc\uc624. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = \uc2a4\ud0a4\ub9c8\ub97c \ucef4\ud30c\uc77c\ud558\ub294 \uc911... + +Driver.FailedToGenerateCode = \ucf54\ub4dc \uc0dd\uc131\uc744 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = \uc774 \ud30c\uc77c\uc740 JAXB(JavaTM Architecture for XML Binding) \ucc38\uc870 \uad6c\ud604 2.2.7-b63 \ubc84\uc804\uc744 \ud1b5\ud574 \uc0dd\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \nhttp://java.sun.com/xml/jaxb\ub97c \ucc38\uc870\ud558\uc2ed\uc2dc\uc624. \n\uc774 \ud30c\uc77c\uc744 \uc218\uc815\ud558\uba74 \uc18c\uc2a4 \uc2a4\ud0a4\ub9c8\ub97c \uc7ac\ucef4\ud30c\uc77c\ud560 \ub54c \uc218\uc815 \uc0ac\ud56d\uc774 \uc190\uc2e4\ub429\ub2c8\ub2e4. \n\uc0dd\uc131 \ub0a0\uc9dc: {0} \n + +Driver.Version = XJC 2.2.7-b63 + +Driver.FullVersion = XJC \uc815\uc2dd \ubc84\uc804 "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : os arquivos gerados ficar\u00e3o neste diret\u00f3rio\n\\ \\ -p : especifica o pacote do alvo\n\\ \\ -httpproxy : definir proxy HTTP/HTTPS. O formato \u00e9 [user[:password]@]proxyHost:proxyPort\n\\ \\ -httpproxyfile : Funciona como -httpproxy, mas usa o argumento em um arquivo para proteger a senha \n\\ \\ -classpath : especifica onde localizar os arquivos de classe do usu\u00e1rio\n\\ \\ -catalog : especifica arquivos do cat\u00e1logo para resolver refer\u00eancias da entidade externa\n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ suporta TR9401, formato de XCatalog e do Cat\u00e1logo XML do OASIS.\n\\ \\ -readOnly : os arquivos gerados ficar\u00e3o no modo somente leitura\n\\ \\ -npa : suprime a gera\u00e7\u00e3o de anota\u00e7\u00f5es do n\u00edvel do pacote (**/package-info.java)\n\\ \\ -no-header : suprime a gera\u00e7\u00e3o de um cabe\u00e7alho do arquivo com timestamp\n\\ \\ -target (2.0|2.1) : atua como XJC 2.0 ou 2.1 e gera c\u00f3digo que n\u00e3o usa nenhum recurso 2.2.\n\\ \\ -encoding : especifica codifica\u00e7\u00e3o de caracteres para arquivos de origem gerados\n\\ \\ -enableIntrospection : ativa a gera\u00e7\u00e3o correta de getters/setters Boolianos para ativar apis de Introspec\u00e7\u00e3o de Bean \n\\ \\ -contentForWildcard : gera a propriedade do conte\u00fado dos tipos com v\u00e1rios xs:todos elementos derivados \n\\ \\ -xmlschema : trata a sa\u00edda como Esquema XML de W3C (default)\n\\ \\ -relaxng : trata a entrada como RELAX NG (experimental, n\u00e3o suportada)\n\\ \\ -relaxng-compact : trata a entrada como sintaxe compacta RELAX NG (experimental, n\u00e3o suportada)\n\\ \\ -dtd : trata a entrada como XML DTD (experimental,n\u00e3o suportada)\n\\ \\ -wsdl : trata a entrada como WSDL e compila esquemas dentro dela (experimental,n\u00e3o suportada)\n\\ \\ -verbose : verbose extra\n\\ \\ -quiet : suprime a sa\u00edda do compilador\n\\ \\ -help : exibe esta mensagem de ajuda\n\\ \\ -version : exibe informa\u00e7\u00f5es da vers\u00e3o\n\\ \\ -fullversion : exibe informa\u00e7\u00f5es da vers\u00e3o completa\n +Driver.AddonUsage = \nExtens\u00f5es: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = Voc\u00ea est\u00e1 tentando compilar {0}? O suporte para {0} \u00e9 experimental. Voc\u00ea pode ativ\u00e1-lo usando a op\u00e7\u00e3o {1}. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = n\u00e3o pode gravar em um diret\u00f3rio "{0}" n\u00e3o existente + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = a op\u00e7\u00e3o -mode n\u00e3o encontrou um operando + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = est\u00e1 faltando um operando + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = a op\u00e7\u00e3o -host n\u00e3o encontrou um operando \nou -port foi especificado, mas n\u00e3o -host + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = a op\u00e7\u00e3o -port n\u00e3o encontrou um operando \nou -host foi especificado, mas n\u00e3o -port + +Driver.ILLEGAL_TARGET_VERSION = "{0}" n\u00e3o \u00e9 uma vers\u00e3o do alvo v\u00e1lida. "2.0" e "2.1" s\u00e3o suportadas. + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = a op\u00e7\u00e3o -httpproxyfile n\u00e3o encontrou um operando + +Driver.NO_SUCH_FILE = O arquivo {0} n\u00e3o existe + +Driver.ILLEGAL_PROXY = "{0}" n\u00e3o \u00e9 um formato de proxy v\u00e1lido. O formato \u00e9 [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = modo n\u00e3o reconhecido {0} + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = par\u00e2metro {0} n\u00e3o reconhecido + +Driver.UnsupportedEncoding = codifica\u00e7\u00e3o n\u00e3o suportada: {0} + +Driver.MissingGrammar = gram\u00e1tica n\u00e3o especificada + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = n\u00e3o \u00e9 um arquivo de bind externo. O elemento-raiz deve ser "{http://java.sun.com/xml/ns/jaxb}"bindings, mas \u00e9 "{{0}}"{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = fazendo parse de um esquema... + +Driver.ParseFailed = Falha ao fazer parse de um esquema. + +Driver.StackOverflow = Sobrecarga de pilha. Voc\u00ea est\u00e1 compilando um esquema maior que exige mais recursos ou o XJC tem um erro. Primeiro, aumente o tamanho da pilha usando a op\u00e7\u00e3o -Xss da JVM. Se isso n\u00e3o resolver o problema, use a op\u00e7\u00e3o -debug para obter o rastreamento da pilha e contate a Sun. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = compilando um esquema... + +Driver.FailedToGenerateCode = Falha ao produzir o c\u00f3digo. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = Este arquivo foi gerado pela Arquitetura JavaTM para Implementa\u00e7\u00e3o de Refer\u00eancia (JAXB) de Bind XML, v2.2.7-b63 \nConsulte http://java.sun.com/xml/jaxb \nTodas as modifica\u00e7\u00f5es neste arquivo ser\u00e3o perdidas ap\u00f3s a recompila\u00e7\u00e3o do esquema de origem. \nGerado em: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = vers\u00e3o completa de xjc "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : \u751f\u6210\u7684\u6587\u4ef6\u5c06\u653e\u5165\u6b64\u76ee\u5f55\u4e2d\n\ \ -p : \u6307\u5b9a\u76ee\u6807\u7a0b\u5e8f\u5305\n\ \ -httpproxy : \u8bbe\u7f6e HTTP/HTTPS \u4ee3\u7406\u3002\u683c\u5f0f\u4e3a [user[:password]@]proxyHost:proxyPort\n\ \ -httpproxyfile : \u4f5c\u7528\u4e0e -httpproxy \u7c7b\u4f3c, \u4f46\u5728\u6587\u4ef6\u4e2d\u91c7\u7528\u53c2\u6570\u6765\u4fdd\u62a4\u53e3\u4ee4\n\ \ -classpath : \u6307\u5b9a\u67e5\u627e\u7528\u6237\u7c7b\u6587\u4ef6\u7684\u4f4d\u7f6e\n\ \ -catalog : \u6307\u5b9a\u7528\u4e8e\u89e3\u6790\u5916\u90e8\u5b9e\u4f53\u5f15\u7528\u7684\u76ee\u5f55\u6587\u4ef6\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \u652f\u6301 TR9401, XCatalog \u548c OASIS XML \u76ee\u5f55\u683c\u5f0f\u3002\n\ \ -readOnly : \u751f\u6210\u7684\u6587\u4ef6\u5c06\u5904\u4e8e\u53ea\u8bfb\u6a21\u5f0f\n\ \ -npa : \u7981\u6b62\u751f\u6210\u7a0b\u5e8f\u5305\u7ea7\u522b\u6ce8\u91ca (**/package-info.java)\n\ \ -no-header : \u7981\u6b62\u751f\u6210\u5e26\u6709\u65f6\u95f4\u6233\u7684\u6587\u4ef6\u5934\n\ \ -target (2.0|2.1) : \u884c\u4e3a\u4e0e XJC 2.0 \u6216 2.1 \u7c7b\u4f3c, \u7528\u4e8e\u751f\u6210\u4e0d\u4f7f\u7528\u4efb\u4f55 2.2 \u529f\u80fd\u7684\u4ee3\u7801\u3002\n\ \ -encoding : \u4e3a\u751f\u6210\u7684\u6e90\u6587\u4ef6\u6307\u5b9a\u5b57\u7b26\u7f16\u7801\n\ \ -enableIntrospection : \u7528\u4e8e\u6b63\u786e\u751f\u6210\u5e03\u5c14\u578b getter/setter \u4ee5\u542f\u7528 Bean \u81ea\u6d4b apis \n\ \ -contentForWildcard : \u4e3a\u5177\u6709\u591a\u4e2a xs:any \u6d3e\u751f\u5143\u7d20\u7684\u7c7b\u578b\u751f\u6210\u5185\u5bb9\u5c5e\u6027\n\ \ -xmlschema : \u91c7\u7528 W3C XML \u6a21\u5f0f\u5904\u7406\u8f93\u5165 (\u9ed8\u8ba4\u503c)\n\ \ -relaxng : \u91c7\u7528 RELAX NG \u5904\u7406\u8f93\u5165 (\u5b9e\u9a8c\u6027\u7684, \u4e0d\u652f\u6301)\n\ \ -relaxng-compact : \u91c7\u7528 RELAX NG \u7b80\u6d01\u8bed\u6cd5\u5904\u7406\u8f93\u5165 (\u5b9e\u9a8c\u6027\u7684, \u4e0d\u652f\u6301)\n\ \ -dtd : \u91c7\u7528 XML DTD \u5904\u7406\u8f93\u5165 (\u5b9e\u9a8c\u6027\u7684, \u4e0d\u652f\u6301)\n\ \ -wsdl : \u91c7\u7528 WSDL \u5904\u7406\u8f93\u5165\u5e76\u7f16\u8bd1\u5176\u4e2d\u7684\u6a21\u5f0f (\u5b9e\u9a8c\u6027\u7684, \u4e0d\u652f\u6301)\n\ \ -verbose : \u7279\u522b\u8be6\u7ec6\n\ \ -quiet : \u9690\u85cf\u7f16\u8bd1\u5668\u8f93\u51fa\n\ \ -help : \u663e\u793a\u6b64\u5e2e\u52a9\u6d88\u606f\n\ \ -version : \u663e\u793a\u7248\u672c\u4fe1\u606f\n\ \ -fullversion : \u663e\u793a\u5b8c\u6574\u7684\u7248\u672c\u4fe1\u606f\n +Driver.AddonUsage = \n\u6269\u5c55: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = \u662f\u5426\u8981\u5c1d\u8bd5\u7f16\u8bd1{0}? \u5bf9{0}\u7684\u652f\u6301\u662f\u5b9e\u9a8c\u6027\u7684\u3002\u53ef\u901a\u8fc7\u4f7f\u7528{1}\u9009\u9879\u542f\u7528\u5b83\u3002 + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = \u62d2\u7edd\u5199\u5165\u4e0d\u5b58\u5728\u7684\u76ee\u5f55 "{0}" + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = -mode \u9009\u9879\u7f3a\u5c11\u64cd\u4f5c\u6570 + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = \u7f3a\u5c11\u64cd\u4f5c\u6570 + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = -host \u9009\u9879\u7f3a\u5c11\u64cd\u4f5c\u6570\n\u6216\u8005\u6307\u5b9a\u4e86 -port \u4f46\u672a\u6307\u5b9a -host + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = -port \u9009\u9879\u7f3a\u5c11\u64cd\u4f5c\u6570\n\u6216\u8005\u6307\u5b9a\u4e86 -host \u4f46\u672a\u6307\u5b9a -port + +Driver.ILLEGAL_TARGET_VERSION = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u76ee\u6807\u7248\u672c\u3002\u652f\u6301 "2.0" \u548c "2.1"\u3002 + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = -httpproxyfile \u9009\u9879\u7f3a\u5c11\u64cd\u4f5c\u6570 + +Driver.NO_SUCH_FILE = \u6ca1\u6709\u8fd9\u79cd\u6587\u4ef6: {0} + +Driver.ILLEGAL_PROXY = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u4ee3\u7406\u683c\u5f0f\u3002\u6709\u6548\u683c\u5f0f\u4e3a [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = \u65e0\u6cd5\u8bc6\u522b\u7684\u6a21\u5f0f{0} + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = \u65e0\u6cd5\u8bc6\u522b\u7684\u53c2\u6570{0} + +Driver.UnsupportedEncoding = \u4e0d\u652f\u6301\u7684\u7f16\u7801: {0} + +Driver.MissingGrammar = \u672a\u6307\u5b9a\u8bed\u6cd5 + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = \u4e0d\u662f\u5916\u90e8\u7ed1\u5b9a\u6587\u4ef6\u3002\u6839\u5143\u7d20\u5fc5\u987b\u4e3a ''{''http://java.sun.com/xml/ns/jaxb''}'' \u7ed1\u5b9a, \u4f46\u5b9e\u9645\u4e3a ''{''{0}''}''{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = \u6b63\u5728\u89e3\u6790\u6a21\u5f0f... + +Driver.ParseFailed = \u65e0\u6cd5\u89e3\u6790\u6a21\u5f0f\u3002 + +Driver.StackOverflow = \u5806\u6808\u6ea2\u51fa\u3002\u60a8\u6b63\u5728\u7f16\u8bd1\u9700\u8981\u5360\u7528\u8bb8\u591a\u8d44\u6e90\u7684\u5927\u578b\u6a21\u5f0f, \u6216\u8005 XJC \u5b58\u5728 Bug\u3002\u9996\u5148, \u8bf7\u4f7f\u7528 -Xss JVM \u9009\u9879\u6269\u5c55\u5806\u6808\u5927\u5c0f\u3002\u5982\u679c\u8fd9\u672a\u89e3\u51b3\u95ee\u9898, \u8bf7\u4f7f\u7528 -debug \u9009\u9879\u83b7\u53d6\u5806\u6808\u8ddf\u8e2a\u5e76\u4e0e Sun \u8054\u7cfb\u3002 + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = \u6b63\u5728\u7f16\u8bd1\u6a21\u5f0f... + +Driver.FailedToGenerateCode = \u65e0\u6cd5\u751f\u6210\u4ee3\u7801\u3002 + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = \u6b64\u6587\u4ef6\u662f\u7531 JavaTM Architecture for XML Binding (JAXB) \u5f15\u7528\u5b9e\u73b0 v2.2.7-b63 \u751f\u6210\u7684\n\u8bf7\u8bbf\u95ee http://java.sun.com/xml/jaxb \n\u5728\u91cd\u65b0\u7f16\u8bd1\u6e90\u6a21\u5f0f\u65f6, \u5bf9\u6b64\u6587\u4ef6\u7684\u6240\u6709\u4fee\u6539\u90fd\u5c06\u4e22\u5931\u3002\n\u751f\u6210\u65f6\u95f4: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = xjc \u5b8c\u6574\u7248\u672c "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at : \u7522\u751f\u7684\u6a94\u6848\u5c07\u79fb\u81f3\u6b64\u76ee\u9304\n\\ \\ -p : \u6307\u5b9a\u76ee\u6a19\u5957\u88dd\u7a0b\u5f0f\n\\ \\ -httpproxy : \u8a2d\u5b9a HTTP/HTTPS \u4ee3\u7406\u4e3b\u6a5f. \u683c\u5f0f\u70ba [user[:password]@]proxyHost:proxyPort\n\\ \\ -httpproxyfile : \u4f5c\u7528\u5982\u540c -httpproxy, \u4f46\u63a5\u53d7\u6a94\u6848\u4e2d\u7684\u5f15\u6578\u4ee5\u4fdd\u8b77\u5bc6\u78bc \n\\ \\ -classpath : \u6307\u5b9a\u5c0b\u627e\u4f7f\u7528\u8005\u985e\u5225\u6a94\u6848\u7684\u4f4d\u7f6e\n\\ \\ -catalog : \u6307\u5b9a\u89e3\u6790\u5916\u90e8\u5be6\u9ad4\u53c3\u7167\u7684\u76ee\u9304\u6a94\u6848\n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \u652f\u63f4 TR9401\u3001XCatalog \u4ee5\u53ca OASIS XML \u76ee\u9304\u683c\u5f0f.\n\\ \\ -readOnly : \u7522\u751f\u7684\u6a94\u6848\u5c07\u662f\u552f\u8b80\u6a21\u5f0f\n\\ \\ -npa : \u6291\u5236\u5957\u88dd\u7a0b\u5f0f\u5c64\u6b21\u8a3b\u89e3 (**/package-info.java) \u7684\u7522\u751f\n\\ \\ -no-header : \u6291\u5236\u6a94\u6848\u6a19\u982d\u548c\u6642\u6233\u7684\u7522\u751f\n\\ \\ -target (2.0|2.1) : \u4f5c\u7528\u5982\u540c XJC 2.0 \u6216 2.1, \u4e26\u4e14\u6703\u7522\u751f\u4e0d\u4f7f\u7528\u4efb\u4f55 2.2 \u529f\u80fd\u7684\u7a0b\u5f0f\u78bc.\n\\ \\ -encoding : \u70ba\u7522\u751f\u7684\u4f86\u6e90\u6a94\u6848\u6307\u5b9a\u5b57\u5143\u7de8\u78bc\n\\ \\ -enableIntrospection : \u6b63\u78ba\u7522\u751f\u5e03\u6797\u503c getter/setter \u4ee5\u555f\u7528 Bean \u81ea\u6211\u6aa2\u67e5 api \n\\ \\ -contentForWildcard : \u70ba\u542b\u6709\u591a\u500b xs:any \u884d\u751f\u4e4b\u5143\u7d20\u7684\u985e\u578b\u7522\u751f\u5167\u5bb9\u7279\u6027 \n\\ \\ -xmlschema : \u5c07\u8f38\u5165\u8996\u70ba W3C XML \u7db1\u8981 (\u9810\u8a2d\u503c)\n\\ \\ -relaxng : \u5c07\u8f38\u5165\u8996\u70ba RELAX NG (\u5be6\u9a57\u6027, \u4e0d\u63d0\u4f9b\u652f\u63f4)\n\\ \\ -relaxng-compact : \u5c07\u8f38\u5165\u8996\u70ba RELAX NG \u7cbe\u7c21\u8a9e\u6cd5 (\u5be6\u9a57\u6027, \u4e0d\u63d0\u4f9b\u4e0d\u652f\u63f4)\n\\ \\ -dtd : \u5c07\u8f38\u5165\u8996\u70ba XML DTD (\u5be6\u9a57\u6027, \u4e0d\u63d0\u4f9b\u652f\u63f4)\n\\ \\ -wsdl : \u5c07\u8f38\u5165\u8996\u70ba WSDL, \u4e26\u7de8\u8b6f\u5176\u4e2d\u7684\u7db1\u8981 (\u5be6\u9a57\u6027, \u4e0d\u63d0\u4f9b\u652f\u63f4)\n\\ \\ -verbose : \u63d0\u4f9b\u984d\u5916\u7684\u8a73\u7d30\u8cc7\u8a0a\n\\ \\ -quiet : \u6291\u5236\u7de8\u8b6f\u5668\u8f38\u51fa\n\\ \\ -help : \u986f\u793a\u6b64\u8aaa\u660e\u8a0a\u606f\n\\ \\ -version : \u986f\u793a\u7248\u672c\u8cc7\u8a0a\n\\ \\ -fullversion : \u986f\u793a\u5b8c\u6574\u7248\u672c\u8cc7\u8a0a\n +Driver.AddonUsage = \n\u64f4\u5145\u5957\u4ef6: + +# {0} - one of: DTD, RELAX NG, RELAX NG compact syntax, WSDL; {1} - one of (respectively): -dtd, -relaxng, -relaxng-compact, -wsdl +Driver.ExperimentalLanguageWarning = \u60a8\u6b63\u5728\u5617\u8a66\u7de8\u8b6f {0} \u55ce? \u5c0d {0} \u7684\u652f\u63f4\u662f\u5be6\u9a57\u6027\u7684. \u60a8\u53ef\u4f7f\u7528 {1} \u9078\u9805\u4f86\u555f\u7528. + +# Not concatenated with any other String. Variable: Name of a directory (input argument of the XJC utility). +Driver.NonExistentDir = \u62d2\u7d55\u5beb\u5165\u4e0d\u5b58\u5728\u7684\u76ee\u9304 "{0}" + +# Usage not found. TODO Remove +#Driver.MissingRuntimePackageName = \ +# the -use-runtime option is missing a package name + +# Not concatenated with any other string (written on a separate line). +Driver.MissingModeOperand = -mode \u9078\u9805\u907a\u6f0f\u904b\u7b97\u5143 + +# Usage not found. TODO Remove +#Driver.MissingCompatibilityOperand = \ +# the -compatibility option is missing an operand + +# Not concatenated with any other string (written on a separate line). +Driver.MissingOperand = \u907a\u6f0f\u904b\u7b97\u5143 + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyHost = \u53ef\u80fd\u662f -host \u9078\u9805\u907a\u6f0f\u904b\u7b97\u5143\n\u6216\u6307\u5b9a\u4e86 -port \u800c\u975e -host + +# Not concatenated with any other string (written on a separate line). +Driver.MissingProxyPort = \u53ef\u80fd\u662f -port \u9078\u9805\u907a\u6f0f\u904b\u7b97\u5143\n\u6216\u6307\u5b9a\u4e86 -host \u800c\u975e -port + +Driver.ILLEGAL_TARGET_VERSION = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u76ee\u6a19\u7248\u672c. \u652f\u63f4 "2.0" \u548c "2.1". + +# Not concatenated with any other string (written on a separate line). +Driver.MISSING_PROXYFILE = -httpproxyfile \u9078\u9805\u907a\u6f0f\u904b\u7b97\u5143 + +Driver.NO_SUCH_FILE = \u6c92\u6709\u6b64\u6a94\u6848: {0} + +Driver.ILLEGAL_PROXY = "{0}" \u4e0d\u662f\u6709\u6548\u7684\u4ee3\u7406\u4e3b\u6a5f\u683c\u5f0f. \u683c\u5f0f\u70ba [user[:password]@]proxyHost:proxyPort + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedMode = \u7121\u6cd5\u8fa8\u8b58\u7684\u6a21\u5f0f {0} + +# Not concatenated with any other string (written on a separate line). +Driver.UnrecognizedParameter = \u7121\u6cd5\u8fa8\u8b58\u7684\u53c3\u6578 {0} + +Driver.UnsupportedEncoding = \u4e0d\u652f\u63f4\u7684\u7de8\u78bc: {0} + +Driver.MissingGrammar = \u672a\u6307\u5b9a\u6587\u6cd5 + +# {0} - namespace uri, {1} - local name of the attribute/element e.g.: Unexpected end of attribute {http://www.w3.org/XML/1998/namespace}:lang +Driver.NotABindingFile = \u4e0d\u662f\u5916\u90e8\u9023\u7d50\u6a94. \u6839\u5143\u7d20\u5fc5\u9808\u70ba ''{''http://java.sun.com/xml/ns/jaxb''}''bindings, \u4f46\u5176\u70ba ''{''{0}''}''{1} + +# Not concatenated with any other string (written on a separate line). +Driver.ParsingSchema = \u6b63\u5728\u5256\u6790\u7db1\u8981... + +Driver.ParseFailed = \u7121\u6cd5\u5256\u6790\u7db1\u8981. + +Driver.StackOverflow = \u5806\u758a\u6ea2\u4f4d. \u53ef\u80fd\u662f\u60a8\u6b63\u5728\u7de8\u8b6f\u7684\u5927\u578b\u7db1\u8981\u9700\u8981\u66f4\u591a\u8cc7\u6e90, \u6216\u662f XJC \u6709\u932f\u8aa4. \u9996\u5148, \u8acb\u4f7f\u7528 -Xss JVM \u9078\u9805\u64f4\u5145\u5806\u758a\u5927\u5c0f. \u82e5\u9019\u6a23\u7121\u6cd5\u89e3\u6c7a\u554f\u984c, \u8acb\u4f7f\u7528 -debug \u9078\u9805\u4ee5\u53d6\u5f97\u5806\u758a\u8ffd\u8e64, \u4e26\u8207 Sun \u9023\u7d61. + +# Not concatenated with any other string (written on a separate line). +Driver.CompilingSchema = \u6b63\u5728\u7de8\u8b6f\u7db1\u8981... + +Driver.FailedToGenerateCode = \u7121\u6cd5\u7522\u751f\u7a0b\u5f0f\u78bc. + +# DO NOT localize the 2.2.7-b63 string - it is a token for an ant +Driver.FilePrologComment = \u6b64\u6a94\u6848\u662f\u7531 JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7-b63 \u6240\u7522\u751f \n\u8acb\u53c3\u95b1 http://java.sun.com/xml/jaxb \n\u4e00\u65e6\u91cd\u65b0\u7de8\u8b6f\u4f86\u6e90\u7db1\u8981, \u5c0d\u6b64\u6a94\u6848\u6240\u505a\u7684\u4efb\u4f55\u4fee\u6539\u90fd\u5c07\u6703\u907a\u5931. \n\u7522\u751f\u6642\u9593: {0} \n + +Driver.Version = xjc 2.2.7-b63 + +Driver.FullVersion = xjc \u5b8c\u6574\u7248\u672c "2.2.7-b63-b19" + +Driver.BuildID = 2.2.7-b63 + +# for JDK integration - include version in source zip +jaxb.jdk.version=2.2.7-b63 + +# see java.text.SimpleDateFormat for format syntax +# DO NOT LOCALIZE, Format should not be changed, English locale is used to transform this string into a real date. +Driver.DateFormat = yyyy.MM.dd + +# see java.text.SimpleDateFormat for format syntax +# Format should not be changed, English locale is used to transform this string into a real time. Letters can be translated but the user should known that java.text.SimpleDateFormat is responsible for formatting (meaning of symbols can be found at http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html). +Driver.TimeFormat = hh:mm:ss a z + +# as in: "generated on at

+ * + * @param buf the buffer into which the data is read. + * @param off the start offset of the data. + * @param len the maximum number of bytes read. + * @return the total number of bytes read into the buffer, or + * -1 if there is no more data because the end of + * the stream has been reached. + * @exception IOException if an I/O error occurs. + */ + @Override + public int read(byte[] buf, int off, int len) throws IOException { + // empty out single byte read buffer + int off0 = off; + while (index < bufsize && len > 0) { + buf[off++] = buffer[index++]; + len--; + } + if (index >= bufsize) { + bufsize = index = 0; + } + + int bsize = (len / 3) * 3; // round down to multiple of 3 bytes + if (bsize > 0) { + int size = decode(buf, off, bsize); + off += size; + len -= size; + + if (size != bsize) { // hit EOF? + if (off == off0) { + return -1; + } else { + return off - off0; + } + } + } + + // finish up with a partial read if necessary + for (; len > 0; len--) { + int c = read(); + if (c == -1) { + break; + } + buf[off++] = (byte)c; + } + + if (off == off0) { + return -1; + } else { + return off - off0; + } + } + + /** + * Skips over and discards n bytes of data from this stream. + */ + @Override + public long skip(long n) throws IOException { + long skipped = 0; + while (n-- > 0 && read() >= 0) { + skipped++; + } + return skipped; + } + + /** + * Tests if this input stream supports marks. Currently this class + * does not support marks + */ + @Override + public boolean markSupported() { + return false; // Maybe later .. + } + + /** + * Returns the number of bytes that can be read from this input + * stream without blocking. However, this figure is only + * a close approximation in case the original encoded stream + * contains embedded CRLFs; since the CRLFs are discarded, not decoded + */ + @Override + public int available() throws IOException { + // This is only an estimate, since in.available() + // might include CRLFs too .. + return ((in.available() * 3)/4 + (bufsize-index)); + } + + /** + * This character array provides the character to value map + * based on RFC1521. + */ + private final static char pem_array[] = { + 'A','B','C','D','E','F','G','H', // 0 + 'I','J','K','L','M','N','O','P', // 1 + 'Q','R','S','T','U','V','W','X', // 2 + 'Y','Z','a','b','c','d','e','f', // 3 + 'g','h','i','j','k','l','m','n', // 4 + 'o','p','q','r','s','t','u','v', // 5 + 'w','x','y','z','0','1','2','3', // 6 + '4','5','6','7','8','9','+','/' // 7 + }; + + private final static byte pem_convert_array[] = new byte[256]; + + static { + for (int i = 0; i < 255; i++) { + pem_convert_array[i] = -1; + } + for (int i = 0; i < pem_array.length; i++) { + pem_convert_array[pem_array[i]] = (byte)i; + } + } + + /** + * The decoder algorithm. Most of the complexity here is dealing + * with error cases. Returns the number of bytes decoded, which + * may be zero. Decoding is done by filling an int with 4 6-bit + * values by shifting them in from the bottom and then extracting + * 3 8-bit bytes from the int by shifting them out from the bottom. + * + * @param outbuf the buffer into which to put the decoded bytes + * @param pos position in the buffer to start filling + * @param len the number of bytes to fill + * @return the number of bytes filled, always a multiple + * of three, and may be zero + * @exception IOException if the data is incorrectly formatted + */ + private int decode(byte[] outbuf, int pos, int len) throws IOException { + int pos0 = pos; + while (len >= 3) { + /* + * We need 4 valid base64 characters before we start decoding. + * We skip anything that's not a valid base64 character (usually + * just CRLF). + */ + int got = 0; + int val = 0; + while (got < 4) { + int i = getByte(); + if (i == -1 || i == -2) { + boolean atEOF; + if (i == -1) { + if (got == 0) { + return pos - pos0; + } + if (!ignoreErrors) { + throw new DecodingException( + "BASE64Decoder: Error in encoded stream: " + + "needed 4 valid base64 characters " + + "but only got " + got + " before EOF" + + recentChars()); + } + atEOF = true; // don't read any more + } else { // i == -2 + // found a padding character, we're at EOF + // XXX - should do something to make EOF "sticky" + if (got < 2 && !ignoreErrors) { + throw new DecodingException( + "BASE64Decoder: Error in encoded stream: " + + "needed at least 2 valid base64 characters," + + " but only got " + got + + " before padding character (=)" + + recentChars()); + } + + // didn't get any characters before padding character? + if (got == 0) { + return pos - pos0; + } + atEOF = false; // need to keep reading + } + + // pad partial result with zeroes + + // how many bytes will we produce on output? + // (got always < 4, so size always < 3) + int size = got - 1; + if (size == 0) { + size = 1; + } + + // handle the one padding character we've seen + got++; + val <<= 6; + + while (got < 4) { + if (!atEOF) { + // consume the rest of the padding characters, + // filling with zeroes + i = getByte(); + if (i == -1) { + if (!ignoreErrors) { + throw new DecodingException( + "BASE64Decoder: Error in encoded " + + "stream: hit EOF while looking for " + + "padding characters (=)" + + recentChars()); + } + } else if (i != -2) { + if (!ignoreErrors) { + throw new DecodingException( + "BASE64Decoder: Error in encoded " + + "stream: found valid base64 " + + "character after a padding character " + + "(=)" + recentChars()); + } + } + } + val <<= 6; + got++; + } + + // now pull out however many valid bytes we got + val >>= 8; // always skip first one + if (size == 2) { + outbuf[pos + 1] = (byte)(val & 0xff); + } + val >>= 8; + outbuf[pos] = (byte)(val & 0xff); + // len -= size; // not needed, return below + pos += size; + return pos - pos0; + } else { + // got a valid byte + val <<= 6; + got++; + val |= i; + } + } + + // read 4 valid characters, now extract 3 bytes + outbuf[pos + 2] = (byte)(val & 0xff); + val >>= 8; + outbuf[pos + 1] = (byte)(val & 0xff); + val >>= 8; + outbuf[pos] = (byte)(val & 0xff); + len -= 3; + pos += 3; + } + return pos - pos0; + } + + /** + * Read the next valid byte from the input stream. + * Buffer lots of data from underlying stream in input_buffer, + * for efficiency. + * + * @return the next byte, -1 on EOF, or -2 if next byte is '=' + * (padding at end of encoded data) + */ + private int getByte() throws IOException { + int c; + do { + if (input_pos >= input_len) { + try { + input_len = in.read(input_buffer); + } catch (EOFException ex) { + return -1; + } + if (input_len <= 0) { + return -1; + } + input_pos = 0; + } + // get the next byte in the buffer + c = input_buffer[input_pos++] & 0xff; + // is it a padding byte? + if (c == '=') { + return -2; + } + // no, convert it + c = pem_convert_array[c]; + // loop until we get a legitimate byte + } while (c == -1); + return c; + } + + /** + * Return the most recent characters, for use in an error message. + */ + private String recentChars() { + // reach into the input buffer and extract up to 10 + // recent characters, to help in debugging. + StringBuilder errstr = new StringBuilder(); + int nc = input_pos > 10 ? 10 : input_pos; + if (nc > 0) { + errstr.append(", the ").append(nc).append(" most recent characters were: \""); + for (int k = input_pos - nc; k < input_pos; k++) { + char c = (char)(input_buffer[k] & 0xff); + switch (c) { + case '\r': errstr.append("\\r"); break; + case '\n': errstr.append("\\n"); break; + case '\t': errstr.append("\\t"); break; + default: + if (c >= ' ' && c < 0177) { + errstr.append(c); + } else { + errstr.append("\\").append((int)c); + } + } + } + errstr.append("\""); + } + return errstr.toString(); + } + + /** + * Base64 decode a byte array. No line breaks are allowed. + * This method is suitable for short strings, such as those + * in the IMAP AUTHENTICATE protocol, but not to decode the + * entire content of a MIME part. + * + * NOTE: inbuf may only contain valid base64 characters. + * Whitespace is not ignored. + */ + public static byte[] decode(byte[] inbuf) { + int size = (inbuf.length / 4) * 3; + if (size == 0) { + return inbuf; + } + + if (inbuf[inbuf.length - 1] == '=') { + size--; + if (inbuf[inbuf.length - 2] == '=') { + size--; + } + } + byte[] outbuf = new byte[size]; + + int inpos = 0, outpos = 0; + size = inbuf.length; + while (size > 0) { + int val; + int osize = 3; + val = pem_convert_array[inbuf[inpos++] & 0xff]; + val <<= 6; + val |= pem_convert_array[inbuf[inpos++] & 0xff]; + val <<= 6; + if (inbuf[inpos] != '=') { + val |= pem_convert_array[inbuf[inpos++] & 0xff]; + } else { + osize--; + } + val <<= 6; + if (inbuf[inpos] != '=') { + val |= pem_convert_array[inbuf[inpos++] & 0xff]; + } else { + osize--; + } + if (osize > 2) { + outbuf[outpos + 2] = (byte)(val & 0xff); + } + val >>= 8; + if (osize > 1) { + outbuf[outpos + 1] = (byte)(val & 0xff); + } + val >>= 8; + outbuf[outpos] = (byte)(val & 0xff); + outpos += osize; + size -= 4; + } + return outbuf; + } + + /*** begin TEST program *** + public static void main(String argv[]) throws Exception { + FileInputStream infile = new FileInputStream(argv[0]); + BASE64DecoderStream decoder = new BASE64DecoderStream(infile); + int c; + + while ((c = decoder.read()) != -1) + System.out.print((char)c); + System.out.flush(); + } + *** end TEST program ***/ +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Chunk.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Chunk.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Chunk.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -52,7 +52,9 @@ @Override public int read(byte b[], int off, int sz) throws IOException { - if(!fetch()) return -1; + if (!fetch()) { + return -1; + } sz = Math.min(sz, len-offset); System.arraycopy(buf,offset,b,off,sz); @@ -60,7 +62,9 @@ } public int read() throws IOException { - if(!fetch()) return -1; + if (!fetch()) { + return -1; + } return (buf[offset++] & 0xff); } @@ -88,6 +92,7 @@ return true; } + @Override public void close() throws IOException { super.close(); current = null; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/CleanUpExecutorFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/CleanUpExecutorFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/CleanUpExecutorFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Data.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Data.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Data.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataFile.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataFile.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataFile.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataHead.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataHead.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DataHead.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,7 +33,7 @@ * lazily using a pull parser, so the part may not have all the data. {@link #read} * and {@link #readOnce} may trigger the actual parsing the message. In fact, * parsing of an attachment part may be triggered by calling {@link #read} methods - * on some other attachemnt parts. All this happens behind the scenes so the + * on some other attachment parts. All this happens behind the scenes so the * application developer need not worry about these details. * * @author Jitendra Kotamraju @@ -84,13 +84,18 @@ } else { try { OutputStream os = new FileOutputStream(f); - InputStream in = readOnce(); - byte[] buf = new byte[8192]; - int len; - while((len=in.read(buf)) != -1) { - os.write(buf, 0, len); + try { + InputStream in = readOnce(); + byte[] buf = new byte[8192]; + int len; + while((len=in.read(buf)) != -1) { + os.write(buf, 0, len); + } + } finally { + if (os != null) { + os.close(); + } } - os.close(); } catch(IOException ioe) { throw new MIMEParsingException(ioe); } @@ -141,6 +146,7 @@ * * @return true if readOnce() is not called before */ + @SuppressWarnings("ThrowableInitCause") private boolean unconsumed() { if (consumedAt != null) { AssertionError error = new AssertionError("readOnce() is already called before. See the nested exception from where it's called."); @@ -195,7 +201,9 @@ @Override public int read(byte b[], int off, int sz) throws IOException { - if(!fetch()) return -1; + if (!fetch()) { + return -1; + } sz = Math.min(sz, len-offset); System.arraycopy(buf,offset,b,off,sz); @@ -203,6 +211,7 @@ return sz; } + @Override public int read() throws IOException { if (!fetch()) { return -1; @@ -244,6 +253,7 @@ return true; } + @Override public void close() throws IOException { super.close(); current = null; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DecodingException.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/DecodingException.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +/* + * 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. + */ + +/* FROM mail.jar */ +package com.sun.xml.internal.org.jvnet.mimepull; + +import java.io.IOException; + +/** + * A special IOException that indicates a failure to decode data due + * to an error in the formatting of the data. This allows applications + * to distinguish decoding errors from other I/O errors. + * + * @author Bill Shannon + */ + +public final class DecodingException extends IOException { + + /** + * Constructor + */ + public DecodingException(String s) { + super(s); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FactoryFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FactoryFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FactoryFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,6 +29,8 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; +import java.util.logging.Level; +import java.util.logging.Logger; class FactoryFinder { @@ -58,26 +60,34 @@ private static String findJarServiceProviderName(String factoryId) { String serviceId = "META-INF/services/" + factoryId; - InputStream is = null; + InputStream is; is = cl.getResourceAsStream(serviceId); if (is == null) { return null; } - BufferedReader rd; + String factoryClassName; + BufferedReader rd = null; try { - rd = new BufferedReader(new InputStreamReader(is, "UTF-8")); - } catch (java.io.UnsupportedEncodingException e) { - rd = new BufferedReader(new InputStreamReader(is)); - } - - String factoryClassName = null; - try { - factoryClassName = rd.readLine(); - rd.close(); - } catch (IOException x) { - return null; + try { + rd = new BufferedReader(new InputStreamReader(is, "UTF-8")); + } catch (java.io.UnsupportedEncodingException e) { + rd = new BufferedReader(new InputStreamReader(is)); + } + try { + factoryClassName = rd.readLine(); + } catch (IOException x) { + return null; + } + } finally { + if (rd != null) { + try { + rd.close(); + } catch (IOException ex) { + Logger.getLogger(FactoryFinder.class.getName()).log(Level.INFO, null, ex); + } + } } return factoryClassName; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FileData.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FileData.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FileData.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -48,6 +48,7 @@ this.length = length; } + @Override public byte[] read() { byte[] buf = new byte[length]; file.read(pointer, buf, 0, length); @@ -57,10 +58,12 @@ /* * This shouldn't be called */ + @Override public long writeTo(DataFile file) { throw new IllegalStateException(); } + @Override public int size() { return length; } @@ -68,6 +71,7 @@ /* * Always create FileData */ + @Override public Data createNext(DataHead dataHead, ByteBuffer buf) { return new FileData(file, buf); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FinalArrayList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FinalArrayList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/FinalArrayList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Header.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Header.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/Header.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/InternetHeaders.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/InternetHeaders.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/InternetHeaders.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -59,7 +59,7 @@ */ final class InternetHeaders { - private final FinalArrayList headers = new FinalArrayList(); + private final FinalArrayList headers = new FinalArrayList(); /** * Read and parse the given RFC822 message stream till the @@ -78,7 +78,7 @@ String line; String prevline = null; // the previous header line, as a string // a buffer to accumulate the header in, when we know it's needed - StringBuffer lineBuffer = new StringBuffer(); + StringBuilder lineBuffer = new StringBuilder(); try { //while ((line = lis.readLine()) != null) { @@ -95,9 +95,9 @@ lineBuffer.append(line); } else { // new header - if (prevline != null) + if (prevline != null) { addHeaderLine(prevline); - else if (lineBuffer.length() > 0) { + } else if (lineBuffer.length() > 0) { // store previous header first addHeaderLine(lineBuffer.toString()); lineBuffer.setLength(0); @@ -124,7 +124,7 @@ int len = headers.size(); for( int i=0; iDataInputStream.readLine(). Expected use is to read + * lines as String objects from a RFC822 stream. + * + * It is implemented as a FilterInputStream, so one can just wrap + * this class around any input stream and read bytes from this filter. + * + * @author John Mani + */ + +final class LineInputStream extends FilterInputStream { + + private char[] lineBuffer = null; // reusable byte buffer + private static int MAX_INCR = 1024*1024; // 1MB + + public LineInputStream(InputStream in) { + super(in); + } + + /** + * Read a line containing only ASCII characters from the input + * stream. A line is terminated by a CR or NL or CR-NL sequence. + * A common error is a CR-CR-NL sequence, which will also terminate + * a line. + * The line terminator is not returned as part of the returned + * String. Returns null if no data is available.

+ * + * This class is similar to the deprecated + * DataInputStream.readLine() + */ + public String readLine() throws IOException { + //InputStream in = this.in; + char[] buf = lineBuffer; + + if (buf == null) { + buf = lineBuffer = new char[128]; + } + + int c1; + int room = buf.length; + int offset = 0; + + while ((c1 = in.read()) != -1) { + if (c1 == '\n') { + break; + } else if (c1 == '\r') { + // Got CR, is the next char NL ? + boolean twoCRs = false; + if (in.markSupported()) { + in.mark(2); + } + int c2 = in.read(); + if (c2 == '\r') { // discard extraneous CR + twoCRs = true; + c2 = in.read(); + } + if (c2 != '\n') { + /* + * If the stream supports it (which we hope will always + * be the case), reset to after the first CR. Otherwise, + * we wrap a PushbackInputStream around the stream so we + * can unread the characters we don't need. The only + * problem with that is that the caller might stop + * reading from this LineInputStream, throw it away, + * and then start reading from the underlying stream. + * If that happens, the pushed back characters will be + * lost forever. + */ + if (in.markSupported()) { + in.reset(); + } else { + if (!(in instanceof PushbackInputStream)) { + in /*= this.in*/ = new PushbackInputStream(in, 2); + } + if (c2 != -1) { + ((PushbackInputStream)in).unread(c2); + } + if (twoCRs) { + ((PushbackInputStream)in).unread('\r'); + } + } + } + break; // outa here. + } + + // Not CR, NL or CR-NL ... + // .. Insert the byte into our byte buffer + if (--room < 0) { // No room, need to grow. + if (buf.length < MAX_INCR) { + buf = new char[buf.length * 2]; + } else { + buf = new char[buf.length + MAX_INCR]; + } + room = buf.length - offset - 1; + System.arraycopy(lineBuffer, 0, buf, 0, offset); + lineBuffer = buf; + } + buf[offset++] = (char)c1; + } + + if ((c1 == -1) && (offset == 0)) { + return null; + } + + return String.copyValueOf(buf, 0, offset); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEConfig.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEConfig.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEConfig.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,7 +26,8 @@ package com.sun.xml.internal.org.jvnet.mimepull; import java.io.File; -import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; /** * Configuration for MIME message parsing and storing. @@ -39,6 +40,8 @@ private static final long DEFAULT_MEMORY_THRESHOLD = 1048576L; private static final String DEFAULT_FILE_PREFIX = "MIME"; + private static final Logger LOGGER = Logger.getLogger(MIMEConfig.class.getName()); + // Parses the entire message eagerly boolean parseEagerly; @@ -48,15 +51,11 @@ // Maximum in-memory data per attachment long memoryThreshold; - // Do not store to disk - boolean onlyMemory; - // temp Dir to store large files File tempDir; String prefix; String suffix; - private MIMEConfig(boolean parseEagerly, int chunkSize, long inMemoryThreshold, String dir, String prefix, String suffix) { this.parseEagerly = parseEagerly; @@ -122,7 +121,7 @@ /** * @param dir */ - public void setDir(String dir) { + public final void setDir(String dir) { if (tempDir == null && dir != null && !dir.equals("")) { tempDir = new File(dir); } @@ -138,7 +137,12 @@ File tempFile = (tempDir == null) ? File.createTempFile(prefix, suffix) : File.createTempFile(prefix, suffix, tempDir); - tempFile.delete(); + boolean deleted = tempFile.delete(); + if (!deleted) { + if (LOGGER.isLoggable(Level.INFO)) { + LOGGER.log(Level.INFO, "File {0} was not deleted", tempFile.getAbsolutePath()); + } + } } catch(Exception ioe) { memoryThreshold = -1L; // whole attachment will be in-memory } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEEvent.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEEvent.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEEvent.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -31,6 +31,7 @@ import java.net.URLDecoder; import java.nio.ByteBuffer; import java.util.*; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -104,7 +105,7 @@ * @return attachemnt part */ public MIMEPart getPart(int index) { - LOGGER.fine("index="+index); + LOGGER.log(Level.FINE, "index={0}", index); MIMEPart part = (index < partsList.size()) ? partsList.get(index) : null; if (parsed && part == null) { throw new MIMEParsingException("There is no "+index+" attachment part "); @@ -114,7 +115,7 @@ part = new MIMEPart(this); partsList.add(index, part); } - LOGGER.fine("Got attachment at index="+index+" attachment="+part); + LOGGER.log(Level.FINE, "Got attachment at index={0} attachment={1}", new Object[]{index, part}); return part; } @@ -128,7 +129,7 @@ * @return attachemnt part */ public MIMEPart getPart(String contentId) { - LOGGER.fine("Content-ID="+contentId); + LOGGER.log(Level.FINE, "Content-ID={0}", contentId); MIMEPart part = getDecodedCidPart(contentId); if (parsed && part == null) { throw new MIMEParsingException("There is no attachment part with Content-ID = "+contentId); @@ -138,7 +139,7 @@ part = new MIMEPart(this, contentId); partsMap.put(contentId, part); } - LOGGER.fine("Got attachment for Content-ID="+contentId+" attachment="+part); + LOGGER.log(Level.FINE, "Got attachment for Content-ID={0} attachment={1}", new Object[]{contentId, part}); return part; } @@ -162,7 +163,7 @@ /** * Parses the whole MIME message eagerly */ - public void parseAll() { + public final void parseAll() { while(makeProgress()) { // Nothing to do } @@ -184,15 +185,15 @@ switch(event.getEventType()) { case START_MESSAGE : - LOGGER.fine("MIMEEvent="+MIMEEvent.EVENT_TYPE.START_MESSAGE); + LOGGER.log(Level.FINE, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.START_MESSAGE); break; case START_PART : - LOGGER.fine("MIMEEvent="+MIMEEvent.EVENT_TYPE.START_PART); + LOGGER.log(Level.FINE, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.START_PART); break; case HEADERS : - LOGGER.fine("MIMEEvent="+MIMEEvent.EVENT_TYPE.HEADERS); + LOGGER.log(Level.FINE, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.HEADERS); MIMEEvent.Headers headers = (MIMEEvent.Headers)event; InternetHeaders ih = headers.getHeaders(); List cids = ih.getHeader("content-id"); @@ -219,20 +220,20 @@ break; case CONTENT : - LOGGER.finer("MIMEEvent="+MIMEEvent.EVENT_TYPE.CONTENT); + LOGGER.log(Level.FINER, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.CONTENT); MIMEEvent.Content content = (MIMEEvent.Content)event; ByteBuffer buf = content.getData(); currentPart.addBody(buf); break; case END_PART : - LOGGER.fine("MIMEEvent="+MIMEEvent.EVENT_TYPE.END_PART); + LOGGER.log(Level.FINE, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.END_PART); currentPart.doneParsing(); ++currentIndex; break; case END_MESSAGE : - LOGGER.fine("MIMEEvent="+MIMEEvent.EVENT_TYPE.END_MESSAGE); + LOGGER.log(Level.FINE, "MIMEEvent={0}", MIMEEvent.EVENT_TYPE.END_MESSAGE); parsed = true; try { in.close(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParser.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,7 @@ import java.util.*; import java.util.logging.Logger; import java.nio.ByteBuffer; +import java.util.logging.Level; /** * Pull parser for the MIME messages. Applications can use pull API to continue @@ -53,6 +54,8 @@ private static final Logger LOGGER = Logger.getLogger(MIMEParser.class.getName()); + private static final String HEADER_ENCODING = "ISO8859-1"; + // Actually, the grammar doesn't support whitespace characters // after boundary. But the mail implementation checks for it. // We will only check for these many whitespace characters after boundary @@ -106,47 +109,50 @@ * * @return iterator for parsing events */ + @Override public Iterator iterator() { return new MIMEEventIterator(); } class MIMEEventIterator implements Iterator { + @Override public boolean hasNext() { return !parsed; } + @Override public MIMEEvent next() { switch(state) { case START_MESSAGE : - LOGGER.finer("MIMEParser state="+STATE.START_MESSAGE); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.START_MESSAGE);} state = STATE.SKIP_PREAMBLE; return MIMEEvent.START_MESSAGE; case SKIP_PREAMBLE : - LOGGER.finer("MIMEParser state="+STATE.SKIP_PREAMBLE); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.SKIP_PREAMBLE);} skipPreamble(); // fall through case START_PART : - LOGGER.finer("MIMEParser state="+STATE.START_PART); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.START_PART);} state = STATE.HEADERS; return MIMEEvent.START_PART; case HEADERS : - LOGGER.finer("MIMEParser state="+STATE.HEADERS); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.HEADERS);} InternetHeaders ih = readHeaders(); state = STATE.BODY; bol = true; return new MIMEEvent.Headers(ih); case BODY : - LOGGER.finer("MIMEParser state="+STATE.BODY); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.BODY);} ByteBuffer buf = readBody(); bol = false; return new MIMEEvent.Content(buf); case END_PART : - LOGGER.finer("MIMEParser state="+STATE.END_PART); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.END_PART);} if (done) { state = STATE.END_MESSAGE; } else { @@ -155,7 +161,7 @@ return MIMEEvent.END_PART; case END_MESSAGE : - LOGGER.finer("MIMEParser state="+STATE.END_MESSAGE); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "MIMEParser state={0}", STATE.END_MESSAGE);} parsed = true; return MIMEEvent.END_MESSAGE; @@ -164,6 +170,7 @@ } } + @Override public void remove() { throw new UnsupportedOperationException(); } @@ -316,7 +323,7 @@ } adjustBuf(start+1, len-start-1); } - LOGGER.fine("Skipped the preamble. buffer len="+len); + if (LOGGER.isLoggable(Level.FINE)) {LOGGER.log(Level.FINE, "Skipped the preamble. buffer len={0}", len);} } private static byte[] getBytes(String s) { @@ -324,8 +331,9 @@ int size = chars.length; byte[] bytes = new byte[size]; - for (int i = 0; i < size;) + for (int i = 0; i < size;) { bytes[i] = (byte) chars[i++]; + } return bytes; } @@ -409,7 +417,7 @@ * Fills the remaining buf to the full capacity */ private void fillBuf() { - LOGGER.finer("Before fillBuf() buffer len="+len); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "Before fillBuf() buffer len={0}", len);} assert !eof; while(len < buf.length) { int read; @@ -421,7 +429,7 @@ if (read == -1) { eof = true; try { - LOGGER.fine("Closing the input stream."); + if (LOGGER.isLoggable(Level.FINE)) {LOGGER.fine("Closing the input stream.");} in.close(); } catch(IOException ioe) { throw new MIMEParsingException(ioe); @@ -431,7 +439,7 @@ len += read; } } - LOGGER.finer("After fillBuf() buffer len="+len); + if (LOGGER.isLoggable(Level.FINER)) {LOGGER.log(Level.FINER, "After fillBuf() buffer len={0}", len);} } private void doubleBuf() { @@ -484,7 +492,7 @@ return null; } - String hdr = new String(buf, offset, hdrLen); + String hdr = new String(buf, offset, hdrLen, HEADER_ENCODING); offset += hdrLen+lwsp; return hdr; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParsingException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParsingException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParsingException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEPart.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEPart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEPart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,22 +29,28 @@ import java.io.InputStream; import java.nio.ByteBuffer; import java.util.List; +import java.util.logging.Level; +import java.util.logging.Logger; /** * Represents an attachment part in a MIME message. MIME message parsing is done * lazily using a pull parser, so the part may not have all the data. {@link #read} * and {@link #readOnce} may trigger the actual parsing the message. In fact, * parsing of an attachment part may be triggered by calling {@link #read} methods - * on some other attachemnt parts. All this happens behind the scenes so the + * on some other attachment parts. All this happens behind the scenes so the * application developer need not worry about these details. * - * @author Jitendra Kotamraju + * @author Jitendra Kotamraju, Martin Grebac */ public class MIMEPart { + private static final Logger LOGGER = Logger.getLogger(MIMEPart.class.getName()); + private volatile InternetHeaders headers; private volatile String contentId; private String contentType; + private String contentTransferEncoding; + volatile boolean parsed; // part is parsed or not final MIMEMessage msg; private final DataHead dataHead; @@ -69,7 +75,15 @@ * @return data for the part's content */ public InputStream read() { - return dataHead.read(); + InputStream is = null; + try { + is = MimeUtility.decode(dataHead.read(), contentTransferEncoding); + } catch (DecodingException ex) { //ignore + if (LOGGER.isLoggable(Level.WARNING)) { + LOGGER.log(Level.WARNING, null, ex); + } + } + return is; } /** @@ -81,7 +95,6 @@ dataHead.close(); } - /** * Can get the attachment part's content only once. The content * will be lost after the method. Content data is not be stored @@ -95,7 +108,15 @@ * @return data for the part's content */ public InputStream readOnce() { - return dataHead.readOnce(); + InputStream is = null; + try { + is = MimeUtility.decode(dataHead.readOnce(), contentTransferEncoding); + } catch (DecodingException ex) { //ignore + if (LOGGER.isLoggable(Level.WARNING)) { + LOGGER.log(Level.WARNING, null, ex); + } + } + return is; } public void moveTo(File f) { @@ -115,6 +136,18 @@ } /** + * Returns Content-Transfer-Encoding MIME header for this attachment part + * + * @return Content-Transfer-Encoding of the part + */ + public String getContentTransferEncoding() { + if (contentTransferEncoding == null) { + getHeaders(); + } + return contentTransferEncoding; + } + + /** * Returns Content-Type MIME header for this attachment part * * @return Content-Type of the part @@ -171,6 +204,8 @@ this.headers = headers; List ct = getHeader("Content-Type"); this.contentType = (ct == null) ? "application/octet-stream" : ct.get(0); + List cte = getHeader("Content-Transfer-Encoding"); + this.contentTransferEncoding = (cte == null) ? "binary" : cte.get(0); } /** @@ -199,9 +234,17 @@ this.contentId = cid; } + /** + * Callback to set Content-Transfer-Encoding for this part + * @param cte Content-Transfer-Encoding of the part + */ + void setContentTransferEncoding(String cte) { + this.contentTransferEncoding = cte; + } + @Override public String toString() { - return "Part="+contentId; + return "Part="+contentId+":"+contentTransferEncoding; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MemoryData.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MemoryData.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MemoryData.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,6 +28,7 @@ import java.nio.ByteBuffer; import java.io.File; import java.io.IOException; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -50,14 +51,17 @@ } // size of the chunk given by the parser + @Override public int size() { return len; } + @Override public byte[] read() { return data; } + @Override public long writeTo(DataFile file) { return file.writeTo(data, 0, len); } @@ -68,6 +72,7 @@ * @param buf * @return */ + @Override public Data createNext(DataHead dataHead, ByteBuffer buf) { if (!config.isOnlyMemory() && dataHead.inMemory >= config.memoryThreshold) { try { @@ -79,7 +84,7 @@ : File.createTempFile(prefix, suffix, dir); // delete the temp file when VM exits as a last resort for file clean up tempFile.deleteOnExit(); - LOGGER.fine("Created temp file = "+tempFile); + if (LOGGER.isLoggable(Level.FINE)) {LOGGER.log(Level.FINE, "Created temp file = {0}", tempFile);} dataHead.dataFile = new DataFile(tempFile); } catch(IOException ioe) { throw new MIMEParsingException(ioe); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MimeUtility.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/MimeUtility.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,171 @@ +/* + * 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.org.jvnet.mimepull; + +import java.io.*; + + +/** + * This is a utility class that provides various MIME related + * functionality.

+ * + * There are a set of methods to encode and decode MIME headers as + * per RFC 2047. Note that, in general, these methods are + * not needed when using methods such as + * setSubject and setRecipients; JavaMail + * will automatically encode and decode data when using these "higher + * level" methods. The methods below are only needed when maniuplating + * raw MIME headers using setHeader and getHeader + * methods. A brief description on handling such headers is given below:

+ * + * RFC 822 mail headers must contain only US-ASCII + * characters. Headers that contain non US-ASCII characters must be + * encoded so that they contain only US-ASCII characters. Basically, + * this process involves using either BASE64 or QP to encode certain + * characters. RFC 2047 describes this in detail.

+ * + * In Java, Strings contain (16 bit) Unicode characters. ASCII is a + * subset of Unicode (and occupies the range 0 - 127). A String + * that contains only ASCII characters is already mail-safe. If the + * String contains non US-ASCII characters, it must be encoded. An + * additional complexity in this step is that since Unicode is not + * yet a widely used charset, one might want to first charset-encode + * the String into another charset and then do the transfer-encoding. + *

+ * Note that to get the actual bytes of a mail-safe String (say, + * for sending over SMTP), one must do + *

+ *
+ *      byte[] bytes = string.getBytes("iso-8859-1");
+ *
+ * 

+ * + * The setHeader and addHeader methods + * on MimeMessage and MimeBodyPart assume that the given header values + * are Unicode strings that contain only US-ASCII characters. Hence + * the callers of those methods must insure that the values they pass + * do not contain non US-ASCII characters. The methods in this class + * help do this.

+ * + * The getHeader family of methods on MimeMessage and + * MimeBodyPart return the raw header value. These might be encoded + * as per RFC 2047, and if so, must be decoded into Unicode Strings. + * The methods in this class help to do this.

+ * + * Several System properties control strict conformance to the MIME + * spec. Note that these are not session properties but must be set + * globally as System properties.

+ * + * The mail.mime.decodetext.strict property controls + * decoding of MIME encoded words. The MIME spec requires that encoded + * words start at the beginning of a whitespace separated word. Some + * mailers incorrectly include encoded words in the middle of a word. + * If the mail.mime.decodetext.strict System property is + * set to "false", an attempt will be made to decode these + * illegal encoded words. The default is true.

+ * + * The mail.mime.encodeeol.strict property controls the + * choice of Content-Transfer-Encoding for MIME parts that are not of + * type "text". Often such parts will contain textual data for which + * an encoding that allows normal end of line conventions is appropriate. + * In rare cases, such a part will appear to contain entirely textual + * data, but will require an encoding that preserves CR and LF characters + * without change. If the mail.mime.encodeeol.strict + * System property is set to "true", such an encoding will + * be used when necessary. The default is false.

+ * + * In addition, the mail.mime.charset System property can + * be used to specify the default MIME charset to use for encoded words + * and text parts that don't otherwise specify a charset. Normally, the + * default MIME charset is derived from the default Java charset, as + * specified in the file.encoding System property. Most + * applications will have no need to explicitly set the default MIME + * charset. In cases where the default MIME charset to be used for + * mail messages is different than the charset used for files stored on + * the system, this property should be set.

+ * + * The current implementation also supports the following System property. + *

+ * The mail.mime.ignoreunknownencoding property controls + * whether unknown values in the Content-Transfer-Encoding + * header, as passed to the decode method, cause an exception. + * If set to "true", unknown values are ignored and 8bit + * encoding is assumed. Otherwise, unknown values cause a MessagingException + * to be thrown. + * + * @author John Mani + * @author Bill Shannon + */ + +/* FROM mail.jar */ +final class MimeUtility { + + // This class cannot be instantiated + private MimeUtility() { } + + private static final boolean ignoreUnknownEncoding = + PropUtil.getBooleanSystemProperty( + "mail.mime.ignoreunknownencoding", false); + + /** + * Decode the given input stream. The Input stream returned is + * the decoded input stream. All the encodings defined in RFC 2045 + * are supported here. They include "base64", "quoted-printable", + * "7bit", "8bit", and "binary". In addition, "uuencode" is also + * supported.

+ * + * In the current implementation, if the + * mail.mime.ignoreunknownencoding system property is set to + * "true", unknown encoding values are ignored and the + * original InputStream is returned. + * + * @param is input stream + * @param encoding the encoding of the stream. + * @return decoded input stream. + * @exception MessagingException if the encoding is unknown + */ + public static InputStream decode(InputStream is, String encoding) + throws DecodingException { + if (encoding.equalsIgnoreCase("base64")) + return new BASE64DecoderStream(is); + else if (encoding.equalsIgnoreCase("quoted-printable")) + return new QPDecoderStream(is); + else if (encoding.equalsIgnoreCase("uuencode") || + encoding.equalsIgnoreCase("x-uuencode") || + encoding.equalsIgnoreCase("x-uue")) + return new UUDecoderStream(is); + else if (encoding.equalsIgnoreCase("binary") || + encoding.equalsIgnoreCase("7bit") || + encoding.equalsIgnoreCase("8bit")) + return is; + else { + if (!ignoreUnknownEncoding) { + throw new DecodingException("Unknown encoding: " + encoding); + } + return is; + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/PropUtil.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/PropUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +/* + * 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. + */ + +/* FROM mail.jar */ +package com.sun.xml.internal.org.jvnet.mimepull; + +import java.util.*; + +/** + * Utilities to make it easier to get property values. + * Properties can be strings or type-specific value objects. + * + * @author Bill Shannon + */ +final class PropUtil { + + // No one should instantiate this class. + private PropUtil() { + } + + /** + * Get a boolean valued System property. + */ + public static boolean getBooleanSystemProperty(String name, boolean def) { + try { + return getBoolean(getProp(System.getProperties(), name), def); + } catch (SecurityException sex) { + // fall through... + } + + /* + * If we can't get the entire System Properties object because + * of a SecurityException, just ask for the specific property. + */ + try { + String value = System.getProperty(name); + if (value == null) { + return def; + } + if (def) { + return !value.equalsIgnoreCase("false"); + } else { + return value.equalsIgnoreCase("true"); + } + } catch (SecurityException sex) { + return def; + } + } + + /** + * Get the value of the specified property. + * If the "get" method returns null, use the getProperty method, + * which might cascade to a default Properties object. + */ + private static Object getProp(Properties props, String name) { + Object val = props.get(name); + if (val != null) { + return val; + } else { + return props.getProperty(name); + } + } + + /** + * Interpret the value object as a boolean, + * returning def if unable. + */ + private static boolean getBoolean(Object value, boolean def) { + if (value == null) { + return def; + } + if (value instanceof String) { + /* + * If the default is true, only "false" turns it off. + * If the default is false, only "true" turns it on. + */ + if (def) { + return !((String)value).equalsIgnoreCase("false"); + } else { + return ((String)value).equalsIgnoreCase("true"); + } + } + if (value instanceof Boolean) { + return ((Boolean)value).booleanValue(); + } + return def; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/QPDecoderStream.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/QPDecoderStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,207 @@ +/* + * 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. + */ + +/* FROM mail.jar */ +package com.sun.xml.internal.org.jvnet.mimepull; + +import java.io.*; + +/** + * This class implements a QP Decoder. It is implemented as + * a FilterInputStream, so one can just wrap this class around + * any input stream and read bytes from this filter. The decoding + * is done as the bytes are read out. + * + * @author John Mani + */ + +final class QPDecoderStream extends FilterInputStream { + private byte[] ba = new byte[2]; + private int spaces = 0; + + /** + * Create a Quoted Printable decoder that decodes the specified + * input stream. + * @param in the input stream + */ + public QPDecoderStream(InputStream in) { + super(new PushbackInputStream(in, 2)); // pushback of size=2 + } + + /** + * Read the next decoded byte from this input stream. The byte + * is returned as an int in the range 0 + * to 255. If no byte is available because the end of + * the stream has been reached, the value -1 is returned. + * This method blocks until input data is available, the end of the + * stream is detected, or an exception is thrown. + * + * @return the next byte of data, or -1 if the end of the + * stream is reached. + * @exception IOException if an I/O error occurs. + */ + @Override + public int read() throws IOException { + if (spaces > 0) { + // We have cached space characters, return one + spaces--; + return ' '; + } + + int c = in.read(); + + if (c == ' ') { + // Got space, keep reading till we get a non-space char + while ((c = in.read()) == ' ') { + spaces++; + } + + if (c == '\r' || c == '\n' || c == -1) { + spaces = 0; + } else { + // The non-space char is NOT CR/LF, the spaces are valid. + ((PushbackInputStream)in).unread(c); + c = ' '; + } + return c; // return either or + } + else if (c == '=') { + // QP Encoded atom. Decode the next two bytes + int a = in.read(); + + if (a == '\n') { + /* Hmm ... not really confirming QP encoding, but lets + * allow this as a LF terminated encoded line .. and + * consider this a soft linebreak and recurse to fetch + * the next char. + */ + return read(); + } else if (a == '\r') { + // Expecting LF. This forms a soft linebreak to be ignored. + int b = in.read(); + if (b != '\n') { + ((PushbackInputStream)in).unread(b); + } + return read(); + } else if (a == -1) { + // Not valid QP encoding, but we be nice and tolerant here ! + return -1; + } else { + ba[0] = (byte)a; + ba[1] = (byte)in.read(); + try { + return ASCIIUtility.parseInt(ba, 0, 2, 16); + } catch (NumberFormatException nex) { + /* + System.err.println( + "Illegal characters in QP encoded stream: " + + ASCIIUtility.toString(ba, 0, 2) + ); + */ + + ((PushbackInputStream)in).unread(ba); + return c; + } + } + } + return c; + } + + /** + * Reads up to len decoded bytes of data from this input stream + * into an array of bytes. This method blocks until some input is + * available. + *

+ * + * @param buf the buffer into which the data is read. + * @param off the start offset of the data. + * @param len the maximum number of bytes read. + * @return the total number of bytes read into the buffer, or + * -1 if there is no more data because the end of + * the stream has been reached. + * @exception IOException if an I/O error occurs. + */ + @Override + public int read(byte[] buf, int off, int len) throws IOException { + int i, c; + for (i = 0; i < len; i++) { + if ((c = read()) == -1) { + if (i == 0) { + i = -1; // return -1 , NOT 0. + } + break; + } + buf[off+i] = (byte)c; + } + return i; + } + + /** + * Skips over and discards n bytes of data from this stream. + */ + @Override + public long skip(long n) throws IOException { + long skipped = 0; + while (n-- > 0 && read() >= 0) { + skipped++; + } + return skipped; + } + + /** + * Tests if this input stream supports marks. Currently this class + * does not support marks + */ + @Override + public boolean markSupported() { + return false; + } + + /** + * Returns the number of bytes that can be read from this input + * stream without blocking. The QP algorithm does not permit + * a priori knowledge of the number of bytes after decoding, so + * this method just invokes the available method + * of the original input stream. + */ + @Override + public int available() throws IOException { + // This is bogus ! We don't really know how much + // bytes are available *after* decoding + return in.available(); + } + + /**** begin TEST program + public static void main(String argv[]) throws Exception { + FileInputStream infile = new FileInputStream(argv[0]); + QPDecoderStream decoder = new QPDecoderStream(infile); + int c; + + while ((c = decoder.read()) != -1) + System.out.print((char)c); + System.out.println(); + } + *** end TEST program ****/ +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/UUDecoderStream.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/UUDecoderStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,357 @@ +/* + * 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. + */ + +/* FROM mail.jar */ +package com.sun.xml.internal.org.jvnet.mimepull; + +import java.io.*; + +/** + * This class implements a UUDecoder. It is implemented as + * a FilterInputStream, so one can just wrap this class around + * any input stream and read bytes from this filter. The decoding + * is done as the bytes are read out. + * + * @author John Mani + * @author Bill Shannon + */ + +final class UUDecoderStream extends FilterInputStream { + private String name; + private int mode; + + private byte[] buffer = new byte[45]; // max decoded chars in a line = 45 + private int bufsize = 0; // size of the cache + private int index = 0; // index into the cache + private boolean gotPrefix = false; + private boolean gotEnd = false; + private LineInputStream lin; + private boolean ignoreErrors; + private boolean ignoreMissingBeginEnd; + private String readAhead; + + /** + * Create a UUdecoder that decodes the specified input stream. + * The System property mail.mime.uudecode.ignoreerrors + * controls whether errors in the encoded data cause an exception + * or are ignored. The default is false (errors cause exception). + * The System property mail.mime.uudecode.ignoremissingbeginend + * controls whether a missing begin or end line cause an exception + * or are ignored. The default is false (errors cause exception). + * @param in the input stream + */ + public UUDecoderStream(InputStream in) { + super(in); + lin = new LineInputStream(in); + // default to false + ignoreErrors = PropUtil.getBooleanSystemProperty( + "mail.mime.uudecode.ignoreerrors", false); + // default to false + ignoreMissingBeginEnd = PropUtil.getBooleanSystemProperty( + "mail.mime.uudecode.ignoremissingbeginend", false); + } + + /** + * Create a UUdecoder that decodes the specified input stream. + * @param in the input stream + * @param ignoreErrors ignore errors? + * @param ignoreMissingBeginEnd ignore missing begin or end? + */ + public UUDecoderStream(InputStream in, boolean ignoreErrors, + boolean ignoreMissingBeginEnd) { + super(in); + lin = new LineInputStream(in); + this.ignoreErrors = ignoreErrors; + this.ignoreMissingBeginEnd = ignoreMissingBeginEnd; + } + + /** + * Read the next decoded byte from this input stream. The byte + * is returned as an int in the range 0 + * to 255. If no byte is available because the end of + * the stream has been reached, the value -1 is returned. + * This method blocks until input data is available, the end of the + * stream is detected, or an exception is thrown. + * + * @return next byte of data, or -1 if the end of + * stream is reached. + * @exception IOException if an I/O error occurs. + * @see java.io.FilterInputStream#in + */ + @Override + public int read() throws IOException { + if (index >= bufsize) { + readPrefix(); + if (!decode()) { + return -1; + } + index = 0; // reset index into buffer + } + return buffer[index++] & 0xff; // return lower byte + } + + @Override + public int read(byte[] buf, int off, int len) throws IOException { + int i, c; + for (i = 0; i < len; i++) { + if ((c = read()) == -1) { + if (i == 0) {// At end of stream, so we should + i = -1; // return -1, NOT 0. + } + break; + } + buf[off+i] = (byte)c; + } + return i; + } + + @Override + public boolean markSupported() { + return false; + } + + @Override + public int available() throws IOException { + // This is only an estimate, since in.available() + // might include CRLFs too .. + return ((in.available() * 3)/4 + (bufsize-index)); + } + + /** + * Get the "name" field from the prefix. This is meant to + * be the pathname of the decoded file + * + * @return name of decoded file + * @exception IOException if an I/O error occurs. + */ + public String getName() throws IOException { + readPrefix(); + return name; + } + + /** + * Get the "mode" field from the prefix. This is the permission + * mode of the source file. + * + * @return permission mode of source file + * @exception IOException if an I/O error occurs. + */ + public int getMode() throws IOException { + readPrefix(); + return mode; + } + + /** + * UUencoded streams start off with the line: + * "begin " + * Search for this prefix and gobble it up. + */ + private void readPrefix() throws IOException { + if (gotPrefix) { + return; + } + + mode = 0666; // defaults, overridden below + name = "encoder.buf"; // same default used by encoder + String line; + for (;;) { + // read till we get the prefix: "begin MODE FILENAME" + line = lin.readLine(); // NOTE: readLine consumes CRLF pairs too + if (line == null) { + if (!ignoreMissingBeginEnd) { + throw new DecodingException("UUDecoder: Missing begin"); + } + // at EOF, fake it + gotPrefix = true; + gotEnd = true; + break; + } + if (line.regionMatches(false, 0, "begin", 0, 5)) { + try { + mode = Integer.parseInt(line.substring(6,9)); + } catch (NumberFormatException ex) { + if (!ignoreErrors) { + throw new DecodingException( + "UUDecoder: Error in mode: " + ex.toString()); + } + } + if (line.length() > 10) { + name = line.substring(10); + } else { + if (!ignoreErrors) { + throw new DecodingException( + "UUDecoder: Missing name: " + line); + } + } + gotPrefix = true; + break; + } else if (ignoreMissingBeginEnd && line.length() != 0) { + int count = line.charAt(0); + count = (count - ' ') & 0x3f; + int need = ((count * 8)+5)/6; + if (need == 0 || line.length() >= need + 1) { + /* + * Looks like a legitimate encoded line. + * Pretend we saw the "begin" line and + * save this line for later processing in + * decode(). + */ + readAhead = line; + gotPrefix = true; // fake it + break; + } + } + } + } + + private boolean decode() throws IOException { + + if (gotEnd) { + return false; + } + bufsize = 0; + int count = 0; + String line; + for (;;) { + /* + * If we ignored a missing "begin", the first line + * will be saved in readAhead. + */ + if (readAhead != null) { + line = readAhead; + readAhead = null; + } else { + line = lin.readLine(); + } + + /* + * Improperly encoded data sometimes omits the zero length + * line that starts with a space character, we detect the + * following "end" line here. + */ + if (line == null) { + if (!ignoreMissingBeginEnd) { + throw new DecodingException( + "UUDecoder: Missing end at EOF"); + } + gotEnd = true; + return false; + } + if (line.equals("end")) { + gotEnd = true; + return false; + } + if (line.length() == 0) { + continue; + } + count = line.charAt(0); + if (count < ' ') { + if (!ignoreErrors) { + throw new DecodingException( + "UUDecoder: Buffer format error"); + } + continue; + } + + /* + * The first character in a line is the number of original (not + * the encoded atoms) characters in the line. Note that all the + * code below has to handle the character that indicates + * end of encoded stream. + */ + count = (count - ' ') & 0x3f; + + if (count == 0) { + line = lin.readLine(); + if (line == null || !line.equals("end")) { + if (!ignoreMissingBeginEnd) { + throw new DecodingException( + "UUDecoder: Missing End after count 0 line"); + } + } + gotEnd = true; + return false; + } + + int need = ((count * 8)+5)/6; +//System.out.println("count " + count + ", need " + need + ", len " + line.length()); + if (line.length() < need + 1) { + if (!ignoreErrors) { + throw new DecodingException( + "UUDecoder: Short buffer error"); + } + continue; + } + + // got a line we're committed to, break out and decode it + break; + } + + int i = 1; + byte a, b; + /* + * A correct uuencoder always encodes 3 characters at a time, even + * if there aren't 3 characters left. But since some people out + * there have broken uuencoders we handle the case where they + * don't include these "unnecessary" characters. + */ + while (bufsize < count) { + // continue decoding until we get 'count' decoded chars + a = (byte)((line.charAt(i++) - ' ') & 0x3f); + b = (byte)((line.charAt(i++) - ' ') & 0x3f); + buffer[bufsize++] = (byte)(((a << 2) & 0xfc) | ((b >>> 4) & 3)); + + if (bufsize < count) { + a = b; + b = (byte)((line.charAt(i++) - ' ') & 0x3f); + buffer[bufsize++] = + (byte)(((a << 4) & 0xf0) | ((b >>> 2) & 0xf)); + } + + if (bufsize < count) { + a = b; + b = (byte)((line.charAt(i++) - ' ') & 0x3f); + buffer[bufsize++] = (byte)(((a << 6) & 0xc0) | (b & 0x3f)); + } + } + return true; + } + + /*** begin TEST program ***** + public static void main(String argv[]) throws Exception { + FileInputStream infile = new FileInputStream(argv[0]); + UUDecoderStream decoder = new UUDecoderStream(infile); + int c; + + try { + while ((c = decoder.read()) != -1) + System.out.write(c); + System.out.flush(); + } catch (Exception e) { + e.printStackTrace(); + } + } + **** end TEST program ****/ +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/WeakDataFile.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/WeakDataFile.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/WeakDataFile.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,6 +33,7 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executor; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -53,16 +54,20 @@ static { CleanUpExecutorFactory executorFactory = CleanUpExecutorFactory.newInstance(); if (executorFactory!=null) { - LOGGER.fine("Initializing clean up executor for MIMEPULL: " - + executorFactory.getClass().getName()); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Initializing clean up executor for MIMEPULL: {0}", executorFactory.getClass().getName()); + } Executor executor = executorFactory.getExecutor(); executor.execute(new Runnable() { + @Override public void run() { - WeakDataFile weak = null; + WeakDataFile weak; while (true) { try { weak = (WeakDataFile) refQueue.remove(); - LOGGER.fine("Cleaning file = "+weak.file+" from reference queue."); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Cleaning file = {0} from reference queue.", weak.file); + } weak.close(); } catch (InterruptedException e) { } @@ -107,22 +112,36 @@ } void close() { - LOGGER.fine("Deleting file = "+file.getName()); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Deleting file = {0}", file.getName()); + } refList.remove(this); try { raf.close(); - file.delete(); + boolean deleted = file.delete(); + if (!deleted) { + if (LOGGER.isLoggable(Level.INFO)) { + LOGGER.log(Level.INFO, "File {0} was not deleted", file.getAbsolutePath()); + } + } } catch(IOException ioe) { throw new MIMEParsingException(ioe); } } void renameTo(File f) { - LOGGER.fine("Moving file="+file+" to="+f); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Moving file={0} to={1}", new Object[]{file, f}); + } refList.remove(this); try { raf.close(); - file.renameTo(f); + boolean renamed = file.renameTo(f); + if (!renamed) { + if (LOGGER.isLoggable(Level.INFO)) { + LOGGER.log(Level.INFO, "File {0} was not moved to {1}", new Object[] {file.getAbsolutePath(), f.getAbsolutePath()}); + } + } } catch(IOException ioe) { throw new MIMEParsingException(ioe); } @@ -130,9 +149,11 @@ } static void drainRefQueueBounded() { - WeakDataFile weak = null; + WeakDataFile weak; while (( weak = (WeakDataFile) refQueue.poll()) != null ) { - LOGGER.fine("Cleaning file = "+weak.file+" from reference queue."); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Cleaning file = {0} from reference queue.", weak.file); + } weak.close(); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/Base64Data.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/Base64Data.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/Base64Data.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -36,11 +36,13 @@ import java.io.OutputStream; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; +import java.util.logging.Level; +import java.util.logging.Logger; // for testing method //import com.sun.xml.internal.stream.writers.XMLStreamWriterImpl; //import java.io.FileNotFoundException; -//import java.io.StringWriter; +//import java.io.FileWriter; //import javax.activation.FileDataSource; /** @@ -59,8 +61,8 @@ // (note that having both is allowed) private DataHandler dataHandler; + private byte[] data; - private byte[] data; /** * Length of the valid data in {@link #data}. */ @@ -84,6 +86,8 @@ public Base64Data() { } + private static final Logger logger = Logger.getLogger(Base64Data.class.getName()); + /** * Clone constructor * @param that needs to be cloned @@ -429,15 +433,30 @@ Base64Encoder.print(data, 0, dataLen, buf, start); } + private static final int CHUNK_SIZE; + static { + int bufSize = 1024; + try { + String bufSizeStr = getProperty("com.sun.xml.internal.org.jvnet.staxex.Base64DataStreamWriteBufferSize"); + if (bufSizeStr != null) { + bufSize = Integer.parseInt(bufSizeStr); + } + } catch (Exception e) { + logger.log(Level.INFO, "Error reading com.sun.xml.internal.org.jvnet.staxex.Base64DataStreamWriteBufferSize property", e); + } + CHUNK_SIZE = bufSize; + } + public void writeTo(XMLStreamWriter output) throws IOException, XMLStreamException { if (data==null) { try { InputStream is = dataHandler.getDataSource().getInputStream(); ByteArrayOutputStream outStream = new ByteArrayOutputStream(); // dev-null stream Base64EncoderStream encWriter = new Base64EncoderStream(output, outStream); - int b = -1; - while ((b = is.read()) != -1) { - encWriter.write(b); + int b; + byte[] buffer = new byte[CHUNK_SIZE]; + while ((b = is.read(buffer)) != -1) { + encWriter.write(buffer, 0, b); } outStream.close(); encWriter.close(); @@ -457,17 +476,33 @@ return new Base64Data(this); } + static String getProperty(final String propName) { + if (System.getSecurityManager() == null) { + return System.getProperty(propName); + } else { + return (String) java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public java.lang.Object run() { + return System.getProperty(propName); + } + }); + } + } + // public static void main(String[] args) throws FileNotFoundException, IOException, XMLStreamException { // Base64Data data = new Base64Data(); // -// data.set(new DataHandler(new FileDataSource(new File("/home/snajper/Desktop/a.txt")))); +// File f = new File("/Users/snajper/work/builds/weblogic/wls1211_dev.zip"); +// FileDataSource fds = new FileDataSource(f); +// DataHandler dh = new DataHandler(fds); +// data.set(dh); // -// StringWriter sw = new StringWriter(); -// XMLStreamWriterImpl wi = new XMLStreamWriterImpl(sw, null); +// FileWriter fw = new FileWriter(new File("/Users/snajper/Desktop/b.txt")); +// XMLStreamWriterImpl wi = new XMLStreamWriterImpl(fw, null); // // data.writeTo(wi); -// wi.flush();sw.flush(); -// System.out.println("SW: " + sw.toString()); +// wi.flush();fw.flush(); +// //System.out.println("SW: " + sw.toString()); // // } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/XMLStreamReaderEx.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/XMLStreamReaderEx.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/XMLStreamReaderEx.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,7 +33,7 @@ * *

* Some producer of infoset (in particular, such as FastInfoset, - * XOP deecoder), usees a native format that enables efficient + * XOP decoder), uses a native format that enables efficient * treatment of binary data. For ordinary infoset consumer * (that just uses {@link XMLStreamReader}, those binary data * will just look like base64-encoded string, but this interface diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/EnvelopeStyle.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/EnvelopeStyle.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -import javax.xml.ws.http.HTTPBinding; -import javax.xml.ws.soap.SOAPBinding; -import javax.xml.ws.spi.WebServiceFeatureAnnotation; - -/** - * The EnvelopeStyle annotation is used to specify the message envelope style(s) - * for a web service endpoint implementation class. To smooth the migration from - * the BindingType annotation to this EnvelopeStyle annotation, each of the - * styles is mapped to a binding identifier defined in JAX-WS specification. - * Though a binding identifier includes both the envelope style and transport, - * an envelope style defined herein does NOT imply or mandate any transport protocol - * to be use together; HTTP is the default transport. An implementation may - * chose to support other transport with any of the envelope styles. - * - * This annotation may be overriden programmatically or via deployment - * descriptors, depending on the platform in use. - * - * @author shih-chang.chen@oracle.com - */ -@WebServiceFeatureAnnotation(id="", bean=com.sun.xml.internal.org.jvnet.ws.EnvelopeStyleFeature.class) -@Retention(RetentionPolicy.RUNTIME) -public @interface EnvelopeStyle { - - /** - * The envelope styles. If not specified, the default is the SOAP 1.1. - * - * @return The enveloping styles - */ - Style[] style() default { Style.SOAP11 }; - - public enum Style { - - /** - * SOAP1.1. For JAX-WS, this is mapped from: - * javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING - */ - SOAP11(SOAPBinding.SOAP11HTTP_BINDING), - - /** - * SOAP1.2. For JAX-WS, this is mapped from: - * javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING - */ - SOAP12(SOAPBinding.SOAP11HTTP_BINDING), - - /** - * The raw XML. For JAX-WS, this is mapped from: - * javax.xml.ws.http.HTTPBinding.HTTP_BINDING - */ - XML(HTTPBinding.HTTP_BINDING); - - /** - * The BindingID used by the BindingType annotation. - */ - public final String bindingId; - - private Style(String id) { - bindingId = id; - } - - /** - * Checks if the style is SOAP 1.1. - * - * @return true if the style is SOAP 1.1. - */ - public boolean isSOAP11() { return this.equals(SOAP11); } - - /** - * Checks if the style is SOAP 1.2. - * - * @return true if the style is SOAP 1.2. - */ - public boolean isSOAP12() { return this.equals(SOAP12); } - - /** - * Checks if the style is XML. - * - * @return true if the style is XML. - */ - public boolean isXML() { return this.equals(XML); } - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/EnvelopeStyleFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/EnvelopeStyleFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws; - -import javax.xml.ws.WebServiceFeature; - -public class EnvelopeStyleFeature extends WebServiceFeature { - - private EnvelopeStyle.Style[] styles; - - public EnvelopeStyleFeature(EnvelopeStyle.Style... s) { - styles = s; - } - - public EnvelopeStyle.Style[] getStyles() { - return styles; - } - - public String getID() { - return EnvelopeStyleFeature.class.getName(); - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/Databinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/Databinding.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,324 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.databinding; - -import java.io.File; -import java.lang.reflect.Method; -import java.net.URL; - -import javax.xml.namespace.QName; -import javax.xml.transform.Result; -import javax.xml.transform.Source; -import javax.xml.ws.Holder; -import javax.xml.ws.WebServiceFeature; - -import com.sun.xml.internal.org.jvnet.ws.message.MessageContext; -import org.xml.sax.EntityResolver; - -/** - * {@code Databinding} is the entry point for all the WebService Databinding - * functionality. Primarily, a Databinding is to serialize/deserialize an - * XML(SOAP) message to/from a JAVA method invocation and return which are - * represented as JavaCallInfo instances. A WSDLGenerator can - * be created from a Databinding object to genreate WSDL representation of - * a JAVA service endpoint interface. - *

- *

- * The supported databinding modes(flavors) are: - *
    - *
  • "toplink.jaxb"
  • - *
  • "glassfish.jaxb"
  • - *
- *
Following is an example that creates a {@code Databinding} which - * provides the operations to serialize/deserialize a JavaCallInfo to/from a - * SOAP message:
- * - *
- * DatabindingFactory factory = DatabindingFactory.newInstance();
- * Databinding.Builder builder = factory.createBuilder(seiClass, endpointClass);
- * Databinding databinding = builder.build();
- * 
- * - *
- * - * @see com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingFactory - * - * @author shih-chang.chen@oracle.com - */ -public interface Databinding { - - /** - * Creates a new instance of a JavaCallInfo. - * - * @param method The JAVA method - * @param args The parameter objects - * - * @return New instance of a JavaCallInfo - */ - JavaCallInfo createJavaCallInfo(Method method, Object[] args); - - /** - * Serializes a JavaCallInfo instance representing a JAVA method call to a - * request XML(SOAP) message. - * - * @param call The JavaCallInfo representing a method call - * - * @return The request XML(SOAP) message - */ - MessageContext serializeRequest(JavaCallInfo call); - - /** - * Deserializes a response XML(SOAP) message to a JavaCallInfo instance - * representing the return value or exception of a JAVA method call. - * - * @param soap The response message - * @param call The JavaCallInfo instance to be updated - * - * @return The JavaCallInfo updated with the return value or exception of a - * JAVA method call - */ - JavaCallInfo deserializeResponse(MessageContext message, JavaCallInfo call); - - /** - * Deserializes a request XML(SOAP) message to a JavaCallInfo instance - * representing a JAVA method call. - * - * @param message The request message - * - * @return The JavaCallInfo representing a method call - */ - JavaCallInfo deserializeRequest(MessageContext message); - - /** - * Serializes a JavaCallInfo instance representing the return value or - * exception of a JAVA method call to a response XML(SOAP) message. - * - * @param call The JavaCallInfo representing the return value or exception - * of a JAVA method call - * - * @return The response XML(SOAP) message - */ - MessageContext serializeResponse(JavaCallInfo call); - - /** - * {@code Databinding.Builder}, created from the DatabindingFactory, is used to - * configure how a Databinding instance is to be built from this builder. - * - * @see com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingFactory - * @author shih-chang.chen@oracle.com - */ - public interface Builder { - - /** - * Sets the targetNamespace of the WSDL - * - * @param targetNamespace The targetNamespace to set - * - * @return this Builder instance - */ - Builder targetNamespace(String targetNamespace); - - /** - * Sets the service name of the WSDL - * - * @param serviceName The serviceName to set - * - * @return this Builder instance - */ - Builder serviceName(QName serviceName); - - /** - * Sets the port name of the WSDL - * - * @param portName The portName to set - * - * @return this Builder instance - */ - Builder portName(QName portName); - - /** - * Sets the WSDL URL where the WSDL can be read from - * - * @param wsdlURL The wsdlURL to set - * - * @return this Builder instance - */ - Builder wsdlURL(URL wsdlURL); - - /** - * Sets the WSDL Source where the WSDL can be read from - * - * @param wsdlSource The wsdlSource to set - * - * @return this Builder instance - */ - Builder wsdlSource(Source wsdlSource); - - /** - * Sets the EntityResolver for reading the WSDL - * - * @param wsdlURL The wsdlURL to set - * - * @return this Builder instance - */ - Builder entityResolver(EntityResolver entityResolver); - - /** - * Sets the ClassLoader which is used to load the service endpoint - * interface, implementation bean, and all the value types. If this - * value is not set, the default it uses contractClass.getClassLoader(). - * - * @param classLoader The classLoader to set - * - * @return this Builder instance - */ - Builder classLoader(ClassLoader classLoader); - - /** - * Sets A list of WebServiceFeatures - * - * @param features The list of WebServiceFeatures - * - * @return this Builder instance - */ - Builder feature(WebServiceFeature... features); - - /** - * Sets A property of the Databinding object to be created - * - * @param name The name of the property - * @param value The value of the property - * - * @return this Builder instance - */ - Builder property(String name, Object value); - - /** - * Builds a new Databinding instance - * - * @return The Builder instance - */ - Databinding build(); - - /** - * Creates the WSDLGenerator which can be used to generate the WSDL - * representation of the service endpoint interface of this Databinding - * object. - * - * @return WSDLGenerator The WSDLGenerator - */ - WSDLGenerator createWSDLGenerator(); - } - - /** - * WSDLGenerator is used to generate the WSDL representation of the service - * endpoint interface of the parent Databinding object. - */ - public interface WSDLGenerator { - - /** - * Sets the inlineSchema boolean. When the inlineSchema is true, the - * generated schema documents are embedded within the type element of - * the generated WSDL. When the inlineSchema is false, the generated - * schema documents are generated as standalone schema documents and - * imported into the generated WSDL. - * - * @param inline the inlineSchema boolean. - * @return - */ - WSDLGenerator inlineSchema(boolean inline); - - /** - * Sets A property of the WSDLGenerator - * - * @param name The name of the property - * @param value The value of the property - * - * @return this WSDLGenerator instance - */ - WSDLGenerator property(String name, Object value); - - /** - * Generates the WSDL using the wsdlResolver to output the generated - * documents. - * - * @param wsdlResolver The WSDLResolver - */ - void generate(WSDLResolver wsdlResolver); - - /** - * Generates the WSDL into the file directory - * - * @param outputDir The output file directory - * @param name The file name of the main WSDL document - */ - void generate(File outputDir, String name); - - /** - * WSDLResolver is used by WSDLGenerator while generating WSDL and its associated - * documents. It is used to control what documents need to be generated and what - * documents need to be picked from metadata. If endpont's document metadata - * already contains some documents, their systemids may be used for wsdl:import, - * and schema:import. The suggested filenames are relative urls(for e.g: EchoSchema1.xsd) - * The Result object systemids are also relative urls(for e.g: AbsWsdl.wsdl). - * - * @author Jitendra Kotamraju - */ - public interface WSDLResolver { - /** - * Create a Result object into which concrete WSDL is to be generated. - * - * @return Result for the concrete WSDL - */ - public Result getWSDL(String suggestedFilename); - - /** - * Create a Result object into which abstract WSDL is to be generated. If the the - * abstract WSDL is already in metadata, it is not generated. - * - * Update filename if the suggested filename need to be changed in wsdl:import. - * This needs to be done if the metadata contains abstract WSDL, and that systemid - * needs to be reflected in concrete WSDL's wsdl:import - * - * @return null if abstract WSDL need not be generated - */ - public Result getAbstractWSDL(Holder filename); - - /** - * Create a Result object into which schema doc is to be generated. Typically if - * there is a schema doc for namespace in metadata, then it is not generated. - * - * Update filename if the suggested filename need to be changed in xsd:import. This - * needs to be done if the metadata contains the document, and that systemid - * needs to be reflected in some other document's xsd:import - * - * @return null if schema need not be generated - */ - public Result getSchemaOutput(String namespace, Holder filename); - - } - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,100 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.databinding; - -import java.util.Map; - -/** - * {@code DatabindingFactory} is the entry point of all the WebService - * Databinding APIs. A DatabindingFactory instance can be used to create - * Databinding.Builder instances, and Databinding.Builder - * instances are used to configure and build Databinding instances. - *

- *

- *
- * Following is an example that creates a {@code Databinding} which provides the - * operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
- *
- * DatabindingFactory factory = DatabindingFactory.newInstance();
- * Databinding.Builder builder = factory.createBuilder(seiClass, endpointClass);
- * Databinding databinding = builder.build();
- * 
- *
- * - * @see com.sun.xml.internal.org.jvnet.ws.databinding.Databinding - * - * @author shih-chang.chen@oracle.com - */ -public abstract class DatabindingFactory { - - /** - * Creates a new instance of a Databinding.Builder which is - * initialized with the specified contractClass and endpointClass. The most - * importance initial states of a Builder object is the contract class which - * is also called "service endpoint interface" or "SEI" in JAX-WS and JAX-RPC, - * and the implementation bean class (endpointClass). The the implementation - * bean class (endpointClass) should be null if the Builder is to create - * the client side proxy databinding. - * - * @param contractClass The service endpoint interface class - * @param endpointClass The service implementation bean class - * - * @return New instance of a Databinding.Builder - */ - abstract public Databinding.Builder createBuilder(Class contractClass, Class endpointClass); - - /** - * Access properties on the DatabindingFactory instance. - * - * @return properties of this WsFactory - */ - abstract public Map properties(); - - /** - * The default implementation class name. - */ - static final String ImplClass = "com.sun.xml.internal.ws.db.DatabindingFactoryImpl"; - - /** - * Create a new instance of a DatabindingFactory. This static method - * creates a new factory instance. - * - * Once an application has obtained a reference to a DatabindingFactory - * it can use the factory to obtain and configure a Databinding.Builder - * to build a Databinding instances. - * - * @return New instance of a DatabindingFactory - */ - static public DatabindingFactory newInstance() { - try { - Class cls = Class.forName(ImplClass); - return (DatabindingFactory) cls.newInstance(); - } catch (Exception e) { - e.printStackTrace(); - } - return null; - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingMode.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingMode.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.databinding; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -import javax.xml.ws.spi.WebServiceFeatureAnnotation; - -@WebServiceFeatureAnnotation(id="", bean=com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingModeFeature.class) -@Retention(RetentionPolicy.RUNTIME) -public @interface DatabindingMode { - String value(); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingModeFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/DatabindingModeFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.databinding; - -import java.util.HashMap; -import java.util.Map; - -import javax.xml.ws.WebServiceFeature; - -public class DatabindingModeFeature extends WebServiceFeature { - /** - * Constant value identifying the DatabindingFeature - */ - static public final String ID = "http://jax-ws.java.net/features/databinding"; - - static public final String GLASSFISH_JAXB = "glassfish.jaxb"; - - //These constants should be defined in the corresponding plugin package -// static public final String ECLIPSELINK_JAXB = "eclipselink.jaxb"; -// static public final String ECLIPSELINK_SDO = "eclipselink.sdo"; -// static public final String TOPLINK_JAXB = "toplink.jaxb"; -// static public final String TOPLINK_SDO = "toplink.sdo"; - - private String mode; - private Map properties; - - public DatabindingModeFeature(String mode) { - super(); - this.mode = mode; - properties = new HashMap(); - } - - public String getMode() { - return mode; - } - - public String getID() { - return ID; - } - - public Map getProperties() { - return properties; - } - - public static Builder builder() { return new Builder(new DatabindingModeFeature(null)); } - - public final static class Builder { - final private DatabindingModeFeature o; - Builder(final DatabindingModeFeature x) { o = x; } - public DatabindingModeFeature build() { return o; } -// public DatabindingModeFeature build() { return (DatabindingModeFeature) FeatureValidator.validate(o); } - public Builder value(final String x) { o.mode = x; return this; } - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/JavaCallInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/databinding/JavaCallInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,108 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.databinding; - -import java.lang.reflect.Method; - -/** - * On the client or service-requestor side, a JavaCallInfo object represents a - * method call on the service proxy to be serialized as a SOAP request message - * to be sent to the service. A SOAP response message returned to the service - * client is deserialized as an update to the JavaCallInfo object which is used - * to generated the request. - *

- *

- * On the server or service provider side, a SOAP request message is - * deserialized to a JavaCallInfo object which can be used to determine which - * method to call, and get the parameter values to call the back-end service - * implementation object. The return value or exception returned from the - * service implementation should be set to the JavaCallInfo object which then - * can be used to serialize to a A SOAP response or fault message to be sent - * back to the service client. - * - * @author shih-chang.chen@oracle.com - */ -public interface JavaCallInfo { - - /** - * Gets the method of this JavaCallInfo - * - * @return the method - */ - public Method getMethod(); - -// /** -// * Sets the method of this JavaCallInfo -// * -// * @param method The method to set -// */ -// public void setMethod(Method method); - - /** - * Gets the parameters of this JavaCallInfo - * - * @return The parameters - */ - public Object[] getParameters(); - -// /** -// * Sets the parameters of this JavaCallInfo -// * -// * @param parameters -// * the parameters to set -// */ -// public void setParameters(Object[] parameters); - - /** - * Gets the returnValue of this JavaCallInfo - * - * @return the returnValue - */ - public Object getReturnValue(); - - /** - * Sets the returnValue of this JavaCallInfo - * - * @param returnValue - * the returnValue to set - */ - public void setReturnValue(Object returnValue); - - /** - * Gets the exception of this JavaCallInfo - * - * @return the exception - */ - public Throwable getException(); - - /** - * Sets the exception of this JavaCallInfo - * - * @param exception - * the exception to set - */ - public void setException(Throwable exception); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/ContentType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/ContentType.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.message; - -/** - * A Content-Type transport header that will be returned by {@link MessageContext#write(java.io.OutputStream)}. - * It will provide the Content-Type header and also take care of SOAP 1.1 SOAPAction header. - * - * @author Vivek Pandey - */ -public interface ContentType { - - /** - * Gives non-null Content-Type header value. - */ - public String getContentType(); - - /** - * Gives SOAPAction transport header value. It will be non-null only for SOAP 1.1 messages. In other cases - * it MUST be null. The SOAPAction transport header should be written out only when its non-null. - * - * @return It can be null, in that case SOAPAction header should be written. - */ - public String getSOAPActionHeader(); - - /** - * Controls the Accept transport header, if the transport supports it. - * Returning null means the transport need not add any new header. - * - *

- * We realize that this is not an elegant abstraction, but - * this would do for now. If another person comes and asks for - * a similar functionality, we'll define a real abstraction. - */ - public String getAcceptHeader(); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/DistributedPropertySet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/DistributedPropertySet.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.message; - -import com.sun.istack.internal.Nullable; - -/** - * {@link PropertySet} that combines properties exposed from multiple - * {@link PropertySet}s into one. - * - *

- * This implementation allows one {@link PropertySet} to assemble - * all properties exposed from other "satellite" {@link PropertySet}s. - * (A satellite may itself be a {@link DistributedPropertySet}, so - * in general this can form a tree.) - * - *

- * This is useful for JAX-WS because the properties we expose to the application - * are contributed by different pieces, and therefore we'd like each of them - * to have a separate {@link PropertySet} implementation that backs up - * the properties. For example, this allows FastInfoset to expose its - * set of properties to {@link RequestContext} by using a strongly-typed fields. - * - *

- * This is also useful for a client-side transport to expose a bunch of properties - * into {@link ResponseContext}. It simply needs to create a {@link PropertySet} - * object with methods for each property it wants to expose, and then add that - * {@link PropertySet} to {@link Packet}. This allows property values to be - * lazily computed (when actually asked by users), thus improving the performance - * of the typical case where property values are not asked. - * - *

- * A similar benefit applies on the server-side, for a transport to expose - * a bunch of properties to {@link WebServiceContext}. - * - *

- * To achieve these benefits, access to {@link DistributedPropertySet} is slower - * compared to {@link PropertySet} (such as get/set), while adding a satellite - * object is relatively fast. - * - * @author Kohsuke Kawaguchi - */ -public interface DistributedPropertySet extends com.sun.xml.internal.org.jvnet.ws.message.PropertySet { - - public @Nullable T getSatellite(Class satelliteClass); - - public void addSatellite(com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite); - - public void addSatellite(Class keyClass, com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite); - - public void removeSatellite(com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite); - - public void copySatelliteInto(com.sun.xml.internal.org.jvnet.ws.message.MessageContext r); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/MessageContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/MessageContext.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,115 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.message; - -import java.io.IOException; -import java.io.OutputStream; -import java.nio.ByteBuffer; -import java.nio.channels.WritableByteChannel; - -import javax.xml.soap.SOAPException; -import javax.xml.soap.SOAPMessage; - -/** - * MessageContext represents a container of a SOAP message and all the properties - * including the transport headers. - * - * MessageContext is a composite {@link PropertySet} that combines properties exposed from multiple - * {@link PropertySet}s into one. - * - *

- * This implementation allows one {@link PropertySet} to assemble - * all properties exposed from other "satellite" {@link PropertySet}s. - * (A satellite may itself be a {@link DistributedPropertySet}, so - * in general this can form a tree.) - * - * @author shih-chang.chen@oracle.com - */ -public interface MessageContext extends DistributedPropertySet { - /** - * Gets the SAAJ SOAPMessage representation of the SOAP message. - * - * @return The SOAPMessage - */ - SOAPMessage getSOAPMessage() throws SOAPException; - - /** - * Adds the {@link PropertySet} - * - * @param satellite the PropertySet - */ - void addSatellite(PropertySet satellite); - - /** - * Removes the {@link PropertySet} - * - * @param satellite the PropertySet - */ - void removeSatellite(PropertySet satellite); - - /** - * Copies all the {@link PropertySet} of this MessageContext into the other MessageContext - * - * @param otherMessageContext the MessageContext - */ - void copySatelliteInto(MessageContext otherMessageContext); - - /** - * Gets the {@link PropertySet} - * - * @param satellite the PropertySet type - */ - T getSatellite(Class satelliteClass); - - /** - * Writes the XML infoset portion of this MessageContext - * (from <soap:Envelope> to </soap:Envelope>). - * - * @param out - * Must not be null. The caller is responsible for closing the stream, - * not the callee. - * - * @return - * The MIME content type of the encoded message (such as "application/xml"). - * This information is often ncessary by transport. - * - * @throws IOException - * if a {@link OutputStream} throws {@link IOException}. - */ - //TODO chen: wait for DISI -// ContentType writeTo( OutputStream out ) throws IOException; - - /** - * The version of {@link #writeTo(OutputStream)} - * that writes to NIO {@link ByteBuffer}. - * - *

- * TODO: for the convenience of implementation, write - * an adapter that wraps {@link WritableByteChannel} to {@link OutputStream}. - */ - //TODO chen: wait for DISI -// ContentType writeTo( WritableByteChannel buffer ); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/MessageContextFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/MessageContextFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,142 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.message; - -import java.io.IOException; -import java.io.InputStream; - -import com.sun.xml.internal.ws.api.SOAPVersion; // TODO leaking RI APIs -import com.sun.xml.internal.ws.api.message.Message; -import com.sun.xml.internal.ws.api.message.Messages; -import com.sun.xml.internal.ws.api.message.Packet; -import com.sun.xml.internal.ws.util.ServiceFinder; - -//import java.io.InputStream; -import javax.xml.soap.SOAPMessage; -import javax.xml.transform.Source; -import javax.xml.ws.WebServiceFeature; - -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyle; -import com.sun.xml.internal.org.jvnet.ws.message.MessageContext; - -public abstract class MessageContextFactory -{ - private static final MessageContextFactory DEFAULT = new com.sun.xml.internal.ws.api.message.MessageContextFactory(new WebServiceFeature[0]); - - /** - * @deprecated - */ - public abstract MessageContext doCreate(); - - /** - * @deprecated - */ - public abstract MessageContext doCreate(SOAPMessage m); - //public abstract MessageContext doCreate(InputStream x); - - /** - * @deprecated - */ - public abstract MessageContext doCreate(Source x, SOAPVersion soapVersion); - - /** - * @deprecated - */ - public static MessageContext create(final ClassLoader... classLoader) { - return serviceFinder(classLoader, - new Creator() { - public MessageContext create(final MessageContextFactory f) { - return f.doCreate(); - } - }); - } - - /** - * @deprecated - */ - public static MessageContext create(final SOAPMessage m, final ClassLoader... classLoader) { - return serviceFinder(classLoader, - new Creator() { - public MessageContext create(final MessageContextFactory f) { - return f.doCreate(m); - } - }); - } - - /** - * @deprecated - */ - public static MessageContext create(final Source m, final SOAPVersion v, final ClassLoader... classLoader) { - return serviceFinder(classLoader, - new Creator() { - public MessageContext create(final MessageContextFactory f) { - return f.doCreate(m, v); - } - }); - } - - /** - * @deprecated - */ - private static MessageContext serviceFinder(final ClassLoader[] classLoader, final Creator creator) { - final ClassLoader cl = classLoader.length == 0 ? null : classLoader[0]; - for (MessageContextFactory factory : ServiceFinder.find(MessageContextFactory.class, cl)) { - final MessageContext messageContext = creator.create(factory); - if (messageContext != null) - return messageContext; - } - return creator.create(DEFAULT); - } - - /** - * @deprecated - */ - private static interface Creator { - public MessageContext create(MessageContextFactory f); - } - - protected abstract MessageContextFactory newFactory(WebServiceFeature ... f); - - public abstract MessageContext createContext(SOAPMessage m); - - public abstract MessageContext createContext(Source m); - - public abstract MessageContext createContext(Source m, EnvelopeStyle.Style envelopeStyle); - - public abstract MessageContext createContext(InputStream in, String contentType) throws IOException; - - static public MessageContextFactory createFactory(WebServiceFeature ... f) { - return createFactory(null, f); - } - - static public MessageContextFactory createFactory(ClassLoader cl, WebServiceFeature ...f) { - for (MessageContextFactory factory : ServiceFinder.find(MessageContextFactory.class, cl)) { - MessageContextFactory newfac = factory.newFactory(f); - if (newfac != null) return newfac; - } - return new com.sun.xml.internal.ws.api.message.MessageContextFactory(f); - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/PropertySet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/ws/message/PropertySet.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,116 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.org.jvnet.ws.message; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Inherited; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.util.Map; - -import javax.xml.ws.handler.MessageContext; - -/** - * A set of "properties" that can be accessed via strongly-typed fields - * as well as reflexibly through the property name. - * - * @author Kohsuke Kawaguchi - */ -public interface PropertySet { - - /** - * Marks a field on {@link PropertySet} as a - * property of {@link MessageContext}. - * - *

- * To make the runtime processing easy, this annotation - * must be on a public field (since the property name - * can be set through {@link Map} anyway, you won't be - * losing abstraction by doing so.) - * - *

- * For similar reason, this annotation can be only placed - * on a reference type, not primitive type. - * - * @author Kohsuke Kawaguchi - */ - @Inherited - @Retention(RetentionPolicy.RUNTIME) - @Target({ElementType.FIELD,ElementType.METHOD}) - public @interface Property { - /** - * Name of the property. - */ - String[] value(); - } - - public boolean containsKey(Object key); - - /** - * Gets the name of the property. - * - * @param key - * This field is typed as {@link Object} to follow the {@link Map#get(Object)} - * convention, but if anything but {@link String} is passed, this method - * just returns null. - */ - public Object get(Object key); - - /** - * Sets a property. - * - *

Implementation Note

- * This method is slow. Code inside JAX-WS should define strongly-typed - * fields in this class and access them directly, instead of using this. - * - * @see Property - */ - public Object put(String key, Object value); - - /** - * Checks if this {@link PropertySet} supports a property of the given name. - */ - public boolean supports(Object key); - - public Object remove(Object key); - - /** - * Creates a {@link Map} view of this {@link PropertySet}. - * - *

- * This map is partially live, in the sense that values you set to it - * will be reflected to {@link PropertySet}. - * - *

- * However, this map may not pick up changes made - * to {@link PropertySet} after the view is created. - * - * @return - * always non-null valid instance. - */ - public Map createMapView(); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/AbstractCreator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/AbstractCreator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/AbstractCreator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -131,7 +131,7 @@ } if (length < CHAR_ARRAY_LENGTH_SMALL_SIZE) { - storeStructure(type | CHAR_ARRAY_LENGTH_SMALL); + storeStructure(type); storeStructure(length); System.arraycopy(ch, start, _contentCharactersBuffer, _contentCharactersBufferPtr, length); _contentCharactersBufferPtr += length; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/SAXBufferProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/SAXBufferProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/SAXBufferProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -88,6 +88,7 @@ protected String[] _namespacePrefixes = new String[16]; protected int _namespacePrefixesIndex; + protected int[] _namespaceAttributesStartingStack = new int[16]; protected int[] _namespaceAttributesStack = new int[16]; protected int _namespaceAttributesStackIndex; @@ -436,6 +437,7 @@ int item = peekStructure(); Set prefixSet = inscope ? new HashSet() : Collections.emptySet(); if ((item & TYPE_MASK) == T_NAMESPACE_ATTRIBUTE) { + cacheNamespacePrefixStartingIndex(); hasNamespaceAttributes = true; item = processNamespaceAttributes(item, inscope, prefixSet); } @@ -570,7 +572,8 @@ private void processEndPrefixMapping() throws SAXException { final int end = _namespaceAttributesStack[--_namespaceAttributesStackIndex]; - final int start = (_namespaceAttributesStackIndex > 0) ? _namespaceAttributesStack[_namespaceAttributesStackIndex] : 0; +// final int start = (_namespaceAttributesStackIndex > 0) ? _namespaceAttributesStack[_namespaceAttributesStackIndex] : 0; + final int start = (_namespaceAttributesStackIndex >= 0) ? _namespaceAttributesStartingStack[_namespaceAttributesStackIndex] : 0; for (int i = end - 1; i >= start; i--) { _contentHandler.endPrefixMapping(_namespacePrefixes[i]); @@ -699,6 +702,15 @@ _namespaceAttributesStack[_namespaceAttributesStackIndex++] = _namespacePrefixesIndex; } + private void cacheNamespacePrefixStartingIndex() { + if (_namespaceAttributesStackIndex == _namespaceAttributesStartingStack.length) { + final int[] namespaceAttributesStart = new int[_namespaceAttributesStackIndex * 3 /2 + 1]; + System.arraycopy(_namespaceAttributesStartingStack, 0, namespaceAttributesStart, 0, _namespaceAttributesStackIndex); + _namespaceAttributesStartingStack = namespaceAttributesStart; + } + _namespaceAttributesStartingStack[_namespaceAttributesStackIndex] = _namespacePrefixesIndex; + } + private void processComment(String s) throws SAXException { processComment(s.toCharArray(), 0, s.length()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/NamespaceContexHelper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -74,9 +74,6 @@ // Current position to store the next namespace context private int contextPosition; - // The current namespace context - private int currentContext; - /** * Create a new NamespaceContexHelper. * @@ -88,7 +85,7 @@ prefixes[1] = "xmlns"; namespaceURIs[1] = "http://www.w3.org/2000/xmlns/"; - currentContext = namespacePosition = 2; + namespacePosition = 2; } @@ -257,7 +254,7 @@ if (contextPosition == contexts.length) resizeContexts(); - contexts[contextPosition++] = currentContext = namespacePosition; + contexts[contextPosition++] = namespacePosition; } private void resizeContexts() { @@ -274,7 +271,7 @@ */ public void popContext() { if (contextPosition > 0) { - namespacePosition = currentContext = contexts[--contextPosition]; + namespacePosition = contexts[--contextPosition]; } } @@ -284,6 +281,6 @@ * Pop all namespace contexts and reset the root context. */ public void resetContexts() { - currentContext = namespacePosition = 2; + namespacePosition = 2; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamReaderBufferProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamReaderBufferProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamReaderBufferProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -354,7 +354,7 @@ } int eventType = getEventType(); - StringBuffer content = new StringBuffer(); + StringBuilder content = new StringBuilder(); while(eventType != END_ELEMENT ) { if(eventType == CHARACTERS || eventType == CDATA @@ -642,6 +642,7 @@ return new CharSequenceImpl(_offset + start, length); } + @Override public String toString() { return new String(_characters, _offset, _length); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamWriterBufferProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamWriterBufferProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/StreamWriterBufferProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -28,11 +28,13 @@ import com.sun.xml.internal.stream.buffer.AbstractProcessor; import com.sun.xml.internal.stream.buffer.XMLStreamBuffer; +import java.io.IOException; import java.util.Collections; import java.util.HashSet; import java.util.Map; import java.util.Set; +import com.sun.xml.internal.org.jvnet.staxex.Base64Data; import com.sun.xml.internal.org.jvnet.staxex.XMLStreamWriterEx; import javax.xml.stream.XMLStreamException; @@ -359,7 +361,16 @@ } case STATE_TEXT_AS_OBJECT: { final CharSequence c = (CharSequence)readContentObject(); - writer.writeCharacters(c.toString()); + if (c instanceof Base64Data) { + try { + Base64Data bd = (Base64Data)c; + bd.writeTo(writer); + } catch (IOException e) { + throw new XMLStreamException(e); + } + } else { + writer.writeCharacters(c.toString()); + } break; } case STATE_COMMENT_AS_CHAR_ARRAY_SMALL: { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/Closeable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/Closeable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/Closeable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EPRSDDocumentFilter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EPRSDDocumentFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EPRSDDocumentFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -43,7 +43,6 @@ import java.io.IOException; import java.util.List; import java.util.Collection; -import java.util.ArrayList; import java.util.Collections; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EndpointReferenceUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EndpointReferenceUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/EndpointReferenceUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -162,8 +162,9 @@ e.getLocalName().equals(MemberSubmissionAddressingConstants.MEX_METADATA.getLocalPart())) { NodeList nl = e.getElementsByTagNameNS(WSDLConstants.NS_WSDL, WSDLConstants.QNAME_DEFINITIONS.getLocalPart()); - if(nl != null) + if(nl != null) { wsdlElement = (Element) nl.item(0); + } } } } @@ -172,8 +173,9 @@ DOMUtil.serializeNode(wsdlElement, writer); } - if (w3cMetadataWritten) + if (w3cMetadataWritten) { writer.writeEndElement(); + } //TODO revisit this //write extension elements if ((msEpr.elements != null) && (msEpr.elements.size() > 0)) { @@ -200,20 +202,21 @@ private static boolean w3cMetadataWritten = false; - private static void writeW3CMetadata(StreamWriterBufferCreator writer) throws XMLStreamException { - if (!w3cMetadataWritten) { - writer.writeStartElement(AddressingVersion.W3C.getPrefix(), AddressingVersion.W3C.eprType.wsdlMetadata.getLocalPart(), AddressingVersion.W3C.nsUri); - w3cMetadataWritten = true; - } - } - +// private static void writeW3CMetadata(StreamWriterBufferCreator writer) throws XMLStreamException { +// if (!w3cMetadataWritten) { +// writer.writeStartElement(AddressingVersion.W3C.getPrefix(), AddressingVersion.W3C.eprType.wsdlMetadata.getLocalPart(), AddressingVersion.W3C.nsUri); +// w3cMetadataWritten = true; +// } +// } +// private static MemberSubmissionEndpointReference toMSEpr(W3CEndpointReference w3cEpr) { DOMResult result = new DOMResult(); w3cEpr.writeTo(result); Node eprNode = result.getNode(); Element e = DOMUtil.getFirstElementChild(eprNode); - if (e == null) + if (e == null) { return null; + } MemberSubmissionEndpointReference msEpr = new MemberSubmissionEndpointReference(); @@ -223,12 +226,11 @@ Element child = (Element) nodes.item(i); if (child.getNamespaceURI().equals(AddressingVersion.W3C.nsUri) && child.getLocalName().equals(AddressingVersion.W3C.eprType.address)) { - if (msEpr.addr == null) + if (msEpr.addr == null) { msEpr.addr = new MemberSubmissionEndpointReference.Address(); + } msEpr.addr.uri = XmlUtil.getTextForNode(child); - //now add the attribute extensions - msEpr.addr.attributes = getAttributes(child); } else if (child.getNamespaceURI().equals(AddressingVersion.W3C.nsUri) && child.getLocalName().equals("ReferenceParameters")) { NodeList refParams = child.getChildNodes(); @@ -249,8 +251,9 @@ Element wsdlDefinitions = null; for (int j = 0; j < metadata.getLength(); j++) { Node node = metadata.item(j); - if (node.getNodeType() != Node.ELEMENT_NODE) + if (node.getNodeType() != Node.ELEMENT_NODE) { continue; + } Element elm = (Element) node; if ((elm.getNamespaceURI().equals(AddressingVersion.W3C.wsdlNsUri) || @@ -264,13 +267,15 @@ String name = XmlUtil.getLocalPart(service); //if there is no service name then its not a valid EPR but lets continue as its optional anyway - if (name == null) + if (name == null) { continue; + } if (prefix != null) { String ns = elm.lookupNamespaceURI(prefix); - if (ns != null) + if (ns != null) { msEpr.serviceName.name = new QName(ns, name, prefix); + } } else { msEpr.serviceName.name = new QName(null, name); } @@ -285,13 +290,15 @@ String name = XmlUtil.getLocalPart(portType); //if there is no portType name then its not a valid EPR but lets continue as its optional anyway - if (name == null) + if (name == null) { continue; + } if (prefix != null) { String ns = elm.lookupNamespaceURI(prefix); - if (ns != null) + if (ns != null) { msEpr.portTypeName.name = new QName(ns, name, prefix); + } } else { msEpr.portTypeName.name = new QName(null, name); } @@ -372,18 +379,21 @@ NamedNodeMap nm = node.getAttributes(); for (int i = 0; i < nm.getLength(); i++) { - if (attribs == null) + if (attribs == null) { attribs = new HashMap(); + } Node n = nm.item(i); String prefix = fixNull(n.getPrefix()); String ns = fixNull(n.getNamespaceURI()); String localName = n.getLocalName(); - if (prefix.equals("xmlns") || prefix.length() == 0 && localName.equals("xmlns")) + if (prefix.equals("xmlns") || prefix.length() == 0 && localName.equals("xmlns")) { continue; + } //exclude some attributes - if (!localName.equals(AddressingVersion.W3C.eprType.portName)) + if (!localName.equals(AddressingVersion.W3C.eprType.portName)) { attribs.put(new QName(ns, localName, prefix), n.getNodeValue()); + } } return attribs; } @@ -391,8 +401,11 @@ private static @NotNull String fixNull(@Nullable String s) { - if (s == null) return ""; - else return s; + if (s == null) { + return ""; + } else { + return s; + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemAction.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemHeaderQName.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemHeaderQName.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/ProblemHeaderQName.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingMetadataConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingMetadataConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CAddressingMetadataConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaClientTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaClientTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaClientTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,6 +27,7 @@ import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.pipe.TubeCloner; @@ -58,7 +59,7 @@ // RelatesTo required as per // Table 5-3 of http://www.w3.org/TR/2006/WD-ws-addr-wsdl-20060216/#wsdl11requestresponse if (expectReply && (packet.getMessage() != null) && !foundRelatesTo) { - String action = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String action = AddressingUtils.getAction(packet.getMessage().getHeaders(), addressingVersion, soapVersion); // Don't check for AddressingFaults as // Faults for requests with duplicate MessageId will have no wsa:RelatesTo if (!packet.getMessage().isFault() || !action.equals(addressingVersion.getDefaultFaultAction())) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaServerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaServerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/W3CWsaServerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -37,12 +37,10 @@ import com.sun.xml.internal.ws.addressing.model.InvalidAddressingHeaderException; import static com.sun.xml.internal.ws.addressing.W3CAddressingConstants.ONLY_NON_ANONYMOUS_ADDRESS_SUPPORTED; import static com.sun.xml.internal.ws.addressing.W3CAddressingConstants.ONLY_ANONYMOUS_ADDRESS_SUPPORTED; -import com.sun.xml.internal.ws.resources.AddressingMessages; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import javax.xml.ws.soap.AddressingFeature; -import javax.xml.ws.WebServiceException; /** * @author Rama Pulavarthi @@ -135,57 +133,4 @@ } } - /* - @Override - protected boolean isAnonymousRequired(@Nullable WSDLBoundOperation wbo) { - return getResponseRequirement(wbo) == AddressingFeature.Responses.ANONYMOUS; - } - - private AddressingFeature.Responses getResponseRequirement(@Nullable WSDLBoundOperation wbo) { - if (af.getResponses() == AddressingFeature.Responses.ALL && wbo != null) { - //wsaw wsdl binding case will have some value set on wbo - WSDLBoundOperation.ANONYMOUS anon = wbo.getAnonymous(); - if (wbo.getAnonymous() == WSDLBoundOperation.ANONYMOUS.required) - return AddressingFeature.Responses.ANONYMOUS; - else if (wbo.getAnonymous() == WSDLBoundOperation.ANONYMOUS.prohibited) - return AddressingFeature.Responses.NON_ANONYMOUS; - else - return AddressingFeature.Responses.ALL; - - } else - return af.getResponses(); - } - - @Override - protected void checkAnonymousSemantics(WSDLBoundOperation wbo, WSEndpointReference replyTo, WSEndpointReference faultTo) { - String replyToValue = null; - String faultToValue = null; - - if (replyTo != null) - replyToValue = replyTo.getAddress(); - - if (faultTo != null) - faultToValue = faultTo.getAddress(); - AddressingFeature.Responses responseRequirement = getResponseRequirement(wbo); - - switch (responseRequirement) { - case NON_ANONYMOUS: - if (replyToValue != null && replyToValue.equals(addressingVersion.anonymousUri)) - throw new InvalidAddressingHeaderException(addressingVersion.replyToTag, ONLY_NON_ANONYMOUS_ADDRESS_SUPPORTED); - - if (faultToValue != null && faultToValue.equals(addressingVersion.anonymousUri)) - throw new InvalidAddressingHeaderException(addressingVersion.faultToTag, ONLY_NON_ANONYMOUS_ADDRESS_SUPPORTED); - break; - case ANONYMOUS: - if (replyToValue != null && !replyToValue.equals(addressingVersion.anonymousUri)) - throw new InvalidAddressingHeaderException(addressingVersion.replyToTag, ONLY_ANONYMOUS_ADDRESS_SUPPORTED); - - if (faultToValue != null && !faultToValue.equals(addressingVersion.anonymousUri)) - throw new InvalidAddressingHeaderException(addressingVersion.faultToTag, ONLY_ANONYMOUS_ADDRESS_SUPPORTED); - break; - default: - // ALL: no check - } - } - */ } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WSEPRExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WSEPRExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WSEPRExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaActionUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaActionUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaActionUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -36,27 +36,28 @@ * @author Rama Pulavarthi */ public class WsaActionUtil { + + @SuppressWarnings("FinalStaticMethod") public static final String getDefaultFaultAction(JavaMethod method, CheckedException ce) { String tns = method.getOwner().getTargetNamespace(); String delim = getDelimiter(tns); - if (tns.endsWith(delim)) + if (tns.endsWith(delim)) { tns = tns.substring(0, tns.length() - 1); - - //this assumes that fromjava case there won't be a standard fault name. - String name = method.getOperationName() + delim + "Fault" + delim + ce.getExceptionClass(); + } return new StringBuilder(tns).append(delim).append( method.getOwner().getPortTypeName().getLocalPart()).append( delim).append(method.getOperationName()).append(delim).append("Fault").append(delim).append(ce.getExceptionClass().getSimpleName()).toString(); } - private static final String getDelimiter(String tns) { + private static String getDelimiter(String tns) { String delim = "/"; // TODO: is this the correct way to find the separator ? try { URI uri = new URI(tns); - if ((uri.getScheme() != null) && uri.getScheme().equalsIgnoreCase("urn")) + if ((uri.getScheme() != null) && uri.getScheme().equalsIgnoreCase("urn")) { delim = ":"; + } } catch (URISyntaxException e) { LOGGER.warning("TargetNamespace of WebService is not a valid URI"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaClientTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaClientTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaClientTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,6 +28,7 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.addressing.model.ActionNotSupportedException; import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; @@ -73,8 +74,9 @@ if (response.getMessage() != null) { response = validateInboundHeaders(response); response.addSatellite(new WsaPropertyBag(addressingVersion,soapVersion,response)); - String msgId = response.getMessage().getHeaders(). - getMessageID(addressingVersion, soapVersion); + String msgId = AddressingUtils. + getMessageID(response.getMessage().getHeaders(), + addressingVersion, soapVersion); response.put(WsaPropertyBag.WSA_MSGID_FROM_REQUEST, msgId); } @@ -90,7 +92,9 @@ if (wbo == null) return; - String gotA = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String gotA = AddressingUtils.getAction( + packet.getMessage().getHeaders(), + addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaPropertyBag.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaPropertyBag.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaPropertyBag.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,11 +25,12 @@ package com.sun.xml.internal.ws.addressing; +import com.oracle.webservices.internal.api.message.BasePropertySet; import com.sun.istack.internal.NotNull; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; @@ -38,6 +39,7 @@ import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamException; + /** * Provides access to the Addressing headers. * @@ -45,7 +47,7 @@ * @author Rama Pulavarthi * @since 2.1.3 */ -public class WsaPropertyBag extends PropertySet { +public class WsaPropertyBag extends BasePropertySet { public static final String WSA_REPLYTO_FROM_REQUEST = "com.sun.xml.internal.ws.addressing.WsaPropertyBag.ReplyToFromRequest"; public static final String WSA_FAULTTO_FROM_REQUEST = "com.sun.xml.internal.ws.addressing.WsaPropertyBag.FaultToFromRequest"; @@ -137,7 +139,7 @@ if (packet.getMessage() == null) { return null; } - return packet.getMessage().getHeaders().getMessageID(addressingVersion,soapVersion); + return AddressingUtils.getMessageID(packet.getMessage().getHeaders(), addressingVersion,soapVersion); } private WSEndpointReference getEPR(QName tag) throws XMLStreamException { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaServerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaServerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaServerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,13 +32,12 @@ import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.WSService; -import com.sun.xml.internal.ws.api.client.WSPortInfo; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.addressing.NonAnonymousResponseProcessor; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; -import com.sun.xml.internal.ws.api.message.HeaderList; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.message.Messages; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; @@ -47,19 +46,13 @@ import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.client.Stub; import com.sun.xml.internal.ws.developer.JAXWSProperties; -import com.sun.xml.internal.ws.developer.WSBindingProvider; import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import com.sun.xml.internal.ws.message.FaultDetailHeader; import com.sun.xml.internal.ws.resources.AddressingMessages; -import com.sun.xml.internal.ws.binding.BindingImpl; import javax.xml.soap.SOAPFault; -import javax.xml.ws.AsyncHandler; -import javax.xml.ws.Dispatch; -import javax.xml.ws.Response; import javax.xml.ws.WebServiceException; import java.net.URI; -import java.util.concurrent.ExecutionException; import java.util.logging.Level; import java.util.logging.Logger; @@ -97,6 +90,7 @@ endpoint = that.endpoint; } + @Override public WsaServerTube copy(TubeCloner cloner) { return new WsaServerTube(this, cloner); } @@ -104,7 +98,9 @@ @Override public @NotNull NextAction processRequest(Packet request) { Message msg = request.getMessage(); - if(msg==null) return doInvoke(next,request); // hmm? + if (msg == null) { + return doInvoke(next,request); + } // hmm? // expose bunch of addressing related properties for advanced applications request.addSatellite(new WsaPropertyBag(addressingVersion,soapVersion,request)); @@ -113,12 +109,12 @@ // so that they can be used after responsePacket is received. // These properties are used if a fault is thrown from the subsequent Pipe/Tubes. - HeaderList hl = request.getMessage().getHeaders(); + MessageHeaders hl = request.getMessage().getHeaders(); String msgId; try { - replyTo = hl.getReplyTo(addressingVersion, soapVersion); - faultTo = hl.getFaultTo(addressingVersion, soapVersion); - msgId = hl.getMessageID(addressingVersion, soapVersion); + replyTo = AddressingUtils.getReplyTo(hl, addressingVersion, soapVersion); + faultTo = AddressingUtils.getFaultTo(hl, addressingVersion, soapVersion); + msgId = AddressingUtils.getMessageID(hl, addressingVersion, soapVersion); } catch (InvalidAddressingHeaderException e) { LOGGER.log(Level.WARNING, addressingVersion.getInvalidMapText()+", Problem header:" + e.getProblemHeader()+ ", Reason: "+ e.getSubsubcode(),e); @@ -144,8 +140,12 @@ } // defaulting - if (replyTo == null) replyTo = addressingVersion.anonymousEpr; - if (faultTo == null) faultTo = replyTo; + if (replyTo == null) { + replyTo = addressingVersion.anonymousEpr; + } + if (faultTo == null) { + faultTo = replyTo; + } // Save a copy into the packet such that we can save it with that // packet if we're going to deliver the response at a later time @@ -160,9 +160,9 @@ Packet p = validateInboundHeaders(request); // if one-way message and WS-A header processing fault has occurred, // then do no further processing - if (p.getMessage() == null) - // request message is invalid, exception is logged by now and response is sent back with null message + if (p.getMessage() == null) { return doReturnWith(p); + } // if we find an error in addressing header, just turn around the direction here if (p.getMessage().isFault()) { @@ -197,19 +197,30 @@ @Override public @NotNull NextAction processException(Throwable t) { - Packet response = Fiber.current().getPacket(); - return processResponse(response.createServerResponse( - SOAPFaultBuilder.createSOAPFaultMessage(soapVersion, null, t), - wsdlPort, response.endpoint.getSEIModel(), binding)); + final Packet response = Fiber.current().getPacket(); + ThrowableContainerPropertySet tc = response.getSatellite(ThrowableContainerPropertySet.class); + if (tc == null) { + tc = new ThrowableContainerPropertySet(t); + response.addSatellite(tc); + } else if (t != tc.getThrowable()) { + // This is a pathological case where an exception happens after a previous exception. + // Make sure you report the latest one. + tc.setThrowable(t); + } + return processResponse(response.endpoint.createServiceResponseForException(tc, response, soapVersion, wsdlPort, + response.endpoint.getSEIModel(), + binding)); } @Override public @NotNull NextAction processResponse(Packet response) { Message msg = response.getMessage(); - if (msg ==null) - return doReturnWith(response); // one way message. Nothing to see here. Move on. + if (msg ==null) { + return doReturnWith(response); + } // one way message. Nothing to see here. Move on. - String to = msg.getHeaders().getTo(addressingVersion, soapVersion); + String to = AddressingUtils.getTo(msg.getHeaders(), + addressingVersion, soapVersion); if (to != null) { replyTo = faultTo = new WSEndpointReference(to, addressingVersion); } @@ -234,17 +245,14 @@ get(WsaPropertyBag.WSA_FAULTTO_FROM_REQUEST); } - WSEndpointReference target = msg.isFault()?faultTo:replyTo; - + WSEndpointReference target = msg.isFault() ? faultTo : replyTo; if (target == null && response.proxy instanceof Stub) { target = ((Stub) response.proxy).getWSEndpointReference(); } - - if(target.isAnonymous() || isAnonymousRequired ) - // the response will go back the back channel. most common case + if (target == null || target.isAnonymous() || isAnonymousRequired) { return doReturnWith(response); - - if(target.isNone()) { + } + if (target.isNone()) { // the caller doesn't want to hear about it, so proceed like one-way response.setMessage(null); return doReturnWith(response); @@ -297,18 +305,23 @@ //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); - if (wsdlBoundOperation == null) + if (wsdlBoundOperation == null) { return; + } - String gotA = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String gotA = AddressingUtils.getAction( + packet.getMessage().getHeaders(), + addressingVersion, soapVersion); - if (gotA == null) + if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); + } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); - if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) + if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; + } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); @@ -326,6 +339,7 @@ checkNonAnonymousAddresses(replyTo,faultTo); } + @SuppressWarnings("ResultOfObjectAllocationIgnored") private void checkNonAnonymousAddresses(WSEndpointReference replyTo, WSEndpointReference faultTo) { if (!replyTo.isAnonymous()) { try { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,8 +30,8 @@ import com.sun.xml.internal.ws.addressing.model.MissingAddressingHeaderException; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Messages; @@ -43,21 +43,16 @@ import com.sun.xml.internal.ws.api.pipe.TubeCloner; import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl; import com.sun.xml.internal.ws.developer.MemberSubmissionAddressingFeature; -import com.sun.xml.internal.ws.developer.WSBindingProvider; import com.sun.xml.internal.ws.message.FaultDetailHeader; import com.sun.xml.internal.ws.resources.AddressingMessages; -import com.sun.xml.internal.ws.binding.BindingImpl; import javax.xml.namespace.QName; import javax.xml.soap.SOAPFault; import javax.xml.stream.XMLStreamException; import javax.xml.ws.WebServiceException; -import javax.xml.ws.Binding; import javax.xml.ws.soap.AddressingFeature; import javax.xml.ws.soap.SOAPBinding; import java.util.Iterator; -import java.util.Set; -import java.util.Arrays; import java.util.logging.Logger; import java.util.logging.Level; @@ -107,16 +102,15 @@ } private void addKnownHeadersToBinding(WSBinding binding) { - Set headerQNames = binding.getKnownHeaders(); for (AddressingVersion addrVersion: AddressingVersion.values()) { - headerQNames.add(addrVersion.actionTag); - headerQNames.add(addrVersion.faultDetailTag); - headerQNames.add(addrVersion.faultToTag); - headerQNames.add(addrVersion.fromTag); - headerQNames.add(addrVersion.messageIDTag); - headerQNames.add(addrVersion.relatesToTag); - headerQNames.add(addrVersion.replyToTag); - headerQNames.add(addrVersion.toTag); + binding.addKnownHeader(addrVersion.actionTag); + binding.addKnownHeader(addrVersion.faultDetailTag); + binding.addKnownHeader(addrVersion.faultToTag); + binding.addKnownHeader(addrVersion.fromTag); + binding.addKnownHeader(addrVersion.messageIDTag); + binding.addKnownHeader(addrVersion.relatesToTag); + binding.addKnownHeader(addrVersion.replyToTag); + binding.addKnownHeader(addrVersion.toTag); } } @@ -206,7 +200,9 @@ if (packet.getMessage().getHeaders() != null) return false; - String action = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String action = AddressingUtils.getAction( + packet.getMessage().getHeaders(), + addressingVersion, soapVersion); if (action == null) return true; @@ -370,7 +366,9 @@ } protected void validateSOAPAction(Packet packet) { - String gotA = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String gotA = AddressingUtils.getAction( + packet.getMessage().getHeaders(), + addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); if(packet.soapAction != null && !packet.soapAction.equals("\"\"") && !packet.soapAction.equals("\""+gotA+"\"")) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,7 +30,7 @@ import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; -import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLFault; @@ -39,6 +39,7 @@ import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.JavaMethod; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.model.wsdl.WSDLOperationImpl; import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.xml.internal.ws.model.CheckedExceptionImpl; @@ -53,7 +54,6 @@ import javax.xml.soap.SOAPFault; import javax.xml.soap.SOAPMessage; import javax.xml.ws.WebServiceException; -import java.util.Map; /** * @author Rama Pulavarthi @@ -75,14 +75,15 @@ if(seiModel != null) { action = getFaultActionFromSEIModel(requestPacket,responsePacket); } - if(action != null) + if (action != null) { return action; - else + } else { action = addVer.getDefaultFaultAction(); + } if (wsdlPort != null) { - QName wsdlOp = requestPacket.getWSDLOperation(); + WSDLOperationMapping wsdlOp = requestPacket.getWSDLOperationMapping(); if (wsdlOp != null) { - WSDLBoundOperation wbo = wsdlPort.getBinding().get(wsdlOp); + WSDLBoundOperation wbo = wsdlOp.getWSDLBoundOperation(); return getFaultAction(wbo, responsePacket); } } @@ -91,29 +92,34 @@ String getFaultActionFromSEIModel(Packet requestPacket, Packet responsePacket) { String action = null; - if (seiModel == null || wsdlPort == null) + if (seiModel == null || wsdlPort == null) { return action; + } try { SOAPMessage sm = responsePacket.getMessage().copy().readAsSOAPMessage(); - if (sm == null) + if (sm == null) { return action; + } - if (sm.getSOAPBody() == null) + if (sm.getSOAPBody() == null) { return action; + } - if (sm.getSOAPBody().getFault() == null) + if (sm.getSOAPBody().getFault() == null) { return action; + } Detail detail = sm.getSOAPBody().getFault().getDetail(); - if (detail == null) + if (detail == null) { return action; + } String ns = detail.getFirstChild().getNamespaceURI(); String name = detail.getFirstChild().getLocalName(); - QName wsdlOp = requestPacket.getWSDLOperation(); - JavaMethodImpl jm = (JavaMethodImpl) seiModel.getJavaMethodForWsdlOperation(wsdlOp); + WSDLOperationMapping wsdlOp = requestPacket.getWSDLOperationMapping(); + JavaMethodImpl jm = (wsdlOp != null) ? (JavaMethodImpl)wsdlOp.getJavaMethod() : null; if (jm != null) { for (CheckedExceptionImpl ce : jm.getCheckedExceptions()) { if (ce.getDetailType().tagName.getLocalPart().equals(name) && @@ -129,28 +135,34 @@ } String getFaultAction(@Nullable WSDLBoundOperation wbo, Packet responsePacket) { - String action = responsePacket.getMessage().getHeaders().getAction(addVer, soapVer); - if (action != null) - return action; + String action = AddressingUtils.getAction(responsePacket.getMessage().getHeaders(), addVer, soapVer); + if (action != null) { + return action; + } action = addVer.getDefaultFaultAction(); - if (wbo == null) + if (wbo == null) { return action; + } try { SOAPMessage sm = responsePacket.getMessage().copy().readAsSOAPMessage(); - if (sm == null) + if (sm == null) { return action; + } - if (sm.getSOAPBody() == null) + if (sm.getSOAPBody() == null) { return action; + } - if (sm.getSOAPBody().getFault() == null) + if (sm.getSOAPBody().getFault() == null) { return action; + } Detail detail = sm.getSOAPBody().getFault().getDetail(); - if (detail == null) + if (detail == null) { return action; + } String ns = detail.getFirstChild().getNamespaceURI(); String name = detail.getFirstChild().getLocalName(); @@ -158,10 +170,10 @@ WSDLOperation o = wbo.getOperation(); WSDLFault fault = o.getFault(new QName(ns, name)); - if (fault == null) + if (fault == null) { return action; + } - WSDLOperationImpl impl = (WSDLOperationImpl)o; action = fault.getAction(); return action; @@ -174,9 +186,9 @@ String action = null; if (wsdlPort != null) { - QName wsdlOp = packet.getWSDLOperation(); + WSDLOperationMapping wsdlOp = packet.getWSDLOperationMapping(); if (wsdlOp != null) { - WSDLBoundOperation wbo = wsdlPort.getBinding().get(wsdlOp); + WSDLBoundOperation wbo = wsdlOp.getWSDLBoundOperation(); WSDLOperation op = wbo.getOperation(); action = op.getInput().getAction(); } @@ -194,18 +206,20 @@ */ public String getEffectiveInputAction(Packet packet) { //non-default SOAPAction beomes wsa:action - if(packet.soapAction != null && !packet.soapAction.equals("")) - return packet.soapAction; - String action = null; + if(packet.soapAction != null && !packet.soapAction.equals("")) { + return packet.soapAction; + } + String action; if (wsdlPort != null) { - QName wsdlOp = packet.getWSDLOperation(); + WSDLOperationMapping wsdlOp = packet.getWSDLOperationMapping(); if (wsdlOp != null) { - WSDLBoundOperation wbo = wsdlPort.getBinding().get(wsdlOp); + WSDLBoundOperation wbo = wsdlOp.getWSDLBoundOperation(); WSDLOperation op = wbo.getOperation(); action = op.getInput().getAction(); - } else + } else { action = packet.soapAction; + } } else { action = packet.soapAction; } @@ -213,12 +227,14 @@ } public boolean isInputActionDefault(Packet packet) { - if (wsdlPort == null) + if (wsdlPort == null) { return false; - QName wsdlOp = packet.getWSDLOperation(); - if(wsdlOp == null) + } + WSDLOperationMapping wsdlOp = packet.getWSDLOperationMapping(); + if(wsdlOp == null) { return false; - WSDLBoundOperation wbo = wsdlPort.getBinding().get(wsdlOp); + } + WSDLBoundOperation wbo = wsdlOp.getWSDLBoundOperation(); WSDLOperation op = wbo.getOperation(); return ((WSDLOperationImpl) op).getInput().isDefaultAction(); @@ -227,17 +243,20 @@ public String getSOAPAction(Packet packet) { String action = ""; - if (packet == null || packet.getMessage() == null) + if (packet == null || packet.getMessage() == null) { return action; - - if (wsdlPort == null) - return action; + } - QName opName = packet.getWSDLOperation(); - if(opName == null) + if (wsdlPort == null) { return action; + } - WSDLBoundOperation op = wsdlPort.getBinding().get(opName); + WSDLOperationMapping wsdlOp = packet.getWSDLOperationMapping(); + if (wsdlOp == null) { + return action; + } + + WSDLBoundOperation op = wsdlOp.getWSDLBoundOperation(); action = op.getSOAPAction(); return action; } @@ -245,18 +264,17 @@ public String getOutputAction(Packet packet) { //String action = AddressingVersion.UNSET_OUTPUT_ACTION; String action = null; - QName wsdlOp = packet.getWSDLOperation(); + WSDLOperationMapping wsdlOp = packet.getWSDLOperationMapping(); if (wsdlOp != null) { - if (seiModel != null) { - JavaMethodImpl jm = (JavaMethodImpl) seiModel.getJavaMethodForWsdlOperation(wsdlOp); + JavaMethod javaMethod = wsdlOp.getJavaMethod(); + if (javaMethod != null) { + JavaMethodImpl jm = (JavaMethodImpl) javaMethod; if (jm != null && jm.getOutputAction() != null && !jm.getOutputAction().equals("")) { return jm.getOutputAction(); } } - if (wsdlPort != null) { - WSDLBoundOperation wbo = wsdlPort.getBinding().get(wsdlOp); - return getOutputAction(wbo); - } + WSDLBoundOperation wbo = wsdlOp.getWSDLBoundOperation(); + if (wbo != null) return getOutputAction(wbo); } return action; } @@ -265,8 +283,9 @@ String action = AddressingVersion.UNSET_OUTPUT_ACTION; if (wbo != null) { WSDLOutput op = wbo.getOperation().getOutput(); - if (op != null) + if (op != null) { action = op.getAction(); + } } return action; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelperImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelperImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/WsaTubeHelperImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/ActionNotSupportedException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/ActionNotSupportedException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/ActionNotSupportedException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/InvalidAddressingHeaderException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/InvalidAddressingHeaderException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/InvalidAddressingHeaderException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/MissingAddressingHeaderException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/MissingAddressingHeaderException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/model/MissingAddressingHeaderException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingFeatureConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingFeatureConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingFeatureConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyMapConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyMapConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyMapConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyValidator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyValidator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPolicyValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPrefixMapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPrefixMapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/policy/AddressingPrefixMapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionAddressingConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionAddressingConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionAddressingConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -37,6 +37,8 @@ public static final String WSA_NAMESPACE_WSDL_NAME = WSA_NAMESPACE_NAME; public static final String WSA_NAMESPACE_POLICY_NAME = "http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"; + public static final QName WSA_ACTION_QNAME = new QName(WSA_NAMESPACE_NAME,"Action"); + public static final String WSA_SERVICENAME_NAME = "ServiceName"; public static final String WSA_PORTTYPE_NAME = "PortType"; public static final String WSA_PORTNAME_NAME = "PortName"; @@ -44,6 +46,9 @@ public static final String WSA_ADDRESS_NAME = "Address"; public static final QName WSA_ADDRESS_QNAME = new QName(WSA_NAMESPACE_NAME, WSA_ADDRESS_NAME); + public static final String WSA_EPR_NAME = "EndpointReference"; + public static final QName WSA_EPR_QNAME = new QName(WSA_NAMESPACE_NAME, WSA_EPR_NAME); + public static final String WSA_ANONYMOUS_ADDRESS = WSA_NAMESPACE_NAME + "/role/anonymous"; public static final String WSA_NONE_ADDRESS = ""; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaClientTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaClientTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaClientTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,6 +29,7 @@ import com.sun.xml.internal.ws.addressing.model.MissingAddressingHeaderException; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.pipe.TubeCloner; @@ -72,7 +73,7 @@ // RelatesTo required as per // Table 5-3 of http://www.w3.org/TR/2006/WD-ws-addr-wsdl-20060216/#wsdl11requestresponse if (expectReply && (packet.getMessage() != null) && !foundRelatesTo) { - String action = packet.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String action = AddressingUtils.getAction(packet.getMessage().getHeaders(), addressingVersion, soapVersion); // Don't check for AddressingFaults as // Faults for requests with duplicate MessageId will have no wsa:RelatesTo if (!packet.getMessage().isFault() || !action.equals(addressingVersion.getDefaultFaultAction())) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaServerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaServerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/MemberSubmissionWsaServerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemAction.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemHeaderQName.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemHeaderQName.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/ProblemHeaderQName.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/WsaTubeHelperImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/WsaTubeHelperImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/addressing/v200408/WsaTubeHelperImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingID.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingID.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingID.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,10 +35,8 @@ import com.sun.xml.internal.ws.encoding.SOAPBindingCodec; import com.sun.xml.internal.ws.encoding.XMLHTTPBindingCodec; import com.sun.xml.internal.ws.encoding.soap.streaming.SOAPNamespaceConstants; -import com.sun.xml.internal.ws.encoding.soap.streaming.SOAP12NamespaceConstants; import com.sun.xml.internal.ws.util.ServiceFinder; import com.sun.xml.internal.ws.developer.JAXWSProperties; -import static com.sun.xml.internal.ws.binding.WebServiceFeatureList.toFeatureArray; import javax.xml.ws.BindingType; import javax.xml.ws.WebServiceException; @@ -157,6 +155,7 @@ * @return * Always non-null same value. */ + @Override public abstract String toString(); /** @@ -218,12 +217,14 @@ /** * Compares the equality based on {@link #toString()}. */ + @Override public boolean equals(Object obj) { if(!(obj instanceof BindingID)) return false; return toString().equals(obj.toString()); } + @Override public int hashCode() { return toString().hashCode(); } @@ -353,6 +354,7 @@ * Constant that represents REST. */ public static final BindingID XML_HTTP = new Impl(SOAPVersion.SOAP_11, HTTPBinding.HTTP_BINDING,false) { + @Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } @@ -362,6 +364,7 @@ * Constant that represents REST. */ private static final BindingID REST_HTTP = new Impl(SOAPVersion.SOAP_11, JAXWSProperties.REST_BINDING,true) { + @Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } @@ -378,15 +381,18 @@ this.canGenerateWSDL = canGenerateWSDL; } + @Override public SOAPVersion getSOAPVersion() { return version; } + @Override public String toString() { return lexical; } @Deprecated + @Override public boolean canGenerateWSDL() { return canGenerateWSDL; } @@ -399,7 +405,6 @@ /*final*/ Map parameters = new HashMap(); static final String MTOM_PARAM = "mtom"; - Boolean mtomSetting = null; public SOAPHTTPImpl(SOAPVersion version, String lexical, boolean canGenerateWSDL) { super(version, lexical, canGenerateWSDL); @@ -410,10 +415,9 @@ this(version, lexical, canGenerateWSDL); String mtomStr = mtomEnabled ? "true" : "false"; parameters.put(MTOM_PARAM, mtomStr); - mtomSetting = mtomEnabled; } - public @NotNull Codec createEncoder(WSBinding binding) { + public @NotNull @Override Codec createEncoder(WSBinding binding) { return new SOAPBindingCodec(binding.getFeatures()); } @@ -422,6 +426,7 @@ return mtom==null?null:Boolean.valueOf(mtom); } + @Override public WebServiceFeatureList createBuiltinFeatureList() { WebServiceFeatureList r=super.createBuiltinFeatureList(); Boolean mtom = isMTOMEnabled(); @@ -430,10 +435,16 @@ return r; } + @Override public String getParameter(String parameterName, String defaultValue) { if (parameters.get(parameterName) == null) return super.getParameter(parameterName, defaultValue); return parameters.get(parameterName); } + + @Override + public SOAPHTTPImpl clone() throws CloneNotSupportedException { + return (SOAPHTTPImpl) super.clone(); + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingIDFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingIDFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/BindingIDFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -63,4 +63,27 @@ * {@link BindingID#parse(String)} will throw the exception. */ public abstract @Nullable BindingID parse(@NotNull String lexical) throws WebServiceException; + + /** + * Creates a {@link BindingID} for given transport and SOAPVersion. + * + * @return + * a non-null return value would cause the JAX-WS RI to consider + * the creation to be successful. No furhter {@link BindingIDFactory} + * will be consulted. + * + *

+ * Retruning a null value indicates that this factory doesn't understand + * the transport, in which case the JAX-WS RI will keep asking next + * {@link BindingIDFactory}. + * + * @throws WebServiceException + * if the implementation understood the transport but it is not correct, + * this exception can be thrown to abort the creation with error. + * No further {@link BindingIDFactory} will be consulted, and + * {@link BindingID#create(String, SOAPVersion)} will throw the exception. + */ + public @Nullable BindingID create(@NotNull String transport, @NotNull SOAPVersion soapVersion) throws WebServiceException { + return null; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/Cancelable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/Cancelable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/Cancelable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/Component.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/Component.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/Component.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,6 +27,7 @@ import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.server.WSEndpoint; /** * Interface that allows components to hook up with each other. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentEx.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentEx.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentEx.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -40,7 +40,7 @@ *

* This method works as a kind of directory service * for SPIs, allowing various components to define private contract - * and talk to each other. However unlike {@link Component.getSPI}, this + * and talk to each other. However unlike {@link Component#getSPI(java.lang.Class)}, this * method can support cases where there is an ordered collection (defined * by {@link Iterable} of implementations. The SPI contract should define * whether lookups are for the first appropriate implementation or whether diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,9 @@ package com.sun.xml.internal.ws.api; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.client.Stub; import javax.xml.ws.WebServiceFeature; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentRegistry.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentRegistry.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentRegistry.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -32,7 +32,7 @@ /** * Registry for component delegates. It is expected that implementations of * ComponentRegistry will delegate to registered {@link Component}s in its own - * implementation of {@link Component.getSPI}, either before or after it + * implementation of {@link Component#getSPI(java.lang.Class)}, either before or after it * considers its own SPI implementations. * * @since 2.2.6 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentsFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ComponentsFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,74 @@ +/* + * 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.api; + +import java.util.List; + +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.client.Stub; +import javax.xml.ws.WebServiceFeature; + +/** + * Allows registration of multiple {@link Component}s against the {@link ComponentRegistry} implementations + * of the {@link Container}, {@link WSEndpoint}, {@link WSService}, or {@link Stub}. The + * registration is guaranteed to occur early in the initialization of these objects prior to tubeline creation + * (applicable to endpoint and stub only). + *

+ * Because the Container is shared among all Stubs created from a common WSService object, this feature must + * be passed during WSService initialization in order to register a Component against the client-side Container. + *

+ * IllegalArgumentException will be thrown if the feature is used with an inappropriate target, e.g. stub target + * used during WSEndpoint initialization. + * + * @since 2.2.8 + */ +public class ComponentsFeature extends WebServiceFeature implements ServiceSharedFeatureMarker { + private final List componentFeatures; + + /** + * Constructs ComponentFeature with indicated component and target + * @param component component + * @param target target + */ + public ComponentsFeature(List componentFeatures) { + this.enabled = true; + this.componentFeatures = componentFeatures; + } + + @Override + public String getID() { + return ComponentsFeature.class.getName(); + } + + /** + * Retrieves component + * @return component + */ + public List getComponentFeatures() { + return componentFeatures; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/DistributedPropertySet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/DistributedPropertySet.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/DistributedPropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,163 +26,40 @@ package com.sun.xml.internal.ws.api; import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.message.Packet; -import com.sun.xml.internal.ws.client.RequestContext; -import com.sun.xml.internal.ws.client.ResponseContext; - -import javax.xml.soap.SOAPException; -import javax.xml.soap.SOAPMessage; -import javax.xml.ws.WebServiceContext; -import java.util.Map.Entry; -import java.util.IdentityHashMap; -import java.util.Map; -import java.util.Set; /** - * {@link PropertySet} that combines properties exposed from multiple - * {@link PropertySet}s into one. - * - *

- * This implementation allows one {@link PropertySet} to assemble - * all properties exposed from other "satellite" {@link PropertySet}s. - * (A satellite may itself be a {@link DistributedPropertySet}, so - * in general this can form a tree.) - * - *

- * This is useful for JAX-WS because the properties we expose to the application - * are contributed by different pieces, and therefore we'd like each of them - * to have a separate {@link PropertySet} implementation that backs up - * the properties. For example, this allows FastInfoset to expose its - * set of properties to {@link RequestContext} by using a strongly-typed fields. + * Placeholder for backwards compatibility. * - *

- * This is also useful for a client-side transport to expose a bunch of properties - * into {@link ResponseContext}. It simply needs to create a {@link PropertySet} - * object with methods for each property it wants to expose, and then add that - * {@link PropertySet} to {@link Packet}. This allows property values to be - * lazily computed (when actually asked by users), thus improving the performance - * of the typical case where property values are not asked. - * - *

- * A similar benefit applies on the server-side, for a transport to expose - * a bunch of properties to {@link WebServiceContext}. - * - *

- * To achieve these benefits, access to {@link DistributedPropertySet} is slower - * compared to {@link PropertySet} (such as get/set), while adding a satellite - * object is relatively fast. - * + * @deprecated Use com.oracle.webservices.internal.api.message.DistributedPropertySet instead. * @author Kohsuke Kawaguchi */ -public abstract class DistributedPropertySet - extends PropertySet - implements com.sun.xml.internal.org.jvnet.ws.message.DistributedPropertySet -{ +public abstract class DistributedPropertySet extends com.oracle.webservices.internal.api.message.BaseDistributedPropertySet { + /** - * All {@link PropertySet}s that are bundled into this {@link PropertySet}. + * @deprecated */ - private final Map satellites = new IdentityHashMap(); - public void addSatellite(@NotNull PropertySet satellite) { - addSatellite(satellite.getClass(), satellite); - } - - public void addSatellite(@NotNull Class keyClass, @NotNull PropertySet satellite) { - satellites.put(keyClass, satellite); - } - - public void copySatelliteInto(@NotNull DistributedPropertySet r) { - r.satellites.putAll(this.satellites); + super.addSatellite(satellite); } - public @Nullable T getSatellite(Class satelliteClass) { - T satellite = (T) satellites.get(satelliteClass); - if (satellite != null) - return satellite; - - for (PropertySet child : satellites.values()) { - if (satelliteClass.isInstance(child)) { - return satelliteClass.cast(child); - } - - if (DistributedPropertySet.class.isInstance(child)) { - satellite = DistributedPropertySet.class.cast(child).getSatellite(satelliteClass); - if (satellite != null) { - return satellite; - } - } - } - return null; - } - - @Override - public Object get(Object key) { - // check satellites - for (PropertySet child : satellites.values()) { - if(child.supports(key)) - return child.get(key); - } - - // otherwise it must be the master - return super.get(key); - } - - @Override - public Object put(String key, Object value) { - // check satellites - for (PropertySet child : satellites.values()) { - if(child.supports(key)) - return child.put(key,value); - } - - // otherwise it must be the master - return super.put(key,value); + /** + * @deprecated + */ + public void addSatellite(@NotNull Class keyClass, @NotNull PropertySet satellite) { + super.addSatellite(keyClass, satellite); } - @Override - public boolean supports(Object key) { - // check satellites - for (PropertySet child : satellites.values()) { - if(child.supports(key)) - return true; - } - - return super.supports(key); - } - - @Override - public Object remove(Object key) { - // check satellites - for (PropertySet child : satellites.values()) { - if(child.supports(key)) - return child.remove(key); - } - - return super.remove(key); + /** + * @deprecated + */ + public void copySatelliteInto(@NotNull DistributedPropertySet r) { + super.copySatelliteInto(r); } - @Override - /*package*/ void createEntrySet(Set> core) { - super.createEntrySet(core); - for (PropertySet child : satellites.values()) { - child.createEntrySet(core); - } - } - - public void addSatellite(com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite) { - addSatellite((PropertySet)satellite); - } - - public void addSatellite(@NotNull Class keyClass, @NotNull com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite) { - addSatellite(keyClass, (PropertySet)satellite); - } - - public void removeSatellite(com.sun.xml.internal.org.jvnet.ws.message.PropertySet satellite) { - removeSatellite((PropertySet)satellite); - } - - public void copySatelliteInto(com.sun.xml.internal.org.jvnet.ws.message.MessageContext r) { - copySatelliteInto((DistributedPropertySet)r); + /** + * @deprecated + */ + public void removeSatellite(PropertySet satellite) { + super.removeSatellite(satellite); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/EndpointAddress.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/EndpointAddress.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/EndpointAddress.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,7 +25,6 @@ package com.sun.xml.internal.ws.api; - import com.sun.istack.internal.Nullable; import javax.xml.ws.WebServiceException; @@ -155,6 +154,7 @@ ProxySelector sel = java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { + @Override public ProxySelector run() { return ProxySelector.getDefault(); } @@ -209,7 +209,6 @@ * if the code is written correctly this shall never happen. */ public URLConnection openConnection() throws IOException { - assert url!=null : uri+" doesn't have the corresponding URL"; if (url == null) { throw new WebServiceException("URI="+uri+" doesn't have the corresponding URL"); } @@ -226,6 +225,7 @@ return url.openConnection(); } + @Override public String toString() { return stringForm; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureConstructor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureConstructor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureConstructor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureListValidator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureListValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -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.api; + +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.WebServiceException; + +/** + * Validates a list of {@link WebServiceFeature} instances when they are added to + * the client or service binding. + *

+ * {@link WebServiceFeature} classes may specify validator beans using {@link FeatureListValidatorAnnotation}. + *

+ * Current behavior will allow runtime components to add features to the binding after initial validation; however, + * this behavior is discouraged and will not be supported in later releases of the reference + * implementation. + * + * @since 2.2.8 + * @see FeatureListValidatorAnnotation + */ +public interface FeatureListValidator { + /** + * Validates feature list. Implementations should throw {@link WebServiceException} if the + * list of features is invalid. Implementations may add features to the list or make other + * changes; however, only validators belonging to features on the original list will be + * invoked. + * + * @param list feature list + */ + public void validate(WSFeatureList list); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureListValidatorAnnotation.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/FeatureListValidatorAnnotation.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,51 @@ +/* + * 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.api; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import javax.xml.ws.WebServiceFeature; + +/** + * This annotation should be used on classes that extend {@link WebServiceFeature} in + * order to specify the type of {@link FeatureListValidator} bean that will be invoked when + * instances of the {@link WebServiceFeature} class are included in the list of features + * that are added to a client or service binding. + * + * @since 2.2.8 + */ +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface FeatureListValidatorAnnotation { + /** + * The FeatureListValidator bean that is associated + * with the FeatureListValidator annotation + */ + Class bean(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ImpliesWebServiceFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ImpliesWebServiceFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ImpliesWebServiceFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -38,6 +38,7 @@ * user had already specified a different addressing version. * * @since 2.2.6 + * @deprecated use {@link FeatureListValidatorAnnotation} */ public interface ImpliesWebServiceFeature { /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/PropertySet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/PropertySet.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/PropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,256 +25,35 @@ package com.sun.xml.internal.ws.api; -import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.util.ReadOnlyPropertyException; - -import java.lang.reflect.Field; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.security.AccessController; -import java.security.PrivilegedAction; -import java.util.AbstractMap; -import java.util.HashMap; -import java.util.HashSet; import java.util.Map; +import java.util.Set; import java.util.Map.Entry; -import java.util.Set; /** - * A set of "properties" that can be accessed via strongly-typed fields - * as well as reflexibly through the property name. + * Placeholder for backwards compatibility. * - * @author Kohsuke Kawaguchi + * @deprecated Use com.oracle.webservices.internal.api.message.PropertySet instead. + * @author snajper */ -@SuppressWarnings("SuspiciousMethodCalls") -public abstract class PropertySet implements com.sun.xml.internal.org.jvnet.ws.message.PropertySet { - +public abstract class PropertySet extends com.oracle.webservices.internal.api.message.BasePropertySet { /** - * Creates a new instance of TypedMap. - */ - protected PropertySet() {} - - /** - * Represents the list of strongly-typed known propertyies + * Represents the list of strongly-typed known properties * (keyed by property names.) * *

* Just giving it an alias to make the use of this class more fool-proof. - */ - protected static final class PropertyMap extends HashMap {} - - /** - * Map representing the Fields and Methods annotated with {@link Property}. - * Model of {@link PropertySet} class. - * - *

- * At the end of the derivation chain this method just needs to be implemented - * as: - * - *

-     * private static final PropertyMap model;
-     * static {
-     *   model = parse(MyDerivedClass.class);
-     * }
-     * protected PropertyMap getPropertyMap() {
-     *   return model;
-     * }
-     * 
+ * @deprecated */ - protected abstract PropertyMap getPropertyMap(); - - // maybe we can use this some time - ///** - // * If all the properties defined on this {@link PropertySet} has a certain prefix - // * (such as, say, "javax.xml.ws.http."), then return it. - // * - // *

- // * Returning a non-null name from this method allows methods like - // * {@link #get(Object)} and {@link #put(String, Object)} to work faster. - // * This is especially so with {@link DistributedPropertySet}, so implementations - // * are encouraged to set a common prefix, as much as possible. - // * - // *

- // * Currently, this is used only by {@link DistributedPropertySet}. - // * - // * @return - // * Null if no such common prefix exists. Otherwise string like - // * "javax.xml.ws.http." (the dot at the last is usually preferrable, - // * so that properties like "javax.xml.ws.https.something" won't match. - // */ - //protected abstract String getPropertyPrefix(); - - /** - * This method parses a class for fields and methods with {@link Property}. - */ - protected static PropertyMap parse(final Class clazz) { - // make all relevant fields and methods accessible. - // this allows runtime to skip the security check, so they runs faster. - return AccessController.doPrivileged(new PrivilegedAction() { - public PropertyMap run() { - PropertyMap props = new PropertyMap(); - for( Class c=clazz; c!=null; c=c.getSuperclass()) { - for (Field f : c.getDeclaredFields()) { - Property cp = f.getAnnotation(Property.class); - if(cp!=null) { - for(String value : cp.value()) { - props.put(value, new FieldAccessor(f, value)); - } - } - } - for (Method m : c.getDeclaredMethods()) { - Property cp = m.getAnnotation(Property.class); - if(cp!=null) { - String name = m.getName(); - assert name.startsWith("get") || name.startsWith("is"); - - String setName = name.startsWith("is") ? "set"+name.substring(3) : // isFoo -> setFoo - 's'+name.substring(1); // getFoo -> setFoo - Method setter; - try { - setter = clazz.getMethod(setName,m.getReturnType()); - } catch (NoSuchMethodException e) { - setter = null; // no setter - } - for(String value : cp.value()) { - props.put(value, new MethodAccessor(m, setter, value)); - } - } - } - } - - return props; - } - }); - } + protected static class PropertyMap extends com.oracle.webservices.internal.api.message.BasePropertySet.PropertyMap {} /** - * Represents a typed property defined on a {@link PropertySet}. + * @deprecated */ - protected interface Accessor { - String getName(); - boolean hasValue(PropertySet props); - Object get(PropertySet props); - void set(PropertySet props, Object value); - } - - static final class FieldAccessor implements Accessor { - /** - * Field with the annotation. - */ - private final Field f; - - /** - * One of the values in {@link Property} annotation on {@link #f}. - */ - private final String name; - - protected FieldAccessor(Field f, String name) { - this.f = f; - f.setAccessible(true); - this.name = name; - } - - public String getName() { - return name; - } - - public boolean hasValue(PropertySet props) { - return get(props)!=null; - } - - public Object get(PropertySet props) { - try { - return f.get(props); - } catch (IllegalAccessException e) { - throw new AssertionError(); - } - } - - public void set(PropertySet props, Object value) { - try { - f.set(props,value); - } catch (IllegalAccessException e) { - throw new AssertionError(); - } - } - } - - static final class MethodAccessor implements Accessor { - /** - * Getter method. - */ - private final @NotNull Method getter; - /** - * Setter method. - * Some property is read-only. - */ - private final @Nullable Method setter; - - /** - * One of the values in {@link Property} annotation on {@link #getter}. - */ - private final String name; - - protected MethodAccessor(Method getter, Method setter, String value) { - this.getter = getter; - this.setter = setter; - this.name = value; - getter.setAccessible(true); - if(setter!=null) - setter.setAccessible(true); - } - - public String getName() { - return name; - } - - public boolean hasValue(PropertySet props) { - return get(props)!=null; - } - - public Object get(PropertySet props) { - try { - return getter.invoke(props); - } catch (IllegalAccessException e) { - throw new AssertionError(); - } catch (InvocationTargetException e) { - handle(e); - return 0; // never reach here - } - } - - public void set(PropertySet props, Object value) { - if(setter==null) - throw new ReadOnlyPropertyException(getName()); - try { - setter.invoke(props,value); - } catch (IllegalAccessException e) { - throw new AssertionError(); - } catch (InvocationTargetException e) { - handle(e); - } - } - - /** - * Since we don't expect the getter/setter to throw a checked exception, - * it should be possible to make the exception propagation transparent. - * That's what we are trying to do here. - */ - private Exception handle(InvocationTargetException e) { - Throwable t = e.getTargetException(); - if(t instanceof Error) - throw (Error)t; - if(t instanceof RuntimeException) - throw (RuntimeException)t; - throw new Error(e); - } - } - - - public final boolean containsKey(Object key) { - return get(key)!=null; + protected static PropertyMap parse(final Class clazz) { + com.oracle.webservices.internal.api.message.BasePropertySet.PropertyMap pm = com.oracle.webservices.internal.api.message.BasePropertySet.parse(clazz); + PropertyMap map = new PropertyMap(); + map.putAll(pm); + return map; } /** @@ -316,9 +95,6 @@ } } - /** - * Checks if this {@link PropertySet} supports a property of the given name. - */ public boolean supports(Object key) { return getPropertyMap().containsKey(key); } @@ -334,39 +110,7 @@ } } - - /** - * Lazily created view of {@link Property}s that - * forms the core of {@link #createMapView()}. - */ - /*package*/ Set> mapViewCore; - - /** - * Creates a {@link Map} view of this {@link PropertySet}. - * - *

- * This map is partially live, in the sense that values you set to it - * will be reflected to {@link PropertySet}. - * - *

- * However, this map may not pick up changes made - * to {@link PropertySet} after the view is created. - * - * @return - * always non-null valid instance. - */ - public final Map createMapView() { - final Set> core = new HashSet>(); - createEntrySet(core); - - return new AbstractMap() { - public Set> entrySet() { - return core; - } - }; - } - - /*package*/ void createEntrySet(Set> core) { + protected void createEntrySet(Set> core) { for (final Entry e : getPropertyMap().entrySet()) { core.add(new Entry() { public String getKey() { @@ -386,4 +130,6 @@ }); } } + + protected abstract PropertyMap getPropertyMap(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ResourceLoader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ResourceLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ResourceLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/SOAPVersion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/SOAPVersion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/SOAPVersion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -36,8 +36,8 @@ import javax.xml.soap.SOAPFactory; import javax.xml.ws.soap.SOAPBinding; -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyle; -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyleFeature; +import com.oracle.webservices.internal.api.EnvelopeStyle; +import com.oracle.webservices.internal.api.EnvelopeStyleFeature; import java.util.Arrays; import java.util.Collections; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ServiceSharedFeatureMarker.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ServiceSharedFeatureMarker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ServiceSharedFeatureMarker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -39,6 +39,7 @@ import java.util.List; import java.util.Set; + /** * JAX-WS implementation of {@link Binding}. * @@ -97,7 +98,8 @@ */ @NotNull BindingID getBindingId(); - @NotNull List getHandlerChain(); + @NotNull@Override + List getHandlerChain(); /** * Checks if a particular {@link WebServiceFeature} is enabled. @@ -188,10 +190,20 @@ @NotNull final QName messageName); /** - * Returns set of header QNames known to be supported by this binding. Tubes should use this - * Set to add QNames for headers they process so that must-understand processing can validate - * headers on inbound messages + * Returns set of header QNames known to be supported by this binding. * @return Set of known QNames */ @NotNull Set getKnownHeaders(); + + /** + * Adds header QName to set known to be supported by this binding + * @param knownHeader Known header QName + * @return true, if new entry was added; false, if known header QName was already known + */ + boolean addKnownHeader(QName knownHeader); + + /** + * @return A MessageContextFactory configured according to the binding's features. + */ + @NotNull com.oracle.webservices.internal.api.message.MessageContextFactory getMessageContextFactory(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSDLLocator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSDLLocator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSDLLocator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSFeatureList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSFeatureList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSFeatureList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSService.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSService.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WSService.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -82,13 +82,13 @@ public abstract T getPort(WSEndpointReference epr, Class portInterface, WebServiceFeature... features); /** - * Works like {@link #createDispatch(EndpointReference, Class, Mode, WebServiceFeature[])} + * Works like {@link #createDispatch(javax.xml.ws.EndpointReference, java.lang.Class, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])} * but it takes the port name separately, so that EPR without embedded metadata can be used. */ public abstract Dispatch createDispatch(QName portName, WSEndpointReference wsepr, Class aClass, Service.Mode mode, WebServiceFeature... features); /** - * Works like {@link #createDispatch(EndpointReference, JAXBContext, Mode, WebServiceFeature[])} + * Works like {@link #createDispatch(javax.xml.ws.EndpointReference, javax.xml.bind.JAXBContext, javax.xml.ws.Service.Mode, javax.xml.ws.WebServiceFeature[])} * but it takes the port name separately, so that EPR without embedded metadata can be used. */ public abstract Dispatch createDispatch(QName portName, WSEndpointReference wsepr, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... features); @@ -113,7 +113,7 @@ return s; } - return null; + return getContainer().getSPI(spiType); } public @NotNull Set getComponents() { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/WebServiceFeatureFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WebServiceFeatureFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/WebServiceFeatureFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/AddressingPropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/AddressingPropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,82 @@ +/* + * Copyright (c) 1997, 2013, 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.api.addressing; + +import com.sun.xml.internal.ws.api.message.Packet; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import javax.xml.ws.handler.MessageContext; +import java.util.List; +import java.util.Map; + +/** + *

This property set exists so the upper stack can SET addressing info + * on a PER-REQUEST basis (instead of a per proxy/dispatch basis via OneWayFeature).

+ * + *

This class is NOT used for reading addressing header values.

+ */ +public class AddressingPropertySet extends BasePropertySet { + + // NOTE: Setting ACTION on client side is covered by standard BindingProvider. + + public static final String ADDRESSING_FAULT_TO = "com.sun.xml.internal.ws.api.addressing.fault.to"; + private String faultTo; + @Property(ADDRESSING_FAULT_TO) + public String getFaultTo() { return faultTo; } + public void setFaultTo(final String x) { faultTo = x; } + + public static final String ADDRESSING_MESSAGE_ID = "com.sun.xml.internal.ws.api.addressing.message.id"; + private String messageId; + public String getMessageId() { return messageId; } + public void setMessageId(final String x) { messageId = x; } + + public static final String ADDRESSING_RELATES_TO = "com.sun.xml.internal.ws.api.addressing.relates.to"; + @Property(ADDRESSING_RELATES_TO) + private String relatesTo; + public String getRelatesTo() { return relatesTo; } + public void setRelatesTo(final String x) { relatesTo = x; } + + public static final String ADDRESSING_REPLY_TO = "com.sun.xml.internal.ws.api.addressing.reply.to"; + @Property(ADDRESSING_REPLY_TO) + private String replyTo; + public String getReplyTo() { return replyTo; } + public void setReplyTo(final String x) { replyTo = x; } + + //////////////////////////////////////////////////// + // + // PropertySet boilerplate + // + + private static final PropertyMap model; + + static { + model = parse(AddressingPropertySet.class); + } + + @Override + protected PropertyMap getPropertyMap() { + return model; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/AddressingVersion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/AddressingVersion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/AddressingVersion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/EPRHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/EPRHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/EPRHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,18 +25,27 @@ package com.sun.xml.internal.ws.api.addressing; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.Writer; + import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.message.AbstractHeaderImpl; import com.sun.xml.internal.ws.util.xml.XmlUtil; + +import org.w3c.dom.Document; +import org.w3c.dom.Node; import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; import javax.xml.namespace.QName; +import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.soap.SOAPException; import javax.xml.soap.SOAPMessage; import javax.xml.soap.SOAPHeader; +import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; @@ -102,7 +111,19 @@ SOAPHeader header = saaj.getSOAPHeader(); if (header == null) header = saaj.getSOAPPart().getEnvelope().addHeader(); - t.transform(epr.asSource(localName), new DOMResult(header)); +// TODO workaround for oracle xdk bug 16555545, when this bug is fixed the line below can be +// uncommented and all lines below, except the catch block, can be removed. +// t.transform(epr.asSource(localName), new DOMResult(header)); + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + XMLStreamWriter w = XMLOutputFactory.newFactory().createXMLStreamWriter(baos); + epr.writeTo(localName, w); + w.flush(); + ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); + DocumentBuilderFactory fac = DocumentBuilderFactory.newInstance(); + fac.setNamespaceAware(true); + Node eprNode = fac.newDocumentBuilder().parse(bais).getDocumentElement(); + Node eprNodeToAdd = header.getOwnerDocument().importNode(eprNode, true); + header.appendChild(eprNodeToAdd); } catch (Exception e) { throw new SOAPException(e); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/NonAnonymousResponseProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/NonAnonymousResponseProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/NonAnonymousResponseProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OneWayFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OneWayFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OneWayFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,7 +30,6 @@ import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.FeatureConstructor; -import com.sun.xml.internal.ws.api.message.HeaderList; import javax.xml.ws.WebServiceFeature; @@ -63,6 +62,7 @@ */ public static final String ID = "http://java.sun.com/xml/ns/jaxws/addressing/oneway"; + private String messageId; private WSEndpointReference replyTo; private WSEndpointReference sslReplyTo; private WSEndpointReference from; @@ -115,6 +115,23 @@ this.relatesToID = relatesTo; } + public OneWayFeature(final AddressingPropertySet a, AddressingVersion v) { + this.enabled = true; + this.messageId = a.getMessageId(); + this.relatesToID = a.getRelatesTo(); + this.replyTo = makeEPR(a.getReplyTo(), v); + this.faultTo = makeEPR(a.getFaultTo(), v); + } + + private WSEndpointReference makeEPR(final String x, final AddressingVersion v) { + if (x == null) { return null; } + return new WSEndpointReference(x, v); + } + + public String getMessageId() { + return messageId; + } + /** * {@inheritDoc} */ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OutboundReferenceParameterHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OutboundReferenceParameterHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/OutboundReferenceParameterHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -80,21 +80,26 @@ this.localName = localName; } + @Override public @NotNull String getNamespaceURI() { return nsUri; } + @Override public @NotNull String getLocalPart() { return localName; } + @Override public String getAttribute(String nsUri, String localName) { - if(attributes==null) + if(attributes==null) { parseAttributes(); + } for(int i=attributes.size()-1; i>=0; i-- ) { Attribute a = attributes.get(i); - if(a.localName.equals(localName) && a.nsUri.equals(nsUri)) + if (a.localName.equals(localName) && a.nsUri.equals(nsUri)) { return a.value; + } } return null; } @@ -113,105 +118,135 @@ attributes = new FinalArrayList(); boolean refParamAttrWritten = false; for (int i = 0; i < reader.getAttributeCount(); i++) { - final String localName = reader.getAttributeLocalName(i); + final String attrLocalName = reader.getAttributeLocalName(i); final String namespaceURI = reader.getAttributeNamespace(i); final String value = reader.getAttributeValue(i); - if(namespaceURI.equals(AddressingVersion.W3C.nsUri)&& localName.equals("IS_REFERENCE_PARAMETER")) + if (namespaceURI.equals(AddressingVersion.W3C.nsUri)&& attrLocalName.equals("IS_REFERENCE_PARAMETER")) { refParamAttrWritten = true; - attributes.add(new Attribute(namespaceURI,localName,value)); + } + attributes.add(new Attribute(namespaceURI,attrLocalName,value)); } // we are adding one more attribute "wsa:IsReferenceParameter", if its not alrady there - if(!refParamAttrWritten) + if (!refParamAttrWritten) { attributes.add(new Attribute(AddressingVersion.W3C.nsUri,IS_REFERENCE_PARAMETER,TRUE_VALUE)); + } } catch (XMLStreamException e) { throw new WebServiceException("Unable to read the attributes for {"+nsUri+"}"+localName+" header",e); } } + @Override public XMLStreamReader readHeader() throws XMLStreamException { return new StreamReaderDelegate(infoset.readAsXMLStreamReader()) { int state=0; /* 0:expecting root, 1:in root, 2:past root */ + @Override public int next() throws XMLStreamException { return check(super.next()); } + @Override public int nextTag() throws XMLStreamException { return check(super.nextTag()); } private int check(int type) { - switch(state) { - case 0: - if(type==START_ELEMENT) - state=1; - break; - case 1: - state=2; + switch (state) { + case 0: + if (type == START_ELEMENT) { + state = 1; + } + break; + case 1: + state = 2; + break; + default: + break; } return type; } + @Override public int getAttributeCount() { - if(state==1) return super.getAttributeCount()+1; - else return super.getAttributeCount(); - } - - public String getAttributeLocalName(int index) { - if(state==1 && index==super.getAttributeCount()) - return IS_REFERENCE_PARAMETER; - else - return super.getAttributeLocalName(index); + if (state == 1) { + return super.getAttributeCount()+1; + } else { + return super.getAttributeCount(); + } } - public String getAttributeNamespace(int index) { - if(state==1 && index==super.getAttributeCount()) - return AddressingVersion.W3C.nsUri; - else - return super.getAttributeNamespace(index); + @Override + public String getAttributeLocalName(int index) { + if (state == 1 && index == super.getAttributeCount()) { + return IS_REFERENCE_PARAMETER; + } else { + return super.getAttributeLocalName(index); + } } - public String getAttributePrefix(int index) { - if(state==1 && index==super.getAttributeCount()) - return "wsa"; - else - return super.getAttributePrefix(index); + @Override + public String getAttributeNamespace(int index) { + if (state == 1 && index==super.getAttributeCount()) { + return AddressingVersion.W3C.nsUri; + } + else { + return super.getAttributeNamespace(index); + } } + @Override + public String getAttributePrefix(int index) { + if(state==1 && index==super.getAttributeCount()) { + return "wsa"; + } else { + return super.getAttributePrefix(index); + } + } + + @Override public String getAttributeType(int index) { - if(state==1 && index==super.getAttributeCount()) + if(state==1 && index==super.getAttributeCount()) { return "CDATA"; - else + } else { return super.getAttributeType(index); + } } + @Override public String getAttributeValue(int index) { - if(state==1 && index==super.getAttributeCount()) + if(state==1 && index==super.getAttributeCount()) { return TRUE_VALUE; - else + } else { return super.getAttributeValue(index); + } } + @Override public QName getAttributeName(int index) { - if(state==1 && index==super.getAttributeCount()) + if(state==1 && index==super.getAttributeCount()) { return new QName(AddressingVersion.W3C.nsUri, IS_REFERENCE_PARAMETER, "wsa"); - else + } else { return super.getAttributeName(index); + } } + @Override public String getAttributeValue(String namespaceUri, String localName) { - if(state==1 && localName.equals(IS_REFERENCE_PARAMETER) && namespaceUri.equals(AddressingVersion.W3C.nsUri)) + if(state==1 && localName.equals(IS_REFERENCE_PARAMETER) && namespaceUri.equals(AddressingVersion.W3C.nsUri)) { return TRUE_VALUE; - else + } else { return super.getAttributeValue(namespaceUri, localName); + } } }; } + @Override public void writeTo(XMLStreamWriter w) throws XMLStreamException { infoset.writeToXMLStreamWriter(new XMLStreamWriterFilter(w) { private boolean root=true; private boolean onRootEl = true; + @Override public void writeStartElement(String localName) throws XMLStreamException { super.writeStartElement(localName); writeAddedAttribute(); @@ -227,40 +262,42 @@ super.writeAttribute("wsa",AddressingVersion.W3C.nsUri,IS_REFERENCE_PARAMETER,TRUE_VALUE); } + @Override public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException { super.writeStartElement(namespaceURI, localName); writeAddedAttribute(); } + @Override public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { //TODO: Verify with KK later //check if prefix is declared before writing start element. boolean prefixDeclared = isPrefixDeclared(prefix,namespaceURI); super.writeStartElement(prefix, localName, namespaceURI); - if(!prefixDeclared && !prefix.equals("")) + if (!prefixDeclared && !prefix.equals("")) { super.writeNamespace(prefix,namespaceURI); + } writeAddedAttribute(); } + @Override public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException{ - //TODO: Verify with KK later - if(isPrefixDeclared(prefix, namespaceURI)) { - //Dont write it again , as its already in NamespaceContext - return; - } else + if (!isPrefixDeclared(prefix, namespaceURI)) { super.writeNamespace(prefix,namespaceURI); + } } + @Override public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException { //skip if its on root element and attribute is wsa;IsReferenceParameter, as we write it. if(onRootEl && namespaceURI.equals(AddressingVersion.W3C.nsUri) - && localName.equals(IS_REFERENCE_PARAMETER)) + && localName.equals(IS_REFERENCE_PARAMETER)) { return; - + } writer.writeAttribute(prefix, namespaceURI, localName, value); } + + @Override public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException { - - writer.writeAttribute(namespaceURI, localName, value); } private boolean isPrefixDeclared(String prefix, String namespaceURI ) { @@ -269,14 +306,16 @@ },true); } + @Override public void writeTo(SOAPMessage saaj) throws SOAPException { //TODO: SAAJ returns null instead of throwing SOAPException, // when there is no SOAPHeader in the message, // which leads to NPE. try { SOAPHeader header = saaj.getSOAPHeader(); - if (header == null) + if (header == null) { header = saaj.getSOAPPart().getEnvelope().addHeader(); + } Element node = (Element)infoset.writeTo(header); node.setAttributeNS(AddressingVersion.W3C.nsUri,AddressingVersion.W3C.getPrefix()+":"+IS_REFERENCE_PARAMETER,TRUE_VALUE); } catch (XMLStreamBufferException e) { @@ -284,10 +323,12 @@ } } + @Override public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException { class Filter extends XMLFilterImpl { Filter(ContentHandler ch) { setContentHandler(ch); } private int depth=0; + @Override public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException { if(depth++==0) { // add one more attribute @@ -309,10 +350,12 @@ super.startElement(uri, localName, qName, atts); } + @Override public void endElement(String uri, String localName, String qName) throws SAXException { super.endElement(uri, localName, qName); - if(--depth==0) + if (--depth == 0) { super.endPrefixMapping("wsa"); + } } } @@ -341,8 +384,7 @@ * Convert null to "". */ private static String fixNull(String s) { - if(s==null) return ""; - else return s; + return s == null ? "" : s; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/WSEndpointReference.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/WSEndpointReference.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/WSEndpointReference.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -42,6 +42,7 @@ import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.api.model.wsdl.WSDLExtension; import com.sun.xml.internal.ws.resources.AddressingMessages; @@ -289,8 +290,9 @@ //write extensibility elements in the EPR element if (elements != null) { - for (Element e : elements) + for (Element e : elements) { DOMUtil.serializeNode(e, writer); + } } writer.writeEndElement(); @@ -352,8 +354,9 @@ //When the size of ReferenceParametes is zero, the ReferenceParametes element will not be written. if(referenceParameters != null && referenceParameters.size() > 0) { writer.writeStartElement(version.getPrefix(), version.eprType.referenceParameters, version.nsUri); - for (Element e : referenceParameters) + for (Element e : referenceParameters) { DOMUtil.serializeNode(e, writer); + } writer.writeEndElement(); } @@ -386,6 +389,9 @@ } } + private static boolean isEmty(QName qname) { + return qname == null || qname.toString().trim().length()== 0; + } private static void writeW3CMetaData(StreamWriterBufferCreator writer, QName service, @@ -395,15 +401,18 @@ //.NET treate empty metaData element as bad request. - if (service == null && port == null && portType == null && metadata == null && wsdlAddress == null) - return; + if (isEmty(service) && isEmty(port) && isEmty(portType) && metadata == null/* && wsdlAddress == null*/) { + return; + } + writer.writeStartElement(AddressingVersion.W3C.getPrefix(), AddressingVersion.W3C.eprType.wsdlMetadata.getLocalPart(), AddressingVersion.W3C.nsUri); writer.writeNamespace(AddressingVersion.W3C.getWsdlPrefix(), AddressingVersion.W3C.wsdlNsUri); //write wsdliLication as defined in WS-Addressing 1.0 Metadata spec - if(wsdlAddress != null) - writeWsdliLocation(writer, service, wsdlAddress,wsdlTargetNamespace); + if(wsdlAddress != null) { + writeWsdliLocation(writer, service, wsdlAddress, wsdlTargetNamespace); + } //Write Interface info if (portType != null) { @@ -449,10 +458,11 @@ } */ //Add the extra metadata Elements - if (metadata != null) + if (metadata != null) { for (Element e : metadata) { DOMUtil.serializeNode(e, writer); } + } writer.writeEndElement(); } @@ -552,10 +562,11 @@ */ public static @Nullable WSEndpointReference create(@Nullable EndpointReference epr) { - if (epr != null) + if (epr != null) { return new WSEndpointReference(epr); - else + } else { return null; + } } /** @@ -592,21 +603,26 @@ MutableXMLStreamBuffer xsb = new MutableXMLStreamBuffer(); XMLFilterImpl filter = new XMLFilterImpl() { private boolean inAddress = false; + @Override public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException { - if(localName.equals("Address") && uri.equals(version.nsUri)) + if (localName.equals("Address") && uri.equals(version.nsUri)) { inAddress = true; + } super.startElement(uri,localName,qName,atts); } + @Override public void characters(char ch[], int start, int length) throws SAXException { - if(!inAddress) + if (!inAddress) { super.characters(ch, start, length); + } } - + @Override public void endElement(String uri, String localName, String qName) throws SAXException { - if(inAddress) + if (inAddress) { super.characters(newAddress.toCharArray(),0,newAddress.length()); + } inAddress = false; super.endElement(uri, localName, qName); } @@ -737,14 +753,16 @@ StreamReaderBufferProcessor xsr = infoset.readAsXMLStreamReader(); // parser should be either at the start element or the start document - if(xsr.getEventType()==XMLStreamReader.START_DOCUMENT) + if (xsr.getEventType()==XMLStreamReader.START_DOCUMENT) { xsr.nextTag(); + } assert xsr.getEventType()==XMLStreamReader.START_ELEMENT; String rootLocalName = xsr.getLocalName(); - if(!xsr.getNamespaceURI().equals(version.nsUri)) + if(!xsr.getNamespaceURI().equals(version.nsUri)) { throw new WebServiceException(AddressingMessages.WRONG_ADDRESSING_VERSION( version.nsUri, xsr.getNamespaceURI())); + } this.rootElement = new QName(xsr.getNamespaceURI(), rootLocalName); @@ -756,8 +774,9 @@ if(version.isReferenceParameter(localName)) { XMLStreamBuffer mark; while((mark = xsr.nextTagAndMark())!=null) { - if(marks==null) + if (marks==null) { marks = new ArrayList
(); + } // TODO: need a different header for member submission version marks.add(version.createReferenceParameterHeader( @@ -766,8 +785,9 @@ } } else if(localName.equals("Address")) { - if(address!=null) // double
. That's an error. + if (address!=null) { throw new InvalidAddressingHeaderException(new QName(version.nsUri,rootLocalName),AddressingVersion.fault_duplicateAddressInEpr); + } address = xsr.getElementText().trim(); } else { XMLStreamReaderUtil.skipElement(xsr); @@ -776,14 +796,15 @@ // hit to by now - if(marks==null) { + if (marks==null) { this.referenceParameters = EMPTY_ARRAY; } else { this.referenceParameters = marks.toArray(new Header[marks.size()]); } - if(address==null) + if (address==null) { throw new InvalidAddressingHeaderException(new QName(version.nsUri,rootLocalName),version.fault_missingAddressInEpr); + } } @@ -797,9 +818,11 @@ */ public XMLStreamReader read(final @NotNull String localName) throws XMLStreamException { return new StreamReaderBufferProcessor(infoset) { - protected void processElement(String prefix, String uri, String _localName) { - if (_depth == 0) + @Override + protected void processElement(String prefix, String uri, String _localName, boolean inScope) { + if (_depth == 0) { _localName = localName; + } super.processElement(prefix, uri, _localName, isInscope(infoset,_depth)); } }; @@ -874,14 +897,17 @@ return ln; } + @Override public void writeStartElement(String localName) throws XMLStreamException { super.writeStartElement(override(localName)); } + @Override public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException { super.writeStartElement(namespaceURI, override(localName)); } + @Override public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { super.writeStartElement(prefix, override(localName), namespaceURI); } @@ -908,14 +934,27 @@ /** * Copies all the reference parameters in this EPR as headers * to the given {@link HeaderList}. + * @deprecated - use addReferenceParametersToList(MessageHeaders) */ + @SuppressWarnings("ManualArrayToCollectionCopy") public void addReferenceParametersToList(HeaderList outbound) { + // implemented through iteration because of unsupportedoperation exception thrown from addAll method on headerlist + // do not change for (Header header : referenceParameters) { outbound.add(header); } } /** + * Copies all the reference parameters in this EPR as headers + * to the given {@link MessageHeaders}. + */ + public void addReferenceParametersToList(MessageHeaders outbound) { + for (Header header : referenceParameters) { + outbound.add(header); + } + } + /** * Copies all the reference parameters from the given {@link HeaderList} * to this EPR */ @@ -950,6 +989,7 @@ * Gets the QName of the EndpointReference element. * @return */ + @Override public QName getName() { return rootElement; } @@ -966,6 +1006,7 @@ this.rootLocalName = rootLocalName; } + @Override protected void processElement(String uri, String localName, String qName, boolean inscope) throws SAXException { if(root) { root = false; @@ -1000,14 +1041,16 @@ */ public @Nullable EPRExtension getEPRExtension(final QName extnQName) throws XMLStreamException { - if (rootEprExtensions == null) + if (rootEprExtensions == null) { parseEPRExtensions(); + } return rootEprExtensions.get(extnQName); } public @NotNull Collection getEPRExtensions() throws XMLStreamException { - if (rootEprExtensions == null) + if (rootEprExtensions == null) { parseEPRExtensions(); + } return rootEprExtensions.values(); } @@ -1019,14 +1062,15 @@ StreamReaderBufferProcessor xsr = infoset.readAsXMLStreamReader(); // parser should be either at the start element or the start document - if (xsr.getEventType() == XMLStreamReader.START_DOCUMENT) + if (xsr.getEventType() == XMLStreamReader.START_DOCUMENT) { xsr.nextTag(); + } assert xsr.getEventType() == XMLStreamReader.START_ELEMENT; - String rootLocalName = xsr.getLocalName(); - if (!xsr.getNamespaceURI().equals(version.nsUri)) + if (!xsr.getNamespaceURI().equals(version.nsUri)) { throw new WebServiceException(AddressingMessages.WRONG_ADDRESSING_VERSION( version.nsUri, xsr.getNamespaceURI())); + } // since often EPR doesn't have extensions, create array lazily XMLStreamBuffer mark; @@ -1101,13 +1145,15 @@ StreamReaderBufferProcessor xsr = infoset.readAsXMLStreamReader(); // parser should be either at the start element or the start document - if (xsr.getEventType() == XMLStreamReader.START_DOCUMENT) - xsr.nextTag(); + if (xsr.getEventType() == XMLStreamReader.START_DOCUMENT) { + xsr.nextTag(); + } assert xsr.getEventType() == XMLStreamReader.START_ELEMENT; String rootElement = xsr.getLocalName(); - if (!xsr.getNamespaceURI().equals(version.nsUri)) - throw new WebServiceException(AddressingMessages.WRONG_ADDRESSING_VERSION( - version.nsUri, xsr.getNamespaceURI())); + if (!xsr.getNamespaceURI().equals(version.nsUri)) { + throw new WebServiceException(AddressingMessages.WRONG_ADDRESSING_VERSION( + version.nsUri, xsr.getNamespaceURI())); + } String localName; String ns; if (version == AddressingVersion.W3C) { @@ -1115,22 +1161,26 @@ //If the current element is metadata enclosure, look inside if (xsr.getLocalName().equals(version.eprType.wsdlMetadata.getLocalPart())) { String wsdlLoc = xsr.getAttributeValue("http://www.w3.org/ns/wsdl-instance","wsdlLocation"); - if (wsdlLoc != null) + if (wsdlLoc != null) { wsdliLocation = wsdlLoc.trim(); + } XMLStreamBuffer mark; while ((mark = xsr.nextTagAndMark()) != null) { localName = xsr.getLocalName(); ns = xsr.getNamespaceURI(); if (localName.equals(version.eprType.serviceName)) { String portStr = xsr.getAttributeValue(null, version.eprType.portName); - if(serviceName != null) + if (serviceName != null) { throw new RuntimeException("More than one "+ version.eprType.serviceName +" element in EPR Metadata"); + } serviceName = getElementTextAsQName(xsr); - if (serviceName != null && portStr != null) + if (serviceName != null && portStr != null) { portName = new QName(serviceName.getNamespaceURI(), portStr); + } } else if (localName.equals(version.eprType.portTypeName)) { - if(portTypeName != null) + if (portTypeName != null) { throw new RuntimeException("More than one "+ version.eprType.portTypeName +" element in EPR Metadata"); + } portTypeName = getElementTextAsQName(xsr); } else if (ns.equals(WSDLConstants.NS_WSDL) && localName.equals(WSDLConstants.QNAME_DEFINITIONS.getLocalPart())) { @@ -1141,8 +1191,9 @@ } } else { //Skip is it is not root element - if (!xsr.getLocalName().equals(rootElement)) + if (!xsr.getLocalName().equals(rootElement)) { XMLStreamReaderUtil.skipElement(xsr); + } } } while (XMLStreamReaderUtil.nextElementContent(xsr) == XMLStreamReader.START_ELEMENT); @@ -1174,14 +1225,16 @@ } else if (localName.equals(version.eprType.serviceName)) { String portStr = xsr.getAttributeValue(null, version.eprType.portName); serviceName = getElementTextAsQName(xsr); - if (serviceName != null && portStr != null) + if (serviceName != null && portStr != null) { portName = new QName(serviceName.getNamespaceURI(), portStr); + } } else if (localName.equals(version.eprType.portTypeName)) { portTypeName = getElementTextAsQName(xsr); } else { //Skip is it is not root element - if (!xsr.getLocalName().equals(rootElement)) + if (!xsr.getLocalName().equals(rootElement)) { XMLStreamReaderUtil.skipElement(xsr); + } } } while (XMLStreamReaderUtil.nextElementContent(xsr) == XMLStreamReader.START_ELEMENT); } @@ -1194,8 +1247,9 @@ if (name != null) { if (prefix != null) { String ns = xsr.getNamespaceURI(prefix); - if (ns != null) + if (ns != null) { return new QName(ns, name, prefix); + } } else { return new QName(null, name); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ClientPipelineHook.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ClientPipelineHook.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ClientPipelineHook.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/SelectOptimalEncodingFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/SelectOptimalEncodingFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/SelectOptimalEncodingFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -49,7 +49,7 @@ * is equivalent to this feature being present and disabled. *

* If this feature is enabled by the client and the Service supports the - * Fast Infoset encoding, as specified by the {@link FastInfosetFeature}, + * Fast Infoset encoding, as specified by the {@link com.sun.xml.internal.ws.api.fastinfoset.FastInfosetFeature}, * and Fast Infoset is determined to be the most optimal encoding, then the * Fast Infoset encoding will be automatically selected by the client. *

diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptorFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptorFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ServiceInterceptorFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ThrowableInPacketCompletionFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/ThrowableInPacketCompletionFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,55 @@ +/* + * Copyright (c) 1997, 2013, 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.api.client; + +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.Dispatch; + +import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet; + +/** + * When using {@link Dispatch}<{@link Packet}> and the invocation completes with a Throwable, it is + * useful to be able to inspect the Packet in addition to the Throwable as the Packet contains + * meta-data about the request and/or response. However, the default behavior is that the caller + * only receives the Throwable. + * + * When an instance of this feature is enabled on the binding, any Throwable generated will be available + * on the Packet on the satellite {@link ThrowableContainerPropertySet}. + * + * @see ThrowableContainerPropertySet + */ +public class ThrowableInPacketCompletionFeature extends WebServiceFeature { + + public ThrowableInPacketCompletionFeature() { + this.enabled = true; + } + + @Override + public String getID() { + return ThrowableInPacketCompletionFeature.class.getName(); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/WSPortInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/WSPortInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/client/WSPortInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/EndpointCreationAttributes.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/EndpointCreationAttributes.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/EndpointCreationAttributes.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/ManagedEndpointFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/ManagedEndpointFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/ManagedEndpointFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/Reconfigurable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/Reconfigurable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/Reconfigurable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedClientAssertion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedClientAssertion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedClientAssertion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedServiceAssertion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedServiceAssertion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagedServiceAssertion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagementAssertion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagementAssertion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/config/management/policy/ManagementAssertion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/ClientCallBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/ClientCallBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/ClientCallBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,6 +26,7 @@ package com.sun.xml.internal.ws.api.databinding; import java.lang.reflect.Method; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.JavaMethod; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/Databinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/Databinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/Databinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,7 +30,7 @@ import java.io.OutputStream; import java.lang.reflect.Method; -import javax.xml.ws.WebServiceFeature; +import com.sun.xml.internal.ws.api.message.MessageContextFactory; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.ContentType; import com.sun.xml.internal.ws.wsdl.DispatchException; @@ -61,7 +61,7 @@ * * @author shih-chang.chen@oracle.com */ -public interface Databinding extends com.sun.xml.internal.org.jvnet.ws.databinding.Databinding { +public interface Databinding extends com.oracle.webservices.internal.api.databinding.Databinding { /** * Gets the MessageFactory instance associated with this WsRuntime @@ -141,7 +141,15 @@ void generateWSDL(WSDLGenInfo info); + /** + * @deprecated use MessageContextFactory + */ public ContentType encode( Packet packet, OutputStream out ) throws IOException ; + /** + * @deprecated use MessageContextFactory + */ public void decode( InputStream in, String ct, Packet packet ) throws IOException; + + public MessageContextFactory getMessageContextFactory(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingConfig.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingConfig.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingConfig.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -56,7 +56,7 @@ * * @author shih-chang.chen@oracle.com */ -public abstract class DatabindingFactory extends com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingFactory { +public abstract class DatabindingFactory extends com.oracle.webservices.internal.api.databinding.DatabindingFactory { /** * Creates a new instance of a WsTool. @@ -73,7 +73,7 @@ * the EndpointRuntimeConfig to init this WsRuntime * @return New instance of a WsRuntime */ - abstract public com.sun.xml.internal.org.jvnet.ws.databinding.Databinding createRuntime(DatabindingConfig config); + abstract public com.oracle.webservices.internal.api.databinding.Databinding createRuntime(DatabindingConfig config); /** * Creates a new instance of a XsTool. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/EndpointCallBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/EndpointCallBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/EndpointCallBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,7 @@ package com.sun.xml.internal.ws.api.databinding; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.JavaMethod; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/JavaCallInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/JavaCallInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/JavaCallInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -45,7 +45,7 @@ * * @author shih-chang.chen@oracle.com */ -public class JavaCallInfo implements com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo { +public class JavaCallInfo implements com.oracle.webservices.internal.api.databinding.JavaCallInfo { private Method method; private Object[] parameters; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MappingInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MappingInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MappingInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -45,8 +45,9 @@ protected BindingID bindingID; protected QName serviceName; protected QName portName; + protected String defaultSchemaNamespaceSuffix; - public String getTargetNamespace() { + public String getTargetNamespace() { return targetNamespace; } public void setTargetNamespace(String targetNamespace) { @@ -82,4 +83,10 @@ public void setPortName(QName portName) { this.portName = portName; } + public String getDefaultSchemaNamespaceSuffix() { + return defaultSchemaNamespaceSuffix; + } + public void setDefaultSchemaNamespaceSuffix(String defaultSchemaNamespaceSuffix) { + this.defaultSchemaNamespaceSuffix = defaultSchemaNamespaceSuffix; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MetadataReader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MetadataReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/MetadataReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/SoapBodyStyle.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/SoapBodyStyle.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/SoapBodyStyle.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/WSDLGenInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/WSDLGenInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/WSDLGenInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,9 +25,9 @@ package com.sun.xml.internal.ws.api.databinding; +import com.oracle.webservices.internal.api.databinding.WSDLResolver; import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.api.wsdl.writer.WSDLGeneratorExtension; -import com.sun.xml.internal.ws.wsdl.writer.WSDLResolver; /** * WSDLGenInfo provides the WSDL generation options @@ -38,6 +38,7 @@ WSDLResolver wsdlResolver; Container container; boolean inlineSchemas; + boolean secureXmlProcessingDisabled; WSDLGeneratorExtension[] extensions; public WSDLResolver getWsdlResolver() { @@ -59,9 +60,18 @@ this.inlineSchemas = inlineSchemas; } public WSDLGeneratorExtension[] getExtensions() { + if (extensions == null) return new WSDLGeneratorExtension[0]; return extensions; } public void setExtensions(WSDLGeneratorExtension[] extensions) { this.extensions = extensions; } + + public void setSecureXmlProcessingDisabled(boolean secureXmlProcessingDisabled) { + this.secureXmlProcessingDisabled = secureXmlProcessingDisabled; + } + + public boolean isSecureXmlProcessingDisabled() { + return secureXmlProcessingDisabled; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/fastinfoset/FastInfosetFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/fastinfoset/FastInfosetFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/fastinfoset/FastInfosetFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/HaInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/HaInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/HaInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/StickyFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/StickyFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ha/StickyFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandlerContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandlerContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/MessageHandlerContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AddressingUtils.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AddressingUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,342 @@ +/* + * Copyright (c) 1997, 2013, 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.api.message; + +import java.util.Iterator; + +import javax.xml.namespace.QName; +import javax.xml.stream.XMLStreamException; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.soap.SOAPBinding; + +import com.sun.istack.internal.NotNull; +import com.sun.xml.internal.ws.addressing.WsaTubeHelper; +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.addressing.AddressingPropertySet; +import com.sun.xml.internal.ws.api.addressing.AddressingVersion; +import com.sun.xml.internal.ws.api.addressing.OneWayFeature; +import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.message.RelatesToHeader; +import com.sun.xml.internal.ws.message.StringHeader; +import com.sun.xml.internal.ws.resources.AddressingMessages; +import com.sun.xml.internal.ws.resources.ClientMessages; + +public class AddressingUtils { + //TODO is MessageHeaders to be implicitly assumed? Or moved to utility class and taken out from interface? + public static void fillRequestAddressingHeaders(MessageHeaders headers, Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action) { + fillRequestAddressingHeaders(headers, packet, av, sv, oneway, action, false); + } + public static void fillRequestAddressingHeaders(MessageHeaders headers, Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action, boolean mustUnderstand) { + fillCommonAddressingHeaders(headers, packet, av, sv, action, mustUnderstand); + + // wsa:ReplyTo + // null or "true" is equivalent to request/response MEP + if (!oneway) { + WSEndpointReference epr = av.anonymousEpr; + if (headers.get(av.replyToTag, false) == null) { + headers.add(epr.createHeader(av.replyToTag)); + } + + // wsa:FaultTo + if (headers.get(av.faultToTag, false) == null) { + headers.add(epr.createHeader(av.faultToTag)); + } + + // wsa:MessageID + if (packet.getMessage().getHeaders().get(av.messageIDTag, false) == null) { + if (headers.get(av.messageIDTag, false) == null) { + Header h = new StringHeader(av.messageIDTag, Message.generateMessageID()); + headers.add(h); + } + } + } + } +// private void fillRequestAddressingHeaders(Packet packet, AddressingVersion av, SOAPVersion sv, OneWayFeature oneWayFeature, boolean oneway, String action); + public static void fillRequestAddressingHeaders(MessageHeaders headers, WSDLPort wsdlPort, WSBinding binding, Packet packet) { + if (binding == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_BINDING()); + } + + if (binding.isFeatureEnabled(SuppressAutomaticWSARequestHeadersFeature.class)) { + return; + } + + //See if WSA headers are already set by the user. + MessageHeaders hl = packet.getMessage().getHeaders(); + String action = AddressingUtils.getAction(hl, binding.getAddressingVersion(), binding.getSOAPVersion()); + if (action != null) { + //assume that all the WSA headers are set by the user + return; + } + AddressingVersion addressingVersion = binding.getAddressingVersion(); + //seiModel is passed as null as it is not needed. + WsaTubeHelper wsaHelper = addressingVersion.getWsaHelper(wsdlPort, null, binding); + + // wsa:Action + String effectiveInputAction = wsaHelper.getEffectiveInputAction(packet); + if (effectiveInputAction == null || effectiveInputAction.equals("") && binding.getSOAPVersion() == SOAPVersion.SOAP_11) { + throw new WebServiceException(ClientMessages.INVALID_SOAP_ACTION()); + } + boolean oneway = !packet.expectReply; + if (wsdlPort != null) { + // if WSDL has prohibited, then throw an error + // as anonymous ReplyTo MUST NOT be added in that case. BindingProvider need to + // disable AddressingFeature and MemberSubmissionAddressingFeature and hand-craft + // the SOAP message with non-anonymous ReplyTo/FaultTo. + if (!oneway && packet.getMessage() != null && packet.getWSDLOperation() != null) { + WSDLBoundOperation wbo = wsdlPort.getBinding().get(packet.getWSDLOperation()); + if (wbo != null && wbo.getAnonymous() == WSDLBoundOperation.ANONYMOUS.prohibited) { + throw new WebServiceException(AddressingMessages.WSAW_ANONYMOUS_PROHIBITED()); + } + } + } + + OneWayFeature oneWayFeature = binding.getFeature(OneWayFeature.class); + final AddressingPropertySet addressingPropertySet = packet.getSatellite(AddressingPropertySet.class); + oneWayFeature = addressingPropertySet == null ? oneWayFeature : new OneWayFeature(addressingPropertySet, addressingVersion); + + if (oneWayFeature == null || !oneWayFeature.isEnabled()) { + // standard oneway + fillRequestAddressingHeaders(headers, packet, addressingVersion, binding.getSOAPVersion(), oneway, effectiveInputAction, AddressingVersion.isRequired(binding)); + } else { + // custom oneway + fillRequestAddressingHeaders(headers, packet, addressingVersion, binding.getSOAPVersion(), oneWayFeature, oneway, effectiveInputAction); + } + } + + public static String getAction(@NotNull MessageHeaders headers, @NotNull AddressingVersion av, @NotNull SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + String action = null; + Header h = getFirstHeader(headers, av.actionTag, true, sv); + if (h != null) { + action = h.getStringContent(); + } + + return action; + } + + public static WSEndpointReference getFaultTo(@NotNull MessageHeaders headers, @NotNull AddressingVersion av, @NotNull SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + Header h = getFirstHeader(headers, av.faultToTag, true, sv); + WSEndpointReference faultTo = null; + if (h != null) { + try { + faultTo = h.readAsEPR(av); + } catch (XMLStreamException e) { + throw new WebServiceException(AddressingMessages.FAULT_TO_CANNOT_PARSE(), e); + } + } + + return faultTo; + } + + public static String getMessageID(@NotNull MessageHeaders headers, @NotNull AddressingVersion av, @NotNull SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + Header h = getFirstHeader(headers, av.messageIDTag, true, sv); + String messageId = null; + if (h != null) { + messageId = h.getStringContent(); + } + + return messageId; + } + public static String getRelatesTo(@NotNull MessageHeaders headers, @NotNull AddressingVersion av, @NotNull SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + Header h = getFirstHeader(headers, av.relatesToTag, true, sv); + String relatesTo = null; + if (h != null) { + relatesTo = h.getStringContent(); + } + + return relatesTo; + } + public static WSEndpointReference getReplyTo(@NotNull MessageHeaders headers, @NotNull AddressingVersion av, @NotNull SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + Header h = getFirstHeader(headers, av.replyToTag, true, sv); + WSEndpointReference replyTo; + if (h != null) { + try { + replyTo = h.readAsEPR(av); + } catch (XMLStreamException e) { + throw new WebServiceException(AddressingMessages.REPLY_TO_CANNOT_PARSE(), e); + } + } else { + replyTo = av.anonymousEpr; + } + + return replyTo; + } + public static String getTo(MessageHeaders headers, AddressingVersion av, SOAPVersion sv) { + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + Header h = getFirstHeader(headers, av.toTag, true, sv); + String to; + if (h != null) { + to = h.getStringContent(); + } else { + to = av.anonymousUri; + } + + return to; + } + + public static Header getFirstHeader(MessageHeaders headers, QName name, boolean markUnderstood, SOAPVersion sv) { + if (sv == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_SOAP_VERSION()); + } + + Iterator

iter = headers.getHeaders(name.getNamespaceURI(), name.getLocalPart(), markUnderstood); + while (iter.hasNext()) { + Header h = iter.next(); + if (h.getRole(sv).equals(sv.implicitRole)) { + return h; + } + } + + return null; + } + + private static void fillRequestAddressingHeaders(@NotNull MessageHeaders headers, @NotNull Packet packet, @NotNull AddressingVersion av, @NotNull SOAPVersion sv, @NotNull OneWayFeature oneWayFeature, boolean oneway, @NotNull String action) { + if (!oneway&&!oneWayFeature.isUseAsyncWithSyncInvoke() && Boolean.TRUE.equals(packet.isSynchronousMEP)) { + fillRequestAddressingHeaders(headers, packet, av, sv, oneway, action); + } else { + fillCommonAddressingHeaders(headers, packet, av, sv, action, false); + + boolean isMessageIdAdded = false; + + // wsa:ReplyTo + // add if it doesn't already exist and OneWayFeature requests a specific ReplyTo + if (headers.get(av.replyToTag, false) == null) { + WSEndpointReference replyToEpr = oneWayFeature.getReplyTo(); + if (replyToEpr != null) { + headers.add(replyToEpr.createHeader(av.replyToTag)); + // add wsa:MessageID only for non-null ReplyTo + if (packet.getMessage().getHeaders().get(av.messageIDTag, false) == null) { + // if header doesn't exist, method getID creates a new random id + String newID = oneWayFeature.getMessageId() == null ? Message.generateMessageID() : oneWayFeature.getMessageId(); + headers.add(new StringHeader(av.messageIDTag, newID)); + isMessageIdAdded = true; + } + } + } + + // If the user sets a messageId, use it. + final String messageId = oneWayFeature.getMessageId(); + if (!isMessageIdAdded && messageId != null) { + headers.add(new StringHeader(av.messageIDTag, messageId)); + } + + // wsa:FaultTo + // add if it doesn't already exist and OneWayFeature requests a specific FaultTo + if (headers.get(av.faultToTag, false) == null) { + WSEndpointReference faultToEpr = oneWayFeature.getFaultTo(); + if (faultToEpr != null) { + headers.add(faultToEpr.createHeader(av.faultToTag)); + // add wsa:MessageID only for non-null FaultTo + if (headers.get(av.messageIDTag, false) == null) { + headers.add(new StringHeader(av.messageIDTag, Message.generateMessageID())); + } + } + } + + // wsa:From + if (oneWayFeature.getFrom() != null) { + headers.addOrReplace(oneWayFeature.getFrom().createHeader(av.fromTag)); + } + + // wsa:RelatesTo + if (oneWayFeature.getRelatesToID() != null) { + headers.addOrReplace(new RelatesToHeader(av.relatesToTag, oneWayFeature.getRelatesToID())); + } + } + } + + /** + * Creates wsa:To, wsa:Action and wsa:MessageID header on the client + * + * @param packet request packet + * @param av WS-Addressing version + * @param sv SOAP version + * @param action Action Message Addressing Property value + * @throws IllegalArgumentException if any of the parameters is null. + */ + private static void fillCommonAddressingHeaders(MessageHeaders headers, Packet packet, @NotNull AddressingVersion av, @NotNull SOAPVersion sv, @NotNull String action, boolean mustUnderstand) { + if (packet == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_PACKET()); + } + + if (av == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); + } + + if (sv == null) { + throw new IllegalArgumentException(AddressingMessages.NULL_SOAP_VERSION()); + } + + if (action == null && !sv.httpBindingId.equals(SOAPBinding.SOAP12HTTP_BINDING)) { + throw new IllegalArgumentException(AddressingMessages.NULL_ACTION()); + } + + // wsa:To + if (headers.get(av.toTag, false) == null) { + StringHeader h = new StringHeader(av.toTag, packet.endpointAddress.toString()); + headers.add(h); + } + + // wsa:Action + if (action != null) { + packet.soapAction = action; + if (headers.get(av.actionTag, false) == null) { + //As per WS-I BP 1.2/2.0, if one of the WSA headers is MU, then all WSA headers should be treated as MU., + // so just set MU on action header + StringHeader h = new StringHeader(av.actionTag, action, sv, mustUnderstand); + headers.add(h); + } + } + } + + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Attachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Attachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Attachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -43,6 +43,19 @@ /** * Content ID of the attachment. Uniquely identifies an attachment. * + * http://www.ietf.org/rfc/rfc2392.txt (which is referred by the ws-i attachment profile + * http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html) + * + * content-id = url-addr-spec + * url-addr-spec = addr-spec ; URL encoding of RFC 822 addr-spec + * cid-url = "cid" ":" content-id + * + * A "cid" URL is converted to the corresponding Content-ID message header [MIME] by + * removing the "cid:" prefix, converting the % encoded character to their equivalent + * US-ASCII characters, and enclosing the remaining parts with an angle bracket pair, + * "<" and ">". For example, "cid:foo4%25foo1@bar.net" corresponds to + * Content-ID: + * * @return * The content ID like "foo-bar-zot@abc.com", without * surrounding '<' and '>' used as the transfer syntax. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentEx.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentEx.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentEx.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentSet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentSet.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/AttachmentSet.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/ExceptionHasMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/ExceptionHasMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/ExceptionHasMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,7 +33,7 @@ * with a specific protocol wire format. For example, the SOAP's * VersionMismatchFault needs to be written with a correct fault code. * In that case, decoder could throw {@link VersionMismatchException}, - * and the correspoinding fault {@link Message} from {@link ExceptionHasMessage::getFaultMessage} + * and the corresponding fault {@link Message} from {@link ExceptionHasMessage#getFaultMessage()} * is sent on the wire. * * @author Jitendra Kotamraju diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/FilterMessageImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/FilterMessageImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/FilterMessageImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -73,7 +73,7 @@ return delegate.hasHeaders(); } - public @NotNull HeaderList getHeaders() { + public @NotNull MessageHeaders getHeaders() { return delegate.getHeaders(); } @@ -168,4 +168,8 @@ public @NotNull String getID(AddressingVersion av, SOAPVersion sv) { return delegate.getID(av, sv); } + + public SOAPVersion getSOAPVersion() { + return delegate.getSOAPVersion(); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Header.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Header.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Header.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/HeaderList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/HeaderList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/HeaderList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,33 +25,30 @@ package com.sun.xml.internal.ws.api.message; +import java.util.ArrayList; +import java.util.BitSet; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.NoSuchElementException; +import java.util.Set; + +import javax.xml.namespace.QName; +import javax.xml.ws.WebServiceException; + import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.addressing.WsaTubeHelper; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; -import com.sun.xml.internal.ws.api.addressing.OneWayFeature; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; -import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.pipe.Codec; import com.sun.xml.internal.ws.api.pipe.Pipe; -import com.sun.xml.internal.ws.message.RelatesToHeader; -import com.sun.xml.internal.ws.message.StringHeader; +import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import com.sun.xml.internal.ws.protocol.soap.ClientMUTube; import com.sun.xml.internal.ws.protocol.soap.ServerMUTube; -import com.sun.xml.internal.ws.resources.AddressingMessages; -import com.sun.xml.internal.ws.resources.ClientMessages; - -import javax.xml.namespace.QName; -import javax.xml.stream.XMLStreamException; -import javax.xml.ws.WebServiceException; -import javax.xml.ws.soap.SOAPBinding; -import java.util.ArrayList; -import java.util.BitSet; -import java.util.Iterator; -import java.util.NoSuchElementException; +import java.util.Arrays; /** * A list of {@link Header}s on a {@link Message}. @@ -113,7 +110,7 @@ * * @see Message#getHeaders() */ -public class HeaderList extends ArrayList
{ +public class HeaderList extends ArrayList
implements MessageHeaders { private static final long serialVersionUID = -6358045781349627237L; /** @@ -132,13 +129,26 @@ */ private BitSet moreUnderstoodBits = null; + private SOAPVersion soapVersion; + /** + * This method is deprecated - instead use this one: + * public HeaderList(SOAPVersion) * Creates an empty {@link HeaderList}. */ + @Deprecated public HeaderList() { } /** + * Creates an empty {@link HeaderList} with the given soap version + * @param soapVersion + */ + public HeaderList(SOAPVersion soapVersion) { + this.soapVersion = soapVersion; + } + + /** * Copy constructor. */ public HeaderList(HeaderList that) { @@ -149,6 +159,24 @@ } } + public HeaderList(MessageHeaders that) { + super(that.asList()); + if (that instanceof HeaderList) { + HeaderList hThat = (HeaderList) that; + this.understoodBits = hThat.understoodBits; + if (hThat.moreUnderstoodBits != null) { + this.moreUnderstoodBits = (BitSet) hThat.moreUnderstoodBits.clone(); + } + } else { + Set understood = that.getUnderstoodHeaders(); + if (understood != null) { + for (QName qname : understood) { + understood(qname); + } + } + } + } + /** * The total number of headers. */ @@ -157,13 +185,18 @@ return super.size(); } + @Override + public boolean hasHeaders() { + return !isEmpty(); + } + /** * Adds all the headers. + * @deprecated throws UnsupportedOperationException from some HeaderList implementations - better iterate over items one by one */ + @Deprecated public void addAll(Header... headers) { - for (Header header : headers) { - add(header); - } + addAll(Arrays.asList(headers)); } /** @@ -233,6 +266,7 @@ * if the given header is not {@link #contains(Object) contained} * in this header. */ + @Override public void understood(@NotNull Header header) { int sz = size(); for (int i = 0; i < sz; i++) { @@ -252,9 +286,8 @@ * be marked as "understood". * @return null if not found. */ - public - @Nullable - Header get(@NotNull String nsUri, @NotNull String localName, boolean markAsUnderstood) { + @Override + public @Nullable Header get(@NotNull String nsUri, @NotNull String localName, boolean markAsUnderstood) { int len = size(); for (int i = 0; i < len; i++) { Header h = get(i); @@ -285,9 +318,8 @@ * @return null * if not found. */ - public - @Nullable - Header get(@NotNull QName name, boolean markAsUnderstood) { + @Override + public @Nullable Header get(@NotNull QName name, boolean markAsUnderstood) { return get(name.getNamespaceURI(), name.getLocalPart(), markAsUnderstood); } @@ -321,12 +353,14 @@ */ public @NotNull + @Override Iterator
getHeaders(@NotNull final String nsUri, @NotNull final String localName, final boolean markAsUnderstood) { return new Iterator
() { int idx = 0; Header next; + @Override public boolean hasNext() { if (next == null) { fetch(); @@ -334,6 +368,7 @@ return next != null; } + @Override public Header next() { if (next == null) { fetch(); @@ -362,6 +397,7 @@ } } + @Override public void remove() { throw new UnsupportedOperationException(); } @@ -373,6 +409,7 @@ */ public @NotNull + @Override Iterator
getHeaders(@NotNull QName headerName, final boolean markAsUnderstood) { return getHeaders(headerName.getNamespaceURI(), headerName.getLocalPart(), markAsUnderstood); } @@ -400,12 +437,14 @@ */ public @NotNull + @Override Iterator
getHeaders(@NotNull final String nsUri, final boolean markAsUnderstood) { return new Iterator
() { int idx = 0; Header next; + @Override public boolean hasNext() { if (next == null) { fetch(); @@ -413,6 +452,7 @@ return next != null; } + @Override public Header next() { if (next == null) { fetch(); @@ -441,6 +481,7 @@ } } + @Override public void remove() { throw new UnsupportedOperationException(); } @@ -448,33 +489,6 @@ } /** - * Gets the first {@link Header} of the specified name targeted at the - * current implicit role. - * - * @param name name of the header - * @param markUnderstood - * If this parameter is true, the returned headers will - * be marked as "understood" when they are returned - * from {@link Iterator#next()}. - * @return null if header not found - */ - private Header getFirstHeader(QName name, boolean markUnderstood, SOAPVersion sv) { - if (sv == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_SOAP_VERSION()); - } - - Iterator
iter = getHeaders(name.getNamespaceURI(), name.getLocalPart(), markUnderstood); - while (iter.hasNext()) { - Header h = iter.next(); - if (h.getRole(sv).equals(sv.implicitRole)) { - return h; - } - } - - return null; - } - - /** * Returns the value of WS-Addressing To header. The version * identifies the WS-Addressing version and the header returned is targeted at * the current implicit role. Caches the value for subsequent invocation. @@ -486,19 +500,7 @@ * @return Value of WS-Addressing To header, anonymous URI if no header is present */ public String getTo(AddressingVersion av, SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - Header h = getFirstHeader(av.toTag, true, sv); - String to; - if (h != null) { - to = h.getStringContent(); - } else { - to = av.anonymousUri; - } - - return to; + return AddressingUtils.getTo(this, av, sv); } /** @@ -513,17 +515,7 @@ * @return Value of WS-Addressing Action header, null if no header is present */ public String getAction(@NotNull AddressingVersion av, @NotNull SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - String action = null; - Header h = getFirstHeader(av.actionTag, true, sv); - if (h != null) { - action = h.getStringContent(); - } - - return action; + return AddressingUtils.getAction(this, av, sv); } /** @@ -538,23 +530,7 @@ * @return Value of WS-Addressing ReplyTo header, null if no header is present */ public WSEndpointReference getReplyTo(@NotNull AddressingVersion av, @NotNull SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - Header h = getFirstHeader(av.replyToTag, true, sv); - WSEndpointReference replyTo; - if (h != null) { - try { - replyTo = h.readAsEPR(av); - } catch (XMLStreamException e) { - throw new WebServiceException(AddressingMessages.REPLY_TO_CANNOT_PARSE(), e); - } - } else { - replyTo = av.anonymousEpr; - } - - return replyTo; + return AddressingUtils.getReplyTo(this, av, sv); } /** @@ -569,21 +545,7 @@ * @return Value of WS-Addressing FaultTo header, null if no header is present */ public WSEndpointReference getFaultTo(@NotNull AddressingVersion av, @NotNull SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - Header h = getFirstHeader(av.faultToTag, true, sv); - WSEndpointReference faultTo = null; - if (h != null) { - try { - faultTo = h.readAsEPR(av); - } catch (XMLStreamException e) { - throw new WebServiceException(AddressingMessages.FAULT_TO_CANNOT_PARSE(), e); - } - } - - return faultTo; + return AddressingUtils.getFaultTo(this, av, sv); } /** @@ -598,17 +560,7 @@ * @return Value of WS-Addressing MessageID header, null if no header is present */ public String getMessageID(@NotNull AddressingVersion av, @NotNull SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - Header h = getFirstHeader(av.messageIDTag, true, sv); - String messageId = null; - if (h != null) { - messageId = h.getStringContent(); - } - - return messageId; + return AddressingUtils.getMessageID(this, av, sv); } /** @@ -623,17 +575,7 @@ * @return Value of WS-Addressing RelatesTo header, null if no header is present */ public String getRelatesTo(@NotNull AddressingVersion av, @NotNull SOAPVersion sv) { - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - Header h = getFirstHeader(av.relatesToTag, true, sv); - String relatesTo = null; - if (h != null) { - relatesTo = h.getStringContent(); - } - - return relatesTo; + return AddressingUtils.getRelatesTo(this, av, sv); } /** @@ -654,33 +596,11 @@ * @param mustUnderstand to indicate if the addressing headers are set with mustUnderstand attribute */ public void fillRequestAddressingHeaders(Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action, boolean mustUnderstand) { - fillCommonAddressingHeaders(packet, av, sv, action, mustUnderstand); - - // wsa:ReplyTo - // null or "true" is equivalent to request/response MEP - if (!oneway) { - WSEndpointReference epr = av.anonymousEpr; - if (get(av.replyToTag, false) == null) { - add(epr.createHeader(av.replyToTag)); - } - - // wsa:FaultTo - if (get(av.faultToTag, false) == null) { - add(epr.createHeader(av.faultToTag)); - } - - // wsa:MessageID - if (packet.getMessage().getHeaders().get(av.messageIDTag, false) == null) { - if (get(av.messageIDTag, false) == null) { - Header h = new StringHeader(av.messageIDTag, Message.generateMessageID()); - add(h); - } - } - } + AddressingUtils.fillRequestAddressingHeaders(this, packet, av, sv, oneway, action, mustUnderstand); } public void fillRequestAddressingHeaders(Packet packet, AddressingVersion av, SOAPVersion sv, boolean oneway, String action) { - fillRequestAddressingHeaders(packet, av, sv, oneway, action, false); + AddressingUtils.fillRequestAddressingHeaders(this, packet, av, sv, oneway, action); } /** @@ -703,141 +623,7 @@ * @param packet request packet */ public void fillRequestAddressingHeaders(WSDLPort wsdlPort, @NotNull WSBinding binding, Packet packet) { - if (binding == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_BINDING()); - } - - if (binding.isFeatureEnabled(SuppressAutomaticWSARequestHeadersFeature.class)) - return; - - //See if WSA headers are already set by the user. - HeaderList hl = packet.getMessage().getHeaders(); - String action = hl.getAction(binding.getAddressingVersion(), binding.getSOAPVersion()); - if (action != null) { - //assume that all the WSA headers are set by the user - return; - } - AddressingVersion addressingVersion = binding.getAddressingVersion(); - //seiModel is passed as null as it is not needed. - WsaTubeHelper wsaHelper = addressingVersion.getWsaHelper(wsdlPort, null, binding); - - // wsa:Action - String effectiveInputAction = wsaHelper.getEffectiveInputAction(packet); - if (effectiveInputAction == null || effectiveInputAction.equals("") && binding.getSOAPVersion() == SOAPVersion.SOAP_11) { - throw new WebServiceException(ClientMessages.INVALID_SOAP_ACTION()); - } - boolean oneway = !packet.expectReply; - if (wsdlPort != null) { - // if WSDL has prohibited, then throw an error - // as anonymous ReplyTo MUST NOT be added in that case. BindingProvider need to - // disable AddressingFeature and MemberSubmissionAddressingFeature and hand-craft - // the SOAP message with non-anonymous ReplyTo/FaultTo. - if (!oneway && packet.getMessage() != null && packet.getWSDLOperation() != null) { - WSDLBoundOperation wbo = wsdlPort.getBinding().get(packet.getWSDLOperation()); - if (wbo != null && wbo.getAnonymous() == WSDLBoundOperation.ANONYMOUS.prohibited) { - throw new WebServiceException(AddressingMessages.WSAW_ANONYMOUS_PROHIBITED()); - } - } - } - if (!binding.isFeatureEnabled(OneWayFeature.class)) { - // standard oneway - fillRequestAddressingHeaders(packet, addressingVersion, binding.getSOAPVersion(), oneway, effectiveInputAction, addressingVersion.isRequired(binding)); - } else { - // custom oneway - fillRequestAddressingHeaders(packet, addressingVersion, binding.getSOAPVersion(), binding.getFeature(OneWayFeature.class), oneway, effectiveInputAction); - } - } - - private void fillRequestAddressingHeaders(@NotNull Packet packet, @NotNull AddressingVersion av, @NotNull SOAPVersion sv, @NotNull OneWayFeature of, boolean oneway, @NotNull String action) { - if (!oneway&&!of.isUseAsyncWithSyncInvoke() && Boolean.TRUE.equals(packet.isSynchronousMEP)) - fillRequestAddressingHeaders(packet, av, sv, oneway, action); - else { - fillCommonAddressingHeaders(packet, av, sv, action, false); - - // wsa:ReplyTo - // wsa:ReplyTo (add it if it doesn't already exist and OnewayFeature - // requests a specific ReplyTo) - if (get(av.replyToTag, false) == null) { - WSEndpointReference replyToEpr = of.getReplyTo(); - if (replyToEpr != null) { - add(replyToEpr.createHeader(av.replyToTag)); - // add wsa:MessageID only for non-null ReplyTo - if (packet.getMessage().getHeaders().get(av.messageIDTag, false) == null) { - // if header doesn't exist, method getID creates a new random id - String newID = Message.generateMessageID(); - add(new StringHeader(av.messageIDTag, newID)); - } - } - } - - // wsa:FaultTo - // wsa:FaultTo (add it if it doesn't already exist and OnewayFeature - // requests a specific FaultTo) - if (get(av.faultToTag, false) == null) { - WSEndpointReference faultToEpr = of.getFaultTo(); - if (faultToEpr != null) { - add(faultToEpr.createHeader(av.faultToTag)); - // add wsa:MessageID only for non-null FaultTo - if (get(av.messageIDTag, false) == null) { - add(new StringHeader(av.messageIDTag, Message.generateMessageID())); - } - } - } - - // wsa:From - if (of.getFrom() != null) { - addOrReplace(of.getFrom().createHeader(av.fromTag)); - } - - // wsa:RelatesTo - if (of.getRelatesToID() != null) { - addOrReplace(new RelatesToHeader(av.relatesToTag, of.getRelatesToID())); - } - } - } - - /** - * Creates wsa:To, wsa:Action and wsa:MessageID header on the client - * - * @param packet request packet - * @param av WS-Addressing version - * @param sv SOAP version - * @param action Action Message Addressing Property value - * @throws IllegalArgumentException if any of the parameters is null. - */ - private void fillCommonAddressingHeaders(Packet packet, @NotNull AddressingVersion av, @NotNull SOAPVersion sv, @NotNull String action, boolean mustUnderstand) { - if (packet == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_PACKET()); - } - - if (av == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_ADDRESSING_VERSION()); - } - - if (sv == null) { - throw new IllegalArgumentException(AddressingMessages.NULL_SOAP_VERSION()); - } - - if (action == null && !sv.httpBindingId.equals(SOAPBinding.SOAP12HTTP_BINDING)) { - throw new IllegalArgumentException(AddressingMessages.NULL_ACTION()); - } - - // wsa:To - if (get(av.toTag, false) == null) { - StringHeader h = new StringHeader(av.toTag, packet.endpointAddress.toString()); - add(h); - } - - // wsa:Action - if (action != null) { - packet.soapAction = action; - if (get(av.actionTag, false) == null) { - //As per WS-I BP 1.2/2.0, if one of the WSA headers is MU, then all WSA headers should be treated as MU., - // so just set MU on action header - StringHeader h = new StringHeader(av.actionTag, action, sv, mustUnderstand); - add(h); - } - } + AddressingUtils.fillRequestAddressingHeaders(this, wsdlPort, binding, packet); } /** @@ -865,6 +651,7 @@ */ public @Nullable + @Override Header remove(@NotNull String nsUri, @NotNull String localName) { int len = size(); for (int i = 0; i < len; i++) { @@ -887,6 +674,7 @@ * @return * always true. Don't use the return value. */ + @Override public boolean addOrReplace(Header header) { for (int i=0; i < size(); i++) { Header hdr = get(i); @@ -902,6 +690,23 @@ return add(header); } + @Override + public void replace(Header old, Header header) { + for (int i=0; i < size(); i++) { + Header hdr = get(i); + if (hdr.getNamespaceURI().equals(header.getNamespaceURI()) && + hdr.getLocalPart().equals(header.getLocalPart())) { + // Put the new header in the old position. Call super versions + // internally to avoid UnsupportedOperationException + removeInternal(i); + addInternal(i, header); + return; + } + } + + throw new IllegalArgumentException(); + } + protected void addInternal(int index, Header header) { super.add(index, header); } @@ -919,6 +724,7 @@ */ public @Nullable + @Override Header remove(@NotNull QName name) { return remove(name.getNamespaceURI(), name.getLocalPart()); } @@ -1010,16 +816,41 @@ @Override public boolean remove(Object o) { if (o != null) { - for (int index = 0; index < this.size(); index++) + for (int index = 0; index < this.size(); index++) { if (o.equals(this.get(index))) { remove(index); return true; } + } } return false; } + public Header remove(Header h) { + if (remove((Object) h)) { + return h; + } else { + return null; + } + } + + /** + * Creates a copy. + * + * This handles null {@link HeaderList} correctly. + * + * @param original + * Can be null, in which case null will be returned. + */ + public static HeaderList copy(MessageHeaders original) { + if (original == null) { + return null; + } else { + return new HeaderList(original); + } + } + /** * Creates a copy. * @@ -1029,16 +860,117 @@ * Can be null, in which case null will be returned. */ public static HeaderList copy(HeaderList original) { - if (original == null) { - return null; - } else { - return new HeaderList(original); - } + return copy((MessageHeaders) original); } public void readResponseAddressingHeaders(WSDLPort wsdlPort, WSBinding binding) { // read Action - String wsaAction = getAction(binding.getAddressingVersion(), binding.getSOAPVersion()); +// String wsaAction = getAction(binding.getAddressingVersion(), binding.getSOAPVersion()); // TODO: validate client-inbound Action } + + @Override + public void understood(QName name) { + get(name, true); + } + + @Override + public void understood(String nsUri, String localName) { + get(nsUri, localName, true); + } + + @Override + public Set getUnderstoodHeaders() { + Set understoodHdrs = new HashSet(); + for (int i = 0; i < size(); i++) { + if (isUnderstood(i)) { + Header header = get(i); + understoodHdrs.add(new QName(header.getNamespaceURI(), header.getLocalPart())); + } + } + return understoodHdrs; +// throw new UnsupportedOperationException("getUnderstoodHeaders() is not implemented by HeaderList"); + } + + @Override + public boolean isUnderstood(Header header) { + return isUnderstood(header.getNamespaceURI(), header.getLocalPart()); + } + + @Override + public boolean isUnderstood(String nsUri, String localName) { + for (int i = 0; i < size(); i++) { + Header h = get(i); + if (h.getLocalPart().equals(localName) && h.getNamespaceURI().equals(nsUri)) { + return isUnderstood(i); + } + } + return false; + } + + @Override + public boolean isUnderstood(QName name) { + return isUnderstood(name.getNamespaceURI(), name.getLocalPart()); + } + + @Override + public Set getNotUnderstoodHeaders(Set roles, Set knownHeaders, WSBinding binding) { + Set notUnderstoodHeaders = null; + if (roles == null) { + roles = new HashSet(); + } + SOAPVersion effectiveSoapVersion = getEffectiveSOAPVersion(binding); + roles.add(effectiveSoapVersion.implicitRole); + for (int i = 0; i < size(); i++) { + if (!isUnderstood(i)) { + Header header = get(i); + if (!header.isIgnorable(effectiveSoapVersion, roles)) { + QName qName = new QName(header.getNamespaceURI(), header.getLocalPart()); + if (binding == null) { + //if binding is null, no further checks needed...we already + //know this header is not understood from the isUnderstood + //check above + if (notUnderstoodHeaders == null) { + notUnderstoodHeaders = new HashSet(); + } + notUnderstoodHeaders.add(qName); + } else { + // if the binding is not null, see if the binding can understand it + if (binding instanceof SOAPBindingImpl && !((SOAPBindingImpl) binding).understandsHeader(qName)) { + if (!knownHeaders.contains(qName)) { + //logger.info("Element not understood=" + qName); + if (notUnderstoodHeaders == null) { + notUnderstoodHeaders = new HashSet(); + } + notUnderstoodHeaders.add(qName); + } + } + } + } + } + } + return notUnderstoodHeaders; + } + + private SOAPVersion getEffectiveSOAPVersion(WSBinding binding) { + SOAPVersion mySOAPVersion = (soapVersion != null) ? soapVersion : binding.getSOAPVersion(); + if (mySOAPVersion == null) { + mySOAPVersion = SOAPVersion.SOAP_11; + } + return mySOAPVersion; + } + + public void setSoapVersion(SOAPVersion soapVersion) { + this.soapVersion = soapVersion; + } + + @Override + public Iterator
getHeaders() { + return iterator(); + } + + @Override + public List
asList() { + return this; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Headers.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Headers.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Headers.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Message.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Message.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Message.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -34,6 +34,7 @@ import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; @@ -56,6 +57,7 @@ import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import javax.xml.namespace.QName; +import javax.xml.soap.MimeHeaders; import javax.xml.soap.SOAPException; import javax.xml.soap.SOAPMessage; import javax.xml.stream.XMLStreamException; @@ -67,6 +69,8 @@ import java.io.InputStream; import java.lang.reflect.Method; import java.lang.reflect.Proxy; +import java.util.List; +import java.util.Map; import java.util.UUID; /** @@ -206,14 +210,14 @@ *

Implementation Note

*

* {@link Message} implementation is allowed to defer - * the construction of {@link HeaderList} object. So + * the construction of {@link MessageHeaders} object. So * if you only want to check for the existence of any header * element, use {@link #hasHeaders()}. * * @return * always return the same non-null object. */ - public abstract @NotNull HeaderList getHeaders(); + public abstract @NotNull MessageHeaders getHeaders(); /** * Gets the attachments of this message @@ -238,6 +242,15 @@ private WSDLBoundOperation operation = null; + private WSDLOperationMapping wsdlOperationMapping = null; + + private MessageMetadata messageMetadata = null; + + public void setMessageMedadata(MessageMetadata metadata) { + messageMetadata = metadata; + } + + /** * Returns the operation of which this message is an instance of. * @@ -267,6 +280,10 @@ */ @Deprecated public final @Nullable WSDLBoundOperation getOperation(@NotNull WSDLBoundPortType boundPortType) { + if (operation == null && messageMetadata != null) { + if (wsdlOperationMapping == null) wsdlOperationMapping = messageMetadata.getWSDLOperationMapping(); + if (wsdlOperationMapping != null) operation = wsdlOperationMapping.getWSDLBoundOperation(); + } if(operation==null) operation = boundPortType.getOperation(getPayloadNamespaceURI(),getPayloadLocalPart()); return operation; @@ -312,6 +329,13 @@ */ @Deprecated public final @Nullable JavaMethod getMethod(@NotNull SEIModel seiModel) { + if (wsdlOperationMapping == null && messageMetadata != null) { + wsdlOperationMapping = messageMetadata.getWSDLOperationMapping(); + } + if (wsdlOperationMapping != null) { + return wsdlOperationMapping.getJavaMethod(); + } + //fall back to the original logic which could be incorrect ... String localPart = getPayloadLocalPart(); String nsUri; if (localPart == null) { @@ -509,6 +533,28 @@ return readAsSOAPMessage(); } + public static Map> getTransportHeaders(Packet packet) { + return getTransportHeaders(packet, packet.getState().isInbound()); + } + + public static Map> getTransportHeaders(Packet packet, boolean inbound) { + Map> headers = null; + String key = inbound ? Packet.INBOUND_TRANSPORT_HEADERS : Packet.OUTBOUND_TRANSPORT_HEADERS; + if (packet.supports(key)) { + headers = (Map>)packet.get(key); + } + return headers; + } + + public static void addSOAPMimeHeaders(MimeHeaders mh, Map> headers) { + for(Map.Entry> e : headers.entrySet()) { + if (!e.getKey().equalsIgnoreCase("Content-Type")) { + for(String value : e.getValue()) { + mh.addHeader(e.getKey(), value); + } + } + } + } /** * Reads the payload as a JAXB object by using the given unmarshaller. * @@ -720,7 +766,7 @@ public @NotNull String getID(AddressingVersion av, SOAPVersion sv) { String uuid = null; if (av != null) { - uuid = getHeaders().getMessageID(av, sv); + uuid = AddressingUtils.getMessageID(getHeaders(), av, sv); } if (uuid == null) { uuid = generateMessageID(); @@ -736,4 +782,8 @@ public static String generateMessageID() { return "uuid:" + UUID.randomUUID().toString(); } + + public SOAPVersion getSOAPVersion() { + return null; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageContextFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageContextFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageContextFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,27 +27,35 @@ import java.io.IOException; import java.io.InputStream; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import javax.xml.soap.MimeHeader; +import javax.xml.soap.MimeHeaders; import javax.xml.soap.SOAPMessage; import javax.xml.transform.Source; import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.soap.MTOMFeature; -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyle; -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyleFeature; -import com.sun.xml.internal.org.jvnet.ws.message.MessageContext; - +import com.oracle.webservices.internal.api.EnvelopeStyle; +import com.oracle.webservices.internal.api.EnvelopeStyleFeature; +import com.oracle.webservices.internal.api.message.MessageContext; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSFeatureList; import com.sun.xml.internal.ws.api.pipe.Codec; import com.sun.xml.internal.ws.api.pipe.Codecs; +import static com.sun.xml.internal.ws.transport.http.HttpAdapter.fixQuotesAroundSoapAction; /** - * The MessageContextFactory implements com.sun.xml.internal.org.jvnet.ws.message.MessageContextFactory as + * The MessageContextFactory implements com.oracle.webservices.internal.api.message.MessageContextFactory as * a factory of Packet and public facade of Codec(s). * * @author shih-chang.chen@oracle.com */ -public class MessageContextFactory extends com.sun.xml.internal.org.jvnet.ws.message.MessageContextFactory { +public class MessageContextFactory extends com.oracle.webservices.internal.api.message.MessageContextFactory { private WSFeatureList features; private Codec soapCodec; @@ -76,46 +84,105 @@ } } - protected com.sun.xml.internal.org.jvnet.ws.message.MessageContextFactory newFactory(WebServiceFeature... f) { + protected com.oracle.webservices.internal.api.message.MessageContextFactory newFactory(WebServiceFeature... f) { return new com.sun.xml.internal.ws.api.message.MessageContextFactory(f); } - public MessageContext createContext(SOAPMessage soap) { + + public com.oracle.webservices.internal.api.message.MessageContext createContext() { + return packet(null); + } + + public com.oracle.webservices.internal.api.message.MessageContext createContext(SOAPMessage soap) { + throwIfIllegalMessageArgument(soap); return packet(Messages.create(soap)); } - public MessageContext createContext(Source m, EnvelopeStyle.Style envelopeStyle) { + public MessageContext createContext(Source m, com.oracle.webservices.internal.api.EnvelopeStyle.Style envelopeStyle) { + throwIfIllegalMessageArgument(m); return packet(Messages.create(m, SOAPVersion.from(envelopeStyle))); } - public MessageContext createContext(Source m) { + public com.oracle.webservices.internal.api.message.MessageContext createContext(Source m) { + throwIfIllegalMessageArgument(m); return packet(Messages.create(m, SOAPVersion.from(singleSoapStyle))); } - public MessageContext createContext(InputStream in, String contentType) throws IOException { + public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, String contentType) throws IOException { + throwIfIllegalMessageArgument(in); //TODO when do we use xmlCodec? Packet p = packet(null); soapCodec.decode(in, contentType, p); return p; } + /** + * @deprecated http://java.net/jira/browse/JAX_WS-1077 + */ + @Deprecated + public com.oracle.webservices.internal.api.message.MessageContext createContext(InputStream in, MimeHeaders headers) throws IOException { + String contentType = getHeader(headers, "Content-Type"); + Packet packet = (Packet) createContext(in, contentType); + packet.acceptableMimeTypes = getHeader(headers, "Accept"); + packet.soapAction = fixQuotesAroundSoapAction(getHeader(headers, "SOAPAction")); +// packet.put(Packet.INBOUND_TRANSPORT_HEADERS, toMap(headers)); + return packet; + } + + static String getHeader(MimeHeaders headers, String name) { + String[] values = headers.getHeader(name); + return (values != null && values.length > 0) ? values[0] : null; + } + + static Map> toMap(MimeHeaders headers) { + HashMap> map = new HashMap>(); + for (Iterator i = headers.getAllHeaders(); i.hasNext();) { + MimeHeader mh = i.next(); + List values = map.get(mh.getName()); + if (values == null) { + values = new ArrayList(); + map.put(mh.getName(), values); + } + values.add(mh.getValue()); + } + return map; + } + + public MessageContext createContext(Message m) { + throwIfIllegalMessageArgument(m); + return packet(m); + } + private Packet packet(Message m) { final Packet p = new Packet(); //TODO when do we use xmlCodec? p.codec = soapCodec; if (m != null) p.setMessage(m); + MTOMFeature mf = features.get(MTOMFeature.class); + if (mf != null) { + p.setMtomFeature(mf); + } return p; } - + private void throwIfIllegalMessageArgument(Object message) + throws IllegalArgumentException + { + if (message == null) { + throw new IllegalArgumentException("null messages are not allowed. Consider using MessageContextFactory.createContext()"); + } + } - public MessageContext doCreate() { + @Deprecated + public com.oracle.webservices.internal.api.message.MessageContext doCreate() { return packet(null); } - public MessageContext doCreate(SOAPMessage m) { + @Deprecated + public com.oracle.webservices.internal.api.message.MessageContext doCreate(SOAPMessage m) { return createContext(m); } - public MessageContext doCreate(Source x, SOAPVersion soapVersion) { + @Deprecated + public com.oracle.webservices.internal.api.message.MessageContext doCreate(Source x, SOAPVersion soapVersion) { return packet(Messages.create(x, soapVersion)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageHeaders.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageHeaders.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,123 @@ +/* + * Copyright (c) 1997, 2013, 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.api.message; + +import java.util.List; +import java.util.Iterator; +import java.util.Set; + +import javax.xml.namespace.QName; + +import com.sun.xml.internal.ws.api.WSBinding; + +/** + * Interface representing all the headers of a {@link Message} + */ +public interface MessageHeaders { + public void understood(Header header); + public void understood(QName name); + public void understood(String nsUri, String localName); + public Header get(String nsUri, String localName, boolean markAsUnderstood); + public Header get(QName name, boolean markAsUnderstood); + public Iterator

getHeaders(String nsUri, String localName, final boolean markAsUnderstood); + /** + * Get all headers in specified namespace + * @param nsUri + * @param markAsUnderstood + * @return + */ + public Iterator
getHeaders(String nsUri, final boolean markAsUnderstood); + public Iterator
getHeaders(QName headerName, final boolean markAsUnderstood); + public Iterator
getHeaders(); + public boolean hasHeaders(); + public boolean add(Header header); + public Header remove(QName name); + public Header remove(String nsUri, String localName); + //DONT public Header remove(Header header); + public void replace(Header old, Header header); + + /** + * Replaces an existing {@link Header} or adds a new {@link Header}. + * + *

+ * Order doesn't matter in headers, so this method + * does not make any guarantee as to where the new header + * is inserted. + * + * @return + * always true. Don't use the return value. + */ + public boolean addOrReplace(Header header); + + /** + * Return a Set of QNames of headers that have been explicitly marked as understood. + * If none have been marked, this method could return null + */ + public Set getUnderstoodHeaders(); + + /** + * Returns a Set of QNames of headers that satisfy ALL the following conditions: + * (a) Have mustUnderstand = true + * (b) have NOT been explicitly marked as understood + * (c) If roles argument is non-null, the header has isIgnorable = false + * for the roles argument and SOAP version + * (d) If non-null binding is passed in, are NOT understood by the binding + * (e) If (d) is met, the header is NOT in the knownHeaders list passed in + * + * @param roles + * @param knownHeaders + * @param binding + * @return + */ + public Set getNotUnderstoodHeaders(Set roles, Set knownHeaders, WSBinding binding); + + /** + * True if the header has been explicitly marked understood, false otherwise + * @param header + * @return + */ + public boolean isUnderstood(Header header); + + /** + * True if the header has been explicitly marked understood, false otherwise + * @param header + * @return + */ + public boolean isUnderstood(QName header); + + /** + * True if the header has been explicitly marked understood, false otherwise + * @param header + * @return + */ + public boolean isUnderstood(String nsUri, String header); + + /** + * Returns Header instances in a List. + * @return List containing Header instances + */ + public List

asList(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageMetadata.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageMetadata.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,37 @@ +/* + * 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.api.message; + +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; + +/** + * In order for the Message to get properties from the Packet ... + * + * @author shih-chang.chen@oracle.com + */ +public interface MessageMetadata { + public WSDLOperationMapping getWSDLOperationMapping(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageWrapper.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,245 @@ +/* + * Copyright (c) 1997, 2013, 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.api.message; + +import javax.xml.bind.JAXBException; +import javax.xml.bind.Unmarshaller; +import javax.xml.namespace.QName; +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPMessage; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamReader; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.transform.Source; + +import org.xml.sax.ContentHandler; +import org.xml.sax.ErrorHandler; +import org.xml.sax.SAXException; + +import com.sun.istack.internal.NotNull; +import com.sun.xml.internal.bind.api.Bridge; +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.addressing.AddressingVersion; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.message.saaj.SAAJMessage; +import com.sun.xml.internal.ws.message.stream.StreamMessage; +import com.sun.xml.internal.ws.spi.db.XMLBridge; + +/** + * A MessageWrapper wraps the Message for the access through Packet. + * + * @author shih-chang.chen@oracle.com + */ +class MessageWrapper extends StreamMessage { + + Packet packet; + Message delegate; + StreamMessage streamDelegate; + + @Override + public void writePayloadTo(ContentHandler contentHandler, ErrorHandler errorHandler, boolean fragment) throws SAXException { + streamDelegate.writePayloadTo(contentHandler, errorHandler, fragment); + } + + @Override + public String getBodyPrologue() { + return streamDelegate.getBodyPrologue(); + } + + @Override + public String getBodyEpilogue() { + return streamDelegate.getBodyEpilogue(); + } + + MessageWrapper(Packet p, Message m) { + super(m.getSOAPVersion()); + packet = p; + delegate = m; + streamDelegate = (m instanceof StreamMessage) ? (StreamMessage) m : null; + setMessageMedadata(p); + } + + @Override + public int hashCode() { + return delegate.hashCode(); + } + + @Override + public boolean equals(Object obj) { + return delegate.equals(obj); + } + + @Override + public boolean hasHeaders() { + return delegate.hasHeaders(); + } + + @Override + public AttachmentSet getAttachments() { + return delegate.getAttachments(); + } + + @Override + public String toString() { + return delegate.toString(); + } + + @Override + public boolean isOneWay(WSDLPort port) { + return delegate.isOneWay(port); + } + + @Override + public String getPayloadLocalPart() { + return delegate.getPayloadLocalPart(); + } + + @Override + public String getPayloadNamespaceURI() { + return delegate.getPayloadNamespaceURI(); + } + + @Override + public boolean hasPayload() { + return delegate.hasPayload(); + } + + @Override + public boolean isFault() { + return delegate.isFault(); + } + + @Override + public QName getFirstDetailEntryName() { + return delegate.getFirstDetailEntryName(); + } + + @Override + public Source readEnvelopeAsSource() { + //TODO if (delegate instanceof SAAJMessage) + return delegate.readEnvelopeAsSource(); + } + + @Override + public Source readPayloadAsSource() { + //TODO if (delegate instanceof SAAJMessage) + return delegate.readPayloadAsSource(); + } + + @Override + public SOAPMessage readAsSOAPMessage() throws SOAPException { + if (!(delegate instanceof SAAJMessage)) { + delegate = toSAAJ(packet, null); + } + return delegate.readAsSOAPMessage(); + } + + @Override + public SOAPMessage readAsSOAPMessage(Packet p, boolean inbound) throws SOAPException { + if (!(delegate instanceof SAAJMessage)) { + delegate = toSAAJ(p, inbound); + } + return delegate.readAsSOAPMessage(); + } + + @Override + public Object readPayloadAsJAXB(Unmarshaller unmarshaller) throws JAXBException { + return delegate.readPayloadAsJAXB(unmarshaller); + } + + @Override + public T readPayloadAsJAXB(Bridge bridge) throws JAXBException { + return delegate.readPayloadAsJAXB(bridge); + } + + @Override + public T readPayloadAsJAXB(XMLBridge bridge) throws JAXBException { + return delegate.readPayloadAsJAXB(bridge); + } + + @Override + public XMLStreamReader readPayload() { + try { + return delegate.readPayload(); + } catch (XMLStreamException e) { + e.printStackTrace(); + } + return null; + } + + @Override + public void consume() { + delegate.consume(); + } + + @Override + public void writePayloadTo(XMLStreamWriter sw) throws XMLStreamException { + delegate.writePayloadTo(sw); + } + + @Override + public void writeTo(XMLStreamWriter sw) throws XMLStreamException { + delegate.writeTo(sw); + } + + @Override + public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) + throws SAXException { + delegate.writeTo(contentHandler, errorHandler); + } + + @Override + public Message copy() { + return delegate.copy(); + } + + @Override + public String getID(WSBinding binding) { + return delegate.getID(binding); + } + + @Override + public String getID(AddressingVersion av, SOAPVersion sv) { + return delegate.getID(av, sv); + } + + @Override + public SOAPVersion getSOAPVersion() { + return delegate.getSOAPVersion(); + } + + @Override + public @NotNull MessageHeaders getHeaders() { + return delegate.getHeaders(); + } + + @Override + public void setMessageMedadata(MessageMetadata metadata) { + super.setMessageMedadata(metadata); + delegate.setMessageMedadata(metadata); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageWritable.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/MessageWritable.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2012, 2013, 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.api.message; + +import java.io.IOException; +import java.io.OutputStream; + +import javax.xml.ws.soap.MTOMFeature; + +import com.oracle.webservices.internal.api.message.ContentType; + +/** + * A Message implementation may implement this interface as an alternative way to write the + * message into the OutputStream. + * + * @author shih-chang.chen@oracle.com + */ +public interface MessageWritable { + + /** + * Gets the Content-type of this message. + * + * @return The MIME content type of this message + */ + ContentType getContentType(); + + /** + * Writes the XML infoset portion of this MessageContext + * (from <soap:Envelope> to </soap:Envelope>). + * + * @param out + * Must not be null. The caller is responsible for closing the stream, + * not the callee. + * + * @return + * The MIME content type of this message (such as "application/xml"). + * This information is often ncessary by transport. + * + * @throws IOException + * if a {@link OutputStream} throws {@link IOException}. + */ + ContentType writeTo( OutputStream out ) throws IOException; + + /** + * Passes configuration information to this message to ensure the proper + * wire format is created. (from <soap:Envelope> to </soap:Envelope>). + * + * @param mtomFeature + * The standard WebServicesFeature for specifying + * the MTOM enablement and possibly threshold for the endpoint. + * This value may be null. + */ + void setMTOMConfiguration(final MTOMFeature mtomFeature); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Messages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Messages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Messages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -41,7 +41,6 @@ import com.sun.xml.internal.ws.message.ProblemActionHeader; import com.sun.xml.internal.ws.message.stream.PayloadStreamReaderMessage; import com.sun.xml.internal.ws.message.jaxb.JAXBMessage; -import com.sun.xml.internal.ws.message.saaj.SAAJMessage; import com.sun.xml.internal.ws.message.source.PayloadSourceMessage; import com.sun.xml.internal.ws.message.source.ProtocolSourceMessage; import com.sun.xml.internal.ws.spi.db.BindingContextFactory; @@ -222,7 +221,7 @@ for( Node n=header.getFirstChild(); n!=null; n=n.getNextSibling() ) { if(n.getNodeType()==Node.ELEMENT_NODE) { if(headers==null) - headers = new HeaderList(); + headers = new HeaderList(ver); headers.add(Headers.create((Element)n)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Packet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Packet.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/Packet.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,18 +25,23 @@ package com.sun.xml.internal.ws.api.message; +import com.oracle.webservices.internal.api.message.ContentType; +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.bind.marshaller.SAX2DOMEx; import com.sun.xml.internal.ws.addressing.WsaPropertyBag; +import com.sun.xml.internal.ws.addressing.WsaServerTube; import com.sun.xml.internal.ws.addressing.WsaTubeHelper; -import com.sun.xml.internal.ws.addressing.model.InvalidAddressingHeaderException; -import com.sun.xml.internal.ws.api.*; +import com.sun.xml.internal.ws.api.Component; +import com.sun.xml.internal.ws.api.EndpointAddress; +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; -import com.sun.xml.internal.ws.api.message.saaj.SAAJFactory; import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.pipe.Codec; @@ -48,17 +53,16 @@ import com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory; import com.sun.xml.internal.ws.client.*; import com.sun.xml.internal.ws.developer.JAXWSProperties; +import com.sun.xml.internal.ws.encoding.MtomCodec; import com.sun.xml.internal.ws.message.RelatesToHeader; import com.sun.xml.internal.ws.message.StringHeader; -import com.sun.xml.internal.ws.transport.http.WSHTTPConnection; -import com.sun.xml.internal.ws.message.saaj.SAAJMessage; -import com.sun.xml.internal.ws.server.WSEndpointImpl; import com.sun.xml.internal.ws.util.DOMUtil; import com.sun.xml.internal.ws.util.xml.XmlUtil; import com.sun.xml.internal.ws.wsdl.DispatchException; import com.sun.xml.internal.ws.wsdl.OperationDispatcher; +import com.sun.xml.internal.ws.resources.AddressingMessages; -import com.sun.xml.internal.org.jvnet.ws.message.ContentType; + import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.SAXException; @@ -67,6 +71,7 @@ import javax.xml.soap.SOAPException; import javax.xml.soap.SOAPMessage; import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.XMLStreamException; import javax.xml.ws.BindingProvider; import javax.xml.ws.Dispatch; import javax.xml.ws.WebServiceContext; @@ -74,12 +79,13 @@ import javax.xml.ws.handler.LogicalMessageContext; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPMessageContext; +import javax.xml.ws.soap.MTOMFeature; + import java.util.*; import java.util.logging.Logger; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; -import java.nio.ByteBuffer; import java.nio.channels.WritableByteChannel; /** @@ -142,7 +148,7 @@ *
  • this class needs to be cloneable since Message is copiable. *
  • The three live views aren't implemented correctly. It will be * more work to do so, although I'm sure it's possible. - *
  • {@link Property} annotation is to make it easy + *
  • {@link PropertySet.Property} annotation is to make it easy * for {@link MessageContext} to export properties on this object, * but it probably needs some clean up. * @@ -150,9 +156,10 @@ * @author Kohsuke Kawaguchi */ public final class Packet - extends DistributedPropertySet - implements com.sun.xml.internal.org.jvnet.ws.message.MessageContext -{ + // Packet must continue to extend/implement deprecated interfaces until downstream + // usage is updated. + extends com.oracle.webservices.internal.api.message.BaseDistributedPropertySet + implements com.oracle.webservices.internal.api.message.MessageContext, MessageMetadata { /** * Creates a {@link Packet} that wraps a given {@link Message}. @@ -167,6 +174,7 @@ public Packet(Message request) { this(); this.message = request; + if (message != null) message.setMessageMedadata(this); } /** @@ -180,24 +188,8 @@ * Used by {@link #createResponse(Message)} and {@link #copy(boolean)}. */ private Packet(Packet that) { - that.copySatelliteInto((DistributedPropertySet) this); - this.handlerConfig = that.handlerConfig; + relatePackets(that, true); this.invocationProperties = that.invocationProperties; - this.handlerScopePropertyNames = that.handlerScopePropertyNames; - this.contentNegotiation = that.contentNegotiation; - this.wasTransportSecure = that.wasTransportSecure; - this.transportBackChannel = that.transportBackChannel; - this.endpointAddress = that.endpointAddress; - this.isAdapterDeliversNonAnonymousResponse = that.isAdapterDeliversNonAnonymousResponse; - this.wsdlOperation = that.wsdlOperation; - this.acceptableMimeTypes = that.acceptableMimeTypes; - this.endpoint = that.endpoint; - this.proxy = that.proxy; - this.webServiceContextDelegate = that.webServiceContextDelegate; - this.soapAction = that.soapAction; - this.expectReply = that.expectReply; - this.component = that.component; - // copy other properties that need to be copied. is there any? } /** @@ -215,7 +207,7 @@ if (copyMessage && this.message != null) { copy.message = this.message.copy(); } - + if (copy.message != null) copy.message.setMessageMedadata(copy); return copy; } @@ -227,14 +219,23 @@ * @return may null. See the class javadoc for when it's null. */ public Message getMessage() { - return message; + if (message != null && !(message instanceof MessageWrapper)) { + message = new MessageWrapper(this, message); + } + return message; + } + + public Message getInternalMessage() { + return (message instanceof MessageWrapper)? ((MessageWrapper)message).delegate : message; } public WSBinding getBinding() { - if (endpoint != null) - return endpoint.getBinding(); - if (proxy != null) - return (WSBinding) proxy.getBinding(); + if (endpoint != null) { + return endpoint.getBinding(); + } + if (proxy != null) { + return (WSBinding) proxy.getBinding(); + } return null; } /** @@ -244,8 +245,11 @@ */ public void setMessage(Message message) { this.message = message; + if (message != null) this.message.setMessageMedadata(this); } + private WSDLOperationMapping wsdlOperationMapping = null; + private QName wsdlOperation; /** @@ -257,29 +261,34 @@ * @return null if there is no WSDL model or * runtime cannot uniquely identify the wsdl operation from the information in the packet. */ - @com.sun.xml.internal.ws.api.PropertySet.Property(MessageContext.WSDL_OPERATION) + @Property(MessageContext.WSDL_OPERATION) public final @Nullable QName getWSDLOperation() { - if (wsdlOperation != null) - return wsdlOperation; + if (wsdlOperation != null) return wsdlOperation; + if ( wsdlOperationMapping == null) wsdlOperationMapping = getWSDLOperationMapping(); + if ( wsdlOperationMapping != null ) wsdlOperation = wsdlOperationMapping.getOperationName(); + return wsdlOperation; + } + public WSDLOperationMapping getWSDLOperationMapping() { + if (wsdlOperationMapping != null) return wsdlOperationMapping; OperationDispatcher opDispatcher = null; if (endpoint != null) { - opDispatcher = ((WSEndpointImpl) endpoint).getOperationDispatcher(); + opDispatcher = endpoint.getOperationDispatcher(); } else if (proxy != null) { opDispatcher = ((Stub) proxy).getOperationDispatcher(); } //OpDispatcher is null when there is no WSDLModel if (opDispatcher != null) { try { - wsdlOperation = opDispatcher.getWSDLOperationQName(this); + wsdlOperationMapping = opDispatcher.getWSDLOperationMapping(this); } catch (DispatchException e) { //Ignore, this might be a protocol message which may not have a wsdl operation //LOGGER.info("Cannot resolve wsdl operation that this Packet is targeted for."); } } - return wsdlOperation; + return wsdlOperationMapping; } /** @@ -333,7 +342,7 @@ * at the time of invocation. * This property is used by MUPipe and HandlerPipe implementations. */ - @com.sun.xml.internal.ws.api.PropertySet.Property(BindingProviderProperties.JAXWS_HANDLER_CONFIG) + @Property(BindingProviderProperties.JAXWS_HANDLER_CONFIG) public HandlerConfiguration handlerConfig; /** @@ -342,17 +351,29 @@ * * TODO: who's using this property? */ - @com.sun.xml.internal.ws.api.PropertySet.Property(BindingProviderProperties.JAXWS_CLIENT_HANDLE_PROPERTY) + @Property(BindingProviderProperties.JAXWS_CLIENT_HANDLE_PROPERTY) public BindingProvider proxy; /** - * Determines if the governing {@link Adapter} or {@link Fiber.CompletionCallback} will handle delivering - * response messages targeted at non-anonymous endpoint addresses. Prior to the introduction of this - * flag the {@link WsaServerTube} would deliver non-anonymous responses. + * Determines if the governing {@link Adapter} or {@link com.sun.xml.internal.ws.api.pipe.Fiber.CompletionCallback} + * will handle delivering response messages targeted at non-anonymous endpoint + * addresses. Prior to the introduction of this flag + * the {@link WsaServerTube} would deliver non-anonymous responses. */ public boolean isAdapterDeliversNonAnonymousResponse; /** + * During invocation of a client Stub or Dispatch a Packet is + * created then the Stub's RequestContext is copied into the + * Packet. On certain internal cases the Packet is created + * *before* the invocation. In those cases we want the contents + * of the Packet to take precedence when ever any key/value pairs + * collide : if the Packet contains a value for a key use it, + * otherwise copy as usual from Stub. + */ + public boolean packetTakesPriorityOverRequestContext = false; + + /** * The endpoint address to which this message is sent to. * *

    @@ -371,19 +392,21 @@ * {@link #endpointAddress}. This is for JAX-WS client applications * that access this property via {@link BindingProvider#ENDPOINT_ADDRESS_PROPERTY}. */ - @com.sun.xml.internal.ws.api.PropertySet.Property(BindingProvider.ENDPOINT_ADDRESS_PROPERTY) + @Property(BindingProvider.ENDPOINT_ADDRESS_PROPERTY) public String getEndPointAddressString() { - if (endpointAddress == null) + if (endpointAddress == null) { return null; - else + } else { return endpointAddress.toString(); + } } public void setEndPointAddressString(String s) { - if (s == null) + if (s == null) { this.endpointAddress = null; - else + } else { this.endpointAddress = EndpointAddress.create(s); + } } /** @@ -394,15 +417,15 @@ */ public ContentNegotiation contentNegotiation; - @com.sun.xml.internal.ws.api.PropertySet.Property(ContentNegotiation.PROPERTY) + @Property(ContentNegotiation.PROPERTY) public String getContentNegotiationString() { return (contentNegotiation != null) ? contentNegotiation.toString() : null; } public void setContentNegotiationString(String s) { - if (s == null) + if (s == null) { contentNegotiation = null; - else { + } else { try { contentNegotiation = ContentNegotiation.valueOf(s); } catch (IllegalArgumentException e) { @@ -419,16 +442,17 @@ * This is not cached as one may reset the Message. *

    */ - @com.sun.xml.internal.ws.api.PropertySet.Property(MessageContext.REFERENCE_PARAMETERS) + @Property(MessageContext.REFERENCE_PARAMETERS) public @NotNull List getReferenceParameters() { + Message msg = getMessage(); List refParams = new ArrayList(); - if (message == null) { + if (msg == null) { return refParams; } - HeaderList hl = message.getHeaders(); - for (Header h : hl) { + MessageHeaders hl = msg.getHeaders(); + for (Header h : hl.asList()) { String attr = h.getAttribute(AddressingVersion.W3C.nsUri, "IsReferenceParameter"); if (attr != null && (attr.equals("true") || attr.equals("1"))) { Document d = DOMUtil.createDom(); @@ -455,14 +479,16 @@ } /** - * @deprecated * This method is for exposing header list through {@link PropertySet#get(Object)}, * for user applications, and should never be invoked directly from within the JAX-WS RI. */ - @com.sun.xml.internal.ws.api.PropertySet.Property(JAXWSProperties.INBOUND_HEADER_LIST_PROPERTY) - /*package*/ HeaderList getHeaderList() { - if (message == null) return null; - return message.getHeaders(); + @Property(JAXWSProperties.INBOUND_HEADER_LIST_PROPERTY) + /*package*/ MessageHeaders getHeaderList() { + Message msg = getMessage(); + if (msg == null) { + return null; + } + return msg.getHeaders(); } /** @@ -534,7 +560,7 @@ *

    * This property is set if and only if this is on the server side. */ - @com.sun.xml.internal.ws.api.PropertySet.Property(JAXWSProperties.WSENDPOINT) + @Property(JAXWSProperties.WSENDPOINT) public WSEndpoint endpoint; /** @@ -561,7 +587,7 @@ * header is present (See {@BP R2744} and {@BP R2745}.) For SOAP 1.2, * this is moved to the parameter of the "application/soap+xml". */ - @com.sun.xml.internal.ws.api.PropertySet.Property(BindingProvider.SOAPACTION_URI_PROPERTY) + @Property(BindingProvider.SOAPACTION_URI_PROPERTY) public String soapAction; /** @@ -622,7 +648,7 @@ * In all other situations, this property is null. * */ - @com.sun.xml.internal.ws.api.PropertySet.Property(BindingProviderProperties.ONE_WAY_OPERATION) + @Property(BindingProviderProperties.ONE_WAY_OPERATION) public Boolean expectReply; @@ -656,6 +682,20 @@ public Boolean nonNullAsyncHandlerGiven; /** + * USE-CASE: + * WS-AT is enabled, but there is no WSDL available. + * If Packet.isRequestReplyMEP() is Boolean.TRUE then WS-AT should + * add the TX context. + * + * This value is exposed to users via facades at higher abstraction layers. + * The user should NEVER use Packet directly. + * This value should ONLY be set by users. + */ + private Boolean isRequestReplyMEP; + public Boolean isRequestReplyMEP() { return isRequestReplyMEP; } + public void setRequestReplyMEP(final Boolean x) { isRequestReplyMEP = x; } + + /** * Lazily created set of handler-scope property names. * *

    @@ -701,8 +741,9 @@ public final Set getHandlerScopePropertyNames(boolean readOnly) { Set o = this.handlerScopePropertyNames; if (o == null) { - if (readOnly) + if (readOnly) { return Collections.emptySet(); + } o = new HashSet(); this.handlerScopePropertyNames = o; } @@ -755,9 +796,23 @@ */ public Packet createClientResponse(Message msg) { Packet response = new Packet(this); + response.setMessage(msg); + finishCreateRelateClientResponse(response); + return response; + } + + /** + * For use cases that start with an existing Packet. + */ + public Packet relateClientResponse(final Packet response) { + response.relatePackets(this, true); + finishCreateRelateClientResponse(response); + return response; + } + + private void finishCreateRelateClientResponse(final Packet response) { response.soapAction = null; // de-initializing - response.setMessage(msg); - return response; + response.setState(State.ClientResponse); } /** @@ -778,55 +833,93 @@ */ public Packet createServerResponse(@Nullable Message responseMessage, @Nullable WSDLPort wsdlPort, @Nullable SEIModel seiModel, @NotNull WSBinding binding) { Packet r = createClientResponse(responseMessage); + return relateServerResponse(r, wsdlPort, seiModel, binding); + } - AddressingVersion av = binding.getAddressingVersion(); - // populate WS-A headers only if WS-A is enabled - if (av == null) - return r; - //populate WS-A headers only if the request has addressing headers - String inputAction = this.getMessage().getHeaders().getAction(av, binding.getSOAPVersion()); - if (inputAction == null) { - return r; + /** + * Copy all properties from ({@code this}) packet into a input {@link Packet} + * @param response packet + */ + public void copyPropertiesTo(@Nullable Packet response){ + relatePackets(response, false); + } + + + /** + * A common method to make members related between input packet and this packet + * + * @param packet + * @param isCopy 'true' means copying all properties from input packet; + * 'false' means copying all properties from this packet to input packet. + */ + private void relatePackets(@Nullable Packet packet, boolean isCopy) + { + Packet request; + Packet response; + + if (!isCopy) { //is relate + request = this; + response = packet; + + // processing specific properties + response.soapAction = null; + response.invocationProperties.putAll(request.invocationProperties); + if (this.getState().equals(State.ServerRequest)) { + response.setState(State.ServerResponse); + } + } else { //is copy constructor + request = packet; + response = this; + + // processing specific properties + response.soapAction = request.soapAction; + response.setState(request.getState()); } - // if one-way, then dont populate any WS-A headers - if (responseMessage == null || (wsdlPort != null && message.isOneWay(wsdlPort))) - return r; - // otherwise populate WS-Addressing headers - populateAddressingHeaders(binding, r, wsdlPort, seiModel); - return r; + request.copySatelliteInto(response); + response.isAdapterDeliversNonAnonymousResponse = request.isAdapterDeliversNonAnonymousResponse; + response.handlerConfig = request.handlerConfig; + response.handlerScopePropertyNames = request.handlerScopePropertyNames; + response.contentNegotiation = request.contentNegotiation; + response.wasTransportSecure = request.wasTransportSecure; + response.transportBackChannel = request.transportBackChannel; + response.endpointAddress = request.endpointAddress; + response.wsdlOperation = request.wsdlOperation; + response.wsdlOperationMapping = request.wsdlOperationMapping; + response.acceptableMimeTypes = request.acceptableMimeTypes; + response.endpoint = request.endpoint; + response.proxy = request.proxy; + response.webServiceContextDelegate = request.webServiceContextDelegate; + response.expectReply = request.expectReply; + response.component = request.component; + response.mtomAcceptable = request.mtomAcceptable; + response.mtomRequest = request.mtomRequest; + // copy other properties that need to be copied. is there any? } public Packet relateServerResponse(@Nullable Packet r, @Nullable WSDLPort wsdlPort, @Nullable SEIModel seiModel, @NotNull WSBinding binding) { - copySatelliteInto((DistributedPropertySet) r); - r.soapAction = null; - r.handlerConfig = this.handlerConfig; - r.invocationProperties.putAll(this.invocationProperties); - r.handlerScopePropertyNames = this.handlerScopePropertyNames; - r.contentNegotiation = this.contentNegotiation; - r.wasTransportSecure = this.wasTransportSecure; - r.endpointAddress = this.endpointAddress; - r.wsdlOperation = this.wsdlOperation; - - r.acceptableMimeTypes = this.acceptableMimeTypes; - r.endpoint = this.endpoint; - r.proxy = this.proxy; - r.webServiceContextDelegate = this.webServiceContextDelegate; - r.expectReply = this.expectReply; - + relatePackets(r, false); + r.setState(State.ServerResponse); AddressingVersion av = binding.getAddressingVersion(); // populate WS-A headers only if WS-A is enabled - if (av == null) + if (av == null) { return r; + } + + if (getMessage() == null) { + return r; + } + //populate WS-A headers only if the request has addressing headers - String inputAction = this.getMessage().getHeaders().getAction(av, binding.getSOAPVersion()); + String inputAction = AddressingUtils.getAction(getMessage().getHeaders(), av, binding.getSOAPVersion()); if (inputAction == null) { return r; } // if one-way, then dont populate any WS-A headers - if (r.getMessage() == null || (wsdlPort != null && message.isOneWay(wsdlPort))) + if (r.getMessage() == null || (wsdlPort != null && getMessage().isOneWay(wsdlPort))) { return r; + } // otherwise populate WS-Addressing headers populateAddressingHeaders(binding, r, wsdlPort, seiModel); @@ -851,12 +944,13 @@ */ public Packet createServerResponse(@Nullable Message responseMessage, @NotNull AddressingVersion addressingVersion, @NotNull SOAPVersion soapVersion, @NotNull String action) { Packet responsePacket = createClientResponse(responseMessage); - + responsePacket.setState(State.ServerResponse); // populate WS-A headers only if WS-A is enabled - if (addressingVersion == null) + if (addressingVersion == null) { return responsePacket; + } //populate WS-A headers only if the request has addressing headers - String inputAction = this.getMessage().getHeaders().getAction(addressingVersion, soapVersion); + String inputAction = AddressingUtils.getAction(this.getMessage().getHeaders(), addressingVersion, soapVersion); if (inputAction == null) { return responsePacket; } @@ -888,21 +982,33 @@ if (responsePacket.getMessage() == null) return; - HeaderList hl = responsePacket.getMessage().getHeaders(); + MessageHeaders hl = responsePacket.getMessage().getHeaders(); WsaPropertyBag wpb = getSatellite(WsaPropertyBag.class); - + Message msg = getMessage(); // wsa:To WSEndpointReference replyTo = null; - if (wpb != null) - replyTo = wpb.getReplyToFromRequest(); - if (replyTo == null) - replyTo = message.getHeaders().getReplyTo(av, sv); + Header replyToFromRequestMsg = AddressingUtils.getFirstHeader(msg.getHeaders(), av.replyToTag, true, sv); + Header replyToFromResponseMsg = hl.get(av.toTag, false); + boolean replaceToTag = true; + try{ + if (replyToFromRequestMsg != null){ + replyTo = replyToFromRequestMsg.readAsEPR(av); + } + if (replyToFromResponseMsg != null && replyTo == null) { + replaceToTag = false; + } + } catch (XMLStreamException e) { + throw new WebServiceException(AddressingMessages.REPLY_TO_CANNOT_PARSE(), e); + } + if (replyTo == null) { + replyTo = AddressingUtils.getReplyTo(msg.getHeaders(), av, sv); + } // wsa:Action, add if the message doesn't already contain it, // generally true for SEI case where there is SEIModel or WSDLModel // false for Provider with no wsdl, Expects User to set the coresponding header on the Message. - if (responsePacket.getMessage().getHeaders().getAction(av, sv) == null) { + if (AddressingUtils.getAction(responsePacket.getMessage().getHeaders(), av, sv) == null) { //wsa:Action header is not set in the message, so use the wsa:Action passed as the parameter. hl.add(new StringHeader(av.actionTag, action, sv, mustUnderstand)); } @@ -916,31 +1022,37 @@ // wsa:RelatesTo String mid = null; - if (wpb != null) - mid = wpb.getMessageID(); - if (mid == null) - mid = message.getHeaders().getMessageID(av, sv); - if (mid != null) - hl.add(new RelatesToHeader(av.relatesToTag, mid)); + if (wpb != null) { + mid = wpb.getMessageID(); + } + if (mid == null) { + mid = AddressingUtils.getMessageID(msg.getHeaders(), av, sv); + } + if (mid != null) { + hl.addOrReplace(new RelatesToHeader(av.relatesToTag, mid)); + } // populate reference parameters WSEndpointReference refpEPR = null; if (responsePacket.getMessage().isFault()) { // choose FaultTo - if (wpb != null) - refpEPR = wpb.getFaultToFromRequest(); - if (refpEPR == null) - refpEPR = message.getHeaders().getFaultTo(av, sv); + if (wpb != null) { + refpEPR = wpb.getFaultToFromRequest(); + } + if (refpEPR == null) { + refpEPR = AddressingUtils.getFaultTo(msg.getHeaders(), av, sv); + } // if FaultTo is null, then use ReplyTo - if (refpEPR == null) + if (refpEPR == null) { refpEPR = replyTo; + } } else { // choose ReplyTo refpEPR = replyTo; } - if (refpEPR != null) { - hl.add(new StringHeader(av.toTag, refpEPR.getAddress())); + if (replaceToTag && refpEPR != null) { + hl.addOrReplace(new StringHeader(av.toTag, refpEPR.getAddress())); refpEPR.addReferenceParametersToList(hl); } } @@ -948,17 +1060,19 @@ private void populateAddressingHeaders(WSBinding binding, Packet responsePacket, WSDLPort wsdlPort, SEIModel seiModel) { AddressingVersion addressingVersion = binding.getAddressingVersion(); - if (addressingVersion == null) return; + if (addressingVersion == null) { + return; + } WsaTubeHelper wsaHelper = addressingVersion.getWsaHelper(wsdlPort, seiModel, binding); - String action = responsePacket.message.isFault() ? + String action = responsePacket.getMessage().isFault() ? wsaHelper.getFaultAction(this, responsePacket) : wsaHelper.getOutputAction(this); if (action == null) { LOGGER.info("WSA headers are not added as value for wsa:Action cannot be resolved for this message"); return; } - populateAddressingHeaders(responsePacket, addressingVersion, binding.getSOAPVersion(), action, addressingVersion.isRequired(binding)); + populateAddressingHeaders(responsePacket, addressingVersion, binding.getSOAPVersion(), action, AddressingVersion.isRequired(binding)); } public String toShortString() { @@ -966,15 +1080,17 @@ } // For use only in a debugger + @Override public String toString() { StringBuilder buf = new StringBuilder(); buf.append(super.toString()); String content; try { - if (message != null) { + Message msg = getMessage(); + if (msg != null) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); XMLStreamWriter xmlWriter = XMLStreamWriterFactory.create(baos, "UTF-8"); - message.copy().writeTo(xmlWriter); + msg.copy().writeTo(xmlWriter); xmlWriter.flush(); xmlWriter.close(); baos.flush(); @@ -1000,19 +1116,121 @@ model = parse(Packet.class); } + @Override protected PropertyMap getPropertyMap() { return model; } + public Map asMapIncludingInvocationProperties() { + final Map asMap = asMap(); + return new AbstractMap() { + @Override + public Object get(Object key) { + Object o = asMap.get(key); + if (o != null) + return o; + + return invocationProperties.get(key); + } + + @Override + public int size() { + return asMap.size() + invocationProperties.size(); + } + + @Override + public boolean containsKey(Object key) { + if (asMap.containsKey(key)) + return true; + return invocationProperties.containsKey(key); + } + + @Override + public Set> entrySet() { + final Set> asMapEntries = asMap.entrySet(); + final Set> ipEntries = invocationProperties.entrySet(); + + return new AbstractSet>() { + @Override + public Iterator> iterator() { + final Iterator> asMapIt = asMapEntries.iterator(); + final Iterator> ipIt = ipEntries.iterator(); + + return new Iterator>() { + @Override + public boolean hasNext() { + return asMapIt.hasNext() || ipIt.hasNext(); + } + + @Override + public java.util.Map.Entry next() { + if (asMapIt.hasNext()) + return asMapIt.next(); + return ipIt.next(); + } + + @Override + public void remove() { + throw new UnsupportedOperationException(); + } + }; + } + + @Override + public int size() { + return asMap.size() + invocationProperties.size(); + } + }; + } + + @Override + public Object put(String key, Object value) { + if (supports(key)) + return asMap.put(key, value); + + return invocationProperties.put(key, value); + } + + @Override + public void clear() { + asMap.clear(); + invocationProperties.clear(); + } + + @Override + public Object remove(Object key) { + if (supports(key)) + return asMap.remove(key); + + return invocationProperties.remove(key); + } + }; + } + private static final Logger LOGGER = Logger.getLogger(Packet.class.getName()); + @Override public SOAPMessage getSOAPMessage() throws SOAPException { - return (message != null) ? message.readAsSOAPMessage() : null; + return getAsSOAPMessage(); } + //TODO replace the message to a SAAJMEssage issue - JRFSAAJMessage or SAAJMessage? + @Override + public SOAPMessage getAsSOAPMessage() throws SOAPException { + Message msg = this.getMessage(); + if (msg == null) + return null; + if (msg instanceof MessageWritable) + ((MessageWritable) msg).setMTOMConfiguration(mtomFeature); + return msg.readAsSOAPMessage(this, this.getState().isInbound()); + } + + public Codec codec = null; - Codec getCodec() { - if (codec != null) return codec; + public Codec getCodec() { + if (codec != null) { + return codec; + } if (endpoint != null) { codec = endpoint.createCodec(); } @@ -1023,12 +1241,232 @@ return codec; } - - public ContentType writeTo( OutputStream out ) throws IOException { + @Override + public com.oracle.webservices.internal.api.message.ContentType writeTo( OutputStream out ) throws IOException { + Message msg = getInternalMessage(); + if (msg instanceof MessageWritable) { + ((MessageWritable) msg).setMTOMConfiguration(mtomFeature); + return ((MessageWritable)msg).writeTo(out); + } return getCodec().encode(this, out); } - public ContentType writeTo( WritableByteChannel buffer ) { + public com.oracle.webservices.internal.api.message.ContentType writeTo( WritableByteChannel buffer ) { return getCodec().encode(this, buffer); } + + private ContentType contentType; + + /** + * If the request's Content-Type is multipart/related; type=application/xop+xml, then this set to to true + * + * Used on server-side, for encoding the repsonse. + */ + private Boolean mtomRequest; + + /** + * Based on request's Accept header this is set. + * Currently only set if MTOMFeature is enabled. + * + * Should be used on server-side, for encoding the response. + */ + private Boolean mtomAcceptable; + + private MTOMFeature mtomFeature; + + public Boolean getMtomRequest() { + return mtomRequest; + } + + public void setMtomRequest(Boolean mtomRequest) { + this.mtomRequest = mtomRequest; + } + + public Boolean getMtomAcceptable() { + return mtomAcceptable; + } + + Boolean checkMtomAcceptable; + public void checkMtomAcceptable() { + if (checkMtomAcceptable == null) { + if (acceptableMimeTypes == null || isFastInfosetDisabled) { + checkMtomAcceptable = false; + } else { + checkMtomAcceptable = (acceptableMimeTypes.indexOf(MtomCodec.XOP_XML_MIME_TYPE) != -1); +// StringTokenizer st = new StringTokenizer(acceptableMimeTypes, ","); +// while (st.hasMoreTokens()) { +// final String token = st.nextToken().trim(); +// if (token.toLowerCase().contains(MtomCodec.XOP_XML_MIME_TYPE)) { +// mtomAcceptable = true; +// } +// } +// if (mtomAcceptable == null) mtomAcceptable = false; + } + } + mtomAcceptable = checkMtomAcceptable; + } + + private Boolean fastInfosetAcceptable; + + public Boolean getFastInfosetAcceptable(String fiMimeType) { + if (fastInfosetAcceptable == null) { + if (acceptableMimeTypes == null || isFastInfosetDisabled) { + fastInfosetAcceptable = false; + } else { + fastInfosetAcceptable = (acceptableMimeTypes.indexOf(fiMimeType) != -1); + } +// if (accept == null || isFastInfosetDisabled) return false; +// +// StringTokenizer st = new StringTokenizer(accept, ","); +// while (st.hasMoreTokens()) { +// final String token = st.nextToken().trim(); +// if (token.equalsIgnoreCase(fiMimeType)) { +// return true; +// } +// } +// return false; + } + return fastInfosetAcceptable; + } + + + public void setMtomFeature(MTOMFeature mtomFeature) { + this.mtomFeature = mtomFeature; + } + + public MTOMFeature getMtomFeature() { + //If we have a binding, use that in preference to an explicitly + //set MTOMFeature + WSBinding binding = getBinding(); + if (binding != null) { + return binding.getFeature(MTOMFeature.class); + } + return mtomFeature; + } + + @Override + public com.oracle.webservices.internal.api.message.ContentType getContentType() { + if (contentType == null) { + contentType = getInternalContentType(); + } + if (contentType == null) { + contentType = getCodec().getStaticContentType(this); + } + if (contentType == null) { + //TODO write to buffer + } + return contentType; + } + + public ContentType getInternalContentType() { + Message msg = getInternalMessage(); + if (msg instanceof MessageWritable) { + return ((MessageWritable)msg).getContentType(); + } + return contentType; + } + + public void setContentType(ContentType contentType) { + this.contentType = contentType; + } + + public enum Status { + Request, Response, Unknown; + public boolean isRequest() { return Request.equals(this); } + public boolean isResponse() { return Response.equals(this); } + } + + public enum State { + ServerRequest(true), ClientRequest(false), ServerResponse(false), ClientResponse(true); + private boolean inbound; + State(boolean inbound) { + this.inbound = inbound; + } + public boolean isInbound() { + return inbound; + } + } + +// private Status status = Status.Unknown; + + //Default state is ServerRequest - some custom adapters may not set the value of state + //upon server request - all other code paths should set it + private State state = State.ServerRequest; + +// public Status getStatus() { return status; } + + public State getState() { return state; } + public void setState(State state) { this.state = state; } + + public boolean shouldUseMtom() { + if (getState().isInbound()) { + return isMtomContentType(); + } else { + return shouldUseMtomOutbound(); + } + } + + private boolean shouldUseMtomOutbound() { + //Use the getter to make sure all the logic is executed correctly + MTOMFeature myMtomFeature = getMtomFeature(); + if(myMtomFeature != null && myMtomFeature.isEnabled()) { + //On client, always use XOP encoding if MTOM is enabled + //On Server, mtomAcceptable and mtomRequest will be set - use XOP encoding + //if either request is XOP encoded (mtomRequest) or + //client accepts XOP encoding (mtomAcceptable) + if (getMtomAcceptable() == null && getMtomRequest() == null) { + return true; + } else { + if (getMtomAcceptable() != null && getMtomAcceptable() && getState().equals(State.ServerResponse)) { + return true; + } + if (getMtomRequest() != null && getMtomRequest() && getState().equals(State.ServerResponse)) { + return true; + } + } + } + return false; + } + + private boolean isMtomContentType() { + return (getInternalContentType() != null) && + (getInternalContentType().getContentType().contains("application/xop+xml")); + } + + /** + * @deprecated + */ + public void addSatellite(@NotNull com.sun.xml.internal.ws.api.PropertySet satellite) { + super.addSatellite(satellite); + } + + /** + * @deprecated + */ + public void addSatellite(@NotNull Class keyClass, @NotNull com.sun.xml.internal.ws.api.PropertySet satellite) { + super.addSatellite(keyClass, satellite); + } + + /** + * @deprecated + */ + public void copySatelliteInto(@NotNull com.sun.xml.internal.ws.api.DistributedPropertySet r) { + super.copySatelliteInto(r); + } + + /** + * @deprecated + */ + public void removeSatellite(com.sun.xml.internal.ws.api.PropertySet satellite) { + super.removeSatellite(satellite); + } + + /** + * This is propogated from SOAPBindingCodec and will affect isMtomAcceptable and isFastInfosetAcceptable + */ + private boolean isFastInfosetDisabled; + + public void setFastInfosetDisabled(boolean b) { + isFastInfosetDisabled = b; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/SuppressAutomaticWSARequestHeadersFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/SuppressAutomaticWSARequestHeadersFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/SuppressAutomaticWSARequestHeadersFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -24,6 +24,6 @@ */ /** - * {@link Message} and related abstractions that represent a SOAP message. + * {@link com.sun.xml.internal.ws.api.message.Message} and related abstractions that represent a SOAP message. */ package com.sun.xml.internal.ws.api.message; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SAAJFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SAAJFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SAAJFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,6 +33,7 @@ import javax.xml.soap.SOAPException; import javax.xml.soap.SOAPFactory; import javax.xml.soap.SOAPMessage; +import javax.xml.stream.XMLStreamException; import org.xml.sax.SAXException; @@ -41,6 +42,7 @@ import com.sun.xml.internal.ws.api.message.Attachment; import com.sun.xml.internal.ws.api.message.AttachmentEx; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.message.saaj.SAAJMessage; import com.sun.xml.internal.ws.util.ServiceFinder; import com.sun.xml.internal.ws.util.xml.XmlUtil; @@ -76,14 +78,14 @@ * specified implementation of MessageFactory. * @see SAAJMetaFactory */ - public static MessageFactory getMessageFactory(String saajFactoryString) throws SOAPException { + public static MessageFactory getMessageFactory(String protocol) throws SOAPException { for (SAAJFactory s : ServiceFinder.find(SAAJFactory.class)) { - MessageFactory mf = s.createMessageFactory(saajFactoryString); + MessageFactory mf = s.createMessageFactory(protocol); if (mf != null) return mf; } - return instance.createMessageFactory(saajFactoryString); + return instance.createMessageFactory(protocol); } /** @@ -104,14 +106,14 @@ * specified SOAPFactory * @see SAAJMetaFactory */ - public static SOAPFactory getSOAPFactory(String saajFactoryString) throws SOAPException { + public static SOAPFactory getSOAPFactory(String protocol) throws SOAPException { for (SAAJFactory s : ServiceFinder.find(SAAJFactory.class)) { - SOAPFactory sf = s.createSOAPFactory(saajFactoryString); + SOAPFactory sf = s.createSOAPFactory(protocol); if (sf != null) return sf; } - return instance.createSOAPFactory(saajFactoryString); + return instance.createSOAPFactory(protocol); } /** @@ -146,6 +148,50 @@ return instance.readAsSOAPMessage(soapVersion, message); } + /** + * Reads Message as SOAPMessage. After this call message is consumed. + * @param soapVersion SOAP version + * @param message Message + * @param packet The packet that owns the Message + * @return Created SOAPMessage + * @throws SOAPException if SAAJ processing fails + */ + public static SOAPMessage read(SOAPVersion soapVersion, Message message, Packet packet) throws SOAPException { + for (SAAJFactory s : ServiceFinder.find(SAAJFactory.class)) { + SOAPMessage msg = s.readAsSOAPMessage(soapVersion, message, packet); + if (msg != null) + return msg; + } + + return instance.readAsSOAPMessage(soapVersion, message, packet); + } + + /** + * Reads the message within the Packet to a SAAJMessage. After this call message is consumed. + * @param packet Packet + * @return Created SAAJPMessage + * @throws SOAPException if SAAJ processing fails + */ + public static SAAJMessage read(Packet packet) throws SOAPException { + for (SAAJFactory s : ServiceFinder.find(SAAJFactory.class)) { + SAAJMessage msg = s.readAsSAAJ(packet); + if (msg != null) return msg; + } + return instance.readAsSAAJ(packet); + } + + /** + * Reads the message within the Packet to a SAAJMessage. After this call message is consumed. + * @param packet Packet + * @return Created SAAJPMessage + * @throws SOAPException if SAAJ processing fails + */ + public SAAJMessage readAsSAAJ(Packet packet) throws SOAPException { + SOAPVersion v = packet.getMessage().getSOAPVersion(); + SOAPMessage msg = readAsSOAPMessage(v, packet.getMessage()); + return new SAAJMessage(msg); + } + /** * Creates a new MessageFactory object that is an instance * of the specified implementation. May be a dynamic message factory, @@ -169,8 +215,8 @@ * specified implementation of MessageFactory. * @see SAAJMetaFactory */ - public MessageFactory createMessageFactory(String saajFactoryString) throws SOAPException { - return MessageFactory.newInstance(saajFactoryString); + public MessageFactory createMessageFactory(String protocol) throws SOAPException { + return MessageFactory.newInstance(protocol); } /** @@ -191,8 +237,8 @@ * specified SOAPFactory * @see SAAJMetaFactory */ - public SOAPFactory createSOAPFactory(String saajFactoryString) throws SOAPException { - return SOAPFactory.newInstance(saajFactoryString); + public SOAPFactory createSOAPFactory(String protocol) throws SOAPException { + return SOAPFactory.newInstance(protocol); } /** @@ -211,16 +257,36 @@ * @return Created SOAPMessage * @throws SOAPException if SAAJ processing fails */ - public SOAPMessage readAsSOAPMessage(SOAPVersion soapVersion, Message message) throws SOAPException { + public SOAPMessage readAsSOAPMessage(final SOAPVersion soapVersion, final Message message) throws SOAPException { SOAPMessage msg = soapVersion.getMessageFactory().createMessage(); + SaajStaxWriter writer = new SaajStaxWriter(msg); + try { + message.writeTo(writer); + } catch (XMLStreamException e) { + throw (e.getCause() instanceof SOAPException) ? (SOAPException) e.getCause() : new SOAPException(e); + } + msg = writer.getSOAPMessage(); + addAttachmentsToSOAPMessage(msg, message); + if (msg.saveRequired()) + msg.saveChanges(); + return msg; + } + public SOAPMessage readAsSOAPMessageSax2Dom(final SOAPVersion soapVersion, final Message message) throws SOAPException { + SOAPMessage msg = soapVersion.getMessageFactory().createMessage(); SAX2DOMEx s2d = new SAX2DOMEx(msg.getSOAPPart()); try { message.writeTo(s2d, XmlUtil.DRACONIAN_ERROR_HANDLER); } catch (SAXException e) { throw new SOAPException(e); } + addAttachmentsToSOAPMessage(msg, message); + if (msg.saveRequired()) + msg.saveChanges(); + return msg; + } + static protected void addAttachmentsToSOAPMessage(SOAPMessage msg, Message message) { for(Attachment att : message.getAttachments()) { AttachmentPart part = msg.createAttachmentPart(); part.setDataHandler(att.asDataHandler()); @@ -249,9 +315,19 @@ } msg.addAttachmentPart(part); } + } - if (msg.saveRequired()) - msg.saveChanges(); - return msg; + /** + * Reads Message as SOAPMessage. After this call message is consumed. + * The implementation in this class simply calls readAsSOAPMessage(SOAPVersion, Message), + * and ignores the other parameters + * Subclasses can override and choose to base SOAPMessage creation on Packet properties if needed + * @param soapVersion SOAP version + * @param message Message + * @return Created SOAPMessage + * @throws SOAPException if SAAJ processing fails + */ + public SOAPMessage readAsSOAPMessage(SOAPVersion soapVersion, Message message, Packet packet) throws SOAPException { + return readAsSOAPMessage(soapVersion, message); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SAAJMessageHeaders.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SAAJMessageHeaders.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,498 @@ +/* + * Copyright (c) 1997, 2013, 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.api.message.saaj; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.xml.namespace.QName; +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPHeader; +import javax.xml.soap.SOAPHeaderElement; +import javax.xml.soap.SOAPMessage; + +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.message.Header; +import com.sun.xml.internal.ws.api.message.MessageHeaders; +import com.sun.xml.internal.ws.binding.SOAPBindingImpl; +import com.sun.xml.internal.ws.message.saaj.SAAJHeader; + +public class SAAJMessageHeaders implements MessageHeaders { + SOAPMessage sm; + Map nonSAAJHeaders; + Map notUnderstoodCount; + SOAPVersion soapVersion; + private Set understoodHeaders; + + public SAAJMessageHeaders(SOAPMessage sm, SOAPVersion version) { + this.sm = sm; + this.soapVersion = version; + initHeaderUnderstanding(); + } + + /** Set the initial understood/not understood state of the headers in this + * object + */ + private void initHeaderUnderstanding() { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return; + } + + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + while(allHeaders.hasNext()) { + SOAPHeaderElement nextHdrElem = (SOAPHeaderElement) allHeaders.next(); + if (nextHdrElem == null) { + continue; + } + if (nextHdrElem.getMustUnderstand()) { + notUnderstood(nextHdrElem.getElementQName()); + } + //only headers explicitly marked as understood should be + //in the understoodHeaders set, so don't add anything to + //that set at the beginning + } + + } + + @Override + public void understood(Header header) { + understood(header.getNamespaceURI(), header.getLocalPart()); + } + + @Override + public void understood(String nsUri, String localName) { + understood(new QName(nsUri, localName)); + } + + @Override + public void understood(QName qName) { + if (notUnderstoodCount == null) { + notUnderstoodCount = new HashMap(); + } + + Integer count = notUnderstoodCount.get(qName); + if (count != null && count.intValue() > 0) { + //found the header in notUnderstood headers - decrement count + count = count.intValue() - 1; + if (count <= 0) { + //if the value is zero or negative, remove that header name + //since all headers by that name are understood now + notUnderstoodCount.remove(qName); + } else { + notUnderstoodCount.put(qName, count); + } + } + + if (understoodHeaders == null) { + understoodHeaders = new HashSet(); + } + //also add it to the understood headers list (optimization for getUnderstoodHeaders) + understoodHeaders.add(qName); + + } + + @Override + public boolean isUnderstood(Header header) { + return isUnderstood(header.getNamespaceURI(), header.getLocalPart()); + } + @Override + public boolean isUnderstood(String nsUri, String localName) { + return isUnderstood(new QName(nsUri, localName)); + } + + @Override + public boolean isUnderstood(QName name) { + if (understoodHeaders == null) { + return false; + } + return understoodHeaders.contains(name); + } + + public boolean isUnderstood(int index) { + // TODO Auto-generated method stub + return false; + } + + @Override + public Header get(String nsUri, String localName, boolean markAsUnderstood) { + SOAPHeaderElement h = find(nsUri, localName); + if (h != null) { + if (markAsUnderstood) { + understood(nsUri, localName); + } + return new SAAJHeader(h); + } + return null; + } + + @Override + public Header get(QName name, boolean markAsUnderstood) { + return get(name.getNamespaceURI(), name.getLocalPart(), markAsUnderstood); + } + + @Override + public Iterator

    getHeaders(QName headerName, + boolean markAsUnderstood) { + return getHeaders(headerName.getNamespaceURI(), headerName.getLocalPart(), markAsUnderstood); + } + + @Override + public Iterator
    getHeaders(final String nsUri, final String localName, + final boolean markAsUnderstood) { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return null; + } + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + if (markAsUnderstood) { + //mark all the matchingheaders as understood up front + //make an iterator while we're doing that + List
    headers = new ArrayList
    (); + while (allHeaders.hasNext()) { + SOAPHeaderElement nextHdr = (SOAPHeaderElement) allHeaders.next(); + if (nextHdr != null && + nextHdr.getNamespaceURI().equals(nsUri)) { + if (localName == null || + nextHdr.getLocalName().equals(localName)) { + understood(nextHdr.getNamespaceURI(), nextHdr.getLocalName()); + headers.add(new SAAJHeader(nextHdr)); + } + } + } + return headers.iterator(); + } + //if we got here markAsUnderstood is false - return a lazy iterator rather + //than traverse the entire list of headers now + return new HeaderReadIterator(allHeaders, nsUri, localName); + } + + @Override + public Iterator
    getHeaders(String nsUri, boolean markAsUnderstood) { + return getHeaders(nsUri, null, markAsUnderstood); + } + @Override + public boolean add(Header header) { + try { + header.writeTo(sm); + } catch (SOAPException e) { + //TODO log exception + return false; + } + + //the newly added header is not understood by default + notUnderstood(new QName(header.getNamespaceURI(), header.getLocalPart())); + + //track non saaj headers so that they can be retrieved later + if (isNonSAAJHeader(header)) { + //TODO assumes only one header with that name? + addNonSAAJHeader(find(header.getNamespaceURI(), header.getLocalPart()), + header); + } + + return true; + } + + @Override + public Header remove(QName name) { + return remove(name.getNamespaceURI(), name.getLocalPart()); + } + + @Override + public Header remove(String nsUri, String localName) { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return null; + } + SOAPHeaderElement headerElem = find(nsUri, localName); + if (headerElem == null) { + return null; + } + headerElem = (SOAPHeaderElement) soapHeader.removeChild(headerElem); + + //it might have been a nonSAAJHeader - remove from that map + removeNonSAAJHeader(headerElem); + + //remove it from understoodHeaders and notUnderstoodHeaders if present + QName hdrName = (nsUri == null) ? new QName(localName) : new QName(nsUri, localName); + if (understoodHeaders != null) { + understoodHeaders.remove(hdrName); + } + removeNotUnderstood(hdrName); + + return new SAAJHeader(headerElem); + } + + private void removeNotUnderstood(QName hdrName) { + if (notUnderstoodCount == null) { + return; + } + Integer notUnderstood = notUnderstoodCount.get(hdrName); + if (notUnderstood != null) { + int intNotUnderstood = notUnderstood; + intNotUnderstood--; + if (intNotUnderstood <= 0) { + notUnderstoodCount.remove(hdrName); + } + } + + } + + private SOAPHeaderElement find(QName qName) { + return find(qName.getNamespaceURI(), qName.getLocalPart()); + } + + private SOAPHeaderElement find(String nsUri, String localName) { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return null; + } + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + while(allHeaders.hasNext()) { + SOAPHeaderElement nextHdrElem = (SOAPHeaderElement) allHeaders.next(); + if (nextHdrElem.getNamespaceURI().equals(nsUri) && + nextHdrElem.getLocalName().equals(localName)) { + return nextHdrElem; + } + } + return null; + } + + private void notUnderstood(QName qName) { + if (notUnderstoodCount == null) { + notUnderstoodCount = new HashMap(); + } + Integer count = notUnderstoodCount.get(qName); + if (count == null) { + notUnderstoodCount.put(qName, 1); + } else { + notUnderstoodCount.put(qName, count + 1); + } + + //if for some strange reason it was previously understood and now is not, + //remove it from understoodHeaders if it exists there + if (understoodHeaders != null) { + understoodHeaders.remove(qName); + } + } + + /** + * Utility method to get the SOAPHeader from a SOAPMessage, adding one if + * one is not present in the original message. + */ + private SOAPHeader ensureSOAPHeader() { + SOAPHeader header; + try { + header = sm.getSOAPPart().getEnvelope().getHeader(); + if (header != null) { + return header; + } else { + return sm.getSOAPPart().getEnvelope().addHeader(); + } + } catch (Exception e) { + return null; + } + } + + private boolean isNonSAAJHeader(Header header) { + return !(header instanceof SAAJHeader); + } + + private void addNonSAAJHeader(SOAPHeaderElement headerElem, Header header) { + if (nonSAAJHeaders == null) { + nonSAAJHeaders = new HashMap(); + } + nonSAAJHeaders.put(headerElem, header); + } + + private void removeNonSAAJHeader(SOAPHeaderElement headerElem) { + if (nonSAAJHeaders != null) { + nonSAAJHeaders.remove(headerElem); + } + } + + @Override + public boolean addOrReplace(Header header) { + remove(header.getNamespaceURI(), header.getLocalPart()); + return add(header); + } + + @Override + public void replace(Header old, Header header) { + if (remove(old.getNamespaceURI(), old.getLocalPart()) == null) + throw new IllegalArgumentException(); + add(header); + } + + @Override + public Set getUnderstoodHeaders() { + return understoodHeaders; + } + + @Override + public Set getNotUnderstoodHeaders(Set roles, + Set knownHeaders, WSBinding binding) { + Set notUnderstoodHeaderNames = new HashSet(); + if (notUnderstoodCount == null) { + return notUnderstoodHeaderNames; + } + for (QName headerName : notUnderstoodCount.keySet()) { + int count = notUnderstoodCount.get(headerName); + if (count <= 0) { + continue; + } + SOAPHeaderElement hdrElem = find(headerName); + if (!hdrElem.getMustUnderstand()) { + continue; + } + SAAJHeader hdr = new SAAJHeader(hdrElem); + //mustUnderstand attribute is true - but there may be + //additional criteria + boolean understood = false; + if (roles != null) { + understood = !roles.contains(hdr.getRole(soapVersion)); + } + if (understood) { + continue; + } + //if it must be understood see if it is understood by the binding + //or is in knownheaders + if (binding != null && binding instanceof SOAPBindingImpl) { + understood = ((SOAPBindingImpl) binding).understandsHeader(headerName); + if (!understood) { + if (knownHeaders != null && knownHeaders.contains(headerName)) { + understood = true; + } + } + } + if (!understood) { + notUnderstoodHeaderNames.add(headerName); + } + } + return notUnderstoodHeaderNames; + } + + @Override + public Iterator
    getHeaders() { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return null; + } + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + return new HeaderReadIterator(allHeaders, null, null); + } + + private static class HeaderReadIterator implements Iterator
    { + SOAPHeaderElement current; + Iterator soapHeaders; + String myNsUri; + String myLocalName; + + public HeaderReadIterator(Iterator allHeaders, String nsUri, + String localName) { + this.soapHeaders = allHeaders; + this.myNsUri = nsUri; + this.myLocalName = localName; + } + + @Override + public boolean hasNext() { + if (current == null) { + advance(); + } + return (current != null); + } + + @Override + public Header next() { + if (!hasNext()) { + return null; + } + if (current == null) { + return null; + } + + SAAJHeader ret = new SAAJHeader(current); + current = null; + return ret; + } + + @Override + public void remove() { + throw new UnsupportedOperationException(); + } + + private void advance() { + while (soapHeaders.hasNext()) { + SOAPHeaderElement nextHdr = (SOAPHeaderElement) soapHeaders.next(); + if (nextHdr != null && + (myNsUri == null || nextHdr.getNamespaceURI().equals(myNsUri)) && + (myLocalName == null || nextHdr.getLocalName().equals(myLocalName))) { + current = nextHdr; + //found it + return; + } + } + //if we got here we didn't find a match + current = null; + } + + } + + @Override + public boolean hasHeaders() { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return false; + } + + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + return allHeaders.hasNext(); + } + + @Override + public List
    asList() { + SOAPHeader soapHeader = ensureSOAPHeader(); + if (soapHeader == null) { + return Collections.emptyList(); + } + + Iterator allHeaders = soapHeader.examineAllHeaderElements(); + List
    headers = new ArrayList
    (); + while (allHeaders.hasNext()) { + SOAPHeaderElement nextHdr = (SOAPHeaderElement) allHeaders.next(); + headers.add(new SAAJHeader(nextHdr)); + } + return headers; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,327 @@ +/* + * Copyright (c) 2013, 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.api.message.saaj; + +import java.util.Arrays; +import java.util.Iterator; + +import javax.xml.namespace.NamespaceContext; +import javax.xml.namespace.QName; +import javax.xml.soap.SOAPElement; +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPMessage; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; + +import org.w3c.dom.Comment; +import org.w3c.dom.Node; + +/** + * SaajStaxWriter builds a SAAJ SOAPMessage by using XMLStreamWriter interface. + * + * @author shih-chang.chen@oracle.com + */ +public class SaajStaxWriter implements XMLStreamWriter { + + protected SOAPMessage soap; + protected String envURI; + protected SOAPElement currentElement; + + static final protected String Envelope = "Envelope"; + static final protected String Header = "Header"; + static final protected String Body = "Body"; + static final protected String xmlns = "xmlns"; + + public SaajStaxWriter(final SOAPMessage msg) throws SOAPException { + soap = msg; + currentElement = soap.getSOAPPart().getEnvelope(); + envURI = currentElement.getNamespaceURI(); + } + + public SOAPMessage getSOAPMessage() { + return soap; + } + + @Override + public void writeStartElement(final String localName) throws XMLStreamException { + try { + currentElement = currentElement.addChildElement(localName); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public void writeStartElement(final String ns, final String ln) throws XMLStreamException { + writeStartElement(null, ln, ns); + } + + @Override + public void writeStartElement(final String prefix, final String ln, final String ns) throws XMLStreamException { + try { + if (envURI.equals(ns)) { + if (Envelope.equals(ln)) { + currentElement = soap.getSOAPPart().getEnvelope(); + fixPrefix(prefix); + return; + } else if (Header.equals(ln)) { + currentElement = soap.getSOAPHeader(); + fixPrefix(prefix); + return; + } else if (Body.equals(ln)) { + currentElement = soap.getSOAPBody(); + fixPrefix(prefix); + return; + } + } + currentElement = (prefix == null) ? + currentElement.addChildElement(new QName(ns, ln)) : + currentElement.addChildElement(ln, prefix, ns); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + private void fixPrefix(final String prfx) throws XMLStreamException { + String oldPrfx = currentElement.getPrefix(); + if (prfx != null && !prfx.equals(oldPrfx)) { + currentElement.setPrefix(prfx); + } + } + + @Override + public void writeEmptyElement(final String uri, final String ln) throws XMLStreamException { + writeStartElement(null, ln, uri); + } + + @Override + public void writeEmptyElement(final String prefix, final String ln, final String uri) throws XMLStreamException { + writeStartElement(prefix, ln, uri); + } + + @Override + public void writeEmptyElement(final String ln) throws XMLStreamException { + writeStartElement(null, ln, null); + } + + @Override + public void writeEndElement() throws XMLStreamException { + if (currentElement != null) currentElement = currentElement.getParentElement(); + } + + @Override + public void writeEndDocument() throws XMLStreamException { + } + + @Override + public void close() throws XMLStreamException { + } + + @Override + public void flush() throws XMLStreamException { + } + + @Override + public void writeAttribute(final String ln, final String val) throws XMLStreamException { + writeAttribute(null, null, ln, val); + } + + @Override + public void writeAttribute(final String prefix, final String ns, final String ln, final String value) throws XMLStreamException { + try { + if (ns == null) { + if (prefix == null && xmlns.equals(ln)) { + currentElement.addNamespaceDeclaration("", value); + } else { + currentElement.setAttributeNS("", ln, value); + } + } else { + QName name = (prefix == null) ? new QName(ns, ln) : new QName(ns, ln, prefix); + currentElement.addAttribute(name, value); + } + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public void writeAttribute(final String ns, final String ln, final String val) throws XMLStreamException { + writeAttribute(null, ns, ln, val); + } + + @Override + public void writeNamespace(String prefix, final String uri) throws XMLStreamException { + + // make prefix default if null or "xmlns" (according to javadoc) + if (prefix == null || "xmlns".equals(prefix)) { + prefix = ""; + } + + try { + currentElement.addNamespaceDeclaration(prefix, uri); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public void writeDefaultNamespace(final String uri) throws XMLStreamException { + writeNamespace("", uri); + } + + @Override + public void writeComment(final String data) throws XMLStreamException { + Comment c = soap.getSOAPPart().createComment(data); + currentElement.appendChild(c); + } + + @Override + public void writeProcessingInstruction(final String target) throws XMLStreamException { + Node n = soap.getSOAPPart().createProcessingInstruction(target, ""); + currentElement.appendChild(n); + } + + @Override + public void writeProcessingInstruction(final String target, final String data) throws XMLStreamException { + Node n = soap.getSOAPPart().createProcessingInstruction(target, data); + currentElement.appendChild(n); + } + + @Override + public void writeCData(final String data) throws XMLStreamException { + Node n = soap.getSOAPPart().createCDATASection(data); + currentElement.appendChild(n); + } + + @Override + public void writeDTD(final String dtd) throws XMLStreamException { + //TODO ... Don't do anything here + } + + @Override + public void writeEntityRef(final String name) throws XMLStreamException { + Node n = soap.getSOAPPart().createEntityReference(name); + currentElement.appendChild(n); + } + + @Override + public void writeStartDocument() throws XMLStreamException { + } + + @Override + public void writeStartDocument(final String version) throws XMLStreamException { + if (version != null) soap.getSOAPPart().setXmlVersion(version); + } + + @Override + public void writeStartDocument(final String encoding, final String version) throws XMLStreamException { + if (version != null) soap.getSOAPPart().setXmlVersion(version); + if (encoding != null) { + try { + soap.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, encoding); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + } + + @Override + public void writeCharacters(final String text) throws XMLStreamException { + try { + currentElement.addTextNode(text); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public void writeCharacters(final char[] text, final int start, final int len) throws XMLStreamException { + char[] chr = (start == 0 && len == text.length) ? text : Arrays.copyOfRange(text, start, start + len); + try { + currentElement.addTextNode(new String(chr)); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public String getPrefix(final String uri) throws XMLStreamException { + return currentElement.lookupPrefix(uri); + } + + @Override + public void setPrefix(final String prefix, final String uri) throws XMLStreamException { + try { + this.currentElement.addNamespaceDeclaration(prefix, uri); + } catch (SOAPException e) { + throw new XMLStreamException(e); + } + } + + @Override + public void setDefaultNamespace(final String uri) throws XMLStreamException { + setPrefix("", uri); + } + + @Override + public void setNamespaceContext(final NamespaceContext context)throws XMLStreamException { + throw new UnsupportedOperationException(); + } + + @Override + public Object getProperty(final String name) throws IllegalArgumentException { + //TODO the following line is to make eclipselink happy ... they are aware of this problem - + if (javax.xml.stream.XMLOutputFactory.IS_REPAIRING_NAMESPACES.equals(name)) return Boolean.FALSE; + return null; + } + + @Override + public NamespaceContext getNamespaceContext() { + return new NamespaceContext() { + public String getNamespaceURI(final String prefix) { + return currentElement.getNamespaceURI(prefix); + } + public String getPrefix(final String namespaceURI) { + return currentElement.lookupPrefix(namespaceURI); + } + public Iterator getPrefixes(final String namespaceURI) { + return new Iterator() { + String prefix = getPrefix(namespaceURI); + public boolean hasNext() { + return (prefix != null); + } + public Object next() { + if (!hasNext()) throw new java.util.NoSuchElementException(); + String next = prefix; + prefix = null; + return next; + } + public void remove() {} + }; + } + }; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/InputStreamMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/InputStreamMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/InputStreamMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/StreamBasedMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/StreamBasedMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/StreamBasedMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/XMLStreamReaderMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/XMLStreamReaderMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/stream/XMLStreamReaderMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/CheckedException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/CheckedException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/CheckedException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ExceptionType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ExceptionType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ExceptionType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/JavaMethod.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/JavaMethod.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/JavaMethod.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -31,6 +31,7 @@ import javax.xml.namespace.QName; import java.lang.reflect.Method; +import javax.jws.WebService; /** * Abstracts the annotated {@link Method} of a SEI. @@ -48,18 +49,18 @@ * On the server side, it uses this for invocation of the web service * *

    - * {@link @WebService}(endpointInterface="I") + * {@literal @}{@link WebService}(endpointInterface="I") * class A { } * * In this case, it retuns A's method * *

    - * {@link @WebService}(endpointInterface="I") + * {@literal @}{@link WebService}(endpointInterface="I") * class A implements I { } * In this case, it returns A's method * *

    - * {@link @WebService} + * {@literal @}{@link WebService} * class A { } * In this case, it returns A's method * @@ -73,17 +74,17 @@ * Returns the SEI method if there is one. * *

    - * {@link @WebService}(endpointInterface="I") + * {@literal @}{@link WebService}(endpointInterface="I") * class A { } * In this case, it retuns I's method * *

    - * {@link @WebService}(endpointInterface="I") + * {@literal @}{@link WebService}(endpointInterface="I") * class A implements I { } * In this case, it returns I's method * *

    - * {@link @WebService} + * {@literal @}{@link WebService} * class A { } * In this case, it returns A's method * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/MEP.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/MEP.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/MEP.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/Parameter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/Parameter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/Parameter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ParameterBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ParameterBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/ParameterBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/SEIModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/SEIModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/SEIModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -143,7 +143,7 @@ @NotNull String getWSDLLocation(); /** - * wsdl:service qualified name for the port associated with the {@link SEIModel) + * wsdl:service qualified name for the port associated with the {@link SEIModel} * * @return wsdl:service@name value - always non-null */ @@ -155,14 +155,14 @@ @NotNull WSDLPort getPort(); /** - * Value of the wsdl:port name associated with the {@link SEIModel) + * Value of the wsdl:port name associated with the {@link SEIModel} * * @return wsdl:service/wsdl:port@name value, always non-null */ @NotNull QName getPortName(); /** - * Value of wsdl:portType bound to the port associated with the {@link SEIModel) + * Value of wsdl:portType bound to the port associated with the {@link SEIModel} * * @return */ @@ -174,7 +174,7 @@ @NotNull QName getBoundPortTypeName(); /** - * Namespace of the wsd;:port associated with the {@link SEIModel) + * Namespace of the wsd;:port associated with the {@link SEIModel} */ @NotNull String getTargetNamespace(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/WSDLOperationMapping.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/WSDLOperationMapping.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +/* + * 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.api.model; + +import javax.xml.namespace.QName; + +import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; + +/** + * WSDLOperationMapping represents the mapping between a WSDL operation and a + * JavaMethod. This is intended to be the output of resolving a Packet to the + * targeting WSDL operation. + * + * @author shih-chang.chen@oracle.com + */ +public interface WSDLOperationMapping { + + WSDLBoundOperation getWSDLBoundOperation(); + + JavaMethod getJavaMethod(); + + /** + * WSDL1.1 allows operation overloading on the operation name; the operation name should + * NOT be used as identifier of the operation. + */ + QName getOperationName(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/soap/SOAPBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/soap/SOAPBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/soap/SOAPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundOperation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundPortType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundPortType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLBoundPortType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -120,7 +120,7 @@ * * @param operation wsdl:operation@name value. Must be non-null. * @param part wsdl:part@name such as value of soap:header@part. Must be non-null. - * @param mode {@link Mode#IN} or {@link Mode@OUT}. Must be non-null. + * @param mode {@link Mode#IN} or {@link Mode#OUT}. Must be non-null. * @return null if the binding could not be resolved for the part. */ ParameterBinding getBinding(QName operation, String part, Mode mode); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLDescriptorKind.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLDescriptorKind.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLDescriptorKind.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtensible.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtensible.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtensible.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -67,8 +67,7 @@ /** * Gives the Action Message Addressing Property value for - * {@link this} message. - * {@link this} message. + * {@link WSDLFault} message. *

    * This method provides the correct value irrespective of * whether the Action is explicitly specified in the WSDL or diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFeaturedObject.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFeaturedObject.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLFeaturedObject.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLInput.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLInput.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLInput.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -54,7 +54,7 @@ /** * Gives the Action Message Addressing Property value for - * {@link this} message. + * {@link WSDLInput} message. *

    * This method provides the correct value irrespective of * whether the Action is explicitly specified in the WSDL or diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLObject.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLObject.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLObject.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOperation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOutput.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOutput.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLOutput.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -53,7 +53,7 @@ /** * Gives the Action Message Addressing Property value for - * {@link this} message. + * {@link WSDLOutput} message. *

    * This method provides the correct value irrespective of * whether the Action is explicitly specified in the WSDL or diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPart.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPartDescriptor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPartDescriptor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPartDescriptor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPort.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPort.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPort.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPortType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPortType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLPortType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLService.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLService.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/wsdl/WSDLService.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientPipeAssemblerContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientPipeAssemblerContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientPipeAssemblerContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientTubeAssemblerContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientTubeAssemblerContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ClientTubeAssemblerContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -78,7 +78,7 @@ /** * This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. * @deprecated - * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSBindingProvider, WSBinding, Container, Codec, SEIModel)} + * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)} */ public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding) { this(address, wsdlModel, rootOwner, binding, Container.NONE); @@ -87,7 +87,7 @@ /** * This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. * @deprecated - * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSBindingProvider, WSBinding, Container, Codec, SEIModel)}. + * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)} */ public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @@ -99,7 +99,7 @@ /** * This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. * @deprecated - * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSBindingProvider, WSBinding, Container, Codec,SEIModel)}. + * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)} */ public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @@ -110,7 +110,7 @@ /** * This constructor should be used only by JAX-WS Runtime and is not meant for external consumption. * @deprecated - * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSBindingProvider, WSBinding, Container, Codec, SEIModel)}. + * Use {@link #ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)} */ public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -56,15 +56,17 @@ * {@link Codec} does not produce transport-specific information, such as HTTP headers. * *

    - * {@link Codec} is a non-reentrant object, meaning no two threads - * can concurrently invoke the decode method. This allows the implementation - * to easily reuse parser objects (as instance variables), which are costly otherwise. - * + * {@link Codec} implementations should be thread-safe; a codec instance could be used + * concurrently in multiple threads. If a codec have to generate or use a per-request + * state, the codec implementation must store the state in the Packet instead of using an + * instance variable of the codec implementation. * *

    * {@link BindingID} determines the {@link Codec}. See {@link BindingID#createEncoder(WSBinding)}. * * @author Kohsuke Kawaguchi + * @author shih-chang.chen@oracle.com + * * @see EndpointAwareCodec */ public interface Codec { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codecs.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codecs.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Codecs.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ContentType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ContentType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ContentType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,10 +29,10 @@ * A Content-Type transport header that will be returned by {@link Codec#encode(com.sun.xml.internal.ws.api.message.Packet, java.io.OutputStream)}. * It will provide the Content-Type header and also take care of SOAP 1.1 SOAPAction header. * - * @see {@link com.sun.xml.internal.org.jvnet.ws.message.ContentType} + * @see com.oracle.webservices.internal.api.message.ContentType * TODO: rename to ContentMetadata? * * @author Vivek Pandey */ -public interface ContentType extends com.sun.xml.internal.org.jvnet.ws.message.ContentType { +public interface ContentType extends com.oracle.webservices.internal.api.message.ContentType { } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Engine.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Engine.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Engine.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -31,6 +31,8 @@ import java.util.concurrent.atomic.AtomicInteger; import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; /** * Collection of {@link Fiber}s. @@ -42,29 +44,47 @@ public class Engine { private volatile Executor threadPool; public final String id; + private final Container container; + + String getId() { return id; } + Container getContainer() { return container; } + Executor getExecutor() { return threadPool; } public Engine(String id, Executor threadPool) { - this(id); - this.threadPool = threadPool; + this(id, ContainerResolver.getDefault().getContainer(), threadPool); + } + + public Engine(String id, Container container, Executor threadPool) { + this(id, container); + this.threadPool = threadPool != null ? wrap(threadPool) : null; } public Engine(String id) { + this(id, ContainerResolver.getDefault().getContainer()); + } + + public Engine(String id, Container container) { this.id = id; + this.container = container; } public void setExecutor(Executor threadPool) { - this.threadPool = threadPool; + this.threadPool = threadPool != null ? wrap(threadPool) : null; } void addRunnable(Fiber fiber) { if(threadPool==null) { synchronized(this) { - threadPool = Executors.newCachedThreadPool(new DaemonThreadFactory()); + threadPool = wrap(Executors.newCachedThreadPool(new DaemonThreadFactory())); } } threadPool.execute(fiber); } + private Executor wrap(Executor ex) { + return ContainerResolver.getDefault().wrapExecutor(container, ex); + } + /** * Creates a new fiber in a suspended state. * @@ -80,27 +100,21 @@ private static class DaemonThreadFactory implements ThreadFactory { static final AtomicInteger poolNumber = new AtomicInteger(1); - final ThreadGroup group; final AtomicInteger threadNumber = new AtomicInteger(1); final String namePrefix; DaemonThreadFactory() { - SecurityManager s = System.getSecurityManager(); - group = (s != null)? s.getThreadGroup() : - Thread.currentThread().getThreadGroup(); - namePrefix = "jaxws-engine-" + - poolNumber.getAndIncrement() + - "-thread-"; + namePrefix = "jaxws-engine-" + poolNumber.getAndIncrement() + "-thread-"; } public Thread newThread(Runnable r) { - Thread t = new Thread(group, r, - namePrefix + threadNumber.getAndIncrement(), - 0); - if (!t.isDaemon()) + Thread t = new Thread(null, r, namePrefix + threadNumber.getAndIncrement(), 0); + if (!t.isDaemon()) { t.setDaemon(true); - if (t.getPriority() != Thread.NORM_PRIORITY) + } + if (t.getPriority() != Thread.NORM_PRIORITY) { t.setPriority(Thread.NORM_PRIORITY); + } return t; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Fiber.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Fiber.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Fiber.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,20 +32,27 @@ import com.sun.xml.internal.ws.api.ComponentRegistry; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl; +import com.sun.xml.internal.ws.api.pipe.helper.AbstractTubeImpl; import com.sun.xml.internal.ws.api.server.Adapter; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; import java.util.ArrayList; -import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; import java.util.logging.Level; import java.util.logging.Logger; +import javax.xml.ws.Holder; +import javax.xml.ws.WebServiceException; + /** * User-level thread. Represents the execution of one request/response processing. *

    @@ -108,6 +115,7 @@ * Callback interface for notification of suspend and resume. * * @since 2.2.6 + * @deprecated Use {@link NextAction#suspend(Runnable)} */ public interface Listener { /** @@ -123,12 +131,13 @@ public void fiberResumed(Fiber fiber); } - private List _listeners = new ArrayList(); + private final List _listeners = new ArrayList(); /** * Adds suspend/resume callback listener * @param listener Listener * @since 2.2.6 + * @deprecated */ public void addListener(Listener listener) { synchronized(_listeners) { @@ -142,6 +151,7 @@ * Removes suspend/resume callback listener * @param listener Listener * @since 2.2.6 + * @deprecated */ public void removeListener(Listener listener) { synchronized(_listeners) { @@ -149,7 +159,7 @@ } } - private List getCurrentListeners() { + List getCurrentListeners() { synchronized(_listeners) { return new ArrayList(_listeners); } @@ -210,11 +220,6 @@ private volatile boolean isInsideSuspendCallbacks = false; /** - * Is this fiber completed? - */ - private volatile boolean completed; - - /** * Is this {@link Fiber} currently running in the synchronous mode? */ private boolean synchronous; @@ -229,20 +234,6 @@ private List interceptors; /** - * Not null when {@link #interceptors} is not null. - */ - private InterceptorHandler interceptorHandler; - - /** - * This flag is set to true when a new interceptor is added. - *

    - * When that happens, we need to first exit the current interceptors - * and then reenter them, so that the newly added interceptors start - * taking effect. This flag is used to control that flow. - */ - private boolean needsToReenter; - - /** * Fiber's context {@link ClassLoader}. */ private @@ -253,11 +244,24 @@ @Nullable CompletionCallback completionCallback; + private boolean isDeliverThrowableInPacket = false; + + public void setDeliverThrowableInPacket(boolean isDeliverThrowableInPacket) { + this.isDeliverThrowableInPacket = isDeliverThrowableInPacket; + } + /** * The thread on which this Fiber is currently executing, if applicable. */ private Thread currentThread; + /** + * Replace uses of synchronized(this) with this lock so that we can control + * unlocking for resume use cases + */ + private final ReentrantLock lock = new ReentrantLock(); + private final Condition condition = lock.newCondition(); + private volatile boolean isCanceled; /** @@ -277,7 +281,7 @@ private boolean startedSync; /** - * Callback to be invoked when a {@link Fiber} finishs execution. + * Callback to be invoked when a {@link Fiber} finishes execution. */ public interface CompletionCallback { /** @@ -298,11 +302,9 @@ Fiber(Engine engine) { this.owner = engine; + id = iotaGen.incrementAndGet(); if (isTraceEnabled()) { - id = iotaGen.incrementAndGet(); - LOGGER.fine(getName() + " created"); - } else { - id = -1; + LOGGER.log(Level.FINE, "{0} created", getName()); } // if this is run from another fiber, then we naturally inherit its context classloader, @@ -333,8 +335,8 @@ if (packet != null) { for (SOAPVersion sv: SOAPVersion.values()) { for (AddressingVersion av: AddressingVersion.values()) { - action = packet.getMessage() != null ? packet.getMessage().getHeaders().getAction(av, sv) : null; - msgId = packet.getMessage() != null ? packet.getMessage().getHeaders().getMessageID(av, sv) : null; + action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null; + msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null; if (action != null || msgId != null) { break; } @@ -358,7 +360,7 @@ tubeDesc = peekCont() + ".processResponse()"; } - LOGGER.fine(getName() + " " + desc + " with " + actionAndMsgDesc + " and 'current' tube " + tubeDesc + " from thread " + Thread.currentThread().getName() + " with Packet: " + (packet != null ? packet.toShortString() : null)); + LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null}); } } @@ -445,9 +447,9 @@ * until message order is confirmed prior to returning to asynchronous processing. * @since 2.2.6 */ - public synchronized void resume(@NotNull Packet resumePacket, - boolean forceSync) { - resume(resumePacket, forceSync, null); + public void resume(@NotNull Packet resumePacket, + boolean forceSync) { + resume(resumePacket, forceSync, null); } /** @@ -458,51 +460,53 @@ public void resume(@NotNull Packet resumePacket, boolean forceSync, CompletionCallback callback) { - - synchronized(this) { + lock.lock(); + try { if (callback != null) { setCompletionCallback(callback); } if(isTraceEnabled()) - LOGGER.fine(getName()+" resuming. Will have suspendedCount=" + (suspendedCount-1)); - packet = resumePacket; - if( --suspendedCount == 0 ) { - if (!isInsideSuspendCallbacks) { + LOGGER.log(Level.FINE, "{0} resuming. Will have suspendedCount={1}", new Object[]{getName(), suspendedCount-1}); + packet = resumePacket; + if( --suspendedCount == 0 ) { + if (!isInsideSuspendCallbacks) { List listeners = getCurrentListeners(); for (Listener listener: listeners) { try { listener.fiberResumed(this); } catch (Throwable e) { if (isTraceEnabled()) - LOGGER.fine("Listener " + listener + " threw exception: " + e.getMessage()); + LOGGER.log(Level.FINE, "Listener {0} threw exception: {1}", new Object[]{listener, e.getMessage()}); } } if(synchronous) { - notifyAll(); + condition.signalAll(); } else if (forceSync || startedSync) { run(); } else { dumpFiberContext("resuming (async)"); owner.addRunnable(this); } - } - } else { - if (isTraceEnabled()) { - LOGGER.fine(getName() + " taking no action on resume because suspendedCount != 0: " + suspendedCount); + } + } else { + if (isTraceEnabled()) { + LOGGER.log(Level.FINE, "{0} taking no action on resume because suspendedCount != 0: {1}", new Object[]{getName(), suspendedCount}); } } - } + } finally { + lock.unlock(); + } } /** * Wakes up a suspended fiber and begins response processing. * @since 2.2.6 */ - public synchronized void resumeAndReturn(@NotNull Packet resumePacket, - boolean forceSync) { + public void resumeAndReturn(@NotNull Packet resumePacket, + boolean forceSync) { if(isTraceEnabled()) - LOGGER.fine(getName()+" resumed with Return Packet"); + LOGGER.log(Level.FINE, "{0} resumed with Return Packet", getName()); next = null; resume(resumePacket, forceSync); } @@ -523,8 +527,30 @@ * * @param throwable exception that is used in the resumed processing */ - public synchronized void resume(@NotNull Throwable throwable) { - resume(throwable, false); + public void resume(@NotNull Throwable throwable) { + resume(throwable, packet, false); + } + + /** + * Wakes up a suspended fiber with an exception. + *

    + *

    + * The execution of the suspended fiber will be resumed in the response + * processing direction, by calling the {@link Tube#processException(Throwable)} method + * on the next/first {@link Tube} in the {@link Fiber}'s processing stack with + * the specified exception as the parameter. + *

    + *

    + * This method is implemented in a race-free way. Another thread can invoke + * this method even before this fiber goes into the suspension mode. So the caller + * need not worry about synchronizing {@link NextAction#suspend()} and this method. + * + * @param throwable exception that is used in the resumed processing + * @param packet Packet that will be visible on the Fiber after the resume + * @since 2.2.8 + */ + public void resume(@NotNull Throwable throwable, @NotNull Packet packet) { + resume(throwable, packet, false); } /** @@ -539,10 +565,29 @@ * @param forceSync if processing begins synchronously * @since 2.2.6 */ - public synchronized void resume(@NotNull Throwable error, - boolean forceSync) { + public void resume(@NotNull Throwable error, + boolean forceSync) { + resume(error, packet, forceSync); + } + + /** + * Wakes up a suspend fiber with an exception. + * + * If forceSync is true, then the suspended fiber will resume with + * synchronous processing on the current thread. This will continue + * until some Tube indicates that it is safe to switch to asynchronous + * processing. + * + * @param error exception that is used in the resumed processing + * @param packet Packet that will be visible on the Fiber after the resume + * @param forceSync if processing begins synchronously + * @since 2.2.8 + */ + public void resume(@NotNull Throwable error, + @NotNull Packet packet, + boolean forceSync) { if(isTraceEnabled()) - LOGGER.fine(getName()+" resumed with Return Throwable"); + LOGGER.log(Level.FINE, "{0} resumed with Return Throwable", getName()); next = null; throwable = error; resume(packet, forceSync); @@ -550,17 +595,19 @@ /** * Marks this Fiber as cancelled. A cancelled Fiber will never invoke its completion callback - * @param mayInterrupt if cancel should use {@link Thread.interrupt()} - * @see java.util.Future.cancel + * @param mayInterrupt if cancel should use {@link Thread#interrupt()} + * @see java.util.concurrent.Future#cancel(boolean) * @since 2.2.6 */ + @Override public void cancel(boolean mayInterrupt) { isCanceled = true; if (mayInterrupt) { - synchronized(this) { - if (currentThread != null) - currentThread.interrupt(); - } + // synchronized(this) is used as Thread running Fiber will be holding lock + synchronized(this) { + if (currentThread != null) + currentThread.interrupt(); + } } } @@ -569,49 +616,85 @@ *

    * The call returns immediately, and when the fiber is resumed * the execution picks up from the last scheduled continuation. + * @param onExitRunnable runnable to be invoked after fiber is marked for suspension + * @return if control loop must exit */ - private boolean suspend() { + private boolean suspend(Holder isRequireUnlock, Runnable onExitRunnable) { + if(isTraceEnabled()) { + LOGGER.log(Level.FINE, "{0} suspending. Will have suspendedCount={1}", new Object[]{getName(), suspendedCount+1}); + if (suspendedCount > 0) { + LOGGER.log(Level.FINE, "WARNING - {0} suspended more than resumed. Will require more than one resume to actually resume this fiber.", getName()); + } + } - synchronized(this) { - if(isTraceEnabled()) { - LOGGER.fine(getName()+" suspending. Will have suspendedCount=" + (suspendedCount+1)); - if (suspendedCount > 0) { - LOGGER.fine("WARNING - " + getName()+" suspended more than resumed. Will require more than one resume to actually resume this fiber."); + List listeners = getCurrentListeners(); + if (++suspendedCount == 1) { + isInsideSuspendCallbacks = true; + try { + for (Listener listener: listeners) { + try { + listener.fiberSuspended(this); + } catch (Throwable e) { + if(isTraceEnabled()) + LOGGER.log(Level.FINE, "Listener {0} threw exception: {1}", new Object[]{listener, e.getMessage()}); + } + } + } finally { + isInsideSuspendCallbacks = false; + } + } + + if (suspendedCount <= 0) { + // suspend callback caused fiber to resume + for (Listener listener: listeners) { + try { + listener.fiberResumed(this); + } catch (Throwable e) { + if(isTraceEnabled()) + LOGGER.log(Level.FINE, "Listener {0} threw exception: {1}", new Object[]{listener, e.getMessage()}); } } - List listeners = getCurrentListeners(); - if (++suspendedCount == 1) { - isInsideSuspendCallbacks = true; + } else if (onExitRunnable != null) { + // synchronous use cases cannot disconnect from the current thread + if (!synchronous) { + /* INTENTIONALLY UNLOCKING EARLY */ + synchronized(this) { + // currentThread is protected by the monitor for this fiber so + // that it is accessible to cancel() even when the lock is held + currentThread = null; + } + lock.unlock(); + assert(!lock.isHeldByCurrentThread()); + isRequireUnlock.value = Boolean.FALSE; + try { - for (Listener listener: listeners) { - try { - listener.fiberSuspended(this); - } catch (Throwable e) { - if(isTraceEnabled()) - LOGGER.fine("Listener " + listener + " threw exception: " + e.getMessage()); - } - } - } finally { - isInsideSuspendCallbacks = false; - } - } - - if (suspendedCount <= 0) { - // suspend callback caused fiber to resume - for (Listener listener: listeners) { - try { - listener.fiberResumed(this); - } catch (Throwable e) { - if(isTraceEnabled()) - LOGGER.fine("Listener " + listener + " threw exception: " + e.getMessage()); - } + onExitRunnable.run(); + } catch(Throwable t) { + throw new OnExitRunnableException(t); } - return false; + return true; + + } else { + // for synchronous we will stay with current thread, so do not disconnect + if (isTraceEnabled()) + LOGGER.fine("onExitRunnable used with synchronous Fiber execution -- not exiting current thread"); + onExitRunnable.run(); } + } - return true; + return false; + } + + private static final class OnExitRunnableException extends RuntimeException { + private static final long serialVersionUID = 1L; + + Throwable target; + + public OnExitRunnableException(Throwable target) { + super((Throwable)null); // see pattern for InvocationTargetException + this.target = target; } } @@ -634,13 +717,15 @@ *

  • Y.processRequest() * */ - public void addInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) { + public synchronized void addInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) { if (interceptors == null) { interceptors = new ArrayList(); - interceptorHandler = new InterceptorHandler(); + } else { + List l = new ArrayList(); + l.addAll(interceptors); + interceptors = l; } interceptors.add(interceptor); - needsToReenter = true; } /** @@ -666,10 +751,17 @@ * @return true if the specified interceptor was removed. False if * the specified interceptor was not registered with this fiber to begin with. */ - public boolean removeInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) { - if (interceptors != null && interceptors.remove(interceptor)) { - needsToReenter = true; - return true; + public synchronized boolean removeInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) { + if (interceptors != null) { + boolean result = interceptors.remove(interceptor); + if (interceptors.isEmpty()) + interceptors = null; + else { + List l = new ArrayList(); + l.addAll(interceptors); + interceptors = l; + } + return result; } return false; } @@ -697,19 +789,27 @@ * of {@link Fiber}. */ @Deprecated + @Override public void run() { - assert !synchronous; - doRun(); - if (startedSync && suspendedCount == 0 && - (next != null || contsSize > 0)) { - // We bailed out of running this fiber we started as sync, and now - // want to finish running it async - startedSync = false; - // Start back up as an async fiber - dumpFiberContext("restarting (async) after startSync"); - owner.addRunnable(this); - } else { - completionCheck(); + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + assert !synchronous; + // doRun returns true to indicate an early exit from fiber processing + if (!doRun()) { + if (startedSync && suspendedCount == 0 && + (next != null || contsSize > 0)) { + // We bailed out of running this fiber we started as sync, and now + // want to finish running it async + startedSync = false; + // Start back up as an async fiber + dumpFiberContext("restarting (async) after startSync"); + owner.addRunnable(this); + } else { + completionCheck(); + } + } + } finally { + ContainerResolver.getDefault().exitContainer(old); } } @@ -739,85 +839,102 @@ * @return The response packet to the request. * @see #start(Tube, Packet, CompletionCallback) */ - public synchronized + public @NotNull Packet runSync(@NotNull Tube tubeline, @NotNull Packet request) { - // save the current continuation, so that we return runSync() without executing them. - final Tube[] oldCont = conts; - final int oldContSize = contsSize; - final boolean oldSynchronous = synchronous; - final Tube oldNext = next; - - if (oldContSize > 0) { - conts = new Tube[16]; - contsSize = 0; - } - + lock.lock(); try { - synchronous = true; - this.packet = request; - next = tubeline; - doRun(); - if (throwable != null) { - if (throwable instanceof RuntimeException) { - throw (RuntimeException) throwable; - } - if (throwable instanceof Error) { - throw (Error) throwable; + // save the current continuation, so that we return runSync() without executing them. + final Tube[] oldCont = conts; + final int oldContSize = contsSize; + final boolean oldSynchronous = synchronous; + final Tube oldNext = next; + + if (oldContSize > 0) { + conts = new Tube[16]; + contsSize = 0; + } + + try { + synchronous = true; + this.packet = request; + next = tubeline; + doRun(); + if (throwable != null) { + if (isDeliverThrowableInPacket) { + packet.addSatellite(new ThrowableContainerPropertySet(throwable)); + } else { + if (throwable instanceof RuntimeException) { + throw (RuntimeException) throwable; + } + if (throwable instanceof Error) { + throw (Error) throwable; + } + // our system is supposed to only accept Error or RuntimeException + throw new AssertionError(throwable); + } } - // our system is supposed to only accept Error or RuntimeException - throw new AssertionError(throwable); + return this.packet; + } finally { + conts = oldCont; + contsSize = oldContSize; + synchronous = oldSynchronous; + next = oldNext; + if(interrupted) { + Thread.currentThread().interrupt(); + interrupted = false; + } + if(!started && !startedSync) + completionCheck(); } - return this.packet; } finally { - conts = oldCont; - contsSize = oldContSize; - synchronous = oldSynchronous; - next = oldNext; - if(interrupted) { - Thread.currentThread().interrupt(); - interrupted = false; - } - if(!started && !startedSync) - completionCheck(); + lock.unlock(); } } - private synchronized void completionCheck() { - // Don't trigger completion and callbacks if fiber is suspended - if(!isCanceled && contsSize==0 && suspendedCount == 0) { - if(isTraceEnabled()) - LOGGER.fine(getName()+" completed"); - completed = true; - clearListeners(); - notifyAll(); - if (completionCallback != null) { - if (throwable != null) - completionCallback.onCompletion(throwable); - else - completionCallback.onCompletion(packet); + private void completionCheck() { + lock.lock(); + try { + // Don't trigger completion and callbacks if fiber is suspended + if(!isCanceled && contsSize==0 && suspendedCount == 0) { + if(isTraceEnabled()) + LOGGER.log(Level.FINE, "{0} completed", getName()); + clearListeners(); + condition.signalAll(); + if (completionCallback != null) { + if (throwable != null) { + if (isDeliverThrowableInPacket) { + packet.addSatellite(new ThrowableContainerPropertySet(throwable)); + completionCallback.onCompletion(packet); + } else + completionCallback.onCompletion(throwable); + } else + completionCallback.onCompletion(packet); + } } + } finally { + lock.unlock(); } } - ///** - // * Blocks until the fiber completes. - // */ - //public synchronized void join() throws InterruptedException { - // while(!completed) - // wait(); - //} - /** * Invokes all registered {@link InterceptorHandler}s and then call into * {@link Fiber#__doRun()}. */ private class InterceptorHandler implements FiberContextSwitchInterceptor.Work { + private final Holder isUnlockRequired; + private final List ints; + /** * Index in {@link Fiber#interceptors} to invoke next. */ private int idx; + public InterceptorHandler(Holder isUnlockRequired, List ints) { + this.isUnlockRequired = isUnlockRequired; + this.ints = ints; + } + /** * Initiate the interception, and eventually invokes {@link Fiber#__doRun()}. */ @@ -826,86 +943,136 @@ return execute(next); } + @Override public Tube execute(Tube next) { - if (idx == interceptors.size()) { + if (idx == ints.size()) { Fiber.this.next = next; - __doRun(); + if (__doRun(isUnlockRequired, ints)) + return PLACEHOLDER; } else { - FiberContextSwitchInterceptor interceptor = interceptors.get(idx++); + FiberContextSwitchInterceptor interceptor = ints.get(idx++); return interceptor.execute(Fiber.this, next, this); } return Fiber.this.next; } } + private static final PlaceholderTube PLACEHOLDER = new PlaceholderTube(); + + private static class PlaceholderTube extends AbstractTubeImpl { + + @Override + public NextAction processRequest(Packet request) { + throw new UnsupportedOperationException(); + } + + @Override + public NextAction processResponse(Packet response) { + throw new UnsupportedOperationException(); + } + + @Override + public NextAction processException(Throwable t) { + return doThrow(t); + } + + @Override + public void preDestroy() { + } + + @Override + public PlaceholderTube copy(TubeCloner cloner) { + throw new UnsupportedOperationException(); + } + } + /** * Executes the fiber as much as possible. * */ - @SuppressWarnings({"LoopStatementThatDoesntLoop"}) // IntelliJ reports this bogus error - private void doRun() { - + private boolean doRun() { dumpFiberContext("running"); if (serializeExecution) { serializedExecutionLock.lock(); try { - _doRun(next); + return _doRun(next); } finally { serializedExecutionLock.unlock(); } } else { - _doRun(next); + return _doRun(next); } } - private String currentThreadMonitor = "CurrentThreadMonitor"; + private boolean _doRun(Tube next) { + // isRequireUnlock will contain Boolean.FALSE when lock has already been released in suspend + Holder isRequireUnlock = new Holder(Boolean.TRUE); + lock.lock(); + try { + List ints; + ClassLoader old; + synchronized(this) { + ints = interceptors; - private void _doRun(Tube next) { - Thread thread; - synchronized(currentThreadMonitor) { - if (currentThread != null && !synchronous) { - if (LOGGER.isLoggable(Level.FINE)) { - LOGGER.fine("Attempt to run Fiber ['" + this + "'] in more than one thread. Current Thread: " + currentThread + " Attempted Thread: " + Thread.currentThread()); + // currentThread is protected by the monitor for this fiber so + // that it is accessible to cancel() even when the lock is held + currentThread = Thread.currentThread(); + if (isTraceEnabled()) { + LOGGER.log(Level.FINE, "Thread entering _doRun(): {0}", currentThread); + } + + old = currentThread.getContextClassLoader(); + currentThread.setContextClassLoader(contextClassLoader); } - while (currentThread != null) { - try { - currentThreadMonitor.wait(); - } catch (Exception e) { - // ignore - } - } - } - currentThread = Thread.currentThread(); - thread = currentThread; - if (LOGGER.isLoggable(Level.FINE)) { - LOGGER.fine("Thread entering _doRun(): " + thread); - } - } - ClassLoader old = thread.getContextClassLoader(); - thread.setContextClassLoader(contextClassLoader); - try { - do { - needsToReenter = false; + try { + boolean needsToReenter = false; + do { + // if interceptors are set, go through the interceptors. + if (ints == null) { + this.next = next; + if (__doRun(isRequireUnlock, ints)) { + return true; + } + } else { + next = new InterceptorHandler(isRequireUnlock, ints).invoke(next); + if (next == PLACEHOLDER) { + return true; + } + } - // if interceptors are set, go through the interceptors. - if(interceptorHandler ==null) { - this.next = next; - __doRun(); + synchronized(this) { + needsToReenter = (ints != interceptors); + if (needsToReenter) + ints = interceptors; + } + } while (needsToReenter); + } catch(OnExitRunnableException o) { + // catching this exception indicates onExitRunnable in suspend() threw. + // we must still avoid double unlock + Throwable t = o.target; + if (t instanceof WebServiceException) + throw (WebServiceException) t; + throw new WebServiceException(t); + } finally { + // don't reference currentThread here because fiber processing + // may already be running on a different thread (Note: isAlreadyExited + // tracks this state + Thread thread = Thread.currentThread(); + thread.setContextClassLoader(old); + if (isTraceEnabled()) { + LOGGER.log(Level.FINE, "Thread leaving _doRun(): {0}", thread); } - else - next = interceptorHandler.invoke(next); - } while (needsToReenter); + } + return false; } finally { - thread.setContextClassLoader(old); - synchronized(currentThreadMonitor) { - currentThread = null; - if (LOGGER.isLoggable(Level.FINE)) { - LOGGER.fine("Thread leaving _doRun(): " + thread); - } - currentThreadMonitor.notify(); + if (isRequireUnlock.value) { + synchronized(this) { + currentThread = null; + } + lock.unlock(); } } } @@ -915,7 +1082,9 @@ * * @see #doRun() */ - private void __doRun() { + private boolean __doRun(Holder isRequireUnlock, List originalInterceptors) { + assert(lock.isHeldByCurrentThread()); + final Fiber old = CURRENT_FIBER.get(); CURRENT_FIBER.set(this); @@ -924,8 +1093,14 @@ try { boolean abortResponse = false; - boolean justSuspended = false; - while(!isCanceled && !isBlocking(justSuspended) && !needsToReenter) { + while(isReady(originalInterceptors)) { + if (isCanceled) { + next = null; + throwable = null; + contsSize = 0; + break; + } + try { NextAction na; Tube last; @@ -933,33 +1108,33 @@ if(contsSize==0 || abortResponse) { contsSize = 0; // abortResponse case // nothing else to execute. we are done. - return; + return false; } last = popCont(); if (traceEnabled) - LOGGER.finer(getName() + ' ' + last + ".processException(" + throwable + ')'); + LOGGER.log(Level.FINER, "{0} {1}.processException({2})", new Object[]{getName(), last, throwable}); na = last.processException(throwable); } else { if(next!=null) { if(traceEnabled) - LOGGER.finer(getName()+' '+next+".processRequest("+(packet != null ? "Packet@"+Integer.toHexString(packet.hashCode()) : "null")+')'); + LOGGER.log(Level.FINER, "{0} {1}.processRequest({2})", new Object[]{getName(), next, packet != null ? "Packet@"+Integer.toHexString(packet.hashCode()) : "null"}); na = next.processRequest(packet); last = next; } else { if(contsSize==0 || abortResponse) { // nothing else to execute. we are done. contsSize = 0; - return; + return false; } last = popCont(); if(traceEnabled) - LOGGER.finer(getName()+' '+last+".processResponse("+(packet != null ? "Packet@"+Integer.toHexString(packet.hashCode()) : "null")+')'); + LOGGER.log(Level.FINER, "{0} {1}.processResponse({2})", new Object[]{getName(), last, packet != null ? "Packet@"+Integer.toHexString(packet.hashCode()) : "null"}); na = last.processResponse(packet); } } if (traceEnabled) - LOGGER.finer(getName() + ' ' + last + " returned with " + na); + LOGGER.log(Level.FINER, "{0} {1} returned with {2}", new Object[]{getName(), last, na}); // If resume is called before suspend, then make sure // resume(Packet) is not lost @@ -981,14 +1156,14 @@ if (na.kind == NextAction.INVOKE_ASYNC && startedSync) { // Break out here - return; + return false; } break; case NextAction.THROW_ABORT_RESPONSE: case NextAction.ABORT_RESPONSE: abortResponse = true; - if (LOGGER.isLoggable(Level.FINE)) { - LOGGER.fine("Fiber " + this + " is aborting a response due to exception: " + na.throwable); + if (isTraceEnabled()) { + LOGGER.log(Level.FINE, "Fiber {0} is aborting a response due to exception: {1}", new Object[]{this, na.throwable}); } case NextAction.RETURN: case NextAction.THROW: @@ -1001,7 +1176,8 @@ pushCont(last); } next = na.next; - justSuspended = suspend(); + if(suspend(isRequireUnlock, na.onExitRunnable)) + return true; // explicitly exiting control loop break; default: throw new AssertionError(); @@ -1019,18 +1195,14 @@ dumpFiberContext("After tube execution"); } - if (isCanceled) { - next = null; - throwable = null; - contsSize = 0; - } - // there's nothing we can execute right away. // we'll be back when this fiber is resumed. } finally { CURRENT_FIBER.set(old); } + + return false; } private void pushCont(Tube tube) { @@ -1068,26 +1240,34 @@ } /** - * Returns true if the fiber needs to block its execution. + * Returns true if the fiber is ready to execute. */ - private boolean isBlocking(boolean justSuspended) { + private boolean isReady(List originalInterceptors) { if (synchronous) { while (suspendedCount == 1) try { if (isTraceEnabled()) { - LOGGER.fine(getName() + " is blocking thread " + Thread.currentThread().getName()); + LOGGER.log(Level.FINE, "{0} is blocking thread {1}", new Object[]{getName(), Thread.currentThread().getName()}); } - wait(); // the synchronized block is the whole runSync method. + condition.await(); // the synchronized block is the whole runSync method. } catch (InterruptedException e) { // remember that we are interrupted, but don't respond to it // right away. This behavior is in line with what happens // when you are actually running the whole thing synchronously. interrupted = true; } - return false; + + synchronized(this) { + return interceptors == originalInterceptors; + } } - else - return justSuspended || suspendedCount==1; + else { + if (suspendedCount>0) + return false; + synchronized(this) { + return interceptors == originalInterceptors; + } + } } private String getName() { @@ -1215,16 +1395,19 @@ private final Set components = new CopyOnWriteArraySet(); - public S getSPI(Class spiType) { - for(Component c : components) { - S spi = c.getSPI(spiType); - if (spi != null) - return spi; - } - return null; + @Override + public S getSPI(Class spiType) { + for (Component c : components) { + S spi = c.getSPI(spiType); + if (spi != null) { + return spi; + } } + return null; + } - public Set getComponents() { - return components; - } + @Override + public Set getComponents() { + return components; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptorFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptorFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/FiberContextSwitchInterceptorFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/NextAction.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/NextAction.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/NextAction.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,6 +26,7 @@ package com.sun.xml.internal.ws.api.pipe; import com.sun.xml.internal.ws.api.message.Packet; +import java.util.concurrent.Executor; /** * Indicates what shall happen after {@link Tube#processRequest(Packet)} or @@ -44,6 +45,7 @@ * Really either {@link RuntimeException} or {@link Error}. */ Throwable throwable; + Runnable onExitRunnable; // public enum Kind { INVOKE, INVOKE_AND_FORGET, RETURN, SUSPEND } @@ -97,6 +99,20 @@ /** * Indicates that the next action is to flip the processing direction + * and starts exception processing, but with the indicated context. + * + * @param t + * Either {@link RuntimeException} or {@link Error}, but defined to + * take {@link Throwable} because {@link Tube#processException(Throwable)} + * takes {@link Throwable}. + */ + public void throwException( Packet response, Throwable t ) { + // Use of RETURN is correct -- Fiber processing does not set packet for type of THROW + set(RETURN, null, response, t); + } + + /** + * Indicates that the next action is to flip the processing direction * and starts exception processing. * * @param t @@ -145,18 +161,52 @@ /** * Indicates that the fiber should be suspended. * Once {@link Fiber#resume(Packet) resumed}, return the response processing. + * @deprecated Use variants that pass {@link Runnable} */ public void suspend() { - set(SUSPEND, null, null, null); + suspend(null, null); + } + + /** + * Indicates that the fiber should be suspended. Once the current {@link Thread} + * exits the fiber's control loop, the onExitRunnable will be invoked. This {@link Runnable} + * may call {@link Fiber#resume(Packet)}; however it is still guaranteed that the current + * Thread will return control, therefore, further processing will be handled on a {@link Thread} + * from the {@link Executor}. For synchronous cases, the Thread invoking this fiber cannot return + * until fiber processing is complete; therefore, the guarantee is only that the onExitRunnable + * will be invoked prior to completing the suspension. + * @since 2.2.7 + */ + public void suspend(Runnable onExitRunnable) { + suspend(null, onExitRunnable); } /** * Indicates that the fiber should be suspended. * Once {@link Fiber#resume(Packet) resumed}, resume with the * {@link Tube#processRequest(Packet)} on the given next tube. + * @deprecated Use variants that pass {@link Runnable} */ public void suspend(Tube next) { + suspend(next, null); + } + + /** + * Indicates that the fiber should be suspended. Once the current {@link Thread} + * exits the fiber's control loop, the onExitRunnable will be invoked. This {@link Runnable} + * may call {@link Fiber#resume(Packet)}; however it is still guaranteed that the current + * fiber will return control, therefore, further processing will be handled on a {@link Thread} + * from the {@link Executor}. For synchronous cases, the Thread invoking this fiber cannot return + * until fiber processing is complete; therefore, the guarantee is only that the onExitRunnable + * will be invoked prior to completing the suspension. + *

    + * Once {@link Fiber#resume(Packet) resumed}, resume with the + * {@link Tube#processRequest(Packet)} on the given next tube. + * @since 2.2.7 + */ + public void suspend(Tube next, Runnable onExitRunnable) { set(SUSPEND, next, null, null); + this.onExitRunnable = onExitRunnable; } /** Returns the next tube diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Pipe.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Pipe.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Pipe.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -341,7 +341,6 @@ * * @return * always non-null {@link Pipe}. - * @param cloner */ Pipe copy(PipeCloner cloner); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeCloner.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeCloner.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeCloner.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeClonerImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeClonerImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipeClonerImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssembler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssembler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssembler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssemblerFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssemblerFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/PipelineAssemblerFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SOAPBindingCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SOAPBindingCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SOAPBindingCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerPipeAssemblerContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerPipeAssemblerContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerPipeAssemblerContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerTubeAssemblerContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerTubeAssemblerContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ServerTubeAssemblerContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -225,7 +225,7 @@ * encode/decode entire MIME messages in SOAP binding) * * @return codec to be used for web service requests - * @see {@link Codecs} + * @see Codecs */ public @NotNull Codec getCodec() { return codec; @@ -247,7 +247,7 @@ * serving requests concurrently. * * @param codec codec to be used for web service requests - * @see {@link Codecs} + * @see Codecs */ public void setCodec(@NotNull Codec codec) { this.codec = codec; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/StreamSOAPCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/StreamSOAPCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/StreamSOAPCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Stubs.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Stubs.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Stubs.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -321,7 +321,7 @@ /** * Creates a new {@link Message}-based {@link Dispatch} stub that connects to the given pipe. - * The returned dispatch is always {@link Service.Mode#MESSAGE}. + * The returned dispatch is always {@link Mode#MESSAGE}. * * @param portName * see {@link Service#createDispatch(QName, Class, Service.Mode)}. @@ -344,7 +344,7 @@ /** * Creates a new {@link Message}-based {@link Dispatch} stub that connects to the given pipe. - * The returned dispatch is always {@link Service.Mode#MESSAGE}. + * The returned dispatch is always {@link Mode#MESSAGE}. * * @param portInfo * see common parameters @@ -381,7 +381,7 @@ /** * Creates a new {@link Message}-based {@link Dispatch} stub that connects to the given pipe. - * The returned dispatch is always {@link Service.Mode#MESSAGE}. + * The returned dispatch is always {@link Mode#MESSAGE}. * * @param portInfo * see common parameters diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SyncStartForAsyncFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SyncStartForAsyncFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/SyncStartForAsyncFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ThrowableContainerPropertySet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ThrowableContainerPropertySet.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,120 @@ +/* + * Copyright (c) 1997, 2013, 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.api.pipe; + +import javax.xml.ws.Dispatch; + +import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.Packet; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import com.oracle.webservices.internal.api.message.PropertySet; + +/** + * When using {@link Dispatch}<{@link Packet}> and the invocation completes with a Throwable, it is + * useful to be able to inspect the Packet in addition to the Throwable as the Packet contains + * meta-data about the request and/or response. However, the default behavior is that the caller + * only receives the Throwable. + * + * This {@link PropertySet} is part of the implementation that allows a completing Fiber to return + * the Throwable to the caller as part of the Packet. + * + */ +public class ThrowableContainerPropertySet extends BasePropertySet { + + public ThrowableContainerPropertySet(final Throwable throwable) { + this.throwable = throwable; + } + + //////////////////////////////////////////////////// + // + // The original throwable + // + public static final String FIBER_COMPLETION_THROWABLE = "com.sun.xml.internal.ws.api.pipe.fiber-completion-throwable"; + private Throwable throwable; + @Property(FIBER_COMPLETION_THROWABLE) + public Throwable getThrowable() { + return throwable; + } + public void setThrowable(final Throwable throwable) { + this.throwable = throwable; + } + + //////////////////////////////////////////////////// + // + // The FAULT message created in WsaServerTube or WSEndpointImpl + // + public static final String FAULT_MESSAGE = "com.sun.xml.internal.ws.api.pipe.fiber-completion-fault-message"; + private Message faultMessage; + @Property(FAULT_MESSAGE) + public Message getFaultMessage() { + return faultMessage; + } + public void setFaultMessage(final Message faultMessage) { + this.faultMessage = faultMessage; + } + + //////////////////////////////////////////////////// + // + // The response Packet seen in WsaServerTube.processException or WSEndpointImpl + // + public static final String RESPONSE_PACKET = "com.sun.xml.internal.ws.api.pipe.fiber-completion-response-packet"; + private Packet responsePacket; + @Property(RESPONSE_PACKET) + public Packet getResponsePacket() { + return responsePacket; + } + public void setResponsePacket(final Packet responsePacket) { + this.responsePacket = responsePacket; + } + + //////////////////////////////////////////////////// + // + // If the fault representation of the exception has already been created + // + public static final String IS_FAULT_CREATED = "com.sun.xml.internal.ws.api.pipe.fiber-completion-is-fault-created"; + private boolean isFaultCreated = false; + @Property(IS_FAULT_CREATED) + public boolean isFaultCreated() { + return isFaultCreated; + } + public void setFaultCreated(final boolean isFaultCreated) { + this.isFaultCreated = isFaultCreated; + } + + // + // boilerplate + // + + @Override + protected PropertyMap getPropertyMap() { + return model; + } + + private static final PropertyMap model; + static { + model = parse(ThrowableContainerPropertySet.class); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportPipeFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportPipeFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportPipeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportTubeFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportTubeFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TransportTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,10 +29,10 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; -import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe; import com.sun.xml.internal.ws.util.ServiceFinder; import com.sun.xml.internal.ws.util.pipe.StandaloneTubeAssembler; +import java.util.logging.Level; import javax.xml.ws.WebServiceException; import java.util.logging.Logger; @@ -68,7 +68,7 @@ *

    * {@link TransportTubeFactory} look-up follows the standard service * discovery mechanism, so you need - * {@code META-INF/services/com.sun.xml.internal.ws.api.pipe.TransportTubeFactory}. + * {@code META-INF/services/com.sun.xml.internal.ws.api.pipe.BasicTransportTubeFactory}. * * @author Jitendra Kotamraju * @see StandaloneTubeAssembler @@ -116,8 +116,10 @@ public static Tube create(@Nullable ClassLoader classLoader, @NotNull ClientTubeAssemblerContext context) { for (TransportTubeFactory factory : ServiceFinder.find(TransportTubeFactory.class,classLoader, context.getContainer())) { Tube tube = factory.doCreate(context); - if(tube !=null) { - TransportTubeFactory.logger.fine(factory.getClass()+" successfully created "+tube); + if (tube !=null) { + if (logger.isLoggable(Level.FINE)) { + TransportTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube}); + } return tube; } } @@ -130,7 +132,9 @@ for (TransportPipeFactory factory : ServiceFinder.find(TransportPipeFactory.class,classLoader)) { Pipe pipe = factory.doCreate(ctxt); if (pipe!=null) { - logger.fine(factory.getClass()+" successfully created "+pipe); + if (logger.isLoggable(Level.FINE)) { + logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), pipe}); + } return PipeAdapter.adapt(pipe); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Tube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Tube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/Tube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -391,7 +391,6 @@ * * @return * always non-null {@link Tube}. - * @param cloner */ Tube copy(TubeCloner cloner); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubeCloner.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubeCloner.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubeCloner.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -45,7 +45,7 @@ * Invoked by a client of a tube to clone the whole pipeline. * *

    - * {@link Tube}s implementing the {@link Tube#copy(TubeClonerImpl)} method + * {@link Tube}s implementing the {@link Tube#copy(com.sun.xml.internal.ws.api.pipe.TubeCloner)} method * shall use {@link #copy(Tube)} method. * * @param p @@ -66,7 +66,7 @@ } /** - * Invoked by a {@link Tube#copy(TubeClonerImpl)} implementation + * Invoked by a {@link Tube#copy(com.sun.xml.internal.ws.api.pipe.TubeCloner)} implementation * to copy a reference to another pipe. * *

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssembler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssembler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssembler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssemblerFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssemblerFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/TubelineAssemblerFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,8 +30,9 @@ import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.assembler.MetroTubelineAssembler; import com.sun.xml.internal.ws.util.ServiceFinder; -import com.sun.xml.internal.ws.util.pipe.StandaloneTubeAssembler; +import java.util.logging.Level; import java.util.logging.Logger; @@ -85,15 +86,16 @@ TubelineAssemblerFactory taf = container.getSPI(TubelineAssemblerFactory.class); if(taf!=null) { TubelineAssembler a = taf.doCreate(bindingId); - if(a!=null) + if (a != null) { return a; + } } } for (TubelineAssemblerFactory factory : ServiceFinder.find(TubelineAssemblerFactory.class, classLoader)) { TubelineAssembler assembler = factory.doCreate(bindingId); if (assembler != null) { - TubelineAssemblerFactory.logger.fine(factory.getClass() + " successfully created " + assembler); + TubelineAssemblerFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), assembler}); return assembler; } } @@ -102,13 +104,13 @@ for (PipelineAssemblerFactory factory : ServiceFinder.find(PipelineAssemblerFactory.class,classLoader)) { PipelineAssembler assembler = factory.doCreate(bindingId); if(assembler!=null) { - logger.fine(factory.getClass()+" successfully created "+assembler); + logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), assembler}); return new TubelineAssemblerAdapter(assembler); } } // default binding IDs that are known - return new StandaloneTubeAssembler(); + return new MetroTubelineAssembler(bindingId, MetroTubelineAssembler.JAXWS_TUBES_CONFIG_NAMES); } private static class TubelineAssemblerAdapter implements TubelineAssembler { @@ -118,6 +120,7 @@ this.assembler = assembler; } + @Override public @NotNull Tube createClient(@NotNull ClientTubeAssemblerContext context) { ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext( context.getAddress(), context.getWsdlModel(), context.getService(), @@ -125,7 +128,11 @@ return PipeAdapter.adapt(assembler.createClient(ctxt)); } + @Override public @NotNull Tube createServer(@NotNull ServerTubeAssemblerContext context) { + if (!(context instanceof ServerPipeAssemblerContext)) { + throw new IllegalArgumentException("{0} is not instance of ServerPipeAssemblerContext"); + } return PipeAdapter.adapt(assembler.createServer((ServerPipeAssemblerContext) context)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterPipeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterPipeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterPipeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterTubeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterTubeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractFilterTubeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractPipeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractPipeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractPipeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractTubeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractTubeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/AbstractTubeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -75,18 +75,38 @@ return na; } + protected final NextAction doThrow(Packet response, Throwable t) { + NextAction na = new NextAction(); + na.throwException(response, t); + return na; + } + + @Deprecated protected final NextAction doSuspend() { NextAction na = new NextAction(); na.suspend(); return na; } + protected final NextAction doSuspend(Runnable onExitRunnable) { + NextAction na = new NextAction(); + na.suspend(onExitRunnable); + return na; + } + + @Deprecated protected final NextAction doSuspend(Tube next) { NextAction na = new NextAction(); na.suspend(next); return na; } + protected final NextAction doSuspend(Tube next, Runnable onExitRunnable) { + NextAction na = new NextAction(); + na.suspend(next, onExitRunnable); + return na; + } + protected final NextAction doThrow(Throwable t) { NextAction na = new NextAction(); na.throwException(t); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/PipeAdapter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/PipeAdapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/PipeAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/helper/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -24,7 +24,7 @@ */ /** - * Default partial implementations of {@link Pipe}. + * Default partial implementations of {@link com.sun.xml.internal.ws.api.pipe.Pipe}. * *

    * This is intended to be useful for projects building on diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/AlternativeSelector.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/AlternativeSelector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/AlternativeSelector.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelGenerator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelTranslator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelTranslator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelTranslator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelUnmarshaller.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelUnmarshaller.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ModelUnmarshaller.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,7 @@ package com.sun.xml.internal.ws.api.policy; +import com.sun.xml.internal.ws.policy.sourcemodel.PolicyModelGenerator; import com.sun.xml.internal.ws.policy.sourcemodel.PolicySourceModel; import com.sun.xml.internal.ws.policy.sourcemodel.XmlPolicyModelUnmarshaller; import com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolverFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolverFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/PolicyResolverFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/SourceModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/SourceModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/SourceModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ValidationProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ValidationProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ValidationProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/subject/BindingSubject.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/subject/BindingSubject.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/subject/BindingSubject.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractInstanceResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractInstanceResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractInstanceResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,26 +26,18 @@ package com.sun.xml.internal.ws.api.server; import com.sun.istack.internal.Nullable; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.api.server.InstanceResolver; import com.sun.xml.internal.ws.api.server.ResourceInjector; import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.resources.ServerMessages; import com.sun.xml.internal.ws.server.ServerRtException; -import com.sun.xml.internal.ws.util.localization.Localizable; -import javax.annotation.Resource; -import javax.xml.ws.WebServiceContext; -import javax.xml.ws.WebServiceException; import java.lang.annotation.Annotation; -import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; -import java.lang.reflect.Modifier; import java.security.AccessController; import java.security.PrivilegedAction; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; /** * Partial implementation of {@link InstanceResolver} with @@ -56,91 +48,6 @@ */ public abstract class AbstractInstanceResolver extends InstanceResolver { - /** - * Encapsulates which field/method the injection is done, - * and performs the injection. - */ - public static interface InjectionPlan { - void inject(T instance,R resource); - /** - * Gets the number of injections to be performed. - */ - int count(); - } - - /** - * Injects to a field. - */ - protected static class FieldInjectionPlan implements InjectionPlan { - private final Field field; - - public FieldInjectionPlan(Field field) { - this.field = field; - } - - public void inject(final T instance, final R resource) { - AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - try { - if (!field.isAccessible()) { - field.setAccessible(true); - } - field.set(instance,resource); - return null; - } catch (IllegalAccessException e) { - throw new ServerRtException("server.rt.err",e); - } - } - }); - } - - public int count() { - return 1; - } - } - - /** - * Injects to a method. - */ - protected static class MethodInjectionPlan implements InjectionPlan { - private final Method method; - - public MethodInjectionPlan(Method method) { - this.method = method; - } - - public void inject(T instance, R resource) { - invokeMethod(method, instance, resource); - } - - public int count() { - return 1; - } - } - - /** - * Combines multiple {@link InjectionPlan}s into one. - */ - private static class Compositor implements InjectionPlan { - private final InjectionPlan[] children; - - public Compositor(Collection> children) { - this.children = children.toArray(new InjectionPlan[children.size()]); - } - - public void inject(T instance, R res) { - for (InjectionPlan plan : children) - plan.inject(instance,res); - } - - public int count() { - int r = 0; - for (InjectionPlan plan : children) - r += plan.count(); - return r; - } - } - protected static ResourceInjector getResourceInjector(WSEndpoint endpoint) { ResourceInjector ri = endpoint.getContainer().getSPI(ResourceInjector.class); if(ri==null) @@ -189,76 +96,4 @@ } return r; } - - /** - * Creates an {@link InjectionPlan} that injects the given resource type to the given class. - * - * @param isStatic - * Only look for static field/method - * - */ - public static - InjectionPlan buildInjectionPlan(Class clazz, Class resourceType, boolean isStatic) { - List> plan = new ArrayList>(); - - Class cl = clazz; - while(cl != Object.class) { - for(Field field: cl.getDeclaredFields()) { - Resource resource = field.getAnnotation(Resource.class); - if (resource != null) { - if(isInjectionPoint(resource, field.getType(), - ServerMessages.localizableWRONG_FIELD_TYPE(field.getName()),resourceType)) { - - if(isStatic && !Modifier.isStatic(field.getModifiers())) - throw new WebServiceException(ServerMessages.STATIC_RESOURCE_INJECTION_ONLY(resourceType,field)); - - plan.add(new FieldInjectionPlan(field)); - } - } - } - cl = cl.getSuperclass(); - } - - cl = clazz; - while(cl != Object.class) { - for(Method method : cl.getDeclaredMethods()) { - Resource resource = method.getAnnotation(Resource.class); - if (resource != null) { - Class[] paramTypes = method.getParameterTypes(); - if (paramTypes.length != 1) - throw new ServerRtException(ServerMessages.WRONG_NO_PARAMETERS(method)); - if(isInjectionPoint(resource,paramTypes[0], - ServerMessages.localizableWRONG_PARAMETER_TYPE(method.getName()),resourceType)) { - - if(isStatic && !Modifier.isStatic(method.getModifiers())) - throw new WebServiceException(ServerMessages.STATIC_RESOURCE_INJECTION_ONLY(resourceType,method)); - - plan.add(new MethodInjectionPlan(method)); - } - } - } - cl = cl.getSuperclass(); - } - - return new Compositor(plan); - } - - /** - * Returns true if the combination of {@link Resource} and the field/method type - * are consistent for {@link WebServiceContext} injection. - */ - private static boolean isInjectionPoint(Resource resource, Class fieldType, Localizable errorMessage, Class resourceType ) { - Class t = resource.type(); - if (t.equals(Object.class)) { - return fieldType.equals(resourceType); - } else if (t.equals(resourceType)) { - if (fieldType.isAssignableFrom(resourceType)) { - return true; - } else { - // type compatibility error - throw new ServerRtException(errorMessage); - } - } - return false; - } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractServerAsyncTransport.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractServerAsyncTransport.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractServerAsyncTransport.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,17 +25,17 @@ package com.sun.xml.internal.ws.api.server; +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Codec; -import com.sun.xml.internal.ws.api.pipe.Fiber; import com.sun.xml.internal.ws.util.Pool; import java.io.IOException; + /** * Partial server side async transport implementation. It manages pooling of * {@link Codec} and other details. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Adapter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Adapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Adapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProvider.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProviderCallback.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProviderCallback.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AsyncProviderCallback.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/BoundEndpoint.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/BoundEndpoint.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/BoundEndpoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Container.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Container.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Container.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ContainerResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ContainerResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ContainerResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,9 +30,7 @@ /** * This class determines an instance of {@link Container} for the runtime. * It applies for both server and client runtimes(for e.g in Servlet could - * be accessing a Web Service). Always call {@link #setInstance} when the - * application's environment is initailized and a Container instance should - * be associated with an application. + * be accessing a Web Service). * * A client that is invoking a web service may be running in a * container(for e.g servlet). T @@ -46,13 +44,9 @@ */ public abstract class ContainerResolver { - private static final ContainerResolver NONE = new ContainerResolver() { - public Container getContainer() { - return Container.NONE; - } - }; + private static final ThreadLocalContainerResolver DEFAULT = new ThreadLocalContainerResolver(); - private static volatile ContainerResolver theResolver = NONE; + private static volatile ContainerResolver theResolver = DEFAULT; /** * Sets the custom container resolver which can be used to get client's @@ -62,7 +56,7 @@ */ public static void setInstance(ContainerResolver resolver) { if(resolver==null) - resolver = NONE; + resolver = DEFAULT; theResolver = resolver; } @@ -80,8 +74,8 @@ * * @return default container resolver */ - public static ContainerResolver getDefault() { - return NONE; + public static ThreadLocalContainerResolver getDefault() { + return DEFAULT; } /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/DocumentAddressResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/DocumentAddressResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/DocumentAddressResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointAwareCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointAwareCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointAwareCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -37,7 +37,7 @@ */ public interface EndpointAwareCodec extends Codec { /** - * Called by the {@linK WSEndpoint} implementation + * Called by the {@link WSEndpoint} implementation * when the codec is associated with an endpoint. */ void setEndpoint(@NotNull WSEndpoint endpoint); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointComponent.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointComponent.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointComponent.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointData.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointData.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointData.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointReferenceExtensionContributor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointReferenceExtensionContributor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/EndpointReferenceExtensionContributor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/HttpEndpoint.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/HttpEndpoint.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/HttpEndpoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolverAnnotation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolverAnnotation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/InstanceResolverAnnotation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Invoker.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Invoker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Invoker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/LazyMOMProvider.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/LazyMOMProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/LazyMOMProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -25,8 +25,12 @@ package com.sun.xml.internal.ws.api.server; +import com.sun.xml.internal.ws.server.WSEndpointImpl; import java.util.HashSet; import java.util.Set; +import com.sun.org.glassfish.external.amx.AMXGlassfish; +import com.sun.org.glassfish.external.amx.MBeanListener; +import com.sun.org.glassfish.gmbal.ManagedObjectManager; /** * The lazy provider is intended to defer Gmbal API calls until there is a JMX connection. The provider is scope @@ -41,7 +45,7 @@ * Glassfish: * {@link WebServicesContainer} is one of two classes for which a {@link ManagedObjectManager} instance (see Gmbal API) * is created when a webservice application is deployed into the Glassfish. For the purpose of postponing Gmbal API calls - * the {@code WebServiceContainer} extends {@link MBeanListener.CallbackImpl} so it can register itself as a listener of + * the {@code WebServicesContainer} extends {@link MBeanListener.CallbackImpl} so it can register itself as a listener of * {@link AMXGlassfish} and receive a notification about a connection of a JMX client to the Glassfish server (see * {@code WebServicesContainer#postConstruct} for registration details). The moment the JMX client is connected a notification * is sent to the listeners of {@code AMXGlassfish}. When this event is received by {@code WebServiceContainer} (see the @@ -53,7 +57,7 @@ * libraries (outside of Glassfish) so no notification from the Glassfish server can be expected in this case. This leads * to a situation when Metro/JAX-WS has to be aware of context in which it is used and acts appropriately. There are 3 * scopes an application using Metro/JAX-WS can be in: {@code STANDALONE}, {@code GLASSFISH_NO_JMX}, {@code GLASSFISH_JMX} - * ({@link LazyMOMProvider.Scope}). The default scope is {@code STANDALONE} and all Gmbal API calls are invoked as they + * ({@link LazyMOMProvider#scope}). The default scope is {@code STANDALONE} and all Gmbal API calls are invoked as they * are requested. The other two scopes are applied only when an application is deployed into a Glassfish server. The * {@code GLASSFISH_NO_JMX} is set at the moment the application is deployed (see below) and its purpose is to defer Gmbal * API calls for as long as possible. For some classes e.g. {@code ManagedObjectManager} proxy classes were introduced to @@ -181,7 +185,8 @@ /** * Returns {@code true} if this provider is in the default scope. * - * @return + * @return {@code true} if this provider is in the default scope, + * {@code false} otherwise */ private boolean isProviderInDefaultScope() { return this.scope == Scope.STANDALONE; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Module.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Module.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/Module.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/PortAddressResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/PortAddressResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/PortAddressResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ProviderInvokerTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ProviderInvokerTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,110 @@ +/* + * Copyright (c) 1997, 2013, 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.api.server; + + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.server.provider.AsyncProviderInvokerTube; +import com.sun.xml.internal.ws.server.provider.ProviderArgumentsBuilder; +import com.sun.xml.internal.ws.server.provider.ProviderInvokerTube; +import com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube; +import com.sun.xml.internal.ws.util.ServiceFinder; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * Factory for Provider invoker tubes that know how to handle specific + * types of Providers (i.e., javax.xml.ws.Provider). + * + */ + +public abstract class ProviderInvokerTubeFactory { + /** + * + */ + protected abstract ProviderInvokerTube doCreate(@NotNull final Class implType, + @NotNull final Invoker invoker, + @NotNull final ProviderArgumentsBuilder argsBuilder, + final boolean isAsync); + + private static final ProviderInvokerTubeFactory DEFAULT = new DefaultProviderInvokerTubeFactory(); + + private static class DefaultProviderInvokerTubeFactory extends ProviderInvokerTubeFactory { + @Override + public ProviderInvokerTube doCreate(@NotNull final Class implType, + @NotNull final Invoker invoker, + @NotNull final ProviderArgumentsBuilder argsBuilder, + final boolean isAsync) + { + return createDefault(implType, invoker, argsBuilder, isAsync); + } + } + + /** + * @param classLoader + * @param container + * @param implType + * @param invoker + * @param argsBuilder + * @param isAsync + * + * @return + */ + public static ProviderInvokerTube create(@Nullable final ClassLoader classLoader, + @NotNull final Container container, + @NotNull final Class implType, + @NotNull final Invoker invoker, + @NotNull final ProviderArgumentsBuilder argsBuilder, + final boolean isAsync) + { + for (ProviderInvokerTubeFactory factory : ServiceFinder.find(ProviderInvokerTubeFactory.class, + classLoader, container)) + { + ProviderInvokerTube tube = factory.doCreate(implType, invoker, argsBuilder, isAsync); + if (tube != null) { + if (logger.isLoggable(Level.FINE)) { + ProviderInvokerTubeFactory.logger.log(Level.FINE, "{0} successfully created {1}", new Object[]{factory.getClass(), tube}); + } + return tube; + } + } + return DEFAULT.createDefault(implType, invoker, argsBuilder, isAsync); + } + + protected ProviderInvokerTube createDefault(@NotNull final Class implType, + @NotNull final Invoker invoker, + @NotNull final ProviderArgumentsBuilder argsBuilder, + final boolean isAsync) + { + return + isAsync + ? new AsyncProviderInvokerTube(invoker, argsBuilder) + : new SyncProviderInvokerTube (invoker, argsBuilder); + } + + private static final Logger logger = Logger.getLogger(ProviderInvokerTubeFactory.class.getName()); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ResourceInjector.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ResourceInjector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ResourceInjector.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocument.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocument.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocument.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentFilter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/SDDocumentSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServerPipelineHook.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServerPipelineHook.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServerPipelineHook.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServiceDefinition.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServiceDefinition.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ServiceDefinition.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ThreadLocalContainerResolver.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ThreadLocalContainerResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,106 @@ +/* + * 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.api.server; + +import java.util.concurrent.Executor; + +/** + * ContainerResolver based on {@link ThreadLocal}. + *

    + * The ThreadLocalContainerResolver is the default implementation available + * from the ContainerResolver using {@link ContainerResolver#getDefault()}. Code + * sections that run with a Container must use the following pattern: + *

    + *   public void m() {
    + *     Container old = ContainerResolver.getDefault().enterContainer(myContainer);
    + *     try {
    + *       // ... method body
    + *     } finally {
    + *       ContainerResolver.getDefault().exitContainer(old);
    + *     }
    + *   }
    + * 
    + * @since 2.2.7 + */ +public class ThreadLocalContainerResolver extends ContainerResolver { + private ThreadLocal containers = new ThreadLocal() { + @Override + protected Container initialValue() { + return Container.NONE; + } + }; + + public Container getContainer() { + return containers.get(); + } + + /** + * Enters container + * @param container Container to set + * @return Previous container; must be remembered and passed to exitContainer + */ + public Container enterContainer(Container container) { + Container old = containers.get(); + containers.set(container); + return old; + } + + /** + * Exits container + * @param old Container returned from enterContainer + */ + public void exitContainer(Container old) { + containers.set(old); + } + + /** + * Used by {@link com.sun.xml.internal.ws.api.pipe.Engine} to wrap asynchronous {@link com.sun.xml.internal.ws.api.pipe.Fiber} executions + * @param container Container + * @param ex Executor to wrap + * @return an Executor that will set the container during executions of Runnables + */ + public Executor wrapExecutor(final Container container, final Executor ex) { + if (ex == null) + return null; + + return new Executor() { + @Override + public void execute(final Runnable command) { + ex.execute(new Runnable() { + @Override + public void run() { + Container old = enterContainer(container); + try { + command.run(); + } finally { + exitContainer(old); + } + } + }); + } + }; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/TransportBackChannel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/TransportBackChannel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/TransportBackChannel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSEndpoint.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSEndpoint.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSEndpoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,9 +30,11 @@ import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.Component; import com.sun.xml.internal.ws.api.ComponentRegistry; +import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.config.management.EndpointCreationAttributes; import com.sun.xml.internal.ws.api.config.management.ManagedEndpointFactory; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.SEIModel; @@ -41,18 +43,24 @@ import com.sun.xml.internal.ws.api.pipe.Engine; import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.policy.PolicyMap; +import com.sun.xml.internal.ws.server.EndpointAwareTube; import com.sun.xml.internal.ws.server.EndpointFactory; import com.sun.xml.internal.ws.util.ServiceFinder; import com.sun.xml.internal.ws.util.xml.XmlUtil; +import com.sun.xml.internal.ws.wsdl.OperationDispatcher; import com.sun.org.glassfish.gmbal.ManagedObjectManager; import org.xml.sax.EntityResolver; +import org.w3c.dom.Element; import javax.xml.namespace.QName; import javax.xml.ws.Binding; +import javax.xml.ws.EndpointReference; import javax.xml.ws.WebServiceContext; import javax.xml.ws.WebServiceException; + import java.net.URL; import java.util.Collection; import java.util.Collections; @@ -217,8 +225,8 @@ * one-way message processing happens correctly. {@link Packet#webServiceContextDelegate} * should have the correct value, so that some {@link WebServiceContext} methods correctly. * - * @see {@link Packet#transportBackChannel} - * @see {@link Packet#webServiceContextDelegate} + * @see Packet#transportBackChannel + * @see Packet#webServiceContextDelegate * * @param request web service request * @param callback callback to get response packet @@ -230,7 +238,7 @@ /** * Schedule invocation of web service asynchronously. * - * @see {@link #schedule(Packet, CompletionCallback)} + * @see #schedule(Packet, CompletionCallback) * * @param request web service request * @param callback callback to get response packet(exception if there is one) @@ -560,9 +568,17 @@ final ManagedEndpointFactory managementFactory = managementFactories.next(); final EndpointCreationAttributes attributes = new EndpointCreationAttributes( processHandlerAnnotation, invoker, resolver, isTransportSynchronous); - return managementFactory.createEndpoint(endpoint, attributes); + + WSEndpoint managedEndpoint = managementFactory.createEndpoint(endpoint, attributes); + + if (endpoint.getAssemblerContext().getTerminalTube() instanceof EndpointAwareTube) { + ((EndpointAwareTube)endpoint.getAssemblerContext().getTerminalTube()).setEndpoint(managedEndpoint); + } + + return managedEndpoint; } + return endpoint; } @@ -614,22 +630,85 @@ * Gives the wsdl:service default name computed from the endpoint implementaiton class */ public static @NotNull QName getDefaultServiceName(Class endpointClass){ - return getDefaultServiceName(endpointClass, true); + return getDefaultServiceName(endpointClass, true, null); + } + public static @NotNull QName getDefaultServiceName(Class endpointClass, MetadataReader metadataReader){ + return getDefaultServiceName(endpointClass, true, metadataReader); } public static @NotNull QName getDefaultServiceName(Class endpointClass, boolean isStandard){ - return EndpointFactory.getDefaultServiceName(endpointClass, isStandard); + return getDefaultServiceName(endpointClass, isStandard, null); + } + public static @NotNull QName getDefaultServiceName(Class endpointClass, boolean isStandard, MetadataReader metadataReader){ + return EndpointFactory.getDefaultServiceName(endpointClass, isStandard, metadataReader); } /** * Gives the wsdl:service/wsdl:port default name computed from the endpoint implementaiton class */ - public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass){ - return getDefaultPortName(serviceName, endpointClass, true); + public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass) { + return getDefaultPortName(serviceName, endpointClass, null); + } + public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass, MetadataReader metadataReader) { + return getDefaultPortName(serviceName, endpointClass, true, metadataReader); + } + + public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass, boolean isStandard) { + return getDefaultPortName(serviceName, endpointClass, isStandard, null); + } + public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass, boolean isStandard, MetadataReader metadataReader){ + return EndpointFactory.getDefaultPortName(serviceName, endpointClass, isStandard, metadataReader); } - public static @NotNull QName getDefaultPortName(@NotNull QName serviceName, Class endpointClass, boolean isStandard){ - return EndpointFactory.getDefaultPortName(serviceName, endpointClass, isStandard); + /** + * Return EndpointReference instance, based on passed parameters and spec version represented by clazz + * @param + * @param clazz represents spec version + * @param address endpoint address + * @param wsdlAddress wsdl address + * @param referenceParameters any reference parameters to be added to the instance + * @return EndpointReference instance based on passed parameters and values obtained from current instance + */ + public abstract T getEndpointReference(Class clazz, String address, String wsdlAddress, Element... referenceParameters); + + /** + * + * @param + * @param clazz + * @param address + * @param wsdlAddress + * @param metadata + * @param referenceParameters + * @return EndpointReference instance based on passed parameters and values obtained from current instance + */ + public abstract T getEndpointReference(Class clazz, + String address, String wsdlAddress, List metadata, + List referenceParameters); + + /** + * Used for managed endpoints infrastructure to compare equality of proxies vs proxied endpoints. + * @param endpoint + * @return true if the proxied endpoint instance held by this instance equals to 'endpoint', otherwise return false. + */ + public boolean equalsProxiedInstance(WSEndpoint endpoint) { + if (endpoint == null) return false; + return this.equals(endpoint); } + /** + * Nullable when there is no associated WSDL Model + * @return + */ + public abstract @Nullable OperationDispatcher getOperationDispatcher(); + + + /** + * This is used by WsaServerTube and WSEndpointImpl to create a Packet with SOAPFault message from a Java exception. + */ + public abstract Packet createServiceResponseForException(final ThrowableContainerPropertySet tc, + final Packet responsePacket, + final SOAPVersion soapVersion, + final WSDLPort wsdlPort, + final SEIModel seiModel, + final WSBinding binding); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSWebServiceContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSWebServiceContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WSWebServiceContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebModule.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebModule.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebModule.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebServiceContextDelegate.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebServiceContextDelegate.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebServiceContextDelegate.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,6 +26,6 @@ /** * APIs for hosting JAX-WS services. * - * If you are new to the code, start with {@link WSEndpoint}. + * If you are new to the code, start with {@link com.sun.xml.internal.ws.api.server.WSEndpoint}. */ package com.sun.xml.internal.ws.api.server; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,22 +28,19 @@ import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.streaming.XMLReaderException; +import com.sun.xml.internal.ws.util.xml.XmlUtil; import org.xml.sax.InputSource; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.Reader; -import java.io.StringReader; -import java.io.UnsupportedEncodingException; +import java.io.*; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.URL; +import java.security.AccessController; +import java.util.logging.Level; import java.util.logging.Logger; -import java.security.AccessController; /** * Factory for {@link XMLStreamReader}. @@ -54,6 +51,7 @@ * * @author Kohsuke Kawaguchi */ +@SuppressWarnings("StaticNonFinalUsedInInitialization") public abstract class XMLStreamReaderFactory { private static final Logger LOGGER = Logger.getLogger(XMLStreamReaderFactory.class.getName()); @@ -69,20 +67,23 @@ // this system property can be used to disable the pooling altogether, // in case someone hits an issue with pooling in the production system. - if(!getProperty(XMLStreamReaderFactory.class.getName()+".noPool")) + if(!getProperty(XMLStreamReaderFactory.class.getName()+".noPool")) { f = Zephyr.newInstance(xif); + } if(f==null) { // is this Woodstox? - if(xif.getClass().getName().equals("com.ctc.wstx.stax.WstxInputFactory")) + if (xif.getClass().getName().equals("com.ctc.wstx.stax.WstxInputFactory")) { f = new Woodstox(xif); + } } - if(f==null) + if (f==null) { f = new Default(); + } theInstance = f; - LOGGER.fine("XMLStreamReaderFactory instance is = "+theInstance); + LOGGER.log(Level.FINE, "XMLStreamReaderFactory instance is = {0}", theInstance); } private static XMLInputFactory getXMLInputFactory() { @@ -95,7 +96,7 @@ } } if (xif == null) { - xif = XMLInputFactory.newInstance(); + xif = XmlUtil.newXMLInputFactory(true); } xif.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, true); xif.setProperty(XMLInputFactory.SUPPORT_DTD, false); @@ -109,7 +110,9 @@ * the JAX-WS RI uses. */ public static void set(XMLStreamReaderFactory f) { - if(f==null) throw new IllegalArgumentException(); + if(f==null) { + throw new IllegalArgumentException(); + } theInstance = f; } @@ -213,7 +216,7 @@ /** * {@link XMLStreamReaderFactory} implementation for SJSXP/JAXP RI. */ - public static final class Zephyr extends XMLStreamReaderFactory { + private static final class Zephyr extends XMLStreamReaderFactory { private final XMLInputFactory xif; private final ThreadLocal pool = new ThreadLocal(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetaDataResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetaDataResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetaDataResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetadataResolverFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetadataResolverFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/MetadataResolverFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/PolicyWSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/PolicyWSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/PolicyWSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/ServiceDescriptor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/ServiceDescriptor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/ServiceDescriptor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtensionContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtensionContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/WSDLParserExtensionContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/XMLEntityResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/XMLEntityResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/XMLEntityResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/parser/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGenExtnContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGenExtnContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGenExtnContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/wsdl/writer/WSDLGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/DefaultClientTubelineAssemblyContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/DefaultClientTubelineAssemblyContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,161 @@ +/* + * 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. + */ + +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package com.sun.xml.internal.ws.assembler; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.EndpointAddress; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.WSService; +import com.sun.xml.internal.ws.api.client.WSPortInfo; +import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Codec; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.policy.PolicyMap; + +/** + * The context is a wrapper around the existing JAX-WS {@link ClientTubeAssemblerContext} with additional features + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +class DefaultClientTubelineAssemblyContext extends TubelineAssemblyContextImpl implements ClientTubelineAssemblyContext { + + private final @NotNull ClientTubeAssemblerContext wrappedContext; + private final PolicyMap policyMap; + private final WSPortInfo portInfo; // TODO: is this really needed? + private final WSDLPort wsdlPort; + // TODO: replace the PipeConfiguration + + public DefaultClientTubelineAssemblyContext(@NotNull ClientTubeAssemblerContext context) { + this.wrappedContext = context; + this.wsdlPort = context.getWsdlModel(); + this.portInfo = context.getPortInfo(); + this.policyMap = context.getPortInfo().getPolicyMap(); + } + + public PolicyMap getPolicyMap() { + return policyMap; + } + + public boolean isPolicyAvailable() { + return policyMap != null && !policyMap.isEmpty(); + } + + /** + * The created pipeline will be used to serve this port. + * Null if the service isn't associated with any port definition in WSDL, + * and otherwise non-null. + * + * Replaces {@link com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext#getWsdlModel()} + */ + public WSDLPort getWsdlPort() { + return wsdlPort; + } + + public WSPortInfo getPortInfo() { + return portInfo; + } + + /** + * The endpoint address. Always non-null. This parameter is taken separately + * from {@link com.sun.xml.internal.ws.api.model.wsdl.WSDLPort} (even though there's {@link com.sun.xml.internal.ws.api.model.wsdl.WSDLPort#getAddress()}) + * because sometimes WSDL is not available. + */ + public @NotNull EndpointAddress getAddress() { + return wrappedContext.getAddress(); + } + + /** + * The pipeline is created for this {@link com.sun.xml.internal.ws.api.WSService}. + * Always non-null. (To be precise, the newly created pipeline + * is owned by a proxy or a dispatch created from this {@link com.sun.xml.internal.ws.api.WSService}.) + */ + public @NotNull WSService getService() { + return wrappedContext.getService(); + } + + /** + * The binding of the new pipeline to be created. + */ + public @NotNull WSBinding getBinding() { + return wrappedContext.getBinding(); + } + + /** + * The created pipeline will use seiModel to get java concepts for the endpoint + * + * @return Null if the service doesn't have SEI model e.g. Dispatch, + * and otherwise non-null. + */ + public @Nullable SEIModel getSEIModel() { + return wrappedContext.getSEIModel(); + } + + /** + * Returns the Container in which the client is running + * + * @return Container in which client is running + */ + public Container getContainer() { + return wrappedContext.getContainer(); + } + + /** + * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec + * based on the binding. + * + * @return codec to be used for web service requests + */ + public @NotNull Codec getCodec() { + return wrappedContext.getCodec(); + } + + /** + * Interception point to change {@link Codec} during {@link com.sun.xml.internal.ws.api.pipe.Tube}line assembly. The + * new codec will be used by jax-ws client runtime for encoding/decoding web service + * request/response messages. The new codec should be used by the transport tubes. + * + *

    + * the codec should correctly implement {@link Codec#copy} since it is used while + * serving requests concurrently. + * + * @param codec codec to be used for web service requests + */ + public void setCodec(@NotNull Codec codec) { + wrappedContext.setCodec(codec); + } + + public ClientTubeAssemblerContext getWrappedContext() { + return wrappedContext; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/DefaultServerTubelineAssemblyContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/DefaultServerTubelineAssemblyContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,161 @@ +/* + * 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. + */ + +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package com.sun.xml.internal.ws.assembler; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.pipe.Codec; +import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.policy.PolicyMap; + +/** + * The context is a wrapper around the existing JAX-WS {@link ServerTubeAssemblerContext} with additional features + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +class DefaultServerTubelineAssemblyContext extends TubelineAssemblyContextImpl implements ServerTubelineAssemblyContext { + + private final @NotNull ServerTubeAssemblerContext wrappedContext; + private final PolicyMap policyMap; + // TODO: add next tube getter/package-private setter + // TODO: replace the PipeConfiguration + + public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { + this.wrappedContext = context; + this.policyMap = context.getEndpoint().getPolicyMap(); + } + + public PolicyMap getPolicyMap() { + return policyMap; + } + + public boolean isPolicyAvailable() { + return policyMap != null && !policyMap.isEmpty(); + } + + /** + * The created pipeline will use seiModel to get java concepts for the endpoint + * + * @return Null if the service doesn't have SEI model e.g. Provider endpoints, + * and otherwise non-null. + */ + public @Nullable SEIModel getSEIModel() { + return wrappedContext.getSEIModel(); + } + + /** + * The created pipeline will be used to serve this port. + * + * @return Null if the service isn't associated with any port definition in WSDL, + * and otherwise non-null. + */ + public @Nullable WSDLPort getWsdlPort() { + return wrappedContext.getWsdlModel(); + } + + /** + * + * The created pipeline is used to serve this {@link com.sun.xml.internal.ws.api.server.WSEndpoint}. + * Specifically, its {@link com.sun.xml.internal.ws.api.WSBinding} should be of interest to many + * {@link com.sun.xml.internal.ws.api.pipe.Pipe}s. + * @return Always non-null. + */ + public @NotNull WSEndpoint getEndpoint() { + return wrappedContext.getEndpoint(); + } + + /** + * The last {@link com.sun.xml.internal.ws.api.pipe.Pipe} in the pipeline. The assembler is expected to put + * additional {@link com.sun.xml.internal.ws.api.pipe.Pipe}s in front of it. + * + *

    + * (Just to give you the idea how this is used, normally the terminal pipe + * is the one that invokes the user application or {@link javax.xml.ws.Provider}.) + * + * @return always non-null terminal pipe + */ + public @NotNull Tube getTerminalTube() { + return wrappedContext.getTerminalTube(); + } + + /** + * If this server pipeline is known to be used for serving synchronous transport, + * then this method returns true. This can be potentially use as an optimization + * hint, since often synchronous versions are cheaper to execute than asycnhronous + * versions. + */ + public boolean isSynchronous() { + return wrappedContext.isSynchronous(); + } + + /** + * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec + * based on the binding. The codec is a full codec that is responsible for + * encoding/decoding entire protocol message(for e.g: it is responsible to + * encode/decode entire MIME messages in SOAP binding) + * + * @return codec to be used for web service requests + * @see {@link com.sun.xml.internal.ws.api.pipe.Codecs} + */ + public @NotNull Codec getCodec() { + return wrappedContext.getCodec(); + } + + /** + * Interception point to change {@link Codec} during {@link Tube}line assembly. The + * new codec will be used by jax-ws server runtime for encoding/decoding web service + * request/response messages. {@link WSEndpoint#createCodec()} will return a copy + * of this new codec and will be used in the server runtime. + * + *

    + * The codec is a full codec that is responsible for + * encoding/decoding entire protocol message(for e.g: it is responsible to + * encode/decode entire MIME messages in SOAP binding) + * + *

    + * the codec should correctly implement {@link Codec#copy} since it is used while + * serving requests concurrently. + * + * @param codec codec to be used for web service requests + * @see {@link com.sun.xml.internal.ws.api.pipe.Codecs} + */ + public void setCodec(@NotNull Codec codec) { + wrappedContext.setCodec(codec); + } + + public ServerTubeAssemblerContext getWrappedContext() { + return wrappedContext; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigLoader.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,333 @@ +/* + * Copyright (c) 1997, 2013, 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.assembler; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.api.ResourceLoader; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.resources.TubelineassemblyMessages; +import com.sun.xml.internal.ws.runtime.config.MetroConfig; +import com.sun.xml.internal.ws.runtime.config.TubeFactoryList; +import com.sun.xml.internal.ws.runtime.config.TubelineDefinition; +import com.sun.xml.internal.ws.runtime.config.TubelineMapping; +import com.sun.xml.internal.ws.util.xml.XmlUtil; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.Unmarshaller; +import javax.xml.stream.XMLInputFactory; +import javax.xml.ws.WebServiceException; +import java.lang.reflect.Method; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.URL; +import java.util.logging.Level; + +/** + * This class is responsible for locating and loading Metro configuration files + * (both application jaxws-tubes.xml and default jaxws-tubes-default.xml). + *

    + * Once the configuration is loaded the class is able to resolve which tubeline + * configuration belongs to each endpoint or endpoint client. This information is + * then used in {@link TubelineAssemblyController} to construct the list of + * {@link TubeCreator} objects that are used in the actual tubeline construction. + * + * @author Marek Potociar + */ +// TODO Move the logic of this class directly into MetroConfig class. +class MetroConfigLoader { + + private static final Logger LOGGER = Logger.getLogger(MetroConfigLoader.class); + + private MetroConfigName defaultTubesConfigNames; + + private static interface TubeFactoryListResolver { + + TubeFactoryList getFactories(TubelineDefinition td); + } + + private static final TubeFactoryListResolver ENDPOINT_SIDE_RESOLVER = new TubeFactoryListResolver() { + + public TubeFactoryList getFactories(TubelineDefinition td) { + return (td != null) ? td.getEndpointSide() : null; + } + }; + private static final TubeFactoryListResolver CLIENT_SIDE_RESOLVER = new TubeFactoryListResolver() { + + public TubeFactoryList getFactories(TubelineDefinition td) { + return (td != null) ? td.getClientSide() : null; + } + }; + // + private MetroConfig defaultConfig; + private URL defaultConfigUrl; + private MetroConfig appConfig; + private URL appConfigUrl; + + MetroConfigLoader(Container container, MetroConfigName defaultTubesConfigNames) { + this.defaultTubesConfigNames = defaultTubesConfigNames; + ResourceLoader spiResourceLoader = null; + if (container != null) { + spiResourceLoader = container.getSPI(ResourceLoader.class); + } + // if spi resource can't load resource, default (MetroConfigUrlLoader) is used; + // it searches the classpath, so it would be most probably used + // when using jaxws- or metro-defaults from jaxws libraries + init(container, spiResourceLoader, new MetroConfigUrlLoader(container)); + } + + private void init(Container container, ResourceLoader... loaders) { + + String appFileName = null; + String defaultFileName = null; + if (container != null) { + MetroConfigName mcn = container.getSPI(MetroConfigName.class); + if (mcn != null) { + appFileName = mcn.getAppFileName(); + defaultFileName = mcn.getDefaultFileName(); + } + } + if (appFileName == null) { + appFileName = defaultTubesConfigNames.getAppFileName(); + } + + if (defaultFileName == null) { + defaultFileName = defaultTubesConfigNames.getDefaultFileName(); + } + this.defaultConfigUrl = locateResource(defaultFileName, loaders); + if (defaultConfigUrl == null) { + throw LOGGER.logSevereException(new IllegalStateException(TubelineassemblyMessages.MASM_0001_DEFAULT_CFG_FILE_NOT_FOUND(defaultFileName))); + } + + LOGGER.config(TubelineassemblyMessages.MASM_0002_DEFAULT_CFG_FILE_LOCATED(defaultFileName, defaultConfigUrl)); + this.defaultConfig = MetroConfigLoader.loadMetroConfig(defaultConfigUrl); + if (defaultConfig == null) { + throw LOGGER.logSevereException(new IllegalStateException(TubelineassemblyMessages.MASM_0003_DEFAULT_CFG_FILE_NOT_LOADED(defaultFileName))); + } + if (defaultConfig.getTubelines() == null) { + throw LOGGER.logSevereException(new IllegalStateException(TubelineassemblyMessages.MASM_0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE(defaultFileName))); + } + if (defaultConfig.getTubelines().getDefault() == null) { + throw LOGGER.logSevereException(new IllegalStateException(TubelineassemblyMessages.MASM_0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE(defaultFileName))); + } + + this.appConfigUrl = locateResource(appFileName, loaders); + if (appConfigUrl != null) { + LOGGER.config(TubelineassemblyMessages.MASM_0006_APP_CFG_FILE_LOCATED(appConfigUrl)); + this.appConfig = MetroConfigLoader.loadMetroConfig(appConfigUrl); + } else { + LOGGER.config(TubelineassemblyMessages.MASM_0007_APP_CFG_FILE_NOT_FOUND()); + this.appConfig = null; + } + } + + TubeFactoryList getEndpointSideTubeFactories(URI endpointReference) { + return getTubeFactories(endpointReference, ENDPOINT_SIDE_RESOLVER); + } + + TubeFactoryList getClientSideTubeFactories(URI endpointReference) { + return getTubeFactories(endpointReference, CLIENT_SIDE_RESOLVER); + } + + private TubeFactoryList getTubeFactories(URI endpointReference, TubeFactoryListResolver resolver) { + if (appConfig != null && appConfig.getTubelines() != null) { + for (TubelineMapping mapping : appConfig.getTubelines().getTubelineMappings()) { + if (mapping.getEndpointRef().equals(endpointReference.toString())) { + TubeFactoryList list = resolver.getFactories(getTubeline(appConfig, resolveReference(mapping.getTubelineRef()))); + if (list != null) { + return list; + } else { + break; + } + } + } + + if (appConfig.getTubelines().getDefault() != null) { + TubeFactoryList list = resolver.getFactories(getTubeline(appConfig, resolveReference(appConfig.getTubelines().getDefault()))); + if (list != null) { + return list; + } + } + } + + for (TubelineMapping mapping : defaultConfig.getTubelines().getTubelineMappings()) { + if (mapping.getEndpointRef().equals(endpointReference.toString())) { + TubeFactoryList list = resolver.getFactories(getTubeline(defaultConfig, resolveReference(mapping.getTubelineRef()))); + if (list != null) { + return list; + } else { + break; + } + } + } + + return resolver.getFactories(getTubeline(defaultConfig, resolveReference(defaultConfig.getTubelines().getDefault()))); + } + + TubelineDefinition getTubeline(MetroConfig config, URI tubelineDefinitionUri) { + if (config != null && config.getTubelines() != null) { + for (TubelineDefinition td : config.getTubelines().getTubelineDefinitions()) { + if (td.getName().equals(tubelineDefinitionUri.getFragment())) { + return td; + } + } + } + + return null; + } + + private static URI resolveReference(String reference) { + try { + return new URI(reference); + } catch (URISyntaxException ex) { + throw LOGGER.logSevereException(new WebServiceException(TubelineassemblyMessages.MASM_0008_INVALID_URI_REFERENCE(reference), ex)); + } + } + + + private static URL locateResource(String resource, ResourceLoader loader) { + if (loader == null) return null; + + try { + return loader.getResource(resource); + } catch (MalformedURLException ex) { + LOGGER.severe(TubelineassemblyMessages.MASM_0009_CANNOT_FORM_VALID_URL(resource), ex); + } + return null; + } + + private static URL locateResource(String resource, ResourceLoader[] loaders) { + + for (ResourceLoader loader : loaders) { + URL url = locateResource(resource, loader); + if (url != null) { + return url; + } + } + return null; + } + + private static MetroConfig loadMetroConfig(@NotNull URL resourceUrl) { + MetroConfig result = null; + try { + JAXBContext jaxbContext = JAXBContext.newInstance(MetroConfig.class.getPackage().getName()); + Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); + XMLInputFactory factory = XmlUtil.newXMLInputFactory(true); + final JAXBElement configElement = unmarshaller.unmarshal(factory.createXMLStreamReader(resourceUrl.openStream()), MetroConfig.class); + result = configElement.getValue(); + } catch (Exception e) { + LOGGER.warning(TubelineassemblyMessages.MASM_0010_ERROR_READING_CFG_FILE_FROM_LOCATION(resourceUrl.toString()), e); + } + return result; + } + + private static class MetroConfigUrlLoader extends ResourceLoader { + + Container container; // TODO remove the field together with the code path using it (see below) + ResourceLoader parentLoader; + + MetroConfigUrlLoader(ResourceLoader parentLoader) { + this.parentLoader = parentLoader; + } + + MetroConfigUrlLoader(Container container) { + this((container != null) ? container.getSPI(ResourceLoader.class) : null); + this.container = container; + } + + @Override + public URL getResource(String resource) throws MalformedURLException { + LOGGER.entering(resource); + URL resourceUrl = null; + try { + if (parentLoader != null) { + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.fine(TubelineassemblyMessages.MASM_0011_LOADING_RESOURCE(resource, parentLoader)); + } + + resourceUrl = parentLoader.getResource(resource); + } + + if (resourceUrl == null) { + resourceUrl = loadViaClassLoaders("com/sun/xml/internal/ws/assembler/" + resource); + } + + if (resourceUrl == null && container != null) { + // TODO: we should remove this code path, the config file should be loaded using ResourceLoader only + resourceUrl = loadFromServletContext(resource); + } + + return resourceUrl; + } finally { + LOGGER.exiting(resourceUrl); + } + } + + private static URL loadViaClassLoaders(final String resource) { + URL resourceUrl = tryLoadFromClassLoader(resource, Thread.currentThread().getContextClassLoader()); + if (resourceUrl == null) { + resourceUrl = tryLoadFromClassLoader(resource, MetroConfigLoader.class.getClassLoader()); + if (resourceUrl == null) { + return ClassLoader.getSystemResource(resource); + } + } + + return resourceUrl; + } + + private static URL tryLoadFromClassLoader(final String resource, final ClassLoader loader) { + return (loader != null) ? loader.getResource(resource) : null; + } + + private URL loadFromServletContext(String resource) throws RuntimeException { + Object context = null; + try { + final Class contextClass = Class.forName("javax.servlet.ServletContext"); + context = container.getSPI(contextClass); + if (context != null) { + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.fine(TubelineassemblyMessages.MASM_0012_LOADING_VIA_SERVLET_CONTEXT(resource, context)); + } + try { + final Method method = context.getClass().getMethod("getResource", String.class); + final Object result = method.invoke(context, "/WEB-INF/" + resource); + return URL.class.cast(result); + } catch (Exception e) { + throw LOGGER.logSevereException(new RuntimeException(TubelineassemblyMessages.MASM_0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD("getResource()")), e); + } + } + } catch (ClassNotFoundException e) { + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.fine(TubelineassemblyMessages.MASM_0014_UNABLE_TO_LOAD_CLASS("javax.servlet.ServletContext")); + } + } + return null; + } + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigName.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigName.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,39 @@ +/* + * 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.assembler; + +/** + * This interface is used to get the file name used for the metro configuration file. + * This allows multiple configurations of metro in a single VM. + * + * @author Bob Naugle + */ +public interface MetroConfigName { + public String getDefaultFileName(); + + public String getAppFileName(); + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigNameImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroConfigNameImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,52 @@ +/* + * 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.assembler; + +/** +* TODO: Write some description here ... +* +* @author Miroslav Kos (miroslav.kos at oracle.com) +*/ +public class MetroConfigNameImpl implements MetroConfigName { + + private final String defaultFileName; + private final String appFileName; + + public MetroConfigNameImpl(String defaultFileName, String appFileName) { + this.defaultFileName = defaultFileName; + this.appFileName = appFileName; + } + + @Override + public String getDefaultFileName() { + return defaultFileName; + } + + @Override + public String getAppFileName() { + return appFileName; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroTubelineAssembler.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/MetroTubelineAssembler.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,325 @@ +/* + * 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.assembler; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.api.BindingID; +import com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.pipe.TubelineAssembler; +import com.sun.xml.internal.ws.assembler.dev.TubelineAssemblyDecorator; +import com.sun.xml.internal.ws.dump.LoggingDumpTube; +import com.sun.xml.internal.ws.resources.TubelineassemblyMessages; +import com.sun.xml.internal.ws.util.ServiceFinder; + +import java.util.Collection; +import java.util.logging.Level; + +/** +* TODO: Write some description here ... +* +* @author Miroslav Kos (miroslav.kos at oracle.com) +*/ +public class MetroTubelineAssembler implements TubelineAssembler { + + private static final String COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE = "com.sun.metro.soap.dump"; + public static final MetroConfigNameImpl JAXWS_TUBES_CONFIG_NAMES = new MetroConfigNameImpl("jaxws-tubes-default.xml", "jaxws-tubes.xml"); + + private static enum Side { + + Client("client"), + Endpoint("endpoint"); + private final String name; + + private Side(String name) { + this.name = name; + } + + @Override + public String toString() { + return name; + } + } + + private static class MessageDumpingInfo { + + final boolean dumpBefore; + final boolean dumpAfter; + final Level logLevel; + + MessageDumpingInfo(boolean dumpBefore, boolean dumpAfter, Level logLevel) { + this.dumpBefore = dumpBefore; + this.dumpAfter = dumpAfter; + this.logLevel = logLevel; + } + } + + private static final Logger LOGGER = Logger.getLogger(MetroTubelineAssembler.class); + private final BindingID bindingId; + private final TubelineAssemblyController tubelineAssemblyController; + + public MetroTubelineAssembler(final BindingID bindingId, MetroConfigName metroConfigName) { + this.bindingId = bindingId; + this.tubelineAssemblyController = new TubelineAssemblyController(metroConfigName); + } + + TubelineAssemblyController getTubelineAssemblyController() { + return tubelineAssemblyController; + } + + @NotNull + public Tube createClient(@NotNull ClientTubeAssemblerContext jaxwsContext) { + if (LOGGER.isLoggable(Level.FINER)) { + LOGGER.finer("Assembling client-side tubeline for WS endpoint: " + jaxwsContext.getAddress().getURI().toString()); + } + + DefaultClientTubelineAssemblyContext context = createClientContext(jaxwsContext); + + Collection tubeCreators = tubelineAssemblyController.getTubeCreators(context); + + for (TubeCreator tubeCreator : tubeCreators) { + tubeCreator.updateContext(context); + } + + TubelineAssemblyDecorator decorator = TubelineAssemblyDecorator.composite( + ServiceFinder.find(TubelineAssemblyDecorator.class, context.getContainer())); + + boolean first = true; + for (TubeCreator tubeCreator : tubeCreators) { + final MessageDumpingInfo msgDumpInfo = setupMessageDumping(tubeCreator.getMessageDumpPropertyBase(), Side.Client); + + final Tube oldTubelineHead = context.getTubelineHead(); + LoggingDumpTube afterDumpTube = null; + if (msgDumpInfo.dumpAfter) { + afterDumpTube = new LoggingDumpTube(msgDumpInfo.logLevel, LoggingDumpTube.Position.After, context.getTubelineHead()); + context.setTubelineHead(afterDumpTube); + } + + if (!context.setTubelineHead(decorator.decorateClient(tubeCreator.createTube(context), context))) { // no new tube has been created + if (afterDumpTube != null) { + context.setTubelineHead(oldTubelineHead); // removing possible "after" message dumping tube + } + } else { + final String loggedTubeName = context.getTubelineHead().getClass().getName(); + if (afterDumpTube != null) { + afterDumpTube.setLoggedTubeName(loggedTubeName); + } + + if (msgDumpInfo.dumpBefore) { + final LoggingDumpTube beforeDumpTube = new LoggingDumpTube(msgDumpInfo.logLevel, LoggingDumpTube.Position.Before, context.getTubelineHead()); + beforeDumpTube.setLoggedTubeName(loggedTubeName); + context.setTubelineHead(beforeDumpTube); + } + } + + if (first) { + context.setTubelineHead(decorator.decorateClientTail(context.getTubelineHead(), context)); + first = false; + } + } + + return decorator.decorateClientHead(context.getTubelineHead(), context); + } + + @NotNull + public Tube createServer(@NotNull ServerTubeAssemblerContext jaxwsContext) { + if (LOGGER.isLoggable(Level.FINER)) { + LOGGER.finer("Assembling endpoint tubeline for WS endpoint: " + jaxwsContext.getEndpoint().getServiceName() + "::" + jaxwsContext.getEndpoint().getPortName()); + } + + DefaultServerTubelineAssemblyContext context = createServerContext(jaxwsContext); + + // FIXME endpoint URI for provider case + Collection tubeCreators = tubelineAssemblyController.getTubeCreators(context); + for (TubeCreator tubeCreator : tubeCreators) { + tubeCreator.updateContext(context); + } + + TubelineAssemblyDecorator decorator = TubelineAssemblyDecorator.composite( + ServiceFinder.find(TubelineAssemblyDecorator.class, context.getEndpoint().getContainer())); + + boolean first = true; + for (TubeCreator tubeCreator : tubeCreators) { + final MessageDumpingInfo msgDumpInfo = setupMessageDumping(tubeCreator.getMessageDumpPropertyBase(), Side.Endpoint); + + final Tube oldTubelineHead = context.getTubelineHead(); + LoggingDumpTube afterDumpTube = null; + if (msgDumpInfo.dumpAfter) { + afterDumpTube = new LoggingDumpTube(msgDumpInfo.logLevel, LoggingDumpTube.Position.After, context.getTubelineHead()); + context.setTubelineHead(afterDumpTube); + } + + if (!context.setTubelineHead(decorator.decorateServer(tubeCreator.createTube(context), context))) { // no new tube has been created + if (afterDumpTube != null) { + context.setTubelineHead(oldTubelineHead); // removing possible "after" message dumping tube + } + } else { + final String loggedTubeName = context.getTubelineHead().getClass().getName(); + if (afterDumpTube != null) { + afterDumpTube.setLoggedTubeName(loggedTubeName); + } + + if (msgDumpInfo.dumpBefore) { + final LoggingDumpTube beforeDumpTube = new LoggingDumpTube(msgDumpInfo.logLevel, LoggingDumpTube.Position.Before, context.getTubelineHead()); + beforeDumpTube.setLoggedTubeName(loggedTubeName); + context.setTubelineHead(beforeDumpTube); + } + } + + if (first) { + context.setTubelineHead(decorator.decorateServerTail(context.getTubelineHead(), context)); + first = false; + } + } + + return decorator.decorateServerHead(context.getTubelineHead(), context); + } + + private MessageDumpingInfo setupMessageDumping(String msgDumpSystemPropertyBase, Side side) { + boolean dumpBefore = false; + boolean dumpAfter = false; + Level logLevel = Level.INFO; + + // checking common properties + Boolean value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE); + if (value != null) { + dumpBefore = value.booleanValue(); + dumpAfter = value.booleanValue(); + } + + value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + ".before"); + dumpBefore = (value != null) ? value.booleanValue() : dumpBefore; + + value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + ".after"); + dumpAfter = (value != null) ? value.booleanValue() : dumpAfter; + + Level levelValue = getLevelValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + ".level"); + if (levelValue != null) { + logLevel = levelValue; + } + + // narrowing to proper communication side on common properties + value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + "." + side.toString()); + if (value != null) { + dumpBefore = value.booleanValue(); + dumpAfter = value.booleanValue(); + } + + value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + "." + side.toString() + ".before"); + dumpBefore = (value != null) ? value.booleanValue() : dumpBefore; + + value = getBooleanValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + "." + side.toString() + ".after"); + dumpAfter = (value != null) ? value.booleanValue() : dumpAfter; + + levelValue = getLevelValue(COMMON_MESSAGE_DUMP_SYSTEM_PROPERTY_BASE + "." + side.toString() + ".level"); + if (levelValue != null) { + logLevel = levelValue; + } + + + // checking general tube-specific properties + value = getBooleanValue(msgDumpSystemPropertyBase); + if (value != null) { + dumpBefore = value.booleanValue(); + dumpAfter = value.booleanValue(); + } + + value = getBooleanValue(msgDumpSystemPropertyBase + ".before"); + dumpBefore = (value != null) ? value.booleanValue() : dumpBefore; + + value = getBooleanValue(msgDumpSystemPropertyBase + ".after"); + dumpAfter = (value != null) ? value.booleanValue() : dumpAfter; + + levelValue = getLevelValue(msgDumpSystemPropertyBase + ".level"); + if (levelValue != null) { + logLevel = levelValue; + } + + // narrowing to proper communication side on tube-specific properties + msgDumpSystemPropertyBase += "." + side.toString(); + + value = getBooleanValue(msgDumpSystemPropertyBase); + if (value != null) { + dumpBefore = value.booleanValue(); + dumpAfter = value.booleanValue(); + } + + value = getBooleanValue(msgDumpSystemPropertyBase + ".before"); + dumpBefore = (value != null) ? value.booleanValue() : dumpBefore; + + value = getBooleanValue(msgDumpSystemPropertyBase + ".after"); + dumpAfter = (value != null) ? value.booleanValue() : dumpAfter; + + levelValue = getLevelValue(msgDumpSystemPropertyBase + ".level"); + if (levelValue != null) { + logLevel = levelValue; + } + + return new MessageDumpingInfo(dumpBefore, dumpAfter, logLevel); + } + + private Boolean getBooleanValue(String propertyName) { + Boolean retVal = null; + + String stringValue = System.getProperty(propertyName); + if (stringValue != null) { + retVal = Boolean.valueOf(stringValue); + LOGGER.fine(TubelineassemblyMessages.MASM_0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE(propertyName, retVal)); + } + + return retVal; + } + + private Level getLevelValue(String propertyName) { + Level retVal = null; + + String stringValue = System.getProperty(propertyName); + if (stringValue != null) { + // if value is not null => property is set, we will try to override the default logging level + LOGGER.fine(TubelineassemblyMessages.MASM_0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE(propertyName, stringValue)); + try { + retVal = Level.parse(stringValue); + } catch (IllegalArgumentException ex) { + LOGGER.warning(TubelineassemblyMessages.MASM_0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE(propertyName, stringValue), ex); + } + } + + return retVal; + } + + // Extension point to change Tubeline Assembly behaviour: override if necessary ... + protected DefaultServerTubelineAssemblyContext createServerContext(ServerTubeAssemblerContext jaxwsContext) { + return new DefaultServerTubelineAssemblyContext(jaxwsContext); + } + + // Extension point to change Tubeline Assembly behaviour: override if necessary ... + protected DefaultClientTubelineAssemblyContext createClientContext(ClientTubeAssemblerContext jaxwsContext) { + return new DefaultClientTubelineAssemblyContext(jaxwsContext); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubeCreator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubeCreator.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,93 @@ +/* + * 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.assembler; + +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; +import com.sun.xml.internal.ws.assembler.dev.TubelineAssemblyContextUpdater; +import com.sun.xml.internal.ws.resources.TubelineassemblyMessages; +import com.sun.xml.internal.ws.runtime.config.TubeFactoryConfig; + +/** + * Utility class that encapsulates logic of loading TubeFactory + * instances and creating Tube instances. + * + * @author m_potociar + */ +final class TubeCreator { + private static final Logger LOGGER = Logger.getLogger(TubeCreator.class); + private final TubeFactory factory; + private final String msgDumpPropertyBase; + + TubeCreator(TubeFactoryConfig config, ClassLoader tubeFactoryClassLoader) { + try { + Class factoryClass = Class.forName(config.getClassName(), true, tubeFactoryClassLoader); + if (TubeFactory.class.isAssignableFrom(factoryClass)) { + @SuppressWarnings("unchecked") + // We can suppress "unchecked" warning here as we are checking for the correct type in the if statement above + Class typedClass = (Class) factoryClass; + this.factory = typedClass.newInstance(); + this.msgDumpPropertyBase = this.factory.getClass().getName() + ".dump"; + } else { + throw new RuntimeException(TubelineassemblyMessages.MASM_0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE(factoryClass.getName(), TubeFactory.class.getName())); + } + } catch (InstantiationException ex) { + throw LOGGER.logSevereException(new RuntimeException(TubelineassemblyMessages.MASM_0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY(config.getClassName()), ex), true); + } catch (IllegalAccessException ex) { + throw LOGGER.logSevereException(new RuntimeException(TubelineassemblyMessages.MASM_0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY(config.getClassName()), ex), true); + } catch (ClassNotFoundException ex) { + throw LOGGER.logSevereException(new RuntimeException(TubelineassemblyMessages.MASM_0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS(config.getClassName()), ex), true); + } + } + + Tube createTube(DefaultClientTubelineAssemblyContext context) { + // TODO implement passing init parameters (if any) to the factory + return factory.createTube(context); + } + + Tube createTube(DefaultServerTubelineAssemblyContext context) { + // TODO implement passing init parameters (if any) to the factory + return factory.createTube(context); + } + + void updateContext(ClientTubelineAssemblyContext context) { + if (factory instanceof TubelineAssemblyContextUpdater) { + ((TubelineAssemblyContextUpdater) factory).prepareContext(context); + } + } + + void updateContext(DefaultServerTubelineAssemblyContext context) { + if (factory instanceof TubelineAssemblyContextUpdater) { + ((TubelineAssemblyContextUpdater) factory).prepareContext(context); + } + } + + String getMessageDumpPropertyBase() { + return msgDumpPropertyBase; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubelineAssemblyContextImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubelineAssemblyContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -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.assembler; + +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.api.pipe.Pipe; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.pipe.helper.PipeAdapter; +import com.sun.xml.internal.ws.assembler.dev.TubelineAssemblyContext; +import java.text.MessageFormat; + +import java.util.LinkedList; +import java.util.List; +import java.util.logging.Level; + +/** + * A base tubeline assembly context class providing common methods for both + * client and server assembly context classes. + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +class TubelineAssemblyContextImpl implements TubelineAssemblyContext { + private static final Logger LOGGER = Logger.getLogger(TubelineAssemblyContextImpl.class); + + private Tube head; + private Pipe adaptedHead; + private List tubes = new LinkedList(); + + @Override + public Tube getTubelineHead() { + return head; + } + + @Override + public Pipe getAdaptedTubelineHead() { + if (adaptedHead == null) { + adaptedHead = PipeAdapter.adapt(head); + } + return adaptedHead; + } + + boolean setTubelineHead(Tube newHead) { + if (newHead == head || newHead == adaptedHead) { + return false; + } + + head = newHead; + tubes.add(head); + adaptedHead = null; + + if (LOGGER.isLoggable(Level.FINER)) { + LOGGER.finer(MessageFormat.format("Added '{0}' tube instance to the tubeline.", (newHead == null) ? null : newHead.getClass().getName())); + } + + return true; + } + + @Override + public T getImplementation(Class type) { + for (Tube tube : tubes) { + if (type.isInstance(tube)) { + return type.cast(tube); + } + } + return null; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubelineAssemblyController.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/TubelineAssemblyController.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,135 @@ +/* + * 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.assembler; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.resources.TubelineassemblyMessages; +import com.sun.xml.internal.ws.runtime.config.TubeFactoryConfig; +import com.sun.xml.internal.ws.runtime.config.TubeFactoryList; + +import javax.xml.namespace.QName; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.Collection; +import java.util.LinkedList; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +final class TubelineAssemblyController { + + private final MetroConfigName metroConfigName; + + TubelineAssemblyController(MetroConfigName metroConfigName) { + this.metroConfigName = metroConfigName; + } + + /** + * Provides a ordered collection of WSIT/Metro client-side tube creators that are be used to + * construct a client-side Metro tubeline + * + * The order of the tube creators in the collection is last-to-first from the + * client side request message processing perspective. + * + * + * WARNING: This method is part of Metro internal API and may be changed, removed or + * replaced by a different method without a prior notice. The method SHOULD NOT be used + * outside of Metro codebase. + * + * + * @param endpointUri URI of the endpoint for which the collection of tube factories should be returned + * + * @return collection of WSIT/Metro client-side tube creators + */ + Collection getTubeCreators(ClientTubelineAssemblyContext context) { + URI endpointUri; + if (context.getPortInfo() != null) { + endpointUri = createEndpointComponentUri(context.getPortInfo().getServiceName(), context.getPortInfo().getPortName()); + } else { + endpointUri = null; + } + + MetroConfigLoader configLoader = new MetroConfigLoader(context.getContainer(), metroConfigName); + return initializeTubeCreators(configLoader.getClientSideTubeFactories(endpointUri)); + } + + /** + * Provides a ordered collection of WSIT/Metro server-side tube creators that are be used to + * construct a server-side Metro tubeline for a given endpoint + * + * The order of the tube creators in the collection is last-to-first from the + * server side request message processing perspective. + * + * + * WARNING: This method is part of Metro internal API and may be changed, removed or + * replaced by a different method without a prior notice. The method SHOULD NOT be used + * outside of Metro codebase. + * + * + * @param endpointUri URI of the endpoint for which the collection of tube factories should be returned + * + * @return collection of WSIT/Metro server-side tube creators + */ + Collection getTubeCreators(DefaultServerTubelineAssemblyContext context) { + URI endpointUri; + if (context.getEndpoint() != null) { + endpointUri = createEndpointComponentUri(context.getEndpoint().getServiceName(), context.getEndpoint().getPortName()); + } else { + endpointUri = null; + } + + MetroConfigLoader configLoader = new MetroConfigLoader(context.getEndpoint().getContainer(), metroConfigName); + return initializeTubeCreators(configLoader.getEndpointSideTubeFactories(endpointUri)); + } + + private Collection initializeTubeCreators(TubeFactoryList tfl) { + final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); + + LinkedList tubeCreators = new LinkedList(); + for (TubeFactoryConfig tubeFactoryConfig : tfl.getTubeFactoryConfigs()) { + tubeCreators.addFirst(new TubeCreator(tubeFactoryConfig, contextClassLoader)); + } + return tubeCreators; + } + + /* + * Example WSDL component URI: http://org.sample#wsdl11.port(PingService/HttpPingPort) + */ + private URI createEndpointComponentUri(@NotNull QName serviceName, @NotNull QName portName) { + StringBuilder sb = new StringBuilder(serviceName.getNamespaceURI()).append("#wsdl11.port(").append(serviceName.getLocalPart()).append('/').append(portName.getLocalPart()).append(')'); + try { + return new URI(sb.toString()); + } catch (URISyntaxException ex) { + Logger.getLogger(TubelineAssemblyController.class).warning( + TubelineassemblyMessages.MASM_0020_ERROR_CREATING_URI_FROM_GENERATED_STRING(sb.toString()), + ex); + return null; + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/ClientTubelineAssemblyContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/ClientTubelineAssemblyContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,124 @@ +/* + * 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.assembler.dev; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.EndpointAddress; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.WSService; +import com.sun.xml.internal.ws.api.client.WSPortInfo; +import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Codec; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.policy.PolicyMap; + +/** + * @author Marek Potociar (marek.potociar at sun.com) + */ +public interface ClientTubelineAssemblyContext extends TubelineAssemblyContext { + + /** + * The endpoint address. Always non-null. This parameter is taken separately + * from {@link com.sun.xml.internal.ws.api.model.wsdl.WSDLPort} (even though there's {@link com.sun.xml.internal.ws.api.model.wsdl.WSDLPort#getAddress()}) + * because sometimes WSDL is not available. + */ + @NotNull + EndpointAddress getAddress(); + + /** + * The binding of the new pipeline to be created. + */ + @NotNull + WSBinding getBinding(); + + /** + * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec + * based on the binding. + * + * @return codec to be used for web service requests + */ + @NotNull + Codec getCodec(); + + /** + * Returns the Container in which the client is running + * + * @return Container in which client is running + */ + Container getContainer(); + + PolicyMap getPolicyMap(); + + WSPortInfo getPortInfo(); + + /** + * The created pipeline will use seiModel to get java concepts for the endpoint + * + * @return Null if the service doesn't have SEI model e.g. Dispatch, + * and otherwise non-null. + */ + @Nullable + SEIModel getSEIModel(); + + /** + * The pipeline is created for this {@link com.sun.xml.internal.ws.api.WSService}. + * Always non-null. (To be precise, the newly created pipeline + * is owned by a proxy or a dispatch created from this {@link com.sun.xml.internal.ws.api.WSService}.) + */ + @NotNull + WSService getService(); + + ClientTubeAssemblerContext getWrappedContext(); + + /** + * The created pipeline will be used to serve this port. + * Null if the service isn't associated with any port definition in WSDL, + * and otherwise non-null. + *

    + * Replaces {@link com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext#getWsdlModel()} + */ + WSDLPort getWsdlPort(); + + boolean isPolicyAvailable(); + + /** + * Interception point to change {@link Codec} during {@link com.sun.xml.internal.ws.api.pipe.Tube}line assembly. The + * new codec will be used by jax-ws client runtime for encoding/decoding web service + * request/response messages. The new codec should be used by the transport tubes. + *

    + *

    + * the codec should correctly implement {@link Codec#copy} since it is used while + * serving requests concurrently. + * + * @param codec codec to be used for web service requests + */ + void setCodec(@NotNull + Codec codec); + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/ServerTubelineAssemblyContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/ServerTubelineAssemblyContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,132 @@ +/* + * 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.assembler.dev; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.pipe.Codec; +import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.policy.PolicyMap; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public interface ServerTubelineAssemblyContext extends TubelineAssemblyContext { + + /** + * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec + * based on the binding. The codec is a full codec that is responsible for + * encoding/decoding entire protocol message(for e.g: it is responsible to + * encode/decode entire MIME messages in SOAP binding) + * + * @return codec to be used for web service requests + * @see com.sun.xml.internal.ws.api.pipe.Codecs + */ + @NotNull + Codec getCodec(); + + /** + * + * The created pipeline is used to serve this {@link com.sun.xml.internal.ws.api.server.WSEndpoint}. + * Specifically, its {@link com.sun.xml.internal.ws.api.WSBinding} should be of interest to many + * {@link com.sun.xml.internal.ws.api.pipe.Pipe}s. + * @return Always non-null. + */ + @NotNull + WSEndpoint getEndpoint(); + + PolicyMap getPolicyMap(); + + /** + * The created pipeline will use seiModel to get java concepts for the endpoint + * + * @return Null if the service doesn't have SEI model e.g. Provider endpoints, + * and otherwise non-null. + */ + @Nullable + SEIModel getSEIModel(); + + /** + * The last {@link com.sun.xml.internal.ws.api.pipe.Pipe} in the pipeline. The assembler is expected to put + * additional {@link com.sun.xml.internal.ws.api.pipe.Pipe}s in front of it. + * + *

    + * (Just to give you the idea how this is used, normally the terminal pipe + * is the one that invokes the user application or {@link javax.xml.ws.Provider}.) + * + * @return always non-null terminal pipe + */ + @NotNull + Tube getTerminalTube(); + + ServerTubeAssemblerContext getWrappedContext(); + + /** + * The created pipeline will be used to serve this port. + * + * @return Null if the service isn't associated with any port definition in WSDL, + * and otherwise non-null. + */ + @Nullable + WSDLPort getWsdlPort(); + + boolean isPolicyAvailable(); + + /** + * If this server pipeline is known to be used for serving synchronous transport, + * then this method returns true. This can be potentially use as an optimization + * hint, since often synchronous versions are cheaper to execute than asycnhronous + * versions. + */ + boolean isSynchronous(); + + /** + * Interception point to change {@link Codec} during {@link Tube}line assembly. The + * new codec will be used by jax-ws server runtime for encoding/decoding web service + * request/response messages. {@link WSEndpoint#createCodec()} will return a copy + * of this new codec and will be used in the server runtime. + * + *

    + * The codec is a full codec that is responsible for + * encoding/decoding entire protocol message(for e.g: it is responsible to + * encode/decode entire MIME messages in SOAP binding) + * + *

    + * the codec should correctly implement {@link Codec#copy} since it is used while + * serving requests concurrently. + * + * @param codec codec to be used for web service requests + * @see com.sun.xml.internal.ws.api.pipe.Codecs + */ + void setCodec(@NotNull + Codec codec); + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,52 @@ +/* + * 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.assembler.dev; + +import com.sun.xml.internal.ws.api.pipe.Tube; + +import javax.xml.ws.WebServiceException; + +/** + * @author Marek Potociar (marek.potociar at sun.com) + */ +public interface TubeFactory { + /** + * Adds RM tube to the client-side tubeline, depending on whether RM is enabled or not. + * + * @param context wsit client tubeline assembler context + * @return new tail of the client-side tubeline + */ + Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException; + + /** + * Adds RM tube to the service-side tubeline, depending on whether RM is enabled or not. + * + * @param context wsit service tubeline assembler context + * @return new head of the service-side tubeline + */ + Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException; + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyContext.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,42 @@ +/* + * 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.assembler.dev; + +import com.sun.xml.internal.ws.api.pipe.Pipe; +import com.sun.xml.internal.ws.api.pipe.Tube; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public interface TubelineAssemblyContext { + + Pipe getAdaptedTubelineHead(); + + T getImplementation(Class type); + + Tube getTubelineHead(); +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyContextUpdater.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyContextUpdater.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +/* + * 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.assembler.dev; + +import javax.xml.ws.WebServiceException; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public interface TubelineAssemblyContextUpdater { + /** + * TODO javadoc + * + * @param context + * @throws javax.xml.ws.WebServiceException + */ + void prepareContext(ClientTubelineAssemblyContext context) throws WebServiceException; + + /** + * TODO javadoc + * + * @param context + * @throws javax.xml.ws.WebServiceException + */ + void prepareContext(ServerTubelineAssemblyContext context) throws WebServiceException; +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyDecorator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/dev/TubelineAssemblyDecorator.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,176 @@ +/* + * 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.assembler.dev; + +import java.util.ArrayList; +import java.util.Collection; + +import com.sun.xml.internal.ws.api.pipe.Tube; + +/** + * Decorate Tubes during tubeline assembly + * + * @since 2.2.7 + */ +public class TubelineAssemblyDecorator { + /** + * Composite decorator + * @param decorators decorators + * @return composite that delegates to a list of decorators + */ + public static TubelineAssemblyDecorator composite(Iterable decorators) { + return new CompositeTubelineAssemblyDecorator(decorators); + } + + /** + * Decorate client tube + * @param tube tube + * @param context client context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateClient(Tube tube, ClientTubelineAssemblyContext context) { + return tube; + } + + /** + * Decorate client head tube. The decorateClient method will have been called first. + * @param tube tube + * @param context client context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateClientHead( + Tube tube, ClientTubelineAssemblyContext context) { + return tube; + } + + /** + * Decorate client tail tube. The decorateClient method will have been called first. + * @param tube tube + * @param context client context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateClientTail( + Tube tube, + ClientTubelineAssemblyContext context) { + return tube; + } + + /** + * Decorate server tube + * @param tube tube + * @param context server context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateServer(Tube tube, ServerTubelineAssemblyContext context) { + return tube; + } + + /** + * Decorate server tail tube. The decorateServer method will have been called first. + * @param tube tube + * @param context server context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateServerTail( + Tube tube, ServerTubelineAssemblyContext context) { + return tube; + } + + /** + * Decorate server head tube. The decorateServer method will have been called first + * @param tube tube + * @param context server context + * @return updated tube for tubeline or return tube parameter to no-op + */ + public Tube decorateServerHead( + Tube tube, + ServerTubelineAssemblyContext context) { + return tube; + } + + private static class CompositeTubelineAssemblyDecorator extends TubelineAssemblyDecorator { + private Collection decorators = new ArrayList(); + + public CompositeTubelineAssemblyDecorator(Iterable decorators) { + for (TubelineAssemblyDecorator decorator : decorators) { + this.decorators.add(decorator); + } + } + + @Override + public Tube decorateClient(Tube tube, ClientTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateClient(tube, context); + } + return tube; + } + + @Override + public Tube decorateClientHead( + Tube tube, ClientTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateClientHead(tube, context); + } + return tube; + } + + @Override + public Tube decorateClientTail( + Tube tube, + ClientTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateClientTail(tube, context); + } + return tube; + } + + public Tube decorateServer(Tube tube, ServerTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateServer(tube, context); + } + return tube; + } + + @Override + public Tube decorateServerTail( + Tube tube, ServerTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateServerTail(tube, context); + } + return tube; + } + + @Override + public Tube decorateServerHead( + Tube tube, + ServerTubelineAssemblyContext context) { + for (TubelineAssemblyDecorator decorator : decorators) { + tube = decorator.decorateServerHead(tube, context); + } + return tube; + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws-tubes-default.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws-tubes-default.xml Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/AddressingTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/AddressingTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class AddressingTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createWsaTube(context.getTubelineHead()); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createWsaTube(context.getTubelineHead()); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/BasicTransportTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/BasicTransportTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,51 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class BasicTransportTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createTransportTube(); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getTubelineHead(); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/HandlerTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/HandlerTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class HandlerTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createHandlerTube(context.getTubelineHead()); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createHandlerTube(context.getTubelineHead()); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/MonitoringTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/MonitoringTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class MonitoringTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getTubelineHead(); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createMonitoringTube(context.getTubelineHead()); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/MustUnderstandTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/MustUnderstandTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class MustUnderstandTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createClientMUTube(context.getTubelineHead()); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createServerMUTube(context.getTubelineHead()); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/TerminalTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/TerminalTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,49 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class TerminalTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getTubelineHead(); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().getTerminalTube(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/ValidationTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/assembler/jaxws/ValidationTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,51 @@ +/* + * 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.assembler.jaxws; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +/** + * TubeFactory implementation creating one of the standard JAX-WS RI tubes + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +public final class ValidationTubeFactory implements TubeFactory { + + @Override + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createValidationTube(context.getTubelineHead()); + } + + @Override + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + return context.getWrappedContext().createValidationTube(context.getTubelineHead()); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,6 +25,7 @@ package com.sun.xml.internal.ws.binding; +import com.oracle.webservices.internal.api.message.MessageContextFactory; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.BindingID; @@ -43,10 +44,12 @@ import javax.xml.ws.handler.Handler; import java.util.Collections; import java.util.HashMap; +import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Map; + /** * Instances are created by the service, which then * sets the handler chain on the binding impl. @@ -67,10 +70,13 @@ protected static final WebServiceFeature[] EMPTY_FEATURES = new WebServiceFeature[0]; //This is reset when ever Binding.setHandlerChain() or SOAPBinding.setRoles() is called. - protected HandlerConfiguration handlerConfig; + private HandlerConfiguration handlerConfig; + private final Set addedHeaders = new HashSet(); + private final Set knownHeaders = new HashSet(); + private final Set unmodKnownHeaders = Collections.unmodifiableSet(knownHeaders); private final BindingID bindingId; // Features that are set(enabled/disabled) on the binding - protected final WebServiceFeatureList features = new WebServiceFeatureList(); + protected final WebServiceFeatureList features; // Features that are set(enabled/disabled) on the binding or an operation protected final Map operationFeatures = new HashMap(); // Features that are set(enabled/disabled) on the binding, an operation or an input message @@ -82,10 +88,15 @@ protected javax.xml.ws.Service.Mode serviceMode = javax.xml.ws.Service.Mode.PAYLOAD; + protected MessageContextFactory messageContextFactory; + protected BindingImpl(BindingID bindingId, WebServiceFeature ... features) { this.bindingId = bindingId; handlerConfig = new HandlerConfiguration(Collections.emptySet(), Collections.emptyList()); - setFeatures(features); + if (handlerConfig.getHandlerKnownHeaders() != null) + knownHeaders.addAll(handlerConfig.getHandlerKnownHeaders()); + this.features = new WebServiceFeatureList(features); + this.features.validate(); } public @@ -98,13 +109,25 @@ return handlerConfig; } + protected void setHandlerConfig(HandlerConfiguration handlerConfig) { + this.handlerConfig = handlerConfig; + knownHeaders.clear(); + knownHeaders.addAll(addedHeaders); + if (handlerConfig != null && handlerConfig.getHandlerKnownHeaders() != null) + knownHeaders.addAll(handlerConfig.getHandlerKnownHeaders()); + } public void setMode(@NotNull Service.Mode mode) { this.serviceMode = mode; } public Set getKnownHeaders() { - return handlerConfig.getHandlerKnownHeaders(); + return unmodKnownHeaders; + } + + public boolean addKnownHeader(QName headerQName) { + addedHeaders.add(headerQName); + return knownHeaders.add(headerQName); } public @@ -186,7 +209,7 @@ @NotNull public WebServiceFeatureList getFeatures() { //TODO scchen convert BindingID to WebServiceFeature[] - if(!isFeatureEnabled(com.sun.xml.internal.org.jvnet.ws.EnvelopeStyleFeature.class)) { + if(!isFeatureEnabled(com.oracle.webservices.internal.api.EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { getSOAPVersion().toFeature() }; features.mergeFeatures(f, false); } @@ -219,14 +242,6 @@ return FeatureListUtil.mergeList(operationFeatureList, messageFeatureList, features); } - public void setFeatures(WebServiceFeature... newFeatures) { - if (newFeatures != null) { - for (WebServiceFeature f : newFeatures) { - features.add(f); - } - } - } - public void setOperationFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) { if (newFeatures != null) { WebServiceFeatureList featureList = operationFeatures.get(operationName); @@ -280,11 +295,13 @@ } } - public void addFeature(@NotNull WebServiceFeature newFeature) { - features.add(newFeature); + public synchronized @NotNull com.oracle.webservices.internal.api.message.MessageContextFactory getMessageContextFactory () { + if (messageContextFactory == null) { + messageContextFactory = MessageContextFactory.createFactory(getFeatures().toArray()); + } + return messageContextFactory; } - /** * Experimental: Identify messages based on the name of the message and the * operation that uses this message. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/binding/FeatureListUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/FeatureListUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/FeatureListUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/binding/HTTPBindingImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/HTTPBindingImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/HTTPBindingImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -65,6 +65,6 @@ throw new WebServiceException(ClientMessages.NON_LOGICAL_HANDLER_SET(handler.getClass())); } } - handlerConfig = new HandlerConfiguration(Collections.emptySet(), chain); + setHandlerConfig(new HandlerConfiguration(Collections.emptySet(), chain)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/binding/SOAPBindingImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/SOAPBindingImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/SOAPBindingImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,7 +28,6 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.SOAPVersion; -import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.client.HandlerConfiguration; import com.sun.xml.internal.ws.encoding.soap.streaming.SOAP12NamespaceConstants; import com.sun.xml.internal.ws.resources.ClientMessages; @@ -44,7 +43,6 @@ import javax.xml.ws.soap.SOAPBinding; import java.util.*; - /** * @author WS Development Team */ @@ -118,7 +116,7 @@ * Protocol Handlers and sets the HandlerConfiguration. */ public void setHandlerChain(List chain) { - handlerConfig = new HandlerConfiguration(handlerConfig.getRoles(), chain); + setHandlerConfig(new HandlerConfiguration(getHandlerConfig().getRoles(), chain)); } protected void addRequiredRoles(Set roles) { @@ -126,7 +124,7 @@ } public Set getRoles() { - return handlerConfig.getRoles(); + return getHandlerConfig().getRoles(); } /** @@ -142,7 +140,7 @@ throw new WebServiceException(ClientMessages.INVALID_SOAP_ROLE_NONE()); } addRequiredRoles(roles); - handlerConfig = new HandlerConfiguration(roles, getHandlerConfig()); + setHandlerConfig(new HandlerConfiguration(roles, getHandlerConfig())); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/binding/WebServiceFeatureList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/WebServiceFeatureList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/binding/WebServiceFeatureList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,6 +28,8 @@ import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.BindingID; +import com.sun.xml.internal.ws.api.FeatureListValidator; +import com.sun.xml.internal.ws.api.FeatureListValidatorAnnotation; import com.sun.xml.internal.ws.api.ImpliesWebServiceFeature; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; @@ -50,7 +52,7 @@ import javax.xml.ws.soap.MTOMFeature; import javax.xml.ws.spi.WebServiceFeatureAnnotation; -import com.sun.xml.internal.org.jvnet.ws.EnvelopeStyleFeature; +import com.oracle.webservices.internal.api.EnvelopeStyleFeature; import java.lang.annotation.Annotation; import java.lang.reflect.InvocationTargetException; @@ -76,6 +78,7 @@ } private Map, WebServiceFeature> wsfeatures = new HashMap, WebServiceFeature>(); + private boolean isValidating = false; public WebServiceFeatureList() { } @@ -89,7 +92,34 @@ public WebServiceFeatureList(@NotNull WebServiceFeature... features) { if (features != null) { for (WebServiceFeature f : features) { - add(f); + addNoValidate(f); + } + } + } + + public void validate() { + if (!isValidating) { + isValidating = true; + + // validation + for (WebServiceFeature ff : this) { + validate(ff); + } + } + } + + private void validate(WebServiceFeature feature) { + // run validation + FeatureListValidatorAnnotation fva = feature.getClass().getAnnotation(FeatureListValidatorAnnotation.class); + if (fva != null) { + Class beanClass = fva.bean(); + try { + FeatureListValidator validator = beanClass.newInstance(); + validator.validate(this); + } catch (InstantiationException e) { + throw new WebServiceException(e); + } catch (IllegalAccessException e) { + throw new WebServiceException(e); } } } @@ -98,6 +128,7 @@ if (features != null) { wsfeatures.putAll(features.wsfeatures); parent = features.parent; + isValidating = features.isValidating; } } @@ -247,6 +278,9 @@ final Method annotationMethod = annotation.annotationType().getDeclaredMethod(methodName); final Object annotationFieldValue = annotationMethod.invoke(annotation); final Object[] arg = { annotationFieldValue }; + if (skipDuringOrgJvnetWsToComOracleWebservicesPackageMove(builderMethod, annotationFieldValue)) { + continue; + } builderMethod.invoke(builder, arg); } } @@ -266,6 +300,27 @@ } } + // TODO this will be removed after package move is complete. + private static boolean skipDuringOrgJvnetWsToComOracleWebservicesPackageMove( + final Method builderMethod, + final Object annotationFieldValue) + { + final Class annotationFieldValueClass = annotationFieldValue.getClass(); + if (! annotationFieldValueClass.isEnum()) { + return false; + } + final Class[] builderMethodParameterTypes = builderMethod.getParameterTypes(); + if (builderMethodParameterTypes.length != 1) { + throw new WebServiceException("expected only 1 parameter"); + } + final String builderParameterTypeName = builderMethodParameterTypes[0].getName(); + if (! builderParameterTypeName.startsWith("com.oracle.webservices.internal.test.features_annotations_enums.apinew") && + ! builderParameterTypeName.startsWith("com.oracle.webservices.internal.api")) { + return false; + } + return false; + } + public Iterator iterator() { if (parent != null) return new MergedFeatures(parent.getFeatures()); @@ -302,12 +357,21 @@ * Adds a feature to the list if it's not already added. */ public void add(@NotNull WebServiceFeature f) { + if(addNoValidate(f) && isValidating) + validate(f); + } + + private boolean addNoValidate(@NotNull WebServiceFeature f) { if (!wsfeatures.containsKey(f.getClass())) { wsfeatures.put(f.getClass(), f); if (f instanceof ImpliesWebServiceFeature) ((ImpliesWebServiceFeature) f).implyFeatures(this); + + return true; } + + return false; } /** @@ -500,7 +564,13 @@ } static public SOAPVersion getSoapVersion(WSFeatureList features) { - EnvelopeStyleFeature env = features.get(EnvelopeStyleFeature.class); + { + EnvelopeStyleFeature env = features.get(EnvelopeStyleFeature.class); + if (env != null) { + return SOAPVersion.from(env); + } + } + com.oracle.webservices.internal.api.EnvelopeStyleFeature env = features.get(com.oracle.webservices.internal.api.EnvelopeStyleFeature.class); return env != null ? SOAPVersion.from(env) : null; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncInvoker.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncInvoker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncInvoker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,7 +33,7 @@ /** * Invokes {@link Tube}line asynchronously for the client's async API(for e.g.: Dispatch#invokeAsync} - * The concrete classes need to call {@link Stub#processAsync(Packet, RequestContext, CompletionCallback)} in + * The concrete classes need to call {@link Stub#processAsync(AsyncResponseImpl, Packet, RequestContext, Fiber.CompletionCallback) } in * run() method. * * @author Jitendra Kotamraju diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncResponseImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncResponseImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/AsyncResponseImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/BindingProviderProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/BindingProviderProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/BindingProviderProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientContainer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientContainer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientContainer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -47,6 +47,9 @@ }; public T getSPI(Class spiType) { + T t = super.getSPI(spiType); + if (t != null) + return t; if (spiType == ResourceLoader.class) { return spiType.cast(loader); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientSchemaValidationTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientSchemaValidationTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientSchemaValidationTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientTransportException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientTransportException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ClientTransportException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.client; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ContentNegotiation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ContentNegotiation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ContentNegotiation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -66,7 +66,9 @@ try { String value = System.getProperty(PROPERTY); - if (value == null) return none; + if (value == null) { + return none; + } return valueOf(value); } catch (Exception e) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfiguration.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfiguration.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfiguration.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -54,7 +54,7 @@ private final List logicalHandlers; private final List soapHandlers; private final List messageHandlers; - private Set handlerKnownHeaders; + private final Set handlerKnownHeaders; /** * @param roles This contains the roles assumed by the Binding implementation. @@ -66,7 +66,7 @@ logicalHandlers = new ArrayList(); soapHandlers = new ArrayList(); messageHandlers = new ArrayList(); - handlerKnownHeaders = new HashSet(); + Set modHandlerKnownHeaders = new HashSet(); for (Handler handler : handlerChain) { if (handler instanceof LogicalHandler) { @@ -75,19 +75,21 @@ soapHandlers.add((SOAPHandler) handler); Set headers = ((SOAPHandler) handler).getHeaders(); if (headers != null) { - handlerKnownHeaders.addAll(headers); + modHandlerKnownHeaders.addAll(headers); } } else if (handler instanceof MessageHandler) { messageHandlers.add((MessageHandler) handler); Set headers = ((MessageHandler) handler).getHeaders(); if (headers != null) { - handlerKnownHeaders.addAll(headers); + modHandlerKnownHeaders.addAll(headers); } }else { throw new HandlerException("handler.not.valid.type", handler.getClass()); } } + + handlerKnownHeaders = Collections.unmodifiableSet(modHandlerKnownHeaders); } /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/HandlerConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -81,12 +81,15 @@ this.resolver = resolver; } + @Override void configureHandlers(@NotNull WSPortInfo port, @NotNull BindingImpl binding) { - if(resolver!=null) + if (resolver!=null) { binding.setHandlerChain(resolver.getHandlerChain(port)); + } } + @Override HandlerResolver getResolver() { return resolver; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/MonitorRootClient.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/MonitorRootClient.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/MonitorRootClient.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/PortInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/PortInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/PortInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/RequestContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/RequestContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/RequestContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,17 +25,13 @@ package com.sun.xml.internal.ws.client; +import com.oracle.webservices.internal.api.message.BaseDistributedPropertySet; import com.sun.istack.internal.NotNull; -import com.sun.xml.internal.ws.api.DistributedPropertySet; import com.sun.xml.internal.ws.api.EndpointAddress; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.transport.Headers; import javax.xml.ws.BindingProvider; -import javax.xml.ws.handler.MessageContext; - -import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -44,6 +40,10 @@ import java.util.Set; import java.util.logging.Logger; + +import static javax.xml.ws.BindingProvider.*; +import static javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS; + /** * Request context implementation. * @@ -60,53 +60,31 @@ * then use that computed value during a method invocation again and again. * *

    - * For this goal, we use {@link PropertySet} and implement some properties + * For this goal, we use {@link com.sun.xml.internal.ws.api.PropertySet} and implement some properties * as virtual properties backed by methods. This allows us to do the computation * in the setter, and store it in a field. * *

    * These fields are used by {@link Stub#process} to populate a {@link Packet}. * - * - * *

    How it works?

    *

    - * We make an assumption that a request context is mostly used to just - * get and put values, not really for things like enumerating or size. + * For better performance, we wan't use strongly typed field as much as possible + * to avoid reflection and unnecessary collection iterations; * - *

    - * So we start by maintaining state as a combination of {@link #others} - * bag and strongly-typed fields. As long as the application uses - * just {@link Map#put}, {@link Map#get}, and {@link Map#putAll}, we can - * do things in this way. In this mode a {@link Map} we return works as - * a view into {@link RequestContext}, and by itself it maintains no state. - * - *

    - * If {@link RequestContext} is in this mode, its state can be copied - * efficiently into {@link Packet}. - * + * Using {@link com.oracle.webservices.internal.api.message.BasePropertySet.MapView} implementation allows client to use {@link Map} interface + * in a way that all the strongly typed properties are reflected to the fields + * right away. Any additional (extending) properties can be added by client as well; + * those would be processed using iterating the {@link MapView} and their processing, + * of course, would be slower. *

    - * Once the application uses any other {@link Map} method, we move to - * the "fallback" mode, where the data is actually stored in a {@link HashMap}, - * this is necessary for implementing the map interface contract correctly. - * - *

    - * To be safe, once we fallback, we'll never come back to the efficient state. - * - * - * - *

    Caution

    - *

    - * Once we are in the fallback mode, none of the strongly typed field will - * be used, and they may contain stale values. So the only method - * the code outside this class can safely use is {@link #copy()}, - * {@link #fill(Packet)}, and constructors. Do not access the strongly - * typed fields nor {@link #others} directly. + * The previous implementation with fallback mode has been removed to simplify + * the code and remove the bugs. * * @author Kohsuke Kawaguchi */ @SuppressWarnings({"SuspiciousMethodCalls"}) -public final class RequestContext extends DistributedPropertySet { +public final class RequestContext extends BaseDistributedPropertySet { private static final Logger LOGGER = Logger.getLogger(RequestContext.class.getName()); /** @@ -120,9 +98,11 @@ ContentNegotiation.obtainFromSystemProperty(); /** - * Stores properties that don't fit the strongly-typed fields. + * @deprecated */ - private final Map others; + public void addSatellite(@NotNull com.sun.xml.internal.ws.api.PropertySet satellite) { + super.addSatellite(satellite); + } /** * The endpoint address to which this message is sent to. @@ -139,16 +119,17 @@ * @deprecated * always access {@link #endpointAddress}. */ - @Property(BindingProvider.ENDPOINT_ADDRESS_PROPERTY) + @Property(ENDPOINT_ADDRESS_PROPERTY) public String getEndPointAddressString() { return endpointAddress != null ? endpointAddress.toString() : null; } public void setEndPointAddressString(String s) { - if(s==null) + if (s == null) { throw new IllegalArgumentException(); - else + } else { this.endpointAddress = EndpointAddress.create(s); + } } public void setEndpointAddress(@NotNull EndpointAddress epa) { @@ -171,9 +152,9 @@ } public void setContentNegotiationString(String s) { - if(s==null) + if (s == null) { contentNegotiation = ContentNegotiation.none; - else { + } else { try { contentNegotiation = ContentNegotiation.valueOf(s); } catch (IllegalArgumentException e) { @@ -182,6 +163,7 @@ } } } + /** * The value of the SOAPAction header associated with the message. * @@ -209,14 +191,12 @@ private String soapAction; - @Property(BindingProvider.SOAPACTION_URI_PROPERTY) - public String getSoapAction(){ + @Property(SOAPACTION_URI_PROPERTY) + public String getSoapAction() { return soapAction; } - public void setSoapAction(String sAction){ - if(sAction == null) { - throw new IllegalArgumentException("SOAPAction value cannot be null"); - } + + public void setSoapAction(String sAction) { soapAction = sAction; } @@ -228,35 +208,34 @@ * if it can be sent if it can be obtained by other means such as WSDL binding */ private Boolean soapActionUse; - @Property(BindingProvider.SOAPACTION_USE_PROPERTY) - public Boolean getSoapActionUse(){ + + @Property(SOAPACTION_USE_PROPERTY) + public Boolean getSoapActionUse() { return soapActionUse; } - public void setSoapActionUse(Boolean sActionUse){ + + public void setSoapActionUse(Boolean sActionUse) { soapActionUse = sActionUse; } /** - * {@link Map} exposed to the user application. - */ - private final MapView mapView = new MapView(); - - /** * Creates an empty {@link RequestContext}. */ - /*package*/ RequestContext() { - others = new HashMap(); + RequestContext() { } /** * Copy constructor. */ private RequestContext(RequestContext that) { - others = new HashMap(that.others); - mapView.fallbackMap = that.mapView.fallbackMap != null ? - new HashMap(that.mapView.fallback()) : null; + for (Map.Entry entry : that.asMapLocal().entrySet()) { + if (!propMap.containsKey(entry.getKey())) { + asMap().put(entry.getKey(), entry.getValue()); + } + } endpointAddress = that.endpointAddress; soapAction = that.soapAction; + soapActionUse = that.soapActionUse; contentNegotiation = that.contentNegotiation; that.copySatelliteInto(this); } @@ -264,105 +243,124 @@ /** * The efficient get method that reads from {@link RequestContext}. */ + @Override public Object get(Object key) { - if(super.supports(key)) + if(supports(key)) { return super.get(key); - else - return others.get(key); + } else { + // use mapView to get extending property + return asMap().get(key); + } } /** * The efficient put method that updates {@link RequestContext}. */ + @Override public Object put(String key, Object value) { - if(super.supports(key)) - return super.put(key,value); - else - return others.put(key,value); - } - /** - * Gets the {@link Map} view of this request context. - * - * @return - * Always same object. Returned map is live. - */ - public Map getMapView() { - return mapView; + if(supports(key)) { + return super.put(key,value); + } else { + // use mapView to put extending property (if the map allows that) + return asMap().put(key, value); + } } /** * Fill a {@link Packet} with values of this {@link RequestContext}. + * + * @param packet to be filled with context values + * @param isAddressingEnabled flag if addressing enabled (to provide warning if necessary) */ + @SuppressWarnings("unchecked") public void fill(Packet packet, boolean isAddressingEnabled) { - if(mapView.fallbackMap==null) { - if (endpointAddress != null) - packet.endpointAddress = endpointAddress; - packet.contentNegotiation = contentNegotiation; - //JAX-WS-596: Check the semantics of SOAPACTION_USE_PROPERTY before using the SOAPACTION_URI_PROPERTY for - // SoapAction as specified in the javadoc of BindingProvider. The spec seems to be little contradicting with - // javadoc and says that the use property effects the sending of SOAPAction property. - // Since the user has the capability to set the value as "" if needed, implement the javadoc behavior. + // handling as many properties as possible (all in propMap.keySet()) + // to avoid slow Packet.put() + if (endpointAddress != null) { + packet.endpointAddress = endpointAddress; + } + packet.contentNegotiation = contentNegotiation; + fillSOAPAction(packet, isAddressingEnabled); + mergeRequestHeaders(packet); - if ((soapActionUse != null && soapActionUse) || (soapActionUse == null && isAddressingEnabled)) { - if (soapAction != null) { - packet.soapAction = soapAction; - } - } + Set handlerScopeNames = new HashSet(); + + copySatelliteInto(packet); - if((!isAddressingEnabled && (soapActionUse == null || !soapActionUse)) && soapAction != null) { - LOGGER.warning("BindingProvider.SOAPACTION_URI_PROPERTY is set in the RequestContext but is ineffective," + - " Either set BindingProvider.SOAPACTION_USE_PROPERTY to true or enable AddressingFeature"); + // extending properties ... + for (String key : asMapLocal().keySet()) { + + //if it is not standard property it defaults to Scope.HANDLER + if (!supportsLocal(key)) { + handlerScopeNames.add(key); } - copySatelliteInto((DistributedPropertySet)packet); - - if(!others.isEmpty()) { - //for bug 12883765 - //retrieve headers which is set in soap message - Headers headerFromPacketProperty = (Headers)packet.invocationProperties.get(MessageContext.HTTP_REQUEST_HEADERS); - //retrieve headers from request context - Map> headerFromOthers =(Map>) others.get(MessageContext.HTTP_REQUEST_HEADERS); - if((headerFromPacketProperty != null) && (headerFromOthers != null) ) { - //update the headers set in soap message with those in request context - for(String key: headerFromOthers.keySet()) { - if(key!=null && key.trim().length()!=0) { - List valueFromPacketProperty = headerFromPacketProperty.get(key); - //if the two headers contain the same key, combine the value - if(valueFromPacketProperty!=null) { - valueFromPacketProperty.addAll(headerFromOthers.get(key)); - }else{ - //add the headers in request context to those set in soap message - headerFromPacketProperty.put(key, headerFromOthers.get(key)); - } - } - } - // update headers in request context with those set in soap message since 'others' may contain other properties.. - others.put(MessageContext.HTTP_REQUEST_HEADERS, headerFromPacketProperty); - } - packet.invocationProperties.putAll(others); - //if it is not standard property it deafults to Scope.HANDLER - packet.getHandlerScopePropertyNames(false).addAll(others.keySet()); - } - } else { - Set handlerScopePropertyNames = new HashSet(); - // fallback mode, simply copy map in a slow way - for (Entry entry : mapView.fallbackMap.entrySet()) { - String key = entry.getKey(); - if(packet.supports(key)) - packet.put(key,entry.getValue()); - else - packet.invocationProperties.put(key,entry.getValue()); - - //if it is not standard property it deafults to Scope.HANDLER - if(!super.supports(key)) { - handlerScopePropertyNames.add(key); + // to avoid slow Packet.put(), handle as small number of props as possible + // => only properties not from RequestContext object + if (!propMap.containsKey(key)) { + Object value = asMapLocal().get(key); + if (packet.supports(key)) { + // very slow operation - try to avoid it! + packet.put(key, value); + } else { + packet.invocationProperties.put(key, value); } } + } - if(!handlerScopePropertyNames.isEmpty()) - packet.getHandlerScopePropertyNames(false).addAll(handlerScopePropertyNames); + if (!handlerScopeNames.isEmpty()) { + packet.getHandlerScopePropertyNames(false).addAll(handlerScopeNames); + } + } + + @SuppressWarnings("unchecked") + private void mergeRequestHeaders(Packet packet) { + //for bug 12883765 + //retrieve headers which is set in soap message + Headers packetHeaders = (Headers) packet.invocationProperties.get(HTTP_REQUEST_HEADERS); + //retrieve headers from request context + Map> myHeaders = (Map>) asMap().get(HTTP_REQUEST_HEADERS); + if ((packetHeaders != null) && (myHeaders != null)) { + //update the headers set in soap message with those in request context + for (Entry> entry : myHeaders.entrySet()) { + String key = entry.getKey(); + if (key != null && key.trim().length() != 0) { + List listFromPacket = packetHeaders.get(key); + //if the two headers contain the same key, combine the value + if (listFromPacket != null) { + listFromPacket.addAll(entry.getValue()); + } else { + //add the headers in request context to those set in soap message + packetHeaders.put(key, myHeaders.get(key)); + } + } + } + // update headers in request context with those set in soap message since it may contain other properties.. + asMap().put(HTTP_REQUEST_HEADERS, packetHeaders); + } + } + + private void fillSOAPAction(Packet packet, boolean isAddressingEnabled) { + final boolean p = packet.packetTakesPriorityOverRequestContext; + final String localSoapAction = p ? packet.soapAction : soapAction; + final Boolean localSoapActionUse = p ? (Boolean) packet.invocationProperties.get(BindingProvider.SOAPACTION_USE_PROPERTY) + : soapActionUse; + + //JAX-WS-596: Check the semantics of SOAPACTION_USE_PROPERTY before using the SOAPACTION_URI_PROPERTY for + // SoapAction as specified in the javadoc of BindingProvider. The spec seems to be little contradicting with + // javadoc and says that the use property effects the sending of SOAPAction property. + // Since the user has the capability to set the value as "" if needed, implement the javadoc behavior. + if ((localSoapActionUse != null && localSoapActionUse) || (localSoapActionUse == null && isAddressingEnabled)) { + if (localSoapAction != null) { + packet.soapAction = localSoapAction; + } + } + + if ((!isAddressingEnabled && (localSoapActionUse == null || !localSoapActionUse)) && localSoapAction != null) { + LOGGER.warning("BindingProvider.SOAPACTION_URI_PROPERTY is set in the RequestContext but is ineffective," + + " Either set BindingProvider.SOAPACTION_USE_PROPERTY to true or enable AddressingFeature"); } } @@ -370,84 +368,15 @@ return new RequestContext(this); } - private final class MapView implements Map { - private Map fallbackMap; - - private Map fallback() { - if(fallbackMap==null) { - // has to fall back. fill in fallbackMap - fallbackMap = new HashMap(others); - // then put all known properties - fallbackMap.putAll(createMapView()); - } - return fallbackMap; - } - - public int size() { - return fallback().size(); - } - - public boolean isEmpty() { - return fallback().isEmpty(); - } - - public boolean containsKey(Object key) { - return fallback().containsKey(key); - } - - public boolean containsValue(Object value) { - return fallback().containsValue(value); - } - - public Object get(Object key) { - if (fallbackMap ==null) { - return RequestContext.this.get(key); - } else { - return fallback().get(key); - } - } - - public Object put(String key, Object value) { - if(fallbackMap ==null) - return RequestContext.this.put(key,value); - else - return fallback().put(key, value); - } - - public Object remove(Object key) { - if (fallbackMap ==null) { - return RequestContext.this.remove(key); - } else { - return fallback().remove(key); - } - } - - public void putAll(Map t) { - for (Entry e : t.entrySet()) { - put(e.getKey(),e.getValue()); - } - } - - public void clear() { - fallback().clear(); - } - - public Set keySet() { - return fallback().keySet(); - } - - public Collection values() { - return fallback().values(); - } - - public Set> entrySet() { - return fallback().entrySet(); - } - } - + @Override protected PropertyMap getPropertyMap() { return propMap; } private static final PropertyMap propMap = parse(RequestContext.class); + + @Override + protected boolean mapAllowsAdditionalProperties() { + return true; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContextReceiver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContextReceiver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ResponseContextReceiver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/SCAnnotations.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SCAnnotations.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SCAnnotations.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -34,7 +34,6 @@ import javax.xml.ws.WebServiceException; import java.io.IOException; import java.lang.reflect.Method; -import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.ArrayList; @@ -48,16 +47,16 @@ final class SCAnnotations { SCAnnotations(final Class sc) { AccessController.doPrivileged(new PrivilegedAction() { + @Override public Void run() { WebServiceClient wsc =sc.getAnnotation(WebServiceClient.class); - if(wsc==null) + if(wsc==null) { throw new WebServiceException("Service Interface Annotations required, exiting..."); + } - String name = wsc.name(); String tns = wsc.targetNamespace(); - serviceQName = new QName(tns, name); try { - wsdlLocation = JAXWSUtils.getFileOrURL(wsc.wsdlLocation()); + JAXWSUtils.getFileOrURL(wsc.wsdlLocation()); } catch (IOException e) { // TODO: report a reasonable error message throw new WebServiceException(e); @@ -81,8 +80,6 @@ }); } - QName serviceQName; final ArrayList portQNames = new ArrayList(); final ArrayList classes = new ArrayList(); - URL wsdlLocation; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/SEIPortInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SEIPortInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SEIPortInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,9 +33,6 @@ import com.sun.xml.internal.ws.binding.WebServiceFeatureList; import com.sun.xml.internal.ws.model.SOAPSEIModel; -import javax.xml.ws.WebServiceFeature; - - /** * {@link PortInfo} that has {@link SEIModel}. * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/SenderException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SenderException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/SenderException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.client; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/Stub.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/Stub.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/Stub.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,30 +30,41 @@ import com.sun.xml.internal.stream.buffer.XMLStreamBuffer; import com.sun.xml.internal.ws.addressing.WSEPRExtension; import com.sun.xml.internal.ws.api.BindingID; -import com.sun.xml.internal.ws.model.wsdl.WSDLDirectProperties; -import com.sun.xml.internal.ws.model.wsdl.WSDLPortProperties; -import com.sun.xml.internal.ws.model.wsdl.WSDLProperties; -import com.sun.xml.internal.ws.model.wsdl.WSDLServiceImpl; import com.sun.xml.internal.ws.api.Component; import com.sun.xml.internal.ws.api.ComponentFeature; import com.sun.xml.internal.ws.api.ComponentFeature.Target; import com.sun.xml.internal.ws.api.ComponentRegistry; +import com.sun.xml.internal.ws.api.ComponentsFeature; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.WSService; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; import com.sun.xml.internal.ws.api.client.WSPortInfo; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.HeaderList; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.api.pipe.*; +import com.sun.xml.internal.ws.api.pipe.ClientTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.Engine; +import com.sun.xml.internal.ws.api.pipe.Fiber; +import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptorFactory; +import com.sun.xml.internal.ws.api.pipe.SyncStartForAsyncFeature; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.pipe.TubelineAssembler; +import com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.developer.JAXWSProperties; import com.sun.xml.internal.ws.developer.WSBindingProvider; +import com.sun.xml.internal.ws.model.wsdl.WSDLDirectProperties; import com.sun.xml.internal.ws.model.wsdl.WSDLPortImpl; +import com.sun.xml.internal.ws.model.wsdl.WSDLPortProperties; +import com.sun.xml.internal.ws.model.wsdl.WSDLProperties; import com.sun.xml.internal.ws.resources.ClientMessages; import com.sun.xml.internal.ws.util.Pool; import com.sun.xml.internal.ws.util.Pool.TubePool; @@ -66,6 +77,7 @@ import javax.xml.ws.BindingProvider; import javax.xml.ws.EndpointReference; import javax.xml.ws.RespectBindingFeature; +import javax.xml.ws.Response; import javax.xml.ws.WebServiceException; import javax.xml.ws.http.HTTPBinding; import javax.xml.ws.wsaddressing.W3CEndpointReference; @@ -76,7 +88,9 @@ import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import java.util.concurrent.Executor; -import org.xml.sax.InputSource; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.management.ObjectName; /** * Base class for stubs, which accept method invocations from @@ -232,49 +246,64 @@ } private Stub(WSServiceDelegate owner, @Nullable Tube master, @Nullable WSPortInfo portInfo, QName portname, BindingImpl binding, @Nullable WSDLPort wsdlPort, EndpointAddress defaultEndPointAddress, @Nullable WSEndpointReference epr) { - this.owner = owner; - this.portInfo = portInfo; - this.wsdlPort = wsdlPort != null ? wsdlPort : (portInfo != null ? portInfo.getPort() : null); - this.portname = portname; - if (portname == null) { - if (portInfo != null) - this.portname = portInfo.getPortName(); - else if (wsdlPort != null) - this.portname = wsdlPort.getName(); - } - this.binding = binding; + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + this.owner = owner; + this.portInfo = portInfo; + this.wsdlPort = wsdlPort != null ? wsdlPort : (portInfo != null ? portInfo.getPort() : null); + this.portname = portname; + if (portname == null) { + if (portInfo != null) { + this.portname = portInfo.getPortName(); + } else if (wsdlPort != null) { + this.portname = wsdlPort.getName(); + } + } + this.binding = binding; - ComponentFeature cf = binding.getFeature(ComponentFeature.class); - if (cf != null && Target.STUB.equals(cf.getTarget())) { - components.add(cf.getComponent()); - } + ComponentFeature cf = binding.getFeature(ComponentFeature.class); + if (cf != null && Target.STUB.equals(cf.getTarget())) { + components.add(cf.getComponent()); + } + ComponentsFeature csf = binding.getFeature(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + if (Target.STUB.equals(cfi.getTarget())) + components.add(cfi.getComponent()); + } + } - // if there is an EPR, EPR's address should be used for invocation instead of default address - if (epr != null) - this.requestContext.setEndPointAddressString(epr.getAddress()); - else - this.requestContext.setEndpointAddress(defaultEndPointAddress); - this.engine = new Engine(toString(), owner.getExecutor()); - this.endpointReference = epr; - wsdlProperties = (wsdlPort == null) ? new WSDLDirectProperties(owner.getServiceName(), portname) : new WSDLPortProperties(wsdlPort); + // if there is an EPR, EPR's address should be used for invocation instead of default address + if (epr != null) { + this.requestContext.setEndPointAddressString(epr.getAddress()); + } else { + this.requestContext.setEndpointAddress(defaultEndPointAddress); + } + this.engine = new Engine(getStringId(), owner.getContainer(), owner.getExecutor()); + this.endpointReference = epr; + wsdlProperties = (wsdlPort == null) ? new WSDLDirectProperties(owner.getServiceName(), portname) : new WSDLPortProperties(wsdlPort); - this.cleanRequestContext = this.requestContext.copy(); + this.cleanRequestContext = this.requestContext.copy(); + + // ManagedObjectManager MUST be created before the pipeline + // is constructed. - // ManagedObjectManager MUST be created before the pipeline - // is constructed. + managedObjectManager = new MonitorRootClient(this).createManagedObjectManager(this); - managedObjectManager = new MonitorRootClient(this).createManagedObjectManager(this); + if (master != null) { + this.tubes = new TubePool(master); + } else { + this.tubes = new TubePool(createPipeline(portInfo, binding)); + } - if (master != null) - this.tubes = new TubePool(master); - else - this.tubes = new TubePool(createPipeline(portInfo, binding)); + addrVersion = binding.getAddressingVersion(); - addrVersion = binding.getAddressingVersion(); - - // This needs to happen after createPipeline. - // TBD: Check if it needs to happen outside the Stub constructor. - managedObjectManager.resumeJMXRegistration(); + // This needs to happen after createPipeline. + // TBD: Check if it needs to happen outside the Stub constructor. + managedObjectManager.resumeJMXRegistration(); + } finally { + ContainerResolver.getDefault().exitContainer(old); + } } /** @@ -293,9 +322,10 @@ BindingID bindingId = portInfo.getBindingId(); TubelineAssembler assembler = TubelineAssemblerFactory.create( - Thread.currentThread().getContextClassLoader(), bindingId); - if (assembler == null) - throw new WebServiceException("Unable to process bindingID=" + bindingId); // TODO: i18n + Thread.currentThread().getContextClassLoader(), bindingId, owner.getContainer()); + if (assembler == null) { + throw new WebServiceException("Unable to process bindingID=" + bindingId); // TODO: i18n + } return assembler.createClient( new ClientTubeAssemblerContext( portInfo.getEndpointAddress(), @@ -328,6 +358,7 @@ } } + @Override public WSPortInfo getPortInfo() { return portInfo; } @@ -339,8 +370,9 @@ public @Nullable OperationDispatcher getOperationDispatcher() { - if (operationDispatcher == null && wsdlPort != null) + if (operationDispatcher == null && wsdlPort != null) { operationDispatcher = new OperationDispatcher(wsdlPort, binding, null); + } return operationDispatcher; } @@ -403,10 +435,13 @@ packet.component = this; configureRequestPacket(packet, requestContext); Pool pool = tubes; - if (pool == null) + if (pool == null) { throw new WebServiceException("close method has already been invoked"); // TODO: i18n + } Fiber fiber = engine.createFiber(); + configureFiber(fiber); + // then send it away! Tube tube = pool.take(); @@ -433,16 +468,20 @@ // to make it multi-thread safe we need to first get a stable snapshot Header[] hl = userOutboundHeaders; - if (hl != null) - packet.getMessage().getHeaders().addAll(hl); + if (hl != null) { + MessageHeaders mh = packet.getMessage().getHeaders(); + for (Header h : hl) { + mh.add(h); + } + } requestContext.fill(packet, (binding.getAddressingVersion() != null)); packet.addSatellite(wsdlProperties); if (addrVersion != null) { // populate request WS-Addressing headers - HeaderList headerList = packet.getMessage().getHeaders(); - headerList.fillRequestAddressingHeaders(wsdlPort, binding, packet); + MessageHeaders headerList = packet.getMessage().getHeaders(); + AddressingUtils.fillRequestAddressingHeaders(headerList, wsdlPort, binding, packet); // Spec is not clear on if ReferenceParameters are to be added when addressing is not enabled, @@ -478,30 +517,36 @@ configureRequestPacket(request, requestContext); final Pool pool = tubes; - if (pool == null) + if (pool == null) { throw new WebServiceException("close method has already been invoked"); // TODO: i18n + } final Fiber fiber = engine.createFiber(); + configureFiber(fiber); receiver.setCancelable(fiber); // check race condition on cancel - if (receiver.isCancelled()) - return; + if (receiver.isCancelled()) { + return; + } FiberContextSwitchInterceptorFactory fcsif = owner.getSPI(FiberContextSwitchInterceptorFactory.class); - if(fcsif != null) + if (fcsif != null) { fiber.addInterceptor(fcsif.create()); + } // then send it away! final Tube tube = pool.take(); Fiber.CompletionCallback fiberCallback = new Fiber.CompletionCallback() { + @Override public void onCompletion(@NotNull Packet response) { pool.recycle(tube); completionCallback.onCompletion(response); } + @Override public void onCompletion(@NotNull Throwable error) { // let's not reuse tubes as they might be in a wrong state, so not // calling pool.recycle() @@ -516,51 +561,79 @@ !requestContext.containsKey(PREVENT_SYNC_START_FOR_ASYNC_INVOKE)); } + protected void configureFiber(Fiber fiber) { + // no-op in the base class, but can be used by derived classes to configure the Fiber prior + // to invocation + } + + private static final Logger monitoringLogger = Logger.getLogger(com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".monitoring"); + + @Override public void close() { - if (tubes != null) { + TubePool tp = (TubePool) tubes; + if (tp != null) { // multi-thread safety of 'close' needs to be considered more carefully. // some calls might be pending while this method is invoked. Should we // block until they are complete, or should we abort them (but how?) - Tube p = tubes.take(); + Tube p = tp.takeMaster(); + p.preDestroy(); tubes = null; - p.preDestroy(); } - if (managedObjectManagerClosed) { - return; - } else { - com.sun.xml.internal.ws.server.MonitorBase.closeMOM(managedObjectManager); + if (!managedObjectManagerClosed) { + try { + final ObjectName name = managedObjectManager.getObjectName(managedObjectManager.getRoot()); + // The name is null when the MOM is a NOOP. + if (name != null) { + monitoringLogger.log(Level.INFO, "Closing Metro monitoring root: {0}", name); + } + managedObjectManager.close(); + } catch (java.io.IOException e) { + monitoringLogger.log(Level.WARNING, "Ignoring error when closing Managed Object Manager", e); + } managedObjectManagerClosed = true; } - } + @Override public final WSBinding getBinding() { return binding; } + @Override public final Map getRequestContext() { - return requestContext.getMapView(); + return requestContext.asMap(); } public void resetRequestContext() { requestContext = cleanRequestContext.copy(); } + @Override public final ResponseContext getResponseContext() { return responseContext; } + @Override public void setResponseContext(ResponseContext rc) { this.responseContext = rc; } - public String toString() { + private String getStringId() { return RuntimeVersion.VERSION + ": Stub for " + getRequestContext().get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY); } + @Override + public String toString() { + return getStringId(); + } + + @Override public final WSEndpointReference getWSEndpointReference() { - if (binding.getBindingID().equals(HTTPBinding.HTTP_BINDING)) - throw new java.lang.UnsupportedOperationException(ClientMessages.UNSUPPORTED_OPERATION("BindingProvider.getEndpointReference(Class class)", "XML/HTTP Binding", "SOAP11 or SOAP12 Binding")); + if (binding.getBindingID().equals(HTTPBinding.HTTP_BINDING)) { + throw new java.lang.UnsupportedOperationException( + ClientMessages.UNSUPPORTED_OPERATION("BindingProvider.getEndpointReference(Class class)", "XML/HTTP Binding", "SOAP11 or SOAP12 Binding") + ); + } if (endpointReference != null) { return endpointReference; @@ -596,18 +669,23 @@ } + @Override public final W3CEndpointReference getEndpointReference() { - if (binding.getBindingID().equals(HTTPBinding.HTTP_BINDING)) - throw new java.lang.UnsupportedOperationException(ClientMessages.UNSUPPORTED_OPERATION("BindingProvider.getEndpointReference()", "XML/HTTP Binding", "SOAP11 or SOAP12 Binding")); + if (binding.getBindingID().equals(HTTPBinding.HTTP_BINDING)) { + throw new java.lang.UnsupportedOperationException( + ClientMessages.UNSUPPORTED_OPERATION("BindingProvider.getEndpointReference()", "XML/HTTP Binding", "SOAP11 or SOAP12 Binding")); + } return getEndpointReference(W3CEndpointReference.class); } + @Override public final T getEndpointReference(Class clazz) { return getWSEndpointReference().toSpec(clazz); } public @NotNull + @Override ManagedObjectManager getManagedObjectManager() { return managedObjectManager; } @@ -617,25 +695,29 @@ // WSBindingProvider methods // // + @Override public final void setOutboundHeaders(List
    headers) { if (headers == null) { this.userOutboundHeaders = null; } else { for (Header h : headers) { - if (h == null) + if (h == null) { throw new IllegalArgumentException(); + } } userOutboundHeaders = headers.toArray(new Header[headers.size()]); } } + @Override public final void setOutboundHeaders(Header... headers) { if (headers == null) { this.userOutboundHeaders = null; } else { for (Header h : headers) { - if (h == null) + if (h == null) { throw new IllegalArgumentException(); + } } Header[] hl = new Header[headers.length]; System.arraycopy(headers, 0, hl, 0, headers.length); @@ -643,24 +725,29 @@ } } + @Override public final List
    getInboundHeaders() { - return Collections.unmodifiableList((HeaderList) - responseContext.get(JAXWSProperties.INBOUND_HEADER_LIST_PROPERTY)); + return Collections.unmodifiableList(((MessageHeaders) + responseContext.get(JAXWSProperties.INBOUND_HEADER_LIST_PROPERTY)).asList()); } + @Override public final void setAddress(String address) { requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, address); } + @Override public S getSPI(Class spiType) { for (Component c : components) { S s = c.getSPI(spiType); - if (s != null) + if (s != null) { return s; + } } return owner.getSPI(spiType); } + @Override public Set getComponents() { return components; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/WSServiceDelegate.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/WSServiceDelegate.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/WSServiceDelegate.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,18 +30,19 @@ import com.sun.xml.internal.ws.Closeable; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.ComponentFeature; +import com.sun.xml.internal.ws.api.ComponentsFeature; import com.sun.xml.internal.ws.api.ComponentFeature.Target; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.WSService; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; import com.sun.xml.internal.ws.api.client.ServiceInterceptor; import com.sun.xml.internal.ws.api.client.ServiceInterceptorFactory; +import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; import com.sun.xml.internal.ws.api.databinding.DatabindingFactory; -import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.api.model.wsdl.WSDLService; -import com.sun.xml.internal.ws.api.pipe.*; +import com.sun.xml.internal.ws.api.pipe.Stubs; import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.api.server.ContainerResolver; import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension; @@ -50,9 +51,10 @@ import com.sun.xml.internal.ws.client.HandlerConfigurator.AnnotationConfigurator; import com.sun.xml.internal.ws.client.HandlerConfigurator.HandlerResolverImpl; import com.sun.xml.internal.ws.client.sei.SEIStub; + import com.sun.xml.internal.ws.developer.MemberSubmissionAddressingFeature; +import com.sun.xml.internal.ws.developer.UsesJAXBContextFeature; import com.sun.xml.internal.ws.developer.WSBindingProvider; -import com.sun.xml.internal.ws.developer.UsesJAXBContextFeature; import com.sun.xml.internal.ws.model.RuntimeModeler; import com.sun.xml.internal.ws.model.SOAPSEIModel; import com.sun.xml.internal.ws.model.wsdl.WSDLModelImpl; @@ -64,9 +66,7 @@ import com.sun.xml.internal.ws.util.JAXWSUtils; import com.sun.xml.internal.ws.util.ServiceConfigurationError; import com.sun.xml.internal.ws.util.ServiceFinder; -import static com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver; import com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser; - import org.xml.sax.EntityResolver; import org.xml.sax.SAXException; @@ -77,7 +77,13 @@ import javax.xml.stream.XMLStreamException; import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; -import javax.xml.ws.*; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.Dispatch; +import javax.xml.ws.EndpointReference; +import javax.xml.ws.Service; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; import javax.xml.ws.handler.HandlerResolver; import javax.xml.ws.soap.AddressingFeature; import java.io.IOException; @@ -87,10 +93,17 @@ import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; -import java.util.*; +import java.util.Collection; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Map; +import java.util.Set; import java.util.concurrent.Executor; import java.util.concurrent.ThreadFactory; +import static com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver; + /** * Service objects provide the client view of a Web service. * @@ -177,6 +190,10 @@ public WSServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class serviceClass, WebServiceFeature... features) { + this(wsdlDocumentLocation, serviceName, serviceClass, new WebServiceFeatureList(features)); + } + + protected WSServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class serviceClass, WebServiceFeatureList features) { this( wsdlDocumentLocation==null ? null : new StreamSource(wsdlDocumentLocation.toExternalForm()), serviceName,serviceClass, features); @@ -187,6 +204,14 @@ * Either {@link Service}.class or other generated service-derived classes. */ public WSServiceDelegate(@Nullable Source wsdl, @NotNull QName serviceName, @NotNull final Class serviceClass, WebServiceFeature... features) { + this(wsdl, serviceName, serviceClass, new WebServiceFeatureList(features)); + } + + /** + * @param serviceClass + * Either {@link Service}.class or other generated service-derived classes. + */ + protected WSServiceDelegate(@Nullable Source wsdl, @NotNull QName serviceName, @NotNull final Class serviceClass, WebServiceFeatureList features) { this(wsdl, null, serviceName, serviceClass, features); } @@ -195,15 +220,26 @@ * Either {@link Service}.class or other generated service-derived classes. */ public WSServiceDelegate(@Nullable Source wsdl, @Nullable WSDLServiceImpl service, @NotNull QName serviceName, @NotNull final Class serviceClass, WebServiceFeature... features) { + this(wsdl, service, serviceName, serviceClass, new WebServiceFeatureList(features)); + } + + /** + * @param serviceClass + * Either {@link Service}.class or other generated service-derived classes. + */ + public WSServiceDelegate(@Nullable Source wsdl, @Nullable WSDLServiceImpl service, @NotNull QName serviceName, @NotNull final Class serviceClass, WebServiceFeatureList features) { //we cant create a Service without serviceName - if (serviceName == null) - throw new WebServiceException(ClientMessages.INVALID_SERVICE_NAME_NULL(serviceName)); + if (serviceName == null) { + throw new WebServiceException(ClientMessages.INVALID_SERVICE_NAME_NULL(null)); + } - this.features = new WebServiceFeatureList(features); + this.features = features; InitParams initParams = INIT_PARAMS.get(); INIT_PARAMS.set(null); // mark it as consumed - if(initParams==null) initParams = EMPTY_PARAMS; + if(initParams==null) { + initParams = EMPTY_PARAMS; + } this.serviceName = serviceName; this.serviceClass = serviceClass; @@ -221,10 +257,26 @@ break; case CONTAINER: this.container.getComponents().add(cf.getComponent()); + break; default: throw new IllegalArgumentException(); } } + ComponentsFeature csf = this.features.get(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + switch(cfi.getTarget()) { + case SERVICE: + getComponents().add(cfi.getComponent()); + break; + case CONTAINER: + this.container.getComponents().add(cfi.getComponent()); + break; + default: + throw new IllegalArgumentException(); + } + } + } // load interceptor ServiceInterceptor interceptor = ServiceInterceptorFactory.load(this, Thread.currentThread().getContextClassLoader()); @@ -354,10 +406,11 @@ public T getPort(WSEndpointReference wsepr, Class portInterface, WebServiceFeature... features) { //get the portType from SEI, so that it can be used if EPR does n't have endpointName - QName portTypeName = RuntimeModeler.getPortTypeName(portInterface); + WebServiceFeatureList featureList = new WebServiceFeatureList(features); + QName portTypeName = RuntimeModeler.getPortTypeName(portInterface, getMetadadaReader(featureList, portInterface.getClassLoader())); //if port name is not specified in EPR, it will use portTypeName to get it from the WSDL model. QName portName = getPortNameFromEPR(wsepr, portTypeName); - return getPort(wsepr,portName,portInterface,new WebServiceFeatureList(features)); + return getPort(wsepr,portName,portInterface, featureList); } protected T getPort(WSEndpointReference wsepr, QName portName, Class portInterface, @@ -366,29 +419,38 @@ if (cf != null && !Target.STUB.equals(cf.getTarget())) { throw new IllegalArgumentException(); } + ComponentsFeature csf = features.get(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + if (!Target.STUB.equals(cfi.getTarget())) + throw new IllegalArgumentException(); + } + } features.addAll(this.features); SEIPortInfo spi = addSEI(portName, portInterface, features); return createEndpointIFBaseProxy(wsepr,portName,portInterface,features, spi); } + @Override public T getPort(Class portInterface, WebServiceFeature... features) { //get the portType from SEI - QName portTypeName = RuntimeModeler.getPortTypeName(portInterface); - WSDLServiceImpl wsdlService = this.wsdlService; - if(wsdlService == null) { + QName portTypeName = RuntimeModeler.getPortTypeName(portInterface, getMetadadaReader(new WebServiceFeatureList(features), portInterface.getClassLoader())); + WSDLServiceImpl tmpWsdlService = this.wsdlService; + if (tmpWsdlService == null) { // assigning it to local variable and not setting it back to this.wsdlService intentionally // as we don't want to include the service instance with information gathered from sei - wsdlService = getWSDLModelfromSEI(portInterface); + tmpWsdlService = getWSDLModelfromSEI(portInterface); //still null? throw error need wsdl metadata to create a proxy - if(wsdlService == null) { + if(tmpWsdlService == null) { throw new WebServiceException(ProviderApiMessages.NO_WSDL_NO_PORT(portInterface.getName())); } } //get the first port corresponding to the SEI - WSDLPortImpl port = wsdlService.getMatchingPort(portTypeName); - if (port == null) - throw new WebServiceException(ClientMessages.UNDEFINED_PORT_TYPE(portTypeName)); + WSDLPortImpl port = tmpWsdlService.getMatchingPort(portTypeName); + if (port == null) { + throw new WebServiceException(ClientMessages.UNDEFINED_PORT_TYPE(portTypeName)); + } QName portName = port.getName(); return getPort(portName, portInterface,features); } @@ -424,6 +486,13 @@ if (cf != null && !Target.STUB.equals(cf.getTarget())) { throw new IllegalArgumentException(); } + ComponentsFeature csf = features.get(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + if (!Target.STUB.equals(cfi.getTarget())) + throw new IllegalArgumentException(); + } + } features.addAll(this.features); BindingImpl binding = port.createBinding(features, null, null); @@ -507,6 +576,13 @@ if (cf != null && !Target.STUB.equals(cf.getTarget())) { throw new IllegalArgumentException(); } + ComponentsFeature csf = features.get(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + if (!Target.STUB.equals(cfi.getTarget())) + throw new IllegalArgumentException(); + } + } features.addAll(this.features); BindingImpl binding = port.createBinding(features, null, null); @@ -664,6 +740,7 @@ return ports.keySet().iterator(); } + @Override public URL getWSDLDocumentLocation() { if(wsdlService==null) return null; try { @@ -676,8 +753,9 @@ private T createEndpointIFBaseProxy(@Nullable WSEndpointReference epr,QName portName, Class portInterface, WebServiceFeatureList webServiceFeatures, SEIPortInfo eif) { //fail if service doesnt have WSDL - if (wsdlService == null) + if (wsdlService == null) { throw new WebServiceException(ClientMessages.INVALID_SERVICE_NO_WSDL(serviceName)); + } if (wsdlService.get(portName)==null) { throw new WebServiceException( @@ -706,7 +784,6 @@ } protected InvocationHandler getStubHandler(BindingImpl binding, SEIPortInfo eif, @Nullable WSEndpointReference epr) { - SEIPortInfo spi = (SEIPortInfo) eif; return new SEIStub(eif, binding, eif.model, epr); } @@ -715,8 +792,9 @@ */ private StringBuilder buildWsdlPortNames() { Set wsdlPortNames = new HashSet(); - for (WSDLPortImpl port : wsdlService.getPorts()) + for (WSDLPortImpl port : wsdlService.getPorts()) { wsdlPortNames.add(port.getName()); + } return buildNameList(wsdlPortNames); } @@ -764,11 +842,24 @@ config.setClassLoader(portInterface.getClassLoader()); config.getMappingInfo().setPortName(portName); + // if ExternalMetadataFeature present, ExternalMetadataReader will be created ... + config.setMetadataReader(getMetadadaReader(features, portInterface.getClassLoader())); + com.sun.xml.internal.ws.db.DatabindingImpl rt = (com.sun.xml.internal.ws.db.DatabindingImpl)fac.createRuntime(config); return rt.getModel(); } + private MetadataReader getMetadadaReader(WebServiceFeatureList features, ClassLoader classLoader) { + if (features == null) return null; + com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature ef = + features.get(com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature.class); + // TODO-Miran: would it be necessary to disable secure xml processing? + if (ef != null) + return ef.getMetadataReader(classLoader, false); + return null; + } + private SEIPortInfo createSEIPortInfo(QName portName, Class portInterface, WebServiceFeatureList features) { WSDLPortImpl wsdlPort = getPortModel(wsdlService, portName); SEIModel model = buildRuntimeModel(serviceName, portName, portInterface, wsdlPort, features); @@ -784,7 +875,8 @@ return wsdlService; } - class DaemonThreadFactory implements ThreadFactory { + static class DaemonThreadFactory implements ThreadFactory { + @Override public Thread newThread(Runnable r) { Thread daemonThread = new Thread(r); daemonThread.setDaemon(Boolean.TRUE); @@ -800,26 +892,53 @@ return new DelegatingLoader(loader1, loader2); } - private static final class DelegatingLoader - extends ClassLoader - { - private final ClassLoader loader; + private static final class DelegatingLoader extends ClassLoader { + private final ClassLoader loader; - DelegatingLoader(ClassLoader loader1, ClassLoader loader2) - { - super(loader2); - this.loader = loader1; - } + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + + ((loader == null) ? 0 : loader.hashCode()); + result = prime * result + + ((getParent() == null) ? 0 : getParent().hashCode()); + return result; + } - protected Class findClass(String name) - throws ClassNotFoundException - { - return loader.loadClass(name); - } + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + DelegatingLoader other = (DelegatingLoader) obj; + if (loader == null) { + if (other.loader != null) + return false; + } else if (!loader.equals(other.loader)) + return false; + if (getParent() == null) { + if (other.getParent() != null) + return false; + } else if (!getParent().equals(other.getParent())) + return false; + return true; + } - protected URL findResource(String name) - { - return loader.getResource(name); - } + DelegatingLoader(ClassLoader loader1, ClassLoader loader2) { + super(loader2); + this.loader = loader1; + } + + protected Class findClass(String name) throws ClassNotFoundException { + return loader.loadClass(name); + } + + protected URL findResource(String name) { + return loader.getResource(name); + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DataSourceDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DataSourceDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DataSourceDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -70,7 +70,7 @@ } DataSource toReturnValue(Packet response) { - Message message = response.getMessage(); + Message message = response.getInternalMessage(); return (message instanceof MessageDataSource) ? ((MessageDataSource)message).getDataSource() : XMLMessage.getDataSource(message, binding.getFeatures()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DispatchImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DispatchImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/DispatchImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -33,13 +33,15 @@ import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; import com.sun.xml.internal.ws.api.client.WSPortInfo; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Attachment; import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Fiber; import com.sun.xml.internal.ws.api.pipe.Tube; -import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.client.*; import com.sun.xml.internal.ws.encoding.soap.DeserializationException; @@ -63,8 +65,6 @@ import javax.xml.ws.http.HTTPBinding; import javax.xml.ws.soap.SOAPBinding; import javax.xml.ws.soap.SOAPFaultException; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebEndpoint; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; @@ -74,11 +74,7 @@ import java.util.List; import java.util.Map; import java.util.concurrent.Callable; -import java.util.concurrent.Executor; -import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; -import java.util.concurrent.TimeUnit; -import java.lang.reflect.Method; import java.util.logging.Level; import java.util.logging.Logger; @@ -152,9 +148,8 @@ } /** * - * @param port dispatch instance is associated with this wsdl port qName + * @param portportInfo dispatch instance is associated with this wsdl port qName * @param mode Service.mode associated with this Dispatch instance - Service.mode.MESSAGE or Service.mode.PAYLOAD - * @param owner Service that created the Dispatch * @param pipe Master pipe for the pipeline * @param binding Binding of this Dispatch instance, current one of SOAP/HTTP or XML/HTTP * @param allowFaultResponseMsg A packet containing a SOAP fault message is allowed as the response to a request on this dispatch instance. @@ -180,14 +175,19 @@ abstract T toReturnValue(Packet response); public final Response invokeAsync(T param) { - if (LOGGER.isLoggable(Level.FINE)) { - dumpParam(param, "invokeAsync(T)"); + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + if (LOGGER.isLoggable(Level.FINE)) { + dumpParam(param, "invokeAsync(T)"); + } + AsyncInvoker invoker = new DispatchAsyncInvoker(param); + AsyncResponseImpl ft = new AsyncResponseImpl(invoker,null); + invoker.setReceiver(ft); + ft.run(); + return ft; + } finally { + ContainerResolver.getDefault().exitContainer(old); } - AsyncInvoker invoker = new DispatchAsyncInvoker(param); - AsyncResponseImpl ft = new AsyncResponseImpl(invoker,null); - invoker.setReceiver(ft); - ft.run(); - return ft; } private void dumpParam(T param, String method) { @@ -201,10 +201,10 @@ SOAPVersion sv = DispatchImpl.this.getBinding().getSOAPVersion(); action = av != null && message.getMessage() != null ? - message.getMessage().getHeaders().getAction(av, sv) : null; + AddressingUtils.getAction(message.getMessage().getHeaders(), av, sv) : null; msgId = av != null && message.getMessage() != null ? - message.getMessage().getHeaders().getMessageID(av, sv) : null; + AddressingUtils.getMessageID(message.getMessage().getHeaders(), av, sv) : null; LOGGER.fine("In DispatchImpl." + method + " for message with action: " + action + " and msg ID: " + msgId + " msg: " + message.getMessage()); if (message.getMessage() == null) { @@ -214,16 +214,21 @@ } } public final Future invokeAsync(T param, AsyncHandler asyncHandler) { - if (LOGGER.isLoggable(Level.FINE)) { - dumpParam(param, "invokeAsync(T, AsyncHandler)"); + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + if (LOGGER.isLoggable(Level.FINE)) { + dumpParam(param, "invokeAsync(T, AsyncHandler)"); + } + AsyncInvoker invoker = new DispatchAsyncInvoker(param); + AsyncResponseImpl ft = new AsyncResponseImpl(invoker,asyncHandler); + invoker.setReceiver(ft); + invoker.setNonNullAsyncHandlerGiven(asyncHandler != null); + + ft.run(); + return ft; + } finally { + ContainerResolver.getDefault().exitContainer(old); } - AsyncInvoker invoker = new DispatchAsyncInvoker(param); - AsyncResponseImpl ft = new AsyncResponseImpl(invoker,asyncHandler); - invoker.setReceiver(ft); - invoker.setNonNullAsyncHandlerGiven(asyncHandler != null); - - ft.run(); - return ft; } /** @@ -239,6 +244,7 @@ checkNullAllowed(in, rc, binding, mode); Packet message = createPacket(in); + message.setState(Packet.State.ClientRequest); resolveEndpointAddress(message, rc); setProperties(message,true); response = process(message,rc,receiver); @@ -274,32 +280,43 @@ } public final T invoke(T in) { - if (LOGGER.isLoggable(Level.FINE)) { - dumpParam(in, "invoke(T)"); + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + if (LOGGER.isLoggable(Level.FINE)) { + dumpParam(in, "invoke(T)"); + } + + return doInvoke(in,requestContext,this); + } finally { + ContainerResolver.getDefault().exitContainer(old); } - - return doInvoke(in,requestContext,this); } public final void invokeOneWay(T in) { - if (LOGGER.isLoggable(Level.FINE)) { - dumpParam(in, "invokeOneWay(T)"); - } + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + if (LOGGER.isLoggable(Level.FINE)) { + dumpParam(in, "invokeOneWay(T)"); + } - try { - checkNullAllowed(in, requestContext, binding, mode); + try { + checkNullAllowed(in, requestContext, binding, mode); - Packet request = createPacket(in); - setProperties(request,false); - Packet response = process(request,requestContext,this); - } catch(WebServiceException e){ - //it could be a WebServiceException or a ProtocolException - throw e; - } catch(Throwable e){ - // it could be a RuntimeException resulting due to some internal bug or - // its some other exception resulting from user error, wrap it in - // WebServiceException - throw new WebServiceException(e); + Packet request = createPacket(in); + request.setState(Packet.State.ClientRequest); + setProperties(request,false); + process(request,requestContext,this); + } catch(WebServiceException e){ + //it could be a WebServiceException or a ProtocolException + throw e; + } catch(Throwable e){ + // it could be a RuntimeException resulting due to some internal bug or + // its some other exception resulting from user error, wrap it in + // WebServiceException + throw new WebServiceException(e); + } + } finally { + ContainerResolver.getDefault().exitContainer(old); } } @@ -358,36 +375,54 @@ return portname; } - void resolveEndpointAddress(@NotNull Packet message, @NotNull RequestContext requestContext) { + void resolveEndpointAddress(@NotNull final Packet message, @NotNull final RequestContext requestContext) { + final boolean p = message.packetTakesPriorityOverRequestContext; + //resolve endpoint look for query parameters, pathInfo - String endpoint = (String) requestContext.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY); + String endpoint; + if (p && message.endpointAddress != null) { + endpoint = message.endpointAddress.toString(); + } else { + endpoint = (String) requestContext.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY); + } + // This is existing before packetTakesPriorityOverRequestContext so leaving in place. if (endpoint == null) endpoint = message.endpointAddress.toString(); String pathInfo = null; String queryString = null; - if (requestContext.get(MessageContext.PATH_INFO) != null) + if (p && message.invocationProperties.get(MessageContext.PATH_INFO) != null) { + pathInfo = (String) message.invocationProperties.get(MessageContext.PATH_INFO); + } else if (requestContext.get(MessageContext.PATH_INFO) != null) { pathInfo = (String) requestContext.get(MessageContext.PATH_INFO); + } - if (requestContext.get(MessageContext.QUERY_STRING) != null) + if (p && message.invocationProperties.get(MessageContext.QUERY_STRING) != null) { + queryString = (String) message.invocationProperties.get(MessageContext.QUERY_STRING); + } else if (requestContext.get(MessageContext.QUERY_STRING) != null) { queryString = (String) requestContext.get(MessageContext.QUERY_STRING); + } - - String resolvedEndpoint = null; if (pathInfo != null || queryString != null) { pathInfo = checkPath(pathInfo); queryString = checkQuery(queryString); if (endpoint != null) { try { final URI endpointURI = new URI(endpoint); - resolvedEndpoint = resolveURI(endpointURI, pathInfo, queryString); + endpoint = resolveURI(endpointURI, pathInfo, queryString); } catch (URISyntaxException e) { throw new WebServiceException(DispatchMessages.INVALID_URI(endpoint)); } } - requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, resolvedEndpoint); - //message.endpointAddress = EndpointAddress.create(resolvedEndpoint); } + // These two lines used to be inside the above if. It is outside so: + // - in cases where there is no setting of address on a Packet before invocation or no pathInfo/queryString + // this will just put back what it found in the requestContext - basically a noop. + // - but when info is in the Packet this will update so it will get used later. + // Remember - we are operating on a copied RequestContext at this point - not the sticky one in the Stub. + requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpoint); + // This is not necessary because a later step will copy the resolvedEndpoint put above into message. + //message.endpointAddress = EndpointAddress.create(endpoint); } protected @NotNull String resolveURI(@NotNull URI endpointURI, @Nullable String pathInfo, @Nullable String queryString) { @@ -521,6 +556,7 @@ public void do_run () { checkNullAllowed(param, rc, binding, mode); final Packet message = createPacket(param); + message.setState(Packet.State.ClientRequest); message.nonNullAsyncHandlerGiven = this.nonNullAsyncHandlerGiven; resolveEndpointAddress(message, rc); setProperties(message,true); @@ -532,10 +568,10 @@ SOAPVersion sv = DispatchImpl.this.getBinding().getSOAPVersion(); action = av != null && message.getMessage() != null ? - message.getMessage().getHeaders().getAction(av, sv) : null; + AddressingUtils.getAction(message.getMessage().getHeaders(), av, sv) : null; msgId = av != null&& message.getMessage() != null ? - message.getMessage().getHeaders().getMessageID(av, sv) : null; + AddressingUtils.getMessageID(message.getMessage().getHeaders(), av, sv) : null; LOGGER.fine("In DispatchAsyncInvoker.do_run for async message with action: " + action + " and msg ID: " + msgId); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/JAXBDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/JAXBDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/JAXBDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/MessageDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/MessageDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/MessageDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/PacketDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/PacketDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/PacketDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,8 +27,10 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; +import com.sun.xml.internal.ws.api.client.ThrowableInPacketCompletionFeature; import com.sun.xml.internal.ws.api.client.WSPortInfo; import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.pipe.Fiber; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.client.WSServiceDelegate; @@ -43,10 +45,12 @@ * @since 2.2.6 */ public class PacketDispatch extends DispatchImpl { + private final boolean isDeliverThrowableInPacket; @Deprecated public PacketDispatch(QName port, WSServiceDelegate owner, Tube pipe, BindingImpl binding, @Nullable WSEndpointReference epr) { super(port, Mode.MESSAGE, owner, pipe, binding, epr); + isDeliverThrowableInPacket = calculateIsDeliverThrowableInPacket(binding); } @@ -56,10 +60,21 @@ public PacketDispatch(WSPortInfo portInfo, Tube pipe, BindingImpl binding, WSEndpointReference epr, boolean allowFaultResponseMsg) { super(portInfo, Mode.MESSAGE, pipe, binding, epr, allowFaultResponseMsg); + isDeliverThrowableInPacket = calculateIsDeliverThrowableInPacket(binding); } public PacketDispatch(WSPortInfo portInfo, BindingImpl binding, WSEndpointReference epr) { super(portInfo, Mode.MESSAGE, binding, epr, true); + isDeliverThrowableInPacket = calculateIsDeliverThrowableInPacket(binding); + } + + private boolean calculateIsDeliverThrowableInPacket(BindingImpl binding) { + return binding.isFeatureEnabled(ThrowableInPacketCompletionFeature.class); + } + + @Override + protected void configureFiber(Fiber fiber) { + fiber.setDeliverThrowableInPacket(isDeliverThrowableInPacket); } @Override diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/RESTSourceDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/RESTSourceDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/RESTSourceDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPMessageDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPMessageDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPMessageDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPSourceDispatch.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPSourceDispatch.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/SOAPSourceDispatch.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/AsyncMethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/AsyncMethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/AsyncMethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,30 +27,21 @@ //import com.sun.tools.internal.ws.wsdl.document.soap.SOAPBinding; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.databinding.ClientCallBridge; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Fiber; -import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; import com.sun.xml.internal.ws.client.AsyncInvoker; import com.sun.xml.internal.ws.client.AsyncResponseImpl; import com.sun.xml.internal.ws.client.RequestContext; import com.sun.xml.internal.ws.client.ResponseContext; -import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; -import com.sun.xml.internal.ws.model.JavaMethodImpl; -import com.sun.xml.internal.ws.model.ParameterImpl; -import com.sun.xml.internal.ws.model.WrapperParameter; -import com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo; -import javax.jws.soap.SOAPBinding.Style; import javax.xml.ws.AsyncHandler; import javax.xml.ws.Response; import javax.xml.ws.WebServiceException; import java.lang.reflect.Method; -import java.util.List; /** * Common part between {@link CallbackMethodHandler} and {@link PollingMethodHandler}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/BodyBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/BodyBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/BodyBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -140,11 +140,20 @@ */ protected final ValueGetter[] getters; + /** + * How does each wrapped parameter binds to XML? + */ + protected XMLBridge[] parameterBridges; + + /** + * List of Parameters packed in the body. + * Only used for error diagnostics. + */ + protected List children; + protected Wrapped(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp.getXMLBridge(), soapVersion); - - List children = wp.getWrapperChildren(); - + children = wp.getWrapperChildren(); indices = new int[children.size()]; getters = new ValueGetter[children.size()]; for( int i=0; i=0; i-- ) { + Object arg = getters[i].get(methodArgs[indices[i]]); + if(arg==null) { + throw new WebServiceException("Method Parameter: "+ + children.get(i).getName()+" cannot be null. This is BP 1.1 R2211 violation."); + } + cs.values[i] = arg; + } + + return cs; + } } /** @@ -174,6 +204,7 @@ * Needed to get wrapper instantiation method. */ private BindingContext bindingContext; + private boolean dynamicWrapper; /** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. @@ -181,21 +212,24 @@ DocLit(WrapperParameter wp, SOAPVersion soapVersion, ValueGetterFactory getter) { super(wp, soapVersion, getter); bindingContext = wp.getOwner().getBindingContext(); - wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; - - List children = wp.getWrapperChildren(); - + dynamicWrapper = WrapperComposite.class.equals(wrapper); + parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i children; /** * Creates a {@link BodyBuilder} from a {@link WrapperParameter}. @@ -261,32 +286,13 @@ // we'll use CompositeStructure to pack requests assert wp.getTypeInfo().type==WrapperComposite.class; - this.children = wp.getWrapperChildren(); - parameterBridges = new XMLBridge[children.size()]; for( int i=0; i=0; i-- ) { - Object arg = getters[i].get(methodArgs[indices[i]]); - if(arg==null) { - throw new WebServiceException("Method Parameter: "+ - children.get(i).getName()+" cannot be null. This is BP 1.1 R2211 violation."); - } - cs.values[i] = arg; - } - - return cs; + Object build(Object[] methodArgs) { + return buildWrapperComposite(methodArgs); } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/CallbackMethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/CallbackMethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/CallbackMethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MessageFiller.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MessageFiller.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MessageFiller.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/MethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/PollingMethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/PollingMethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/PollingMethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ResponseBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ResponseBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ResponseBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -35,6 +35,7 @@ import com.sun.xml.internal.ws.model.ParameterImpl; import com.sun.xml.internal.ws.model.WrapperParameter; import com.sun.xml.internal.ws.resources.ServerMessages; +import com.sun.xml.internal.ws.spi.db.RepeatedElementBridge; import com.sun.xml.internal.ws.spi.db.XMLBridge; import com.sun.xml.internal.ws.spi.db.DatabindingException; import com.sun.xml.internal.ws.spi.db.PropertyAccessor; @@ -95,9 +96,80 @@ */ public abstract Object readResponse(Message reply, Object[] args) throws JAXBException, XMLStreamException; + static final class WrappedPartBuilder { + private final XMLBridge bridge; + private final ValueSetter setter; + public WrappedPartBuilder(XMLBridge bridge, ValueSetter setter) { + this.bridge = bridge; + this.setter = setter; + } + final Object readResponse(Object[] args, XMLStreamReader r, AttachmentSet att) throws JAXBException { + Object obj; + AttachmentUnmarshallerImpl au = (att != null)?new AttachmentUnmarshallerImpl(att):null; + if (bridge instanceof RepeatedElementBridge) { + RepeatedElementBridge rbridge = (RepeatedElementBridge)bridge; + ArrayList list = new ArrayList(); + QName name = r.getName(); + while (r.getEventType()==XMLStreamReader.START_ELEMENT && name.equals(r.getName())) { + list.add(rbridge.unmarshal(r, au)); + XMLStreamReaderUtil.toNextTag(r, name); + } + obj = rbridge.collectionHandler().convert(list); + } else { + obj = bridge.unmarshal(r, au); + } + return setter.put(obj,args); + } + } + /** + * {@link ResponseBuilder.PartBuilder} keyed by the element name (inside the wrapper element.) + */ + protected Map wrappedParts = null; + protected QName wrapperName; + + protected Object readWrappedResponse(Message msg, Object[] args) throws JAXBException, XMLStreamException { + Object retVal = null; + + if (!msg.hasPayload()) { + throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); + } + XMLStreamReader reader = msg.readPayload(); + XMLStreamReaderUtil.verifyTag(reader,wrapperName); + reader.nextTag(); + + while(reader.getEventType()==XMLStreamReader.START_ELEMENT) { + // TODO: QName has a performance issue + WrappedPartBuilder part = wrappedParts.get(reader.getName()); + if(part==null) { + // no corresponding part found. ignore + XMLStreamReaderUtil.skipElement(reader); + reader.nextTag(); + } else { + Object o = part.readResponse(args,reader, msg.getAttachments()); + // there's only at most one ResponseBuilder that returns a value. + if(o!=null) { + assert retVal==null; + retVal = o; + } + } + // skip any whitespace + if (reader.getEventType() != XMLStreamConstants.START_ELEMENT && + reader.getEventType() != XMLStreamConstants.END_ELEMENT) { + XMLStreamReaderUtil.nextElementContent(reader); + } + } + + // we are done with the body + reader.close(); + XMLStreamReaderFactory.recycle(reader); + + return retVal; + } + static final class None extends ResponseBuilder { private None(){ } + @Override public Object readResponse(Message msg, Object[] args) { msg.consume(); return null; @@ -108,7 +180,7 @@ * The singleton instance that produces null return value. * Used for operations that doesn't have any output. */ - public static ResponseBuilder NONE = new None(); + public final static ResponseBuilder NONE = new None(); /** * Returns the 'uninitialized' value for the given type. @@ -116,6 +188,7 @@ *

    * For primitive types, it's '0', and for reference types, it's null. */ + @SuppressWarnings("element-type-mismatch") public static Object getVMUninitializedValue(Type type) { // if this map returns null, that means the 'type' is a reference type, // in which case 'null' is the correct null value, so this code is correct. @@ -147,6 +220,7 @@ this.nullValue = nullValue; this.setter = setter; } + @Override public Object readResponse(Message msg, Object[] args) { return setter.put(nullValue, args); } @@ -178,6 +252,7 @@ this(builders.toArray(new ResponseBuilder[builders.size()])); } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException, XMLStreamException { Object retVal = null; for (ResponseBuilder builder : builders) { @@ -238,6 +313,7 @@ } } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException, XMLStreamException { // TODO not to loop for (Attachment att : msg.getAttachments()) { @@ -260,6 +336,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { return setter.put(att.asDataHandler(), args); } @@ -270,6 +347,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { att.getContentType(); StringDataContentHandler sdh = new StringDataContentHandler(); @@ -288,6 +366,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { return setter.put(att.asByteArray(), args); } @@ -298,6 +377,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { return setter.put(att.asSource(), args); } @@ -308,6 +388,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { Image image; InputStream is = null; @@ -334,6 +415,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) { return setter.put(att.asInputStream(), args); } @@ -344,6 +426,7 @@ super(param, setter); } + @Override Object mapAttachment(Attachment att, Object[] args) throws JAXBException { Object obj = param.getXMLBridge().unmarshal(att.asInputStream()); return setter.put(obj, args); @@ -375,6 +458,7 @@ * @return null * if the parsing fails. */ + @SuppressWarnings("FinalStaticMethod") public static final String getWSDLPartName(com.sun.xml.internal.ws.api.message.Attachment att){ String cId = att.getContentId(); @@ -440,6 +524,7 @@ } } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException { com.sun.xml.internal.ws.api.message.Header header = null; Iterator it = @@ -477,6 +562,7 @@ this.setter = setter; } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException { return setter.put( msg.readPayloadAsJAXB(bridge), args ); } @@ -494,41 +580,50 @@ private final XMLBridge wrapper; - private final QName wrapperName; + private boolean dynamicWrapper; public DocLit(WrapperParameter wp, ValueSetterFactory setterFactory) { wrapperName = wp.getName(); wrapper = wp.getXMLBridge(); Class wrapperType = (Class) wrapper.getTypeInfo().type; + dynamicWrapper = WrapperComposite.class.equals(wrapperType); - List parts = new ArrayList(); + List tempParts = new ArrayList(); List children = wp.getWrapperChildren(); for (ParameterImpl p : children) { if(p.isIN()) continue; QName name = p.getName(); - try { - parts.add( new PartBuilder( - wp.getOwner().getBindingContext().getElementPropertyAccessor( - wrapperType, - name.getNamespaceURI(), - p.getName().getLocalPart()), - setterFactory.get(p) - )); - // wrapper parameter itself always bind to body, and - // so do all its children - assert p.getBinding()== ParameterBinding.BODY; - } catch (JAXBException e) { - throw new WebServiceException( // TODO: i18n - wrapperType+" do not have a property of the name "+name,e); + if (dynamicWrapper) { + if (wrappedParts == null) wrappedParts = new HashMap(); + XMLBridge xmlBridge = p.getInlinedRepeatedElementBridge(); + if (xmlBridge == null) xmlBridge = p.getXMLBridge(); + wrappedParts.put( p.getName(), new WrappedPartBuilder(xmlBridge, setterFactory.get(p))); + } else { + try { + tempParts.add(new PartBuilder( + wp.getOwner().getBindingContext().getElementPropertyAccessor( + wrapperType, + name.getNamespaceURI(), + p.getName().getLocalPart()), + setterFactory.get(p) + )); + // wrapper parameter itself always bind to body, and + // so do all its children + assert p.getBinding()== ParameterBinding.BODY; + } catch (JAXBException e) { + throw new WebServiceException( // TODO: i18n + wrapperType+" do not have a property of the name "+name,e); + } } } - - this.parts = parts.toArray(new PartBuilder[parts.size()]); + this.parts = tempParts.toArray(new PartBuilder[tempParts.size()]); } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException, XMLStreamException { + if (dynamicWrapper) return readWrappedResponse(msg, args); Object retVal = null; if (parts.length>0) { @@ -599,20 +694,13 @@ * and processes all such wrapped parts. */ public static final class RpcLit extends ResponseBuilder { - /** - * {@link PartBuilder} keyed by the element name (inside the wrapper element.) - */ - private final Map parts = new HashMap(); - - private QName wrapperName; - public RpcLit(WrapperParameter wp, ValueSetterFactory setterFactory) { assert wp.getTypeInfo().type== WrapperComposite.class; - wrapperName = wp.getName(); + wrappedParts = new HashMap(); List children = wp.getWrapperChildren(); for (ParameterImpl p : children) { - parts.put( p.getName(), new PartBuilder( + wrappedParts.put( p.getName(), new WrappedPartBuilder( p.getXMLBridge(), setterFactory.get(p) )); // wrapper parameter itself always bind to body, and @@ -621,70 +709,9 @@ } } + @Override public Object readResponse(Message msg, Object[] args) throws JAXBException, XMLStreamException { - Object retVal = null; - - if (!msg.hasPayload()) { - throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); - } - XMLStreamReader reader = msg.readPayload(); - XMLStreamReaderUtil.verifyTag(reader,wrapperName); - reader.nextTag(); - - while(reader.getEventType()==XMLStreamReader.START_ELEMENT) { - // TODO: QName has a performance issue - PartBuilder part = parts.get(reader.getName()); - if(part==null) { - // no corresponding part found. ignore - XMLStreamReaderUtil.skipElement(reader); - reader.nextTag(); - } else { - Object o = part.readResponse(args,reader, msg.getAttachments()); - // there's only at most one ResponseBuilder that returns a value. - if(o!=null) { - assert retVal==null; - retVal = o; - } - } - // skip any whitespace - if (reader.getEventType() != XMLStreamConstants.START_ELEMENT && - reader.getEventType() != XMLStreamConstants.END_ELEMENT) { - XMLStreamReaderUtil.nextElementContent(reader); - } - } - - // we are done with the body - reader.close(); - XMLStreamReaderFactory.recycle(reader); - - return retVal; - } - - /** - * Unmarshals each wrapped part into a JAXB object and moves it - * to the expected place. - */ - static final class PartBuilder { - private final XMLBridge bridge; - private final ValueSetter setter; - - /** - * @param bridge - * specifies how the part is unmarshalled. - * @param setter - * specifies how the obtained value is returned to the client. - */ - public PartBuilder(XMLBridge bridge, ValueSetter setter) { - this.bridge = bridge; - this.setter = setter; - } - - final Object readResponse(Object[] args, XMLStreamReader r, AttachmentSet att) throws JAXBException { - Object obj = bridge.unmarshal(r, (att != null)?new AttachmentUnmarshallerImpl(att):null); - return setter.put(obj,args); - } - - + return readWrappedResponse(msg, args); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIMethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIMethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIMethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -95,7 +95,7 @@ {// prepare objects for creating messages List rp = method.getRequestParameters(); - BodyBuilder bodyBuilder = null; + BodyBuilder tmpBodyBuilder = null; List fillers = new ArrayList(); for (ParameterImpl param : rp) { @@ -105,11 +105,11 @@ case BODY: if(param.isWrapperStyle()) { if(param.getParent().getBinding().isRpcLit()) - bodyBuilder = new BodyBuilder.RpcLit((WrapperParameter)param, owner.soapVersion, getValueGetterFactory()); + tmpBodyBuilder = new BodyBuilder.RpcLit((WrapperParameter)param, owner.soapVersion, getValueGetterFactory()); else - bodyBuilder = new BodyBuilder.DocLit((WrapperParameter)param, owner.soapVersion, getValueGetterFactory()); + tmpBodyBuilder = new BodyBuilder.DocLit((WrapperParameter)param, owner.soapVersion, getValueGetterFactory()); } else { - bodyBuilder = new BodyBuilder.Bare(param, owner.soapVersion, getter); + tmpBodyBuilder = new BodyBuilder.Bare(param, owner.soapVersion, getter); } break; case HEADER: @@ -128,21 +128,21 @@ } } - if(bodyBuilder==null) { + if(tmpBodyBuilder==null) { // no parameter binds to body. we create an empty message switch(owner.soapVersion) { case SOAP_11: - bodyBuilder = BodyBuilder.EMPTY_SOAP11; + tmpBodyBuilder = BodyBuilder.EMPTY_SOAP11; break; case SOAP_12: - bodyBuilder = BodyBuilder.EMPTY_SOAP12; + tmpBodyBuilder = BodyBuilder.EMPTY_SOAP12; break; default: throw new AssertionError(); } } - this.bodyBuilder = bodyBuilder; + this.bodyBuilder = tmpBodyBuilder; this.inFillers = fillers.toArray(new MessageFiller[fillers.size()]); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIStub.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIStub.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SEIStub.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -38,8 +38,9 @@ import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.pipe.Fiber; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; import com.sun.xml.internal.ws.binding.BindingImpl; -import com.sun.xml.internal.ws.client.AsyncResponseImpl; import com.sun.xml.internal.ws.client.*; import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.xml.internal.ws.model.SOAPSEIModel; @@ -131,21 +132,26 @@ private final Map methodHandlers = new HashMap(); public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { - MethodHandler handler = methodHandlers.get(method); - if (handler != null) { - return handler.invoke(proxy, args); - } else { - // we handle the other method invocations by ourselves - try { - return method.invoke(this, args); - } catch (IllegalAccessException e) { - // impossible - throw new AssertionError(e); - } catch (IllegalArgumentException e) { - throw new AssertionError(e); - } catch (InvocationTargetException e) { - throw e.getCause(); + Container old = ContainerResolver.getDefault().enterContainer(owner.getContainer()); + try { + MethodHandler handler = methodHandlers.get(method); + if (handler != null) { + return handler.invoke(proxy, args); + } else { + // we handle the other method invocations by ourselves + try { + return method.invoke(this, args); + } catch (IllegalAccessException e) { + // impossible + throw new AssertionError(e); + } catch (IllegalArgumentException e) { + throw new AssertionError(e); + } catch (InvocationTargetException e) { + throw e.getCause(); + } } + } finally { + ContainerResolver.getDefault().exitContainer(old); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubAsyncHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubAsyncHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubAsyncHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 @@ -28,6 +28,8 @@ import java.util.List; import javax.jws.soap.SOAPBinding.Style; + +import com.sun.xml.internal.ws.api.message.MessageContextFactory; import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.xml.internal.ws.model.ParameterImpl; import com.sun.xml.internal.ws.model.WrapperParameter; @@ -36,8 +38,8 @@ private final Class asyncBeanClass; - public StubAsyncHandler(JavaMethodImpl jm, JavaMethodImpl sync) { - super(sync); + public StubAsyncHandler(JavaMethodImpl jm, JavaMethodImpl sync, MessageContextFactory mcf) { + super(sync, mcf); List rp = sync.getResponseParameters(); int size = 0; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/StubHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,10 +25,11 @@ package com.sun.xml.internal.ws.client.sei; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.databinding.ClientCallBridge; -import com.sun.xml.internal.ws.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageContextFactory; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; @@ -53,7 +54,7 @@ *

      *
    1. Accepts Object[] that represents arguments for a Java method, * and creates {@link com.sun.xml.internal.ws.message.jaxb.JAXBMessage} that represents a request message. - *
    2. Takes a {@link com.sun.xml.internal.ws.api.message.Message] that represents a response, + *
    3. Takes a {@link com.sun.xml.internal.ws.api.message.Message} that represents a response, * and extracts the return value (and updates {@link javax.xml.ws.Holder }s.) *
    * @@ -78,8 +79,9 @@ protected final Map checkedExceptions; protected SOAPVersion soapVersion = SOAPVersion.SOAP_11; protected ResponseBuilder responseBuilder; + protected MessageContextFactory packetFactory; - public StubHandler(JavaMethodImpl method) { + public StubHandler(JavaMethodImpl method, MessageContextFactory mcf) { //keep all the CheckedException model for the detail qname this.checkedExceptions = new HashMap(); for(CheckedExceptionImpl ce : method.getCheckedExceptions()){ @@ -93,6 +95,7 @@ this.soapAction = soapActionFromBinding; } this.javaMethod = method; + packetFactory = mcf; soapVersion = javaMethod.getBinding().getSOAPVersion(); @@ -210,12 +213,13 @@ * @param args proxy invocation arguments * @return Message for the arguments */ - public Packet createRequestPacket(JavaCallInfo call) { - Message msg = bodyBuilder.createMessage(call.getParameters()); + public Packet createRequestPacket(JavaCallInfo args) { + Message msg = bodyBuilder.createMessage(args.getParameters()); - for (MessageFiller filler : inFillers) filler.fillIn(call.getParameters(),msg); + for (MessageFiller filler : inFillers) filler.fillIn(args.getParameters(),msg); - Packet req = new Packet(msg); + Packet req = (Packet)packetFactory.createContext(msg); + req.setState(Packet.State.ClientRequest); req.soapAction = soapAction; req.expectReply = !isOneWay; req.getMessage().assertOneWay(isOneWay); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SyncMethodHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SyncMethodHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/SyncMethodHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,30 +25,19 @@ package com.sun.xml.internal.ws.client.sei; -import com.sun.xml.internal.ws.api.databinding.ClientCallBridge; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.client.RequestContext; import com.sun.xml.internal.ws.client.ResponseContextReceiver; import com.sun.xml.internal.ws.encoding.soap.DeserializationException; -import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import com.sun.xml.internal.ws.message.jaxb.JAXBMessage; -import com.sun.xml.internal.ws.model.CheckedExceptionImpl; -import com.sun.xml.internal.ws.model.JavaMethodImpl; -import com.sun.xml.internal.ws.model.ParameterImpl; -import com.sun.xml.internal.ws.model.WrapperParameter; -import com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo; import javax.xml.bind.JAXBException; -import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamException; import javax.xml.ws.Holder; import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; /** * {@link MethodHandler} that handles synchronous method invocations. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetterFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetterFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueGetterFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetterFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetterFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ValueSetterFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/pacakge-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/pacakge-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/pacakge-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/commons/xmlutil/Converter.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/commons/xmlutil/Converter.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,193 @@ +/* + * Copyright (c) 1997, 2013, 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.commons.xmlutil; + +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.Messages; +import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.util.xml.XmlUtil; + +import javax.xml.stream.*; +import javax.xml.xpath.XPathFactoryConfigurationException; +import java.io.*; +import java.lang.reflect.Constructor; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.logging.Level; + +/** + * Utility class that provides conversion of different XML representations + * from/to various other formats + * + * @author Marek Potociar + */ +public final class Converter { + + public static final String UTF_8 = "UTF-8"; + + private Converter() { + // prevents instantiation + } + private static final Logger LOGGER = Logger.getLogger(Converter.class); + private static final XMLOutputFactory xmlOutputFactory = XMLOutputFactory.newInstance(); + private static final AtomicBoolean logMissingStaxUtilsWarning = new AtomicBoolean(false); + + /** + * Converts a throwable to String + * + * @param throwable + * @return String representation of throwable + */ + public static String toString(Throwable throwable) { + if (throwable == null) { + return "[ No exception ]"; + } + + StringWriter stringOut = new StringWriter(); + throwable.printStackTrace(new PrintWriter(stringOut)); + + return stringOut.toString(); + } + + public static String toString(Packet packet) { + if (packet == null) { + return "[ Null packet ]"; + } else if (packet.getMessage() == null) { + return "[ Empty packet ]"; + } + + return toString(packet.getMessage()); + + } + + public static String toString(Message message) { + if (message == null) { + return "[ Null message ]"; + } + StringWriter stringOut = null; + try { + stringOut = new StringWriter(); + XMLStreamWriter writer = null; + try { + writer = xmlOutputFactory.createXMLStreamWriter(stringOut); + writer = createIndenter(writer); + message.copy().writeTo(writer); + } catch (Exception e) { // WSIT-1596 - Message Dumping should not affect other processing + LOGGER.log(Level.WARNING, "Unexpected exception occured while dumping message", e); + } finally { + if (writer != null) { + try { + writer.close(); + } catch (XMLStreamException ignored) { + LOGGER.fine("Unexpected exception occured while closing XMLStreamWriter", ignored); + } + } + } + return stringOut.toString(); + } finally { + if (stringOut != null) { + try { + stringOut.close(); + } catch (IOException ex) { + LOGGER.finest("An exception occured when trying to close StringWriter", ex); + } + } + } + } + + public static byte[] toBytes(Message message, String encoding) throws XMLStreamException { + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + + try { + if (message != null) { + XMLStreamWriter xsw = xmlOutputFactory.createXMLStreamWriter(baos, encoding); + try { + message.writeTo(xsw); + } finally { + try { + xsw.close(); + } catch (XMLStreamException ex) { + LOGGER.warning("Unexpected exception occured while closing XMLStreamWriter", ex); + } + } + } + + return baos.toByteArray(); + } finally { + try { + baos.close(); + } catch (IOException ex) { + LOGGER.warning("Unexpected exception occured while closing ByteArrayOutputStream", ex); + } + } + } + + /** + * Converts JAX-WS RI message represented as input stream back to Message + * object. + * + * @param dataStream message data stream + * @param encoding message data stream encoding + * + * @return {@link com.sun.xml.internal.ws.api.message.Message} object created from the data stream + */ + public static Message toMessage(@NotNull InputStream dataStream, String encoding) throws XMLStreamException { + XMLStreamReader xsr = XmlUtil.newXMLInputFactory(true).createXMLStreamReader(dataStream, encoding); + return Messages.create(xsr); + } + + public static String messageDataToString(final byte[] data, final String encoding) { + try { + return toString(toMessage(new ByteArrayInputStream(data), encoding)); + // closing ByteArrayInputStream has no effect, so ignoring the redundant call + } catch (XMLStreamException ex) { + LOGGER.warning("Unexpected exception occured while converting message data to string", ex); + return "[ Message Data Conversion Failed ]"; + } + } + + /** + * Wraps {@link javax.xml.stream.XMLStreamWriter} by an indentation engine if possible. + * + *

    + * We can do this only when we have stax-utils.jar in the class path. + */ + private static XMLStreamWriter createIndenter(XMLStreamWriter writer) { + try { + Class clazz = Converter.class.getClassLoader().loadClass("javanet.staxutils.IndentingXMLStreamWriter"); + Constructor c = clazz.getConstructor(XMLStreamWriter.class); + writer = XMLStreamWriter.class.cast(c.newInstance(writer)); + } catch (Exception ex) { + // if stax-utils.jar is not in the classpath, this will fail + // so, we'll just have to do without indentation + if (logMissingStaxUtilsWarning.compareAndSet(false, true)) { + LOGGER.log(Level.WARNING, "Put stax-utils.jar to the classpath to indent the dump output", ex); + } + } + return writer; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementAssertionCreator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementAssertionCreator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementAssertionCreator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPolicyValidator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPolicyValidator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPolicyValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPrefixMapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPrefixMapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/config/management/policy/ManagementPrefixMapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/config/metro/dev/FeatureReader.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/config/metro/dev/FeatureReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +/* + * 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.config.metro.dev; + +import javax.xml.namespace.QName; +import javax.xml.stream.XMLEventReader; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + +/** + * Parses a XML fragment and is expected to return a corresponding WebServiceFeature. + * + * @author Fabian Ritzmann + */ +public interface FeatureReader { + + public static final QName ENABLED_ATTRIBUTE_NAME = new QName("enabled"); + + /** + * Parse an XML stream and return the corresponding WebServiceFeature instance. + */ + public T parse(XMLEventReader reader) throws WebServiceException; + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/config/metro/util/ParserUtil.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/config/metro/util/ParserUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,63 @@ +/* + * 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.config.metro.util; + +import com.sun.istack.internal.logging.Logger; + +import javax.xml.ws.WebServiceException; + +/** + * + * @author Fabian Ritzmann + */ +public class ParserUtil { + + private static final Logger LOGGER = Logger.getLogger(ParserUtil.class); + + private ParserUtil() { + } + + /** + * Return true if the value is "true" or "1". Return false if the value is + * "false" or "0". Throw an exception otherwise. The test is case sensitive. + * + * @param value The String representation of the value. Must not be null. + * @return True if the value is "true" or "1". False if the value is + * "false" or "0". + * @throws PolicyException If the value is not "true", "false", "0" or "1". + */ + public static boolean parseBooleanValue(String value) throws WebServiceException { + if ("true".equals(value) || "1".equals(value)) { + return true; + } + else if ("false".equals(value) || "0".equals(value)) { + return false; + } + // TODO logging message + throw LOGGER.logSevereException(new WebServiceException("invalid boolean value")); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingFactoryImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingFactoryImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingFactoryImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,7 +25,6 @@ package com.sun.xml.internal.ws.db; -import java.io.File; import java.io.InputStream; import java.net.URL; import java.util.HashMap; @@ -38,19 +37,17 @@ import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; -import com.sun.xml.internal.org.jvnet.ws.databinding.Databinding; -import com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingModeFeature; -import com.sun.xml.internal.org.jvnet.ws.databinding.Databinding.Builder; -import com.sun.xml.internal.org.jvnet.ws.databinding.Databinding.WSDLGenerator; import org.xml.sax.EntityResolver; +import com.oracle.webservices.internal.api.databinding.Databinding; +import com.oracle.webservices.internal.api.databinding.Databinding.Builder; +import com.oracle.webservices.internal.api.databinding.WSDLGenerator; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; import com.sun.xml.internal.ws.api.databinding.DatabindingFactory; -import com.sun.xml.internal.ws.api.databinding.WSDLGenInfo; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.spi.db.DatabindingException; import com.sun.xml.internal.ws.spi.db.DatabindingProvider; import com.sun.xml.internal.ws.util.ServiceFinder; @@ -115,7 +112,7 @@ return provider.create(config); } - public Databinding.WSDLGenerator createWsdlGen(DatabindingConfig config) { + public WSDLGenerator createWsdlGen(DatabindingConfig config) { DatabindingProvider provider = provider(config); return provider.wsdlGen(config); } @@ -145,8 +142,8 @@ config.getMappingInfo().getDatabindingMode() != null) return config.getMappingInfo().getDatabindingMode(); if ( config.getFeatures() != null) for (WebServiceFeature f : config.getFeatures()) { - if (f instanceof DatabindingModeFeature) { - DatabindingModeFeature dmf = (DatabindingModeFeature) f; + if (f instanceof com.oracle.webservices.internal.api.databinding.DatabindingModeFeature) { + com.oracle.webservices.internal.api.databinding.DatabindingModeFeature dmf = (com.oracle.webservices.internal.api.databinding.DatabindingModeFeature) f; return dmf.getMode(); } } @@ -235,16 +232,19 @@ if (isfor(WSDLPort.class, name, value)) { config.setWsdlPort((WSDLPort)value); } + if (isfor(MetadataReader.class, name, value)) { + config.setMetadataReader((MetadataReader)value); + } return this; } boolean isfor(Class type, String name, Object value) { return type.getName().equals(name) && type.isInstance(value); } - public com.sun.xml.internal.org.jvnet.ws.databinding.Databinding build() { + public com.oracle.webservices.internal.api.databinding.Databinding build() { return factory.createRuntime(config); } - public WSDLGenerator createWSDLGenerator() { + public com.oracle.webservices.internal.api.databinding.WSDLGenerator createWSDLGenerator() { return factory.createWsdlGen(config); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,21 +32,21 @@ import java.util.HashMap; import java.util.Map; -import javax.xml.namespace.QName; import javax.xml.ws.WebServiceFeature; -import com.sun.xml.internal.org.jvnet.ws.message.MessageContext; - +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; +import com.oracle.webservices.internal.api.message.MessageContext; import com.sun.xml.internal.ws.api.databinding.EndpointCallBridge; -import com.sun.xml.internal.ws.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.databinding.WSDLGenInfo; import com.sun.xml.internal.ws.api.databinding.Databinding; import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; import com.sun.xml.internal.ws.api.databinding.ClientCallBridge; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageContextFactory; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.MEP; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.pipe.Codec; import com.sun.xml.internal.ws.api.pipe.ContentType; @@ -57,7 +57,6 @@ import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.xml.internal.ws.model.RuntimeModeler; import com.sun.xml.internal.ws.server.sei.TieHandler; -import com.sun.xml.internal.ws.util.QNameMap; import com.sun.xml.internal.ws.wsdl.ActionBasedOperationSignature; import com.sun.xml.internal.ws.wsdl.DispatchException; import com.sun.xml.internal.ws.wsdl.OperationDispatcher; @@ -67,22 +66,25 @@ * * @author shih-chang.chen@oracle.com */ -public class DatabindingImpl implements Databinding, com.sun.xml.internal.org.jvnet.ws.databinding.Databinding { +public class DatabindingImpl implements Databinding { AbstractSEIModelImpl seiModel; Map stubHandlers; - QNameMap wsdlOpMap = new QNameMap(); +// QNameMap wsdlOpMap = new QNameMap(); + Map wsdlOpMap = new HashMap(); Map tieHandlers = new HashMap(); OperationDispatcher operationDispatcher; OperationDispatcher operationDispatcherNoWsdl; boolean clientConfig = false; Codec codec; + MessageContextFactory packetFactory = null; public DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config) { RuntimeModeler modeler = new RuntimeModeler(config); modeler.setClassLoader(config.getClassLoader()); seiModel = modeler.buildRuntimeModel(); WSDLPort wsdlport = config.getWsdlPort(); + packetFactory = new MessageContextFactory(seiModel.getWSBinding().getFeatures()); clientConfig = isClientConfig(config); if ( clientConfig ) initStubHandlers(); seiModel.setDatabinding(this); @@ -90,8 +92,8 @@ if (operationDispatcher == null) operationDispatcherNoWsdl = new OperationDispatcher(null, seiModel.getWSBinding(), seiModel); // if(!clientConfig) { for(JavaMethodImpl jm: seiModel.getJavaMethods()) if (!jm.isAsync()) { - TieHandler th = new TieHandler(jm, seiModel.getWSBinding()); - wsdlOpMap.put(jm.getOperationQName(), th); + TieHandler th = new TieHandler(jm, seiModel.getWSBinding(), packetFactory); + wsdlOpMap.put(jm, th); tieHandlers.put(th.getMethod(), th); } // } @@ -121,7 +123,7 @@ // first fill in sychronized versions for (JavaMethodImpl m : seiModel.getJavaMethods()) { if (!m.getMEP().isAsync) { - StubHandler handler = new StubHandler(m); + StubHandler handler = new StubHandler(m, packetFactory); syncs.put(m.getOperationSignature(), m); stubHandlers.put(m.getMethod(), handler); } @@ -130,22 +132,24 @@ JavaMethodImpl sync = syncs.get(jm.getOperationSignature()); if (jm.getMEP() == MEP.ASYNC_CALLBACK || jm.getMEP() == MEP.ASYNC_POLL) { Method m = jm.getMethod(); - StubAsyncHandler handler = new StubAsyncHandler(jm, sync); + StubAsyncHandler handler = new StubAsyncHandler(jm, sync, packetFactory); stubHandlers.put(m, handler); } } } - public QName resolveOperationQName(Packet req) throws DispatchException { - return (operationDispatcher != null)? - operationDispatcher.getWSDLOperationQName(req): - operationDispatcherNoWsdl.getWSDLOperationQName(req); + public JavaMethodImpl resolveJavaMethod(Packet req) throws DispatchException { + WSDLOperationMapping m = req.getWSDLOperationMapping(); + if (m == null) m = (operationDispatcher != null) ? + operationDispatcher.getWSDLOperationMapping(req): + operationDispatcherNoWsdl.getWSDLOperationMapping(req); + return (JavaMethodImpl) m.getJavaMethod(); } public JavaCallInfo deserializeRequest(Packet req) { - JavaCallInfo call = new JavaCallInfo(); + com.sun.xml.internal.ws.api.databinding.JavaCallInfo call = new com.sun.xml.internal.ws.api.databinding.JavaCallInfo(); try { - QName wsdlOp = resolveOperationQName(req); + JavaMethodImpl wsdlOp = resolveJavaMethod(req); TieHandler tie = wsdlOpMap.get(wsdlOp); call.setMethod(tie.getMethod()); Object[] args = tie.readRequest(req.getMessage()); @@ -173,7 +177,9 @@ public Packet serializeRequest(JavaCallInfo call) { StubHandler stubHandler = stubHandlers.get(call.getMethod()); - return stubHandler.createRequestPacket(call); + Packet p = stubHandler.createRequestPacket(call); + p.setState(Packet.State.ClientRequest); + return p; } public Packet serializeResponse(JavaCallInfo call) { @@ -188,9 +194,9 @@ if (call.getException() instanceof DispatchException) { message = ((DispatchException)call.getException()).fault; } - Packet response = new Packet(); - response.setMessage(message); - return response; + Packet p = (Packet)packetFactory.createContext(message); + p.setState(Packet.State.ServerResponse); + return p; } public ClientCallBridge getClientBridge(Method method) { @@ -205,12 +211,13 @@ seiModel.getWSBinding(), info.getContainer(), seiModel.getEndpointClass(), info.isInlineSchemas(), - info.getExtensions()); + info.isSecureXmlProcessingDisabled(), + info.getExtensions()); wsdlGen.doGeneration(); } public EndpointCallBridge getEndpointBridge(Packet req) throws DispatchException { - QName wsdlOp = resolveOperationQName(req); + JavaMethodImpl wsdlOp = resolveJavaMethod(req); return wsdlOpMap.get(wsdlOp); } @@ -228,24 +235,20 @@ getCodec().decode(in, ct, p); } - public com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo createJavaCallInfo(Method method, Object[] args) { - return new JavaCallInfo(method, args); + public com.oracle.webservices.internal.api.databinding.JavaCallInfo createJavaCallInfo(Method method, Object[] args) { + return new com.sun.xml.internal.ws.api.databinding.JavaCallInfo(method, args); } - public MessageContext serializeRequest(com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo call) { - return serializeRequest((JavaCallInfo)call); - } - - public com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo deserializeResponse( - MessageContext message, com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo call) { + public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeResponse( + MessageContext message, com.oracle.webservices.internal.api.databinding.JavaCallInfo call) { return deserializeResponse((Packet)message, (JavaCallInfo)call); } - public com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo deserializeRequest(MessageContext message) { + public com.oracle.webservices.internal.api.databinding.JavaCallInfo deserializeRequest(MessageContext message) { return deserializeRequest((Packet)message); } - public MessageContext serializeResponse(com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo call) { - return serializeResponse((JavaCallInfo)call); + public MessageContextFactory getMessageContextFactory() { + return packetFactory; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingProviderImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingProviderImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/DatabindingProviderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,8 +28,8 @@ import java.io.File; import java.util.Map; -import com.sun.xml.internal.org.jvnet.ws.databinding.Databinding.WSDLGenerator; - +import com.oracle.webservices.internal.api.databinding.WSDLGenerator; +import com.oracle.webservices.internal.api.databinding.WSDLResolver; import com.sun.xml.internal.ws.api.databinding.Databinding; import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; import com.sun.xml.internal.ws.api.databinding.WSDLGenInfo; @@ -45,7 +45,7 @@ Map properties; public void init(Map p) { - properties = p; + properties = p; } DatabindingImpl getCachedDatabindingImpl(DatabindingConfig config) { @@ -72,7 +72,7 @@ return true; } - static public class JaxwsWsdlGen implements Databinding.WSDLGenerator { + static public class JaxwsWsdlGen implements WSDLGenerator { DatabindingImpl databinding; WSDLGenInfo wsdlGenInfo; @@ -87,12 +87,12 @@ } public WSDLGenerator property(String name, Object value) { - // TODO Auto-generated method stub - return null; + // TODO wsdlGenInfo.set... + return this; } public void generate(WSDLResolver wsdlResolver) { -// wsdlGenInfo.setWsdlResolver(wsdlResolver); + wsdlGenInfo.setWsdlResolver(wsdlResolver); databinding.generateWSDL(wsdlGenInfo); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/BridgeWrapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/BridgeWrapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/BridgeWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -50,37 +50,41 @@ public class BridgeWrapper implements XMLBridge { - private JAXBRIContextWrapper parent; - private com.sun.xml.internal.bind.api.Bridge bridge; + private JAXBRIContextWrapper parent; + private com.sun.xml.internal.bind.api.Bridge bridge; - public BridgeWrapper(JAXBRIContextWrapper p, com.sun.xml.internal.bind.api.Bridge b) { - parent = p; - bridge = b; - } + public BridgeWrapper(JAXBRIContextWrapper p, com.sun.xml.internal.bind.api.Bridge b) { + parent = p; + bridge = b; + } - public BindingContext context() { - return parent; - } + @Override + public BindingContext context() { + return parent; + } - com.sun.xml.internal.bind.api.Bridge getBridge() { - return bridge; - } + com.sun.xml.internal.bind.api.Bridge getBridge() { + return bridge; + } - public boolean equals(Object obj) { - return bridge.equals(obj); - } + @Override + public boolean equals(Object obj) { + return bridge.equals(obj); + } - public JAXBRIContext getContext() { - return bridge.getContext(); - } + public JAXBRIContext getContext() { + return bridge.getContext(); + } - public TypeInfo getTypeInfo() { - return parent.typeInfo(bridge.getTypeReference()); - } + @Override + public TypeInfo getTypeInfo() { + return parent.typeInfo(bridge.getTypeReference()); + } - public int hashCode() { - return bridge.hashCode(); - } + @Override + public int hashCode() { + return bridge.hashCode(); + } // public final void marshal(BridgeContext context, T object, ContentHandler contentHandler) throws JAXBException { // bridge.marshal(context, object, contentHandler); @@ -101,32 +105,32 @@ // public final void marshal(BridgeContext context, T object, XMLStreamWriter output) throws JAXBException { // bridge.marshal(context, object, output); // } - - public void marshal(Marshaller m, T object, ContentHandler contentHandler) throws JAXBException { - bridge.marshal(m, object, contentHandler); - } + public void marshal(Marshaller m, T object, ContentHandler contentHandler) throws JAXBException { + bridge.marshal(m, object, contentHandler); + } - public void marshal(Marshaller m, T object, Node output) throws JAXBException { - bridge.marshal(m, object, output); - } + public void marshal(Marshaller m, T object, Node output) throws JAXBException { + bridge.marshal(m, object, output); + } - public void marshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws JAXBException { - bridge.marshal(m, object, output, nsContext); - } + public void marshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws JAXBException { + bridge.marshal(m, object, output, nsContext); + } - public void marshal(Marshaller m, T object, Result result) throws JAXBException { - bridge.marshal(m, object, result); - } + public void marshal(Marshaller m, T object, Result result) throws JAXBException { + bridge.marshal(m, object, result); + } - public void marshal(Marshaller m, T object, XMLStreamWriter output) throws JAXBException { - bridge.marshal(m, object, output); + public void marshal(Marshaller m, T object, XMLStreamWriter output) throws JAXBException { + bridge.marshal(m, object, output); // bridge.marshal(m, (T) convert(object), output); - } + } - public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { + @Override + public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { // bridge.marshal((T) convert(object), contentHandler, am); - bridge.marshal(object, contentHandler, am); - } + bridge.marshal(object, contentHandler, am); + } // Object convert(Object o) { // return (o instanceof WrapperComposite)? convertWrapper((WrapperComposite)o) : o; @@ -140,44 +144,48 @@ // cs.bridges[i] = ((BridgeWrapper)w.bridges[i]).getBridge(); // return cs; // } - - public void marshal(T object, ContentHandler contentHandler) throws JAXBException { - bridge.marshal(object, contentHandler); + public void marshal(T object, ContentHandler contentHandler) throws JAXBException { + bridge.marshal(object, contentHandler); // bridge.marshal((T) convert(object), contentHandler); - } + } - public void marshal(T object, Node output) throws JAXBException { - bridge.marshal(object, output); + @Override + public void marshal(T object, Node output) throws JAXBException { + bridge.marshal(object, output); // bridge.marshal((T) convert(object), output); - } + } - public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { + @Override + public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { // bridge.marshal((T) convert(object), output, nsContext, am); - bridge.marshal(object, output, nsContext, am); - } + bridge.marshal(object, output, nsContext, am); + } - public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws JAXBException { - bridge.marshal(object, output, nsContext); + public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws JAXBException { + bridge.marshal(object, output, nsContext); // bridge.marshal((T) convert(object), output, nsContext); - } + } - public final void marshal(T object, Result result) throws JAXBException { - bridge.marshal(object, result); - } + @Override + public final void marshal(T object, Result result) throws JAXBException { + bridge.marshal(object, result); + } - public final void marshal(T object, XMLStreamWriter output, - AttachmentMarshaller am) throws JAXBException { - bridge.marshal(object, output, am); - } + @Override + public final void marshal(T object, XMLStreamWriter output, + AttachmentMarshaller am) throws JAXBException { + bridge.marshal(object, output, am); + } - public final void marshal(T object, XMLStreamWriter output) - throws JAXBException { - bridge.marshal(object, output); - } + public final void marshal(T object, XMLStreamWriter output) + throws JAXBException { + bridge.marshal(object, output); + } - public String toString() { - return BridgeWrapper.class.getName() + " : " + bridge.toString(); - } + @Override + public String toString() { + return BridgeWrapper.class.getName() + " : " + bridge.toString(); + } // public final T unmarshal(BridgeContext context, InputStream in) // throws JAXBException { @@ -198,58 +206,62 @@ // throws JAXBException { // return bridge.unmarshal(context, in); // } - - public final T unmarshal(InputStream in) throws JAXBException { - return bridge.unmarshal(in); - } + @Override + public final T unmarshal(InputStream in) throws JAXBException { + return bridge.unmarshal(in); + } - public final T unmarshal(Node n, AttachmentUnmarshaller au) - throws JAXBException { - return bridge.unmarshal(n, au); - } + @Override + public final T unmarshal(Node n, AttachmentUnmarshaller au) + throws JAXBException { + return bridge.unmarshal(n, au); + } - public final T unmarshal(Node n) throws JAXBException { - return bridge.unmarshal(n); - } + public final T unmarshal(Node n) throws JAXBException { + return bridge.unmarshal(n); + } - public final T unmarshal(Source in, AttachmentUnmarshaller au) - throws JAXBException { - return bridge.unmarshal(in, au); - } + @Override + public final T unmarshal(Source in, AttachmentUnmarshaller au) + throws JAXBException { + return bridge.unmarshal(in, au); + } - public final T unmarshal(Source in) throws DatabindingException { - try { - return bridge.unmarshal(in); - } catch (JAXBException e) { - throw new DatabindingException(e); - } + public final T unmarshal(Source in) throws DatabindingException { + try { + return bridge.unmarshal(in); + } catch (JAXBException e) { + throw new DatabindingException(e); } + } - public T unmarshal(Unmarshaller u, InputStream in) throws JAXBException { - return bridge.unmarshal(u, in); - } + public T unmarshal(Unmarshaller u, InputStream in) throws JAXBException { + return bridge.unmarshal(u, in); + } - public T unmarshal(Unmarshaller context, Node n) throws JAXBException { - return bridge.unmarshal(context, n); - } + public T unmarshal(Unmarshaller context, Node n) throws JAXBException { + return bridge.unmarshal(context, n); + } - public T unmarshal(Unmarshaller u, Source in) throws JAXBException { - return bridge.unmarshal(u, in); - } + public T unmarshal(Unmarshaller u, Source in) throws JAXBException { + return bridge.unmarshal(u, in); + } - public T unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException { - return bridge.unmarshal(u, in); - } + public T unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException { + return bridge.unmarshal(u, in); + } - public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) - throws JAXBException { - return bridge.unmarshal(in, au); - } + @Override + public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) + throws JAXBException { + return bridge.unmarshal(in, au); + } - public final T unmarshal(XMLStreamReader in) throws JAXBException { - return bridge.unmarshal(in); - } + public final T unmarshal(XMLStreamReader in) throws JAXBException { + return bridge.unmarshal(in); + } + @Override public boolean supportOutputStream() { return true; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -31,11 +31,8 @@ import java.util.Map; import java.lang.reflect.Type; import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; -import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; import com.sun.xml.internal.bind.api.TypeReference; import com.sun.xml.internal.bind.api.JAXBRIContext; import com.sun.xml.internal.bind.api.CompositeStructure; @@ -49,6 +46,7 @@ import com.sun.xml.internal.ws.spi.db.DatabindingException; import com.sun.xml.internal.ws.spi.db.TypeInfo; import com.sun.xml.internal.ws.spi.db.WrapperComposite; +import java.util.Arrays; /** * JAXBRIContextFactory @@ -57,68 +55,76 @@ */ public class JAXBRIContextFactory extends BindingContextFactory { - public BindingContext newContext(JAXBContext context) { - return new JAXBRIContextWrapper((JAXBRIContext)context, null); - } + @Override + public BindingContext newContext(JAXBContext context) { + return new JAXBRIContextWrapper((JAXBRIContext) context, null); + } - public BindingContext newContext(BindingInfo bi) { - Class[] classes = bi.contentClasses().toArray(new Class[bi.contentClasses().size()]); - for (int i = 0; i < classes.length; i++) if (WrapperComposite.class.equals(classes[i])) - classes[i] = CompositeStructure.class; - Map typeInfoMappings = typeInfoMappings(bi.typeInfos()); - Map subclassReplacements = bi.subclassReplacements(); - String defaultNamespaceRemap = bi.getDefaultNamespace(); - Boolean c14nSupport = (Boolean)bi.properties().get("c14nSupport"); - RuntimeAnnotationReader ar = (RuntimeAnnotationReader)bi.properties().get("com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader"); - JAXBContextFactory jaxbContextFactory = (JAXBContextFactory)bi.properties().get(JAXBContextFactory.class.getName()); + @Override + public BindingContext newContext(BindingInfo bi) { + Class[] classes = bi.contentClasses().toArray(new Class[bi.contentClasses().size()]); + for (int i = 0; i < classes.length; i++) { + if (WrapperComposite.class.equals(classes[i])) { + classes[i] = CompositeStructure.class; + } + } + Map typeInfoMappings = typeInfoMappings(bi.typeInfos()); + Map subclassReplacements = bi.subclassReplacements(); + String defaultNamespaceRemap = bi.getDefaultNamespace(); + Boolean c14nSupport = (Boolean) bi.properties().get("c14nSupport"); + RuntimeAnnotationReader ar = (RuntimeAnnotationReader) bi.properties().get("com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader"); + JAXBContextFactory jaxbContextFactory = (JAXBContextFactory) bi.properties().get(JAXBContextFactory.class.getName()); try { - JAXBRIContext context = (jaxbContextFactory != null)? - jaxbContextFactory.createJAXBContext( - bi.getSEIModel(), - toList(classes), - toList(typeInfoMappings.values())) : - ContextFactory.createContext( - classes, typeInfoMappings.values(), - subclassReplacements, defaultNamespaceRemap, - (c14nSupport != null)? c14nSupport : false, - ar, false, false, false); - return new JAXBRIContextWrapper(context, typeInfoMappings); - } catch (Exception e) { - throw new DatabindingException(e); - } + JAXBRIContext context = (jaxbContextFactory != null) + ? jaxbContextFactory.createJAXBContext( + bi.getSEIModel(), + toList(classes), + toList(typeInfoMappings.values())) + : ContextFactory.createContext( + classes, typeInfoMappings.values(), + subclassReplacements, defaultNamespaceRemap, + (c14nSupport != null) ? c14nSupport : false, + ar, false, false, false); + return new JAXBRIContextWrapper(context, typeInfoMappings); + } catch (Exception e) { + throw new DatabindingException(e); } - + } - private List toList(T[] a) { - List l = new ArrayList(); - for(T t : a) l.add(t); - return l; - } + private List toList(T[] a) { + List l = new ArrayList(); + l.addAll(Arrays.asList(a)); + return l; + } - private List toList(Collection col) { - if (col instanceof List) return (List) col; - List l = new ArrayList(); - l.addAll(col); - return l; + private List toList(Collection col) { + if (col instanceof List) { + return (List) col; } + List l = new ArrayList(); + l.addAll(col); + return l; + } - private Map typeInfoMappings(Collection typeInfos) { - Map map = new java.util.HashMap(); - for (TypeInfo ti : typeInfos) { - Type type = WrapperComposite.class.equals(ti.type)? CompositeStructure.class : ti.type; - TypeReference tr = new TypeReference(ti.tagName, type, ti.annotations); - map.put(ti, tr); - } - return map; + private Map typeInfoMappings(Collection typeInfos) { + Map map = new java.util.HashMap(); + for (TypeInfo ti : typeInfos) { + Type type = WrapperComposite.class.equals(ti.type) ? CompositeStructure.class : ti.type; + TypeReference tr = new TypeReference(ti.tagName, type, ti.annotations); + map.put(ti, tr); } + return map; + } - protected BindingContext getContext(Marshaller m) { - return newContext(((MarshallerImpl)m).getContext()); - } + @Override + protected BindingContext getContext(Marshaller m) { + return newContext(((MarshallerImpl) m).getContext()); + } - protected boolean isFor(String str) { - return (str.equals("glassfish.jaxb") || - str.equals(this.getClass().getName())|| - str.equals("com.sun.xml.internal.bind.v2.runtime")); - } + @Override + protected boolean isFor(String str) { + return (str.equals("glassfish.jaxb") + || str.equals(this.getClass().getName()) + || str.equals("com.sun.xml.internal.bind.v2.runtime")); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextWrapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextWrapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/JAXBRIContextWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,129 +29,152 @@ import java.util.List; import java.util.Map; -import javax.xml.bind.Binder; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; -import javax.xml.bind.JAXBIntrospector; import javax.xml.bind.Marshaller; import javax.xml.bind.SchemaOutputResolver; import javax.xml.bind.Unmarshaller; import javax.xml.namespace.QName; -import javax.xml.transform.Result; - -import org.w3c.dom.Node; - -import com.sun.xml.internal.bind.api.BridgeContext; -import com.sun.xml.internal.bind.api.CompositeStructure; import com.sun.xml.internal.bind.api.JAXBRIContext; import com.sun.xml.internal.bind.api.TypeReference; import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet; -import com.sun.xml.internal.bind.api.Bridge; import com.sun.xml.internal.ws.spi.db.BindingContext; import com.sun.xml.internal.ws.spi.db.XMLBridge; -import com.sun.xml.internal.ws.spi.db.PropertyAccessor; import com.sun.xml.internal.ws.spi.db.TypeInfo; import com.sun.xml.internal.ws.spi.db.WrapperComposite; class JAXBRIContextWrapper implements BindingContext { - private Map typeRefs; - private Map typeInfos; - private JAXBRIContext context; + private Map typeRefs; + private Map typeInfos; + private JAXBRIContext context; - JAXBRIContextWrapper(JAXBRIContext cxt, Map refs) { - context = cxt; - typeRefs = refs; - if (refs != null) { - typeInfos = new java.util.HashMap(); - for (TypeInfo ti : refs.keySet()) typeInfos.put(typeRefs.get(ti), ti); - } + JAXBRIContextWrapper(JAXBRIContext cxt, Map refs) { + context = cxt; + typeRefs = refs; + if (refs != null) { + typeInfos = new java.util.HashMap(); + for (TypeInfo ti : refs.keySet()) { + typeInfos.put(typeRefs.get(ti), ti); + } } + } - TypeReference typeReference(TypeInfo ti) { - return (typeRefs != null)? typeRefs.get(ti) : null; - } + TypeReference typeReference(TypeInfo ti) { + return (typeRefs != null) ? typeRefs.get(ti) : null; + } - TypeInfo typeInfo(TypeReference tr) { - return (typeInfos != null)? typeInfos.get(tr) : null; - } + TypeInfo typeInfo(TypeReference tr) { + return (typeInfos != null) ? typeInfos.get(tr) : null; + } + + @Override + public Marshaller createMarshaller() throws JAXBException { + return context.createMarshaller(); + } - public Marshaller createMarshaller() throws JAXBException { - return context.createMarshaller(); - } + @Override + public Unmarshaller createUnmarshaller() throws JAXBException { + return context.createUnmarshaller(); + } - public Unmarshaller createUnmarshaller() throws JAXBException { - return context.createUnmarshaller(); - } + @Override + public void generateSchema(SchemaOutputResolver outputResolver) + throws IOException { + context.generateSchema(outputResolver); + } + + @Override + public String getBuildId() { + return context.getBuildId(); + } - public void generateSchema(SchemaOutputResolver outputResolver) - throws IOException { - context.generateSchema(outputResolver); - } + @Override + public QName getElementName(Class o) throws JAXBException { + return context.getElementName(o); + } - public String getBuildId() { - return context.getBuildId(); - } + @Override + public QName getElementName(Object o) throws JAXBException { + return context.getElementName(o); + } - public QName getElementName(Class o) throws JAXBException { - return context.getElementName(o); - } - - public QName getElementName(Object o) throws JAXBException { - return context.getElementName(o); - } + @Override + public com.sun.xml.internal.ws.spi.db.PropertyAccessor getElementPropertyAccessor( + Class wrapperBean, String nsUri, String localName) + throws JAXBException { + return new RawAccessorWrapper(context.getElementPropertyAccessor(wrapperBean, nsUri, localName)); + } - public com.sun.xml.internal.ws.spi.db.PropertyAccessor getElementPropertyAccessor( - Class wrapperBean, String nsUri, String localName) - throws JAXBException { - return new RawAccessorWrapper(context.getElementPropertyAccessor(wrapperBean, nsUri, localName)); - } + @Override + public List getKnownNamespaceURIs() { + return context.getKnownNamespaceURIs(); + } + + public RuntimeTypeInfoSet getRuntimeTypeInfoSet() { + return context.getRuntimeTypeInfoSet(); + } - public List getKnownNamespaceURIs() { - return context.getKnownNamespaceURIs(); - } + public QName getTypeName(com.sun.xml.internal.bind.api.TypeReference tr) { + return context.getTypeName(tr); + } - public RuntimeTypeInfoSet getRuntimeTypeInfoSet() { - return context.getRuntimeTypeInfoSet(); + @Override + public int hashCode() { + return context.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; } - - public QName getTypeName(com.sun.xml.internal.bind.api.TypeReference tr) { - return context.getTypeName(tr); + if (getClass() != obj.getClass()) { + return false; } - - public int hashCode() { - return context.hashCode(); + final JAXBRIContextWrapper other = (JAXBRIContextWrapper) obj; + if (this.context != other.context && (this.context == null || !this.context.equals(other.context))) { + return false; } - - public boolean hasSwaRef() { - return context.hasSwaRef(); - } + return true; + } - public String toString() { - return JAXBRIContextWrapper.class.getName() + " : " + context.toString(); - } + @Override + public boolean hasSwaRef() { + return context.hasSwaRef(); + } - public XMLBridge createBridge(TypeInfo ti) { - TypeReference tr = typeRefs.get(ti); - com.sun.xml.internal.bind.api.Bridge b = context.createBridge(tr); - return WrapperComposite.class.equals(ti.type) ? - new WrapperBridge(this, b) : - new BridgeWrapper(this, b); - } + @Override + public String toString() { + return JAXBRIContextWrapper.class.getName() + " : " + context.toString(); + } - public JAXBContext getJAXBContext() { - return context; - } + @Override + public XMLBridge createBridge(TypeInfo ti) { + TypeReference tr = typeRefs.get(ti); + com.sun.xml.internal.bind.api.Bridge b = context.createBridge(tr); + return WrapperComposite.class.equals(ti.type) + ? new WrapperBridge(this, b) + : new BridgeWrapper(this, b); + } - public QName getTypeName(TypeInfo ti) { - TypeReference tr = typeRefs.get(ti); - return context.getTypeName(tr); - } + @Override + public JAXBContext getJAXBContext() { + return context; + } - public XMLBridge createFragmentBridge() { - return new MarshallerBridge((com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl)context); - } + @Override + public QName getTypeName(TypeInfo ti) { + TypeReference tr = typeRefs.get(ti); + return context.getTypeName(tr); + } + @Override + public XMLBridge createFragmentBridge() { + return new MarshallerBridge((com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl) context); + } + + @Override public Object newWrapperInstace(Class wrapperType) throws InstantiationException, IllegalAccessException { return wrapperType.newInstance(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/MarshallerBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/MarshallerBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/MarshallerBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/RawAccessorWrapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/RawAccessorWrapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/RawAccessorWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -32,37 +32,43 @@ @SuppressWarnings("unchecked") public class RawAccessorWrapper implements PropertyAccessor { - private RawAccessor accessor; + + private RawAccessor accessor; - public RawAccessorWrapper(RawAccessor a) { - accessor = a; - } + public RawAccessorWrapper(RawAccessor a) { + accessor = a; + } - public boolean equals(Object obj) { - return accessor.equals(obj); - } + @Override + public boolean equals(Object obj) { + return accessor.equals(obj); + } - public Object get(Object bean) throws DatabindingException { - try { - return accessor.get(bean); - } catch (AccessorException e) { - throw new DatabindingException(e); - } + @Override + public Object get(Object bean) throws DatabindingException { + try { + return accessor.get(bean); + } catch (AccessorException e) { + throw new DatabindingException(e); } + } - public int hashCode() { - return accessor.hashCode(); - } + @Override + public int hashCode() { + return accessor.hashCode(); + } - public void set(Object bean, Object value) throws DatabindingException { - try { - accessor.set(bean, value); - } catch (AccessorException e) { - throw new DatabindingException(e); - } + @Override + public void set(Object bean, Object value) throws DatabindingException { + try { + accessor.set(bean, value); + } catch (AccessorException e) { + throw new DatabindingException(e); } + } - public String toString() { - return accessor.toString(); - } + @Override + public String toString() { + return accessor.toString(); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/WrapperBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/WrapperBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/db/glassfish/WrapperBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -49,92 +49,108 @@ public class WrapperBridge implements XMLBridge { - private JAXBRIContextWrapper parent; - private com.sun.xml.internal.bind.api.Bridge bridge; + private JAXBRIContextWrapper parent; + private com.sun.xml.internal.bind.api.Bridge bridge; - public WrapperBridge(JAXBRIContextWrapper p, com.sun.xml.internal.bind.api.Bridge b) { - parent = p; - bridge = b; - } + public WrapperBridge(JAXBRIContextWrapper p, com.sun.xml.internal.bind.api.Bridge b) { + parent = p; + bridge = b; + } - public BindingContext context() { - return parent; - } + @Override + public BindingContext context() { + return parent; + } - public boolean equals(Object obj) { - return bridge.equals(obj); - } + @Override + public boolean equals(Object obj) { + return bridge.equals(obj); + } - public TypeInfo getTypeInfo() { - return parent.typeInfo(bridge.getTypeReference()); - } + @Override + public TypeInfo getTypeInfo() { + return parent.typeInfo(bridge.getTypeReference()); + } - public int hashCode() { - return bridge.hashCode(); - } + @Override + public int hashCode() { + return bridge.hashCode(); + } - static CompositeStructure convert(Object o) { - WrapperComposite w = (WrapperComposite) o; - CompositeStructure cs = new CompositeStructure(); - cs.values = w.values; - cs.bridges = new Bridge[w.bridges.length]; - for (int i = 0; i < cs.bridges.length; i++) - cs.bridges[i] = ((BridgeWrapper)w.bridges[i]).getBridge(); - return cs; + static CompositeStructure convert(Object o) { + WrapperComposite w = (WrapperComposite) o; + CompositeStructure cs = new CompositeStructure(); + cs.values = w.values; + cs.bridges = new Bridge[w.bridges.length]; + for (int i = 0; i < cs.bridges.length; i++) { + cs.bridges[i] = ((BridgeWrapper) w.bridges[i]).getBridge(); } + return cs; + } - public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { - bridge.marshal((T) convert(object), contentHandler, am); + @Override + public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { + bridge.marshal((T) convert(object), contentHandler, am); // bridge.marshal(object, contentHandler, am); - } + } - public void marshal(T object, Node output) throws JAXBException { - throw new UnsupportedOperationException(); + @Override + public void marshal(T object, Node output) throws JAXBException { + throw new UnsupportedOperationException(); // bridge.marshal(object, output); // bridge.marshal((T) convert(object), output); - } + } - public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { - bridge.marshal((T) convert(object), output, nsContext, am); - } + @Override + public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { + bridge.marshal((T) convert(object), output, nsContext, am); + } - public final void marshal(T object, Result result) throws JAXBException { - throw new UnsupportedOperationException(); + @Override + public final void marshal(T object, Result result) throws JAXBException { + throw new UnsupportedOperationException(); // bridge.marshal(object, result); - } + } - public final void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException { - bridge.marshal((T) convert(object), output, am); - } + @Override + public final void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException { + bridge.marshal((T) convert(object), output, am); + } - public String toString() { - return BridgeWrapper.class.getName() + " : " + bridge.toString(); - } + @Override + public String toString() { + return BridgeWrapper.class.getName() + " : " + bridge.toString(); + } - public final T unmarshal(InputStream in) throws JAXBException { - //EndpointArgumentsBuilder.RpcLit.readRequest - throw new UnsupportedOperationException(); + @Override + public final T unmarshal(InputStream in) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); // return bridge.unmarshal(in); - } + } - public final T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException { - //EndpointArgumentsBuilder.RpcLit.readRequest - throw new UnsupportedOperationException(); + @Override + public final T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); // return bridge.unmarshal(n, au); - } + } - public final T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException { - //EndpointArgumentsBuilder.RpcLit.readRequest - throw new UnsupportedOperationException(); + @Override + public final T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); // return bridge.unmarshal(in, au); - } + } - public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException { - //EndpointArgumentsBuilder.RpcLit.readRequest - throw new UnsupportedOperationException(); + @Override + public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); // return bridge.unmarshal(in, au); - } + } + @Override public boolean supportOutputStream() { return true; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/BindingTypeFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/BindingTypeFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/BindingTypeFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/EPRRecipe.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/EPRRecipe.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/EPRRecipe.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/HttpConfigFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/HttpConfigFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/HttpConfigFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -42,7 +42,7 @@ */ public final class HttpConfigFeature extends WebServiceFeature { /** - * Constant value identifying the {@link @HttpConfigFeature} feature. + * Constant value identifying the {@link HttpConfigFeature} feature. */ public static final String ID = "http://jax-ws.java.net/features/http-config"; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXBContextFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXBContextFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXBContextFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXWSProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXWSProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/JAXWSProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -61,7 +61,7 @@ /** * Set this property on the {@link BindingProvider#getRequestContext()} to - * enable {@link HttpURLConnection#httpConnection.setReadTimeout(int)} + * enable {@link HttpURLConnection#setReadTimeout(int)} * *

    * int timeout = ...; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressing.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressing.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressing.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressingFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressingFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionAddressingFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -81,8 +81,9 @@ */ public MemberSubmissionEndpointReference(@NotNull Source source) { - if (source == null) + if (source == null) { throw new WebServiceException("Source parameter can not be null on constructor"); + } try { Unmarshaller unmarshaller = MemberSubmissionEndpointReference.msjc.createUnmarshaller(); @@ -102,6 +103,7 @@ } } + @Override public void writeTo(Result result) { try { Marshaller marshaller = MemberSubmissionEndpointReference.msjc.createMarshaller(); @@ -160,6 +162,7 @@ @XmlAnyElement public List elements; + @XmlType(name="address", namespace=MemberSubmissionEndpointReference.MSNS) public static class Address { public Address() { } @@ -170,6 +173,7 @@ public Map attributes; } + @XmlType(name="elements", namespace=MemberSubmissionEndpointReference.MSNS) public static class Elements { public Elements() {} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,8 +28,6 @@ import com.sun.xml.internal.ws.server.DraconianValidationErrorHandler; import javax.jws.WebService; -import javax.xml.transform.Source; -import javax.xml.validation.Schema; import javax.xml.ws.spi.WebServiceFeatureAnnotation; import java.lang.annotation.Documented; import static java.lang.annotation.ElementType.TYPE; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidationFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidationFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SchemaValidationFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -82,6 +82,7 @@ } @ManagedAttribute + @Override public String getID() { return ID; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/Serialization.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/Serialization.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/Serialization.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SerializationFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SerializationFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/SerializationFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ServerSideException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ServerSideException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ServerSideException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachmentFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachmentFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingAttachmentFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -55,7 +55,7 @@ @ManagedData public final class StreamingAttachmentFeature extends WebServiceFeature { /** - * Constant value identifying the {@link @StreamingAttachment} feature. + * Constant value identifying the {@link StreamingAttachment} feature. */ public static final String ID = "http://jax-ws.dev.java.net/features/mime"; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingDataHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingDataHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/StreamingDataHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,14 +25,9 @@ package com.sun.xml.internal.ws.developer; -import com.sun.xml.internal.org.jvnet.mimepull.MIMEPart; +import java.net.URL; import javax.activation.DataSource; -import java.io.InputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.io.File; -import java.net.URL; /** * Implementation of {@link com.sun.xml.internal.org.jvnet.staxex.StreamingDataHandler} to access MIME @@ -55,6 +50,8 @@ */ public abstract class StreamingDataHandler extends com.sun.xml.internal.org.jvnet.staxex.StreamingDataHandler { + private String hrefCid; + public StreamingDataHandler(Object o, String s) { super(o, s); } @@ -67,4 +64,12 @@ super(dataSource); } + public String getHrefCid() { + return hrefCid; + } + + public void setHrefCid(final String cid) { + this.hrefCid = cid; + } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContextFeature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContextFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/UsesJAXBContextFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ValidationErrorHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ValidationErrorHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ValidationErrorHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,7 +35,7 @@ * An {@link ErrorHandler} to receive errors encountered during the * {@link Validator#validate} method invocation. Specify * a custom handler in {@link SchemaValidation}, {@link SchemaValidationFeature} - * to customize the error handling process during validaiton. + * to customize the error handling process during validation. * * @see SchemaValidation * @author Jitendra Kotamraju diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/WSBindingProvider.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/WSBindingProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/WSBindingProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -98,7 +98,7 @@ * @param headers * Can be null or empty. * @throws UnsupportedOperationException - * If this {@lini WSBindingProvider} is a {@link Dispatch} + * If this {@link WSBindingProvider} is a {@link Dispatch} * that does not use JAXB. */ void setOutboundHeaders(Object... headers); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/developer/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/LoggingDumpTube.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/LoggingDumpTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,131 @@ +/* + * 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.dump; + +import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.pipe.Fiber; +import com.sun.xml.internal.ws.api.pipe.NextAction; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.pipe.TubeCloner; +import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl; +import com.sun.xml.internal.ws.commons.xmlutil.Converter; +import com.sun.xml.internal.ws.dump.MessageDumper.ProcessingState; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * + * @author Marek Potociar + */ +public class LoggingDumpTube extends AbstractFilterTubeImpl { + public static enum Position { + Before(MessageDumper.ProcessingState.Received, MessageDumper.ProcessingState.Processed), + After(MessageDumper.ProcessingState.Processed, MessageDumper.ProcessingState.Received); + + private final MessageDumper.ProcessingState requestState; + private final MessageDumper.ProcessingState responseState; + + private Position(ProcessingState requestState, ProcessingState responseState) { + this.requestState = requestState; + this.responseState = responseState; + } + } + + private static final AtomicInteger ID_GENERATOR = new AtomicInteger(0); + // + private MessageDumper messageDumper; + private final Level loggingLevel; + private final Position position; + private final int tubeId; + + public LoggingDumpTube(Level loggingLevel, Position position, Tube tubelineHead) { + super(tubelineHead); + + this.position = position; + this.loggingLevel = loggingLevel; + + this.tubeId = ID_GENERATOR.incrementAndGet(); + } + + public void setLoggedTubeName(String loggedTubeName) { + assert messageDumper == null; // must not set a new message dumper once already set + this.messageDumper = new MessageDumper(loggedTubeName, Logger.getLogger(loggedTubeName), loggingLevel); + } + + /** + * Copy constructor. + */ + private LoggingDumpTube(LoggingDumpTube original, TubeCloner cloner) { + super(original, cloner); + + this.messageDumper = original.messageDumper; + this.loggingLevel = original.loggingLevel; + this.position = original.position; + + this.tubeId = ID_GENERATOR.incrementAndGet(); + } + + public LoggingDumpTube copy(TubeCloner cloner) { + return new LoggingDumpTube(this, cloner); + } + + + @Override + public NextAction processRequest(Packet request) { + if (messageDumper.isLoggable()) { + Packet dumpPacket = (request != null) ? request.copy(true) : null; + messageDumper.dump(MessageDumper.MessageType.Request, position.requestState, Converter.toString(dumpPacket), tubeId, Fiber.current().owner.id); + } + + return super.processRequest(request); + } + + @Override + public NextAction processResponse(Packet response) { + if (messageDumper.isLoggable()) { + Packet dumpPacket = (response != null) ? response.copy(true) : null; + messageDumper.dump(MessageDumper.MessageType.Response, position.responseState, Converter.toString(dumpPacket), tubeId, Fiber.current().owner.id); + } + + return super.processResponse(response); + } + + @Override + public NextAction processException(Throwable t) { + if (messageDumper.isLoggable()) { + messageDumper.dump(MessageDumper.MessageType.Exception, position.responseState, Converter.toString(t), tubeId, Fiber.current().owner.id); + } + + return super.processException(t); + } + + @Override + public void preDestroy() { + super.preDestroy(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumper.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumper.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,107 @@ +/* + * 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.dump; + +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * + * @author Marek Potociar + */ +final class MessageDumper { + + static enum MessageType { + Request("Request message"), + Response("Response message"), + Exception("Response exception"); + + private final String name; + + private MessageType(final String name) { + this.name = name; + } + + @Override + public String toString() { + return name; + } + } + + static enum ProcessingState { + Received("received"), + Processed("processed"); + + private final String name; + + private ProcessingState(final String name) { + this.name = name; + } + + @Override + public String toString() { + return name; + } + } + + + private final String tubeName; + private final Logger logger; + private Level loggingLevel; + + + public MessageDumper(String tubeName, Logger logger, Level loggingLevel) { + this.tubeName = tubeName; + this.logger = logger; + this.loggingLevel = loggingLevel; + } + + final boolean isLoggable() { + return logger.isLoggable(loggingLevel); + } + + final void setLoggingLevel(Level level) { + this.loggingLevel = level; + } + + final String createLogMessage(MessageType messageType, ProcessingState processingState, int tubeId, String engineId, String message) { + return String.format("%s %s in Tube [ %s ] Instance [ %d ] Engine [ %s ] Thread [ %s ]:%n%s", + messageType, + processingState, + tubeName, + tubeId, + engineId, + Thread.currentThread().getName(), + message); + } + + final String dump(MessageType messageType, ProcessingState processingState, String message, int tubeId, String engineId) { + String logMessage = createLogMessage(messageType, processingState, tubeId, engineId, message); + logger.log(loggingLevel, logMessage); + + return logMessage; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumping.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumping.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,62 @@ +/* + * 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.dump; + + +import javax.xml.ws.spi.WebServiceFeatureAnnotation; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +@WebServiceFeatureAnnotation(id = MessageDumpingFeature.ID, bean = MessageDumpingFeature.class) +public @interface MessageDumping { + /** + * Specifies if this feature is enabled or disabled. + */ + boolean enabled() default true; + + /** + * Message logging root + */ + String messageLoggingRoot() default MessageDumpingTube.DEFAULT_MSGDUMP_LOGGING_ROOT; + + /** + * Message logging level + */ + String messageLoggingLevel() default "FINE"; + + /** + * Turns on or off storing messages + */ + boolean storeMessages() default false; +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,116 @@ +/* + * 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.dump; + +import com.sun.xml.internal.ws.api.FeatureConstructor; +import com.sun.org.glassfish.gmbal.ManagedAttribute; +import com.sun.org.glassfish.gmbal.ManagedData; + +import javax.xml.ws.WebServiceFeature; +import java.util.Queue; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.logging.Level; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +@ManagedData +public final class MessageDumpingFeature extends WebServiceFeature { + + public static final String ID = "com.sun.xml.internal.ws.messagedump.MessageDumpingFeature"; + // + private static final Level DEFAULT_MSG_LOG_LEVEL = Level.FINE; + // + private final Queue messageQueue; + private final AtomicBoolean messageLoggingStatus; + private final String messageLoggingRoot; + private final Level messageLoggingLevel; + + public MessageDumpingFeature() { + this(null, null, true); + } + + public MessageDumpingFeature(String msgLogRoot, Level msgLogLevel, boolean storeMessages) { + this.messageQueue = (storeMessages) ? new java.util.concurrent.ConcurrentLinkedQueue() : null; + this.messageLoggingStatus = new AtomicBoolean(true); + this.messageLoggingRoot = (msgLogRoot != null && msgLogRoot.length() > 0) ? msgLogRoot : MessageDumpingTube.DEFAULT_MSGDUMP_LOGGING_ROOT; + this.messageLoggingLevel = (msgLogLevel != null) ? msgLogLevel : DEFAULT_MSG_LOG_LEVEL; + + super.enabled = true; + } + + public MessageDumpingFeature(boolean enabled) { + // this constructor is here just to satisfy JAX-WS specification requirements + this(); + super.enabled = enabled; + } + + @FeatureConstructor({"enabled", "messageLoggingRoot", "messageLoggingLevel", "storeMessages"}) + public MessageDumpingFeature(boolean enabled, String msgLogRoot, String msgLogLevel, boolean storeMessages) { + // this constructor is here just to satisfy JAX-WS specification requirements + this(msgLogRoot, Level.parse(msgLogLevel), storeMessages); + + super.enabled = enabled; + } + + @Override + @ManagedAttribute + public String getID() { + return ID; + } + + public String nextMessage() { + return (messageQueue != null) ? messageQueue.poll() : null; + } + + public void enableMessageLogging() { + messageLoggingStatus.set(true); + } + + public void disableMessageLogging() { + messageLoggingStatus.set(false); + } + + @ManagedAttribute + public boolean getMessageLoggingStatus() { + return messageLoggingStatus.get(); + } + + @ManagedAttribute + public String getMessageLoggingRoot() { + return messageLoggingRoot; + } + + @ManagedAttribute + public Level getMessageLoggingLevel() { + return messageLoggingLevel; + } + + boolean offerMessage(String message) { + return (messageQueue != null) ? messageQueue.offer(message) : false; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingTube.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,120 @@ +/* + * 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.dump; + +import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.pipe.Fiber; +import com.sun.xml.internal.ws.api.pipe.NextAction; +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.api.pipe.TubeCloner; +import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl; +import com.sun.xml.internal.ws.commons.xmlutil.Converter; +import com.sun.xml.internal.ws.dump.MessageDumper.MessageType; +import com.sun.xml.internal.ws.dump.MessageDumper.ProcessingState; + +import java.util.concurrent.atomic.AtomicInteger; + +/** + * + * @author Marek Potociar (marek.potociar at sun.com) + */ +final class MessageDumpingTube extends AbstractFilterTubeImpl { + static final String DEFAULT_MSGDUMP_LOGGING_ROOT = com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".messagedump"; + private static final AtomicInteger ID_GENERATOR = new AtomicInteger(0); + // + private final MessageDumper messageDumper; + private final int tubeId; + // + private final MessageDumpingFeature messageDumpingFeature; + /** + * @param name + * Specify the name that identifies this {@link MessageDumpingTube} + * instance. This string will be printed when this pipe + * dumps messages, and allows people to distinguish which + * pipe instance is dumping a message when multiple + * {@link com.sun.xml.internal.ws.util.pipe.DumpTube}s print messages out. + * @param out + * The output to send dumps to. + * @param next + * The next {@link com.sun.xml.internal.ws.api.pipe.Tube} in the pipeline. + */ + MessageDumpingTube(Tube next, MessageDumpingFeature feature) { + super(next); + + this.messageDumpingFeature = feature; + this.tubeId = ID_GENERATOR.incrementAndGet(); + this.messageDumper = new MessageDumper( + "MesageDumpingTube", + java.util.logging.Logger.getLogger(feature.getMessageLoggingRoot()), + feature.getMessageLoggingLevel()); + } + + /** + * Copy constructor. + */ + MessageDumpingTube(MessageDumpingTube that, TubeCloner cloner) { + super(that, cloner); + + + this.messageDumpingFeature = that.messageDumpingFeature; + this.tubeId = ID_GENERATOR.incrementAndGet(); + this.messageDumper = that.messageDumper; + } + + public MessageDumpingTube copy(TubeCloner cloner) { + return new MessageDumpingTube(this, cloner); + } + + @Override + public NextAction processRequest(Packet request) { + dump(MessageType.Request, Converter.toString(request), Fiber.current().owner.id); + return super.processRequest(request); + } + + @Override + public NextAction processResponse(Packet response) { + dump(MessageType.Response, Converter.toString(response), Fiber.current().owner.id); + return super.processResponse(response); + } + + @Override + public NextAction processException(Throwable t) { + dump(MessageType.Exception, Converter.toString(t), Fiber.current().owner.id); + + return super.processException(t); + } + + protected final void dump(MessageType messageType, String message, String engineId) { + String logMessage; + if (messageDumpingFeature.getMessageLoggingStatus()) { + messageDumper.setLoggingLevel(messageDumpingFeature.getMessageLoggingLevel()); + logMessage = messageDumper.dump(messageType, ProcessingState.Received, message, tubeId, engineId); + } else { + logMessage = messageDumper.createLogMessage(messageType, ProcessingState.Received, tubeId, engineId, message); + } + messageDumpingFeature.offerMessage(logMessage); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingTubeFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/dump/MessageDumpingTubeFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -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.dump; + +import com.sun.xml.internal.ws.api.pipe.Tube; +import com.sun.xml.internal.ws.assembler.dev.ClientTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.ServerTubelineAssemblyContext; +import com.sun.xml.internal.ws.assembler.dev.TubeFactory; + +import javax.xml.ws.WebServiceException; + +public final class MessageDumpingTubeFactory implements TubeFactory { + + public Tube createTube(ClientTubelineAssemblyContext context) throws WebServiceException { + MessageDumpingFeature messageDumpingFeature = context.getBinding().getFeature(MessageDumpingFeature.class); + if (messageDumpingFeature != null) { + return new MessageDumpingTube(context.getTubelineHead(), messageDumpingFeature); + } + + return context.getTubelineHead(); + } + + public Tube createTube(ServerTubelineAssemblyContext context) throws WebServiceException { + MessageDumpingFeature messageDumpingFeature = context.getEndpoint().getBinding().getFeature(MessageDumpingFeature.class); + if (messageDumpingFeature != null) { + return new MessageDumpingTube(context.getTubelineHead(), messageDumpingFeature); + } + + return context.getTubelineHead(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentTypeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentTypeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ContentTypeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -34,8 +34,12 @@ public final class ContentTypeImpl implements com.sun.xml.internal.ws.api.pipe.ContentType { private final @NotNull String contentType; private final @NotNull String soapAction; - private final @Nullable String accept; + private String accept; private final @Nullable String charset; + private String boundary; + private String boundaryParameter; + private String rootId; + private ContentType internalContentType; public ContentTypeImpl(String contentType) { this(contentType, null, null); @@ -56,7 +60,8 @@ if (charsetParam == null) { String tmpCharset = null; try { - tmpCharset = new ContentType(contentType).getParameter("charset"); + internalContentType = new ContentType(contentType); + tmpCharset = internalContentType.getParameter("charset"); } catch(Exception e) { //Ignore the parsing exception. } @@ -87,18 +92,57 @@ } } + @Override public String getContentType() { return contentType; } + @Override public String getSOAPActionHeader() { return soapAction; } + @Override public String getAcceptHeader() { return accept; } + public void setAcceptHeader(String accept) { + this.accept = accept; + } + + public String getBoundary() { + if (boundary == null) { + if (internalContentType == null) internalContentType = new ContentType(contentType); + boundary = internalContentType.getParameter("boundary"); + } + return boundary; + } + + public void setBoundary(String boundary) { + this.boundary = boundary; + } + + public String getBoundaryParameter() { + return boundaryParameter; + } + + public void setBoundaryParameter(String boundaryParameter) { + this.boundaryParameter = boundaryParameter; + } + + public String getRootId() { + if (rootId == null) { + if (internalContentType == null) internalContentType = new ContentType(contentType); + rootId = internalContentType.getParameter("start"); + } + return rootId; + } + + public void setRootId(String rootId) { + this.rootId = rootId; + } + public static class Builder { public String contentType; public String soapAction; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataHandlerDataSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataHandlerDataSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataHandlerDataSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataSourceStreamingDataHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataSourceStreamingDataHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/DataSourceStreamingDataHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,6 @@ package com.sun.xml.internal.ws.encoding; -import com.sun.xml.internal.org.jvnet.mimepull.MIMEPart; - import javax.activation.DataSource; import java.io.*; @@ -41,22 +39,30 @@ super(ds); } + @Override public InputStream readOnce() throws IOException { return getInputStream(); } + @Override public void moveTo(File file) throws IOException { InputStream in = getInputStream(); OutputStream os = new FileOutputStream(file); - byte[] temp = new byte[8192]; - int len; - while((len=in.read(temp)) != -1) { - os.write(temp, 0, len); + try { + byte[] temp = new byte[8192]; + int len; + while((len=in.read(temp)) != -1) { + os.write(temp, 0, len); + } + in.close(); + } finally { + if (os != null) { + os.close(); + } } - in.close(); - os.close(); } + @Override public void close() throws IOException { // nothing to do here } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HasEncoding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HasEncoding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HasEncoding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HeaderTokenizer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HeaderTokenizer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/HeaderTokenizer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ImageDataContentHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ImageDataContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ImageDataContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MIMEPartStreamingDataHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MIMEPartStreamingDataHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MIMEPartStreamingDataHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -62,14 +62,17 @@ ds = (StreamingDataSource)getDataSource(); } + @Override public InputStream readOnce() throws IOException { return ds.readOnce(); } + @Override public void moveTo(File file) throws IOException { ds.moveTo(file); } + @Override public void close() throws IOException { ds.close(); } @@ -81,6 +84,7 @@ this.part = part; } + @Override public InputStream getInputStream() throws IOException { return part.read(); //readOnce() ?? } @@ -97,14 +101,17 @@ part.moveTo(file); } + @Override public OutputStream getOutputStream() throws IOException { return null; } + @Override public String getContentType() { return part.getContentType(); } + @Override public String getName() { return ""; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -92,12 +92,8 @@ public static final String MULTIPART_RELATED_MIME_TYPE = "multipart/related"; - private String boundary; - private String messageContentType; - private boolean hasAttachments; - protected Codec rootCodec; + protected Codec mimeRootCodec; protected final SOAPVersion version; -// protected final WSBinding binding; protected final WSFeatureList features; protected MimeCodec(SOAPVersion version, WSFeatureList f) { @@ -109,6 +105,10 @@ return MULTIPART_RELATED_MIME_TYPE; } + protected Codec getMimeRootCodec(Packet packet) { + return mimeRootCodec; + } + // TODO: preencode String literals to byte[] so that they don't have to // go through char[]->byte[] conversion at runtime. public ContentType encode(Packet packet, OutputStream out) throws IOException { @@ -116,7 +116,10 @@ if (msg == null) { return null; } - + ContentTypeImpl ctImpl = (ContentTypeImpl)getStaticContentType(packet); + String boundary = ctImpl.getBoundary(); + boolean hasAttachments = (boundary != null); + Codec rootCodec = getMimeRootCodec(packet); if (hasAttachments) { writeln("--"+boundary, out); ContentType ct = rootCodec.getStaticContentType(packet); @@ -148,7 +151,7 @@ writeAsAscii("--", out); } // TODO not returing correct multipart/related type(no boundary) - return hasAttachments ? new ContentTypeImpl(messageContentType, packet.soapAction, null) : primaryCt; + return hasAttachments ? ctImpl : primaryCt; } private void writeCustomMimeHeaders(Attachment att, OutputStream out) throws IOException { @@ -166,19 +169,28 @@ } public ContentType getStaticContentType(Packet packet) { + ContentType ct = (ContentType) packet.getInternalContentType(); + if ( ct != null ) return ct; Message msg = packet.getMessage(); - hasAttachments = !msg.getAttachments().isEmpty(); + boolean hasAttachments = !msg.getAttachments().isEmpty(); + Codec rootCodec = getMimeRootCodec(packet); if (hasAttachments) { - boundary = "uuid:" + UUID.randomUUID().toString(); + String boundary = "uuid:" + UUID.randomUUID().toString(); String boundaryParameter = "boundary=\"" + boundary + "\""; // TODO use primaryEncoder to get type - messageContentType = MULTIPART_RELATED_MIME_TYPE + + String messageContentType = MULTIPART_RELATED_MIME_TYPE + "; type=\"" + rootCodec.getMimeType() + "\"; " + boundaryParameter; - return new ContentTypeImpl(messageContentType, packet.soapAction, null); + ContentTypeImpl impl = new ContentTypeImpl(messageContentType, packet.soapAction, null); + impl.setBoundary(boundary); + impl.setBoundaryParameter(boundaryParameter); + packet.setContentType(impl); + return impl; } else { - return rootCodec.getStaticContentType(packet); + ct = rootCodec.getStaticContentType(packet); + packet.setContentType(ct); + return ct; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeMultipartParser.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeMultipartParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeMultipartParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,7 +25,6 @@ package com.sun.xml.internal.ws.encoding; - import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.message.Attachment; @@ -53,6 +52,8 @@ import java.util.Iterator; import java.util.List; import java.util.Map; +import java.util.logging.Level; +import java.util.logging.Logger; /** * Parses Mime multipart message into primary part and attachment parts. It @@ -66,15 +67,18 @@ private final String start; private final MIMEMessage message; private Attachment root; + private ContentTypeImpl contentType; // Attachments without root part private final Map attachments = new HashMap(); private boolean gotAll; - public MimeMultipartParser(InputStream in, String contentType, StreamingAttachmentFeature feature) { - ContentType ct = new ContentType(contentType); - String boundary = ct.getParameter("boundary"); + public MimeMultipartParser(InputStream in, String cType, StreamingAttachmentFeature feature) { + this.contentType = new ContentTypeImpl(cType); +// ContentType ct = new ContentType(cType); +// String boundary = ct.getParameter("boundary"); + String boundary = contentType.getBoundary(); if (boundary == null || boundary.equals("")) { throw new WebServiceException("MIME boundary parameter not found" + contentType); } @@ -82,7 +86,8 @@ ? new MIMEMessage(in, boundary, feature.getConfig()) : new MIMEMessage(in, boundary); // Strip <...> from root part's Content-ID - String st = ct.getParameter("start"); +// String st = ct.getParameter("start"); + String st = contentType.getRootId(); if (st != null && st.length() > 2 && st.charAt(0) == '<' && st.charAt(st.length()-1) == '>') { st = st.substring(1, st.length()-1); } @@ -116,8 +121,11 @@ List parts = message.getAttachments(); for(MIMEPart part : parts) { if (part != rootPart) { - PartAttachment attach = new PartAttachment(part); - attachments.put(attach.getContentId(), attach); + String cid = part.getContentId(); + if (!attachments.containsKey(cid)) { + PartAttachment attach = new PartAttachment(part); + attachments.put(attach.getContentId(), attach); + } } } gotAll = true; @@ -147,19 +155,21 @@ final MIMEPart part; byte[] buf; + private StreamingDataHandler streamingDataHandler; PartAttachment(MIMEPart part) { this.part = part; } - public @NotNull String getContentId() { + public @NotNull @Override String getContentId() { return part.getContentId(); } - public @NotNull String getContentType() { + public @NotNull @Override String getContentType() { return part.getContentType(); } + @Override public byte[] asByteArray() { if (buf == null) { ByteArrayBuffer baf = new ByteArrayBuffer(); @@ -167,29 +177,44 @@ baf.write(part.readOnce()); } catch(IOException ioe) { throw new WebServiceException(ioe); + } finally { + if (baf != null) { + try { + baf.close(); + } catch (IOException ex) { + Logger.getLogger(MimeMultipartParser.class.getName()).log(Level.FINE, null, ex); + } + } } buf = baf.toByteArray(); } return buf; } + @Override public DataHandler asDataHandler() { - return (buf != null) - ? new DataSourceStreamingDataHandler(new ByteArrayDataSource(buf,getContentType())) - : new MIMEPartStreamingDataHandler(part); + if (streamingDataHandler == null) { + streamingDataHandler = (buf != null) + ? new DataSourceStreamingDataHandler(new ByteArrayDataSource(buf,getContentType())) + : new MIMEPartStreamingDataHandler(part); + } + return streamingDataHandler; } + @Override public Source asSource() { return (buf != null) ? new StreamSource(new ByteArrayInputStream(buf)) : new StreamSource(part.read()); } + @Override public InputStream asInputStream() { return (buf != null) ? new ByteArrayInputStream(buf) : part.read(); } + @Override public void writeTo(OutputStream os) throws IOException { if (buf != null) { os.write(buf); @@ -204,31 +229,38 @@ } } + @Override public void writeTo(SOAPMessage saaj) throws SOAPException { saaj.createAttachmentPart().setDataHandler(asDataHandler()); } // AttachmentEx methods begin here + @Override public Iterator getMimeHeaders() { final Iterator ih = part.getAllHeaders() .iterator(); return new Iterator() { + @Override public boolean hasNext() { return ih.hasNext(); } + @Override public MimeHeader next() { final Header hdr = ih.next(); return new AttachmentEx.MimeHeader() { + @Override public String getValue() { return hdr.getValue(); } + @Override public String getName() { return hdr.getName(); } }; } + @Override public void remove() { throw new UnsupportedOperationException(); } @@ -236,4 +268,8 @@ } } + public ContentTypeImpl getContentType() { + return contentType; + } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MtomCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MtomCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MtomCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -37,6 +37,7 @@ import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory; import com.sun.xml.internal.ws.developer.SerializationFeature; +import com.sun.xml.internal.ws.developer.StreamingDataHandler; import com.sun.xml.internal.ws.message.MimeAttachmentSet; import com.sun.xml.internal.ws.streaming.XMLStreamWriterUtil; import com.sun.xml.internal.ws.util.ByteArrayDataSource; @@ -45,7 +46,6 @@ import com.sun.xml.internal.ws.streaming.MtomStreamWriter; import com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil; import com.sun.xml.internal.ws.server.UnsupportedMediaException; -import static com.sun.xml.internal.ws.binding.WebServiceFeatureList.getFeature; import com.sun.xml.internal.org.jvnet.staxex.Base64Data; import com.sun.xml.internal.org.jvnet.staxex.NamespaceContextEx; import com.sun.xml.internal.org.jvnet.staxex.XMLStreamReaderEx; @@ -58,7 +58,6 @@ import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; import javax.xml.ws.WebServiceException; -import javax.xml.ws.WebServiceFeature; import javax.xml.ws.soap.MTOMFeature; import javax.xml.bind.attachment.AttachmentMarshaller; import java.io.IOException; @@ -74,7 +73,7 @@ import java.util.UUID; /** - * Mtom messge Codec. It can be used even for non-soap message's mtom encoding. + * Mtom message Codec. It can be used even for non-soap message's mtom encoding. * * @author Vivek Pandey * @author Jitendra Kotamraju @@ -86,10 +85,6 @@ private static final String XOP_NAMESPACEURI = "http://www.w3.org/2004/08/xop/include"; private final StreamSOAPCodec codec; - - // encoding related parameters - private String boundary; - private String rootId; private final MTOMFeature mtomFeature; private final SerializationFeature sf; private final static String DECODED_MESSAGE_CHARSET = "decodedMessageCharset"; @@ -97,7 +92,6 @@ MtomCodec(SOAPVersion version, StreamSOAPCodec codec, WSFeatureList features){ super(version, features); this.codec = codec; - createConteTypeHeader(); sf = features.get(SerializationFeature.class); MTOMFeature mtom = features.get(MTOMFeature.class); if(mtom == null) @@ -106,74 +100,68 @@ this.mtomFeature = mtom; } - private void createConteTypeHeader(){ - String uuid = UUID.randomUUID().toString(); - boundary = "uuid:" + uuid; - rootId = ""; + /** + * Return the soap 1.1 and soap 1.2 specific XOP packaged ContentType + * + * @return A non-null content type for soap11 or soap 1.2 content type + */ + @Override + public ContentType getStaticContentType(Packet packet) { + return getStaticContentTypeStatic(packet, version); } - private String createMessageContentType() { - return createMessageContentType(null); - } + public static ContentType getStaticContentTypeStatic(Packet packet, SOAPVersion version) { + ContentType ct = (ContentType) packet.getInternalContentType(); + if ( ct != null ) return ct; - private String createMessageContentType(String soapActionParameter) { + String uuid = UUID.randomUUID().toString(); + String boundary = "uuid:" + uuid; + String rootId = ""; + String soapActionParameter = SOAPVersion.SOAP_11.equals(version) ? null : createActionParameter(packet); + String boundaryParameter = "boundary=\"" + boundary +"\""; - return MULTIPART_RELATED_MIME_TYPE + + String messageContentType = MULTIPART_RELATED_MIME_TYPE + ";start=\""+rootId +"\"" + ";type=\"" + XOP_XML_MIME_TYPE + "\";" + boundaryParameter + ";start-info=\"" + version.contentType + (soapActionParameter == null? "" : soapActionParameter) + "\""; - } - - /** - * Return the soap 1.1 and soap 1.2 specific XOP packaged ContentType - * - * @return A non-null content type for soap11 or soap 1.2 content type - */ - public ContentType getStaticContentType(Packet packet) { - return getContentType(packet); + ContentTypeImpl ctImpl = SOAPVersion.SOAP_11.equals(version) ? + new ContentTypeImpl(messageContentType, (packet.soapAction == null)?"":packet.soapAction, null) : + new ContentTypeImpl(messageContentType, null, null); + ctImpl.setBoundary(boundary); + ctImpl.setRootId(rootId); + packet.setContentType(ctImpl); + return ctImpl; } - private ContentType getContentType(Packet packet){ - switch(version){ - case SOAP_11: - return new ContentTypeImpl(createMessageContentType(), (packet.soapAction == null)?"":packet.soapAction, null); - case SOAP_12: - return new ContentTypeImpl(createMessageContentType(createActionParameter(packet)), null, null); - } - //never happens - return null; - } - - private String createActionParameter(Packet packet) { + private static String createActionParameter(Packet packet) { return packet.soapAction != null? ";action=\\\""+packet.soapAction+"\\\"" : ""; } + @Override public ContentType encode(Packet packet, OutputStream out) throws IOException { - //get the current boundary thaat will be reaturned from this method - ContentType contentType = getContentType(packet); + ContentTypeImpl ctImpl = (ContentTypeImpl) this.getStaticContentType(packet); + String boundary = ctImpl.getBoundary(); + String rootId = ctImpl.getRootId(); if(packet.getMessage() != null){ try { String encoding = getPacketEncoding(packet); packet.invocationProperties.remove(DECODED_MESSAGE_CHARSET); - String actionParameter = version == SOAPVersion.SOAP_11? "" : createActionParameter(packet); - String soapXopContentType = XOP_XML_MIME_TYPE +";charset="+encoding+";type=\""+version.contentType+ actionParameter + "\""; + String actionParameter = getActionParameter(packet, version); + String soapXopContentType = getSOAPXopContentType(encoding, version, actionParameter); writeln("--"+boundary, out); - writeln("Content-Id: " + rootId, out); - writeln("Content-Type: "+ soapXopContentType, out); - writeln("Content-Transfer-Encoding: binary", out); - writeln(out); + writeMimeHeaders(soapXopContentType, rootId, out); //mtom attachments that need to be written after the root part List mtomAttachments = new ArrayList(); MtomStreamWriterImpl writer = new MtomStreamWriterImpl( - XMLStreamWriterFactory.create(out, encoding), mtomAttachments); + XMLStreamWriterFactory.create(out, encoding), mtomAttachments, boundary, mtomFeature); packet.getMessage().writeTo(writer); XMLStreamWriterFactory.recycle(writer); @@ -184,7 +172,7 @@ } //now write out the attachments in the message - writeAttachments(packet.getMessage().getAttachments(),out); + writeAttachments(packet.getMessage().getAttachments(),out, boundary); //write out the end boundary writeAsAscii("--"+boundary, out); @@ -195,21 +183,32 @@ } } //now create the boundary for next encode() call - createConteTypeHeader(); - return contentType; +// createConteTypeHeader(); + return ctImpl; } - private class ByteArrayBuffer{ + public static String getSOAPXopContentType(String encoding, SOAPVersion version, + String actionParameter) { + return XOP_XML_MIME_TYPE +";charset="+encoding+";type=\""+version.contentType+ actionParameter + "\""; + } + + public static String getActionParameter(Packet packet, SOAPVersion version) { + return (version == SOAPVersion.SOAP_11) ? "" : createActionParameter(packet); + } + + public static class ByteArrayBuffer{ final String contentId; - private DataHandler dh; + private final DataHandler dh; + private final String boundary; - ByteArrayBuffer(@NotNull DataHandler dh) { + ByteArrayBuffer(@NotNull DataHandler dh, String b) { this.dh = dh; this.contentId = encodeCid(); + boundary = b; } - void write(OutputStream os) throws IOException { + public void write(OutputStream os) throws IOException { //build attachment frame writeln("--"+boundary, os); writeMimeHeaders(dh.getContentType(), contentId, os); @@ -218,7 +217,7 @@ } } - private void writeMimeHeaders(String contentType, String contentId, OutputStream out) throws IOException { + public static void writeMimeHeaders(String contentType, String contentId, OutputStream out) throws IOException { String cid = contentId; if(cid != null && cid.length() >0 && cid.charAt(0) != '<') cid = '<' + cid + '>'; @@ -228,7 +227,7 @@ writeln(out); } - private void writeAttachments(AttachmentSet attachments, OutputStream out) throws IOException { + private void writeAttachments(AttachmentSet attachments, OutputStream out, String boundary) throws IOException { for(Attachment att : attachments){ //build attachment frame writeln("--"+boundary, out); @@ -238,15 +237,17 @@ } } + @Override public ContentType encode(Packet packet, WritableByteChannel buffer) { throw new UnsupportedOperationException(); } + @Override public MtomCodec copy() { return new MtomCodec(version, (StreamSOAPCodec)codec.copy(), features); } - private String encodeCid(){ + private static String encodeCid(){ String cid="example.jaxws.sun.com"; String name = UUID.randomUUID()+"@"; return name + cid; @@ -278,7 +279,8 @@ ); packet.setMessage(codec.decode(mtomReader, new MimeAttachmentSet(mpp))); - + packet.setMtomFeature(mtomFeature); + packet.setContentType(mpp.getContentType()); } private String getPacketEncoding(Packet packet) { @@ -286,7 +288,10 @@ if (sf != null && sf.getEncoding() != null) { return sf.getEncoding().equals("") ? SOAPBindingCodec.DEFAULT_ENCODING : sf.getEncoding(); } + return determinePacketEncoding(packet); + } + public static String determinePacketEncoding(Packet packet) { if (packet != null && packet.endpoint != null) { // Use request message's encoding for Server-side response messages String charset = (String)packet.invocationProperties.get(DECODED_MESSAGE_CHARSET); @@ -298,34 +303,41 @@ return SOAPBindingCodec.DEFAULT_ENCODING; } - private class MtomStreamWriterImpl extends XMLStreamWriterFilter implements XMLStreamWriterEx, + public static class MtomStreamWriterImpl extends XMLStreamWriterFilter implements XMLStreamWriterEx, MtomStreamWriter, HasEncoding { private final List mtomAttachments; - - public MtomStreamWriterImpl(XMLStreamWriter w, List mtomAttachments) { + private final String boundary; + private final MTOMFeature myMtomFeature; + public MtomStreamWriterImpl(XMLStreamWriter w, List mtomAttachments, String b, MTOMFeature myMtomFeature) { super(w); this.mtomAttachments = mtomAttachments; + this.boundary = b; + this.myMtomFeature = myMtomFeature; } + @Override public void writeBinary(byte[] data, int start, int len, String contentType) throws XMLStreamException { //check threshold and if less write as base64encoded value - if(mtomFeature.getThreshold() > len){ + if(myMtomFeature.getThreshold() > len){ writeCharacters(DatatypeConverterImpl._printBase64Binary(data, start, len)); return; } - ByteArrayBuffer bab = new ByteArrayBuffer(new DataHandler(new ByteArrayDataSource(data, start, len, contentType))); + ByteArrayBuffer bab = new ByteArrayBuffer(new DataHandler(new ByteArrayDataSource(data, start, len, contentType)), boundary); writeBinary(bab); } + @Override public void writeBinary(DataHandler dataHandler) throws XMLStreamException { // TODO how do we check threshold and if less inline the data - writeBinary(new ByteArrayBuffer(dataHandler)); + writeBinary(new ByteArrayBuffer(dataHandler, boundary)); } + @Override public OutputStream writeBinary(String contentType) throws XMLStreamException { throw new UnsupportedOperationException(); } + @Override public void writePCDATA(CharSequence data) throws XMLStreamException { if(data == null) return; @@ -368,29 +380,33 @@ * While writing, it calls the AttachmentMarshaller methods for adding attachments. * JAXB writes xop:Include in this case. */ + @Override public AttachmentMarshaller getAttachmentMarshaller() { return new AttachmentMarshaller() { + @Override public String addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName) { // Should we do the threshold processing on DataHandler ? But that would be // expensive as DataHolder need to read the data again from its source - ByteArrayBuffer bab = new ByteArrayBuffer(data); + ByteArrayBuffer bab = new ByteArrayBuffer(data, boundary); mtomAttachments.add(bab); return "cid:"+bab.contentId; } + @Override public String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName) { // inline the data based on the threshold - if (mtomFeature.getThreshold() > length) { + if (myMtomFeature.getThreshold() > length) { return null; // JAXB inlines the attachment data } - ByteArrayBuffer bab = new ByteArrayBuffer(new DataHandler(new ByteArrayDataSource(data, offset, length, mimeType))); + ByteArrayBuffer bab = new ByteArrayBuffer(new DataHandler(new ByteArrayDataSource(data, offset, length, mimeType)), boundary); mtomAttachments.add(bab); return "cid:"+bab.contentId; } + @Override public String addSwaRefAttachment(DataHandler data) { - ByteArrayBuffer bab = new ByteArrayBuffer(data); + ByteArrayBuffer bab = new ByteArrayBuffer(data, boundary); mtomAttachments.add(bab); return "cid:"+bab.contentId; } @@ -402,29 +418,38 @@ }; } + public List getMtomAttachments() { + return this.mtomAttachments; + } + + @Override public String getEncoding() { return XMLStreamWriterUtil.getEncoding(writer); } - private class MtomNamespaceContextEx implements NamespaceContextEx { - private NamespaceContext nsContext; + private static class MtomNamespaceContextEx implements NamespaceContextEx { + private final NamespaceContext nsContext; public MtomNamespaceContextEx(NamespaceContext nsContext) { this.nsContext = nsContext; } + @Override public Iterator iterator() { throw new UnsupportedOperationException(); } + @Override public String getNamespaceURI(String prefix) { return nsContext.getNamespaceURI(prefix); } + @Override public String getPrefix(String namespaceURI) { return nsContext.getPrefix(namespaceURI); } + @Override public Iterator getPrefixes(String namespaceURI) { return nsContext.getPrefixes(namespaceURI); } @@ -437,7 +462,7 @@ } } - private static class MtomXMLStreamReaderEx extends XMLStreamReaderFilter implements XMLStreamReaderEx { + public static class MtomXMLStreamReaderEx extends XMLStreamReaderFilter implements XMLStreamReaderEx { /** * The parser for the outer MIME 'shell'. */ @@ -449,11 +474,14 @@ //To be used with #getTextCharacters private char[] base64EncodedText; + private String xopHref; + public MtomXMLStreamReaderEx(MimeMultipartParser mimeMP, XMLStreamReader reader) { super(reader); this.mimeMP = mimeMP; } + @Override public CharSequence getPCDATA() throws XMLStreamException { if(xopReferencePresent){ return base64AttData; @@ -461,40 +489,47 @@ return reader.getText(); } + @Override public NamespaceContextEx getNamespaceContext() { NamespaceContext nsContext = reader.getNamespaceContext(); return new MtomNamespaceContextEx(nsContext); } + @Override public String getElementTextTrim() throws XMLStreamException { throw new UnsupportedOperationException(); } private static class MtomNamespaceContextEx implements NamespaceContextEx { - private NamespaceContext nsContext; + private final NamespaceContext nsContext; public MtomNamespaceContextEx(NamespaceContext nsContext) { this.nsContext = nsContext; } + @Override public Iterator iterator() { throw new UnsupportedOperationException(); } + @Override public String getNamespaceURI(String prefix) { return nsContext.getNamespaceURI(prefix); } + @Override public String getPrefix(String namespaceURI) { return nsContext.getPrefix(namespaceURI); } + @Override public Iterator getPrefixes(String namespaceURI) { return nsContext.getPrefixes(namespaceURI); } } + @Override public int getTextLength() { if (xopReferencePresent) { return base64AttData.length(); @@ -502,6 +537,7 @@ return reader.getTextLength(); } + @Override public int getTextStart() { if (xopReferencePresent) { return 0; @@ -509,22 +545,29 @@ return reader.getTextStart(); } + @Override public int getEventType() { if(xopReferencePresent) return XMLStreamConstants.CHARACTERS; return super.getEventType(); } + @Override public int next() throws XMLStreamException { int event = reader.next(); if (event == XMLStreamConstants.START_ELEMENT && reader.getLocalName().equals(XOP_LOCALNAME) && reader.getNamespaceURI().equals(XOP_NAMESPACEURI)) { //its xop reference, take the URI reference String href = reader.getAttributeValue(null, "href"); try { + xopHref = href; Attachment att = getAttachment(href); if(att != null){ + DataHandler dh = att.asDataHandler(); + if (dh instanceof StreamingDataHandler) { + ((StreamingDataHandler)dh).setHrefCid(att.getContentId()); + } base64AttData = new Base64Data(); - base64AttData.set(att.asDataHandler()); + base64AttData.set(dh); } xopReferencePresent = true; } catch (IOException e) { @@ -537,6 +580,7 @@ if(xopReferencePresent){ xopReferencePresent = false; base64EncodedText = null; + xopHref = null; } return event; } @@ -560,6 +604,7 @@ return mimeMP.getAttachmentPart(cid); } + @Override public char[] getTextCharacters() { if (xopReferencePresent) { char[] chars = new char[base64AttData.length()]; @@ -569,6 +614,7 @@ return reader.getTextCharacters(); } + @Override public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException { if(xopReferencePresent){ if(target == null){ @@ -596,12 +642,25 @@ return reader.getTextCharacters(sourceStart, target, targetStart, length); } + @Override public String getText() { if (xopReferencePresent) { return base64AttData.toString(); } return reader.getText(); } + + protected boolean isXopReference() throws XMLStreamException { + return xopReferencePresent; + } + + protected String getXopHref() { + return xopHref; + } + + public MimeMultipartParser getMimeMultipartParser() { + return mimeMP; + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ParameterList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ParameterList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ParameterList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/RootOnlyCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/RootOnlyCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/RootOnlyCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SOAPBindingCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SOAPBindingCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SOAPBindingCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -51,7 +51,7 @@ import java.lang.reflect.Method; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; -import java.util.StringTokenizer; +//import java.util.StringTokenizer; /** * SOAP binding {@link Codec} that can handle MTOM, SwA, and SOAP messages @@ -74,28 +74,6 @@ public static final String UTF8_ENCODING = "utf-8"; public static final String DEFAULT_ENCODING = UTF8_ENCODING; - /** - * Based on request's Accept header this is set. - * Currently only set if MTOMFeature is enabled. - * - * Should be used on server-side, for encoding the response. - */ - private boolean acceptMtomMessages; - - /** - * If the request's Content-Type is multipart/related; type=application/xop+xml, then this set to to true - * - * Used on server-side, for encoding the repsonse. - */ - private boolean isRequestMtomMessage; - - private enum TriState {UNSET,TRUE,FALSE} - - /** - * This captures is decode is called before encode, - * if true, infers that this is being used on Server-side - */ - private TriState decodeFirst = TriState.UNSET; /** * True if Fast Infoset functionality has been @@ -132,9 +110,6 @@ // The Fast Infoset SWA codec private final MimeCodec fiSwaCodec; -// private final SOAPBindingImpl binding; -// private final WebServiceFeature[] feature; - /** * The XML SOAP MIME type */ @@ -159,35 +134,17 @@ return xmlSoapCodec; } - private class AcceptContentType implements ContentType { - private ContentType _c; - private String _accept; - - public AcceptContentType set(Packet p, ContentType c) { - if (!ignoreContentNegotiationProperty && p.contentNegotiation != ContentNegotiation.none) { - _accept = connegXmlAccept; - } else { - _accept = xmlAccept; - } - _c = c; - return this; + private ContentTypeImpl setAcceptHeader(Packet p, ContentTypeImpl c) { + String _accept; + if (!ignoreContentNegotiationProperty && p.contentNegotiation != ContentNegotiation.none) { + _accept = connegXmlAccept; + } else { + _accept = xmlAccept; } - - public String getContentType() { - return _c.getContentType(); - } - - public String getSOAPActionHeader() { - return _c.getSOAPActionHeader(); - } - - public String getAcceptHeader() { - return _accept; - } + c.setAcceptHeader(_accept); + return c; } - private AcceptContentType _adaptingContentType = new AcceptContentType(); - public SOAPBindingCodec(WSFeatureList features) { this(features, Codecs.createSOAPEnvelopeXmlCodec(features)); } @@ -252,10 +209,8 @@ xmlAccept = clientAcceptedContentTypes; -// if(!(binding instanceof SOAPBindingImpl)) if(getSoapVersion(features) == null) throw new WebServiceException("Expecting a SOAP binding but found "); -// this.binding = (SOAPBindingImpl)binding; } public String getMimeType() { @@ -264,19 +219,21 @@ public ContentType getStaticContentType(Packet packet) { ContentType toAdapt = getEncoder(packet).getStaticContentType(packet); - return (toAdapt != null) ? _adaptingContentType.set(packet, toAdapt) : null; + return setAcceptHeader(packet, (ContentTypeImpl)toAdapt); } public ContentType encode(Packet packet, OutputStream out) throws IOException { preEncode(packet); - ContentType ct = _adaptingContentType.set(packet, getEncoder(packet).encode(packet, out)); + ContentType ct = getEncoder(packet).encode(packet, out); + ct = setAcceptHeader(packet, (ContentTypeImpl)ct); postEncode(); return ct; } public ContentType encode(Packet packet, WritableByteChannel buffer) { preEncode(packet); - ContentType ct = _adaptingContentType.set(packet, getEncoder(packet).encode(packet, buffer)); + ContentType ct = getEncoder(packet).encode(packet, buffer); + ct = setAcceptHeader(packet, (ContentTypeImpl)ct); postEncode(); return ct; } @@ -286,8 +243,6 @@ * Set the state so that such state is used by encode process. */ private void preEncode(Packet p) { - if (decodeFirst == TriState.UNSET) - decodeFirst = TriState.FALSE; } /** @@ -295,9 +250,6 @@ * Reset the encoding state. */ private void postEncode() { - decodeFirst = TriState.UNSET; - acceptMtomMessages = false; - isRequestMtomMessage = false; } /** @@ -314,25 +266,24 @@ * Set the state so that such state is used by encode(). */ private void postDecode(Packet p) { - if(decodeFirst == TriState.UNSET) - decodeFirst = TriState.TRUE; - if(features.isEnabled(MTOMFeature.class)) - acceptMtomMessages =isMtomAcceptable(p.acceptableMimeTypes); + p.setFastInfosetDisabled(isFastInfosetDisabled); + if(features.isEnabled(MTOMFeature.class)) p.checkMtomAcceptable(); +// p.setMtomAcceptable( isMtomAcceptable(p.acceptableMimeTypes) ); + MTOMFeature mtomFeature = features.get(MTOMFeature.class); + if (mtomFeature != null) { + p.setMtomFeature(mtomFeature); + } if (!useFastInfosetForEncoding) { - useFastInfosetForEncoding = isFastInfosetAcceptable(p.acceptableMimeTypes); + useFastInfosetForEncoding = p.getFastInfosetAcceptable(fiMimeType); +// useFastInfosetForEncoding = isFastInfosetAcceptable(p.acceptableMimeTypes); } } - - private boolean isServerSide() { - return decodeFirst == TriState.TRUE; - } - public void decode(InputStream in, String contentType, Packet packet) throws IOException { if (contentType == null) { contentType = xmlMimeType; } - + packet.setContentType(new ContentTypeImpl(contentType)); preDecode(packet); try { if(isMultipartRelated(contentType)) @@ -391,9 +342,9 @@ protected void decode(MimeMultipartParser mpp, Packet packet) throws IOException { // is this SwA or XOP? final String rootContentType = mpp.getRootPart().getContentType(); - - if(isApplicationXopXml(rootContentType)) { - isRequestMtomMessage = true; + boolean isMTOM = isApplicationXopXml(rootContentType); + packet.setMtomRequest(isMTOM); + if(isMTOM) { xmlMtomCodec.decode(mpp,packet); } else if (isFastInfoset(rootContentType)) { if (packet.contentNegotiation == ContentNegotiation.none) @@ -435,35 +386,34 @@ b.length())); } - private boolean isFastInfosetAcceptable(String accept) { - if (accept == null || isFastInfosetDisabled) return false; - - StringTokenizer st = new StringTokenizer(accept, ","); - while (st.hasMoreTokens()) { - final String token = st.nextToken().trim(); - if (token.equalsIgnoreCase(fiMimeType)) { - return true; - } - } - return false; - } +// private boolean isFastInfosetAcceptable(String accept) { +// if (accept == null || isFastInfosetDisabled) return false; +// +// StringTokenizer st = new StringTokenizer(accept, ","); +// while (st.hasMoreTokens()) { +// final String token = st.nextToken().trim(); +// if (token.equalsIgnoreCase(fiMimeType)) { +// return true; +// } +// } +// return false; +// } /* * Just check if the Accept header contains application/xop+xml, * no need to worry about q values. */ - private boolean isMtomAcceptable(String accept) { - if (accept == null || isFastInfosetDisabled) return false; - - StringTokenizer st = new StringTokenizer(accept, ","); - while (st.hasMoreTokens()) { - final String token = st.nextToken().trim(); - if (token.toLowerCase().contains(MtomCodec.XOP_XML_MIME_TYPE)) { - return true; - } - } - return false; - } +// private boolean isMtomAcceptable(String accept) { +// if (accept == null || isFastInfosetDisabled) return false; +// StringTokenizer st = new StringTokenizer(accept, ","); +// while (st.hasMoreTokens()) { +// final String token = st.nextToken().trim(); +// if (token.toLowerCase().contains(MtomCodec.XOP_XML_MIME_TYPE)) { +// return true; +// } +// } +// return false; +// } /** * Determines the encoding codec. @@ -495,11 +445,16 @@ return fiSwaCodec; } - if(features.isEnabled(MTOMFeature.class)) { - //On client, always use XOP encoding if MTOM is enabled - // On Server, use XOP encoding if either request is XOP encoded or client accepts XOP encoding - if(!isServerSide() || isRequestMtomMessage || acceptMtomMessages) - return xmlMtomCodec; + //If the packet does not have a binding, explicitly set the MTOMFeature + //on the packet so that it has a way to determine whether to use MTOM + if (p.getBinding() == null) { + if (features != null) { + p.setMtomFeature(features.get(MTOMFeature.class)); + } + } + + if (p.shouldUseMtom()) { + return xmlMtomCodec; } Message m = p.getMessage(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP11Codec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP11Codec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP11Codec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,9 +29,9 @@ import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.WSFeatureList; +import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.ContentType; -import com.sun.xml.internal.ws.message.stream.StreamHeader; import com.sun.xml.internal.ws.message.stream.StreamHeader11; import javax.xml.stream.XMLStreamReader; @@ -44,6 +44,13 @@ * @author Paul.Sandoz@Sun.Com */ final class StreamSOAP11Codec extends StreamSOAPCodec { + static final StreamHeaderDecoder SOAP11StreamHeaderDecoder = new StreamHeaderDecoder() { + @Override + public Header decodeHeader(XMLStreamReader reader, XMLStreamBuffer mark) { + return new StreamHeader11(reader, mark); + } + }; + public static final String SOAP11_MIME_TYPE = "text/xml"; public static final String DEFAULT_SOAP11_CONTENT_TYPE = SOAP11_MIME_TYPE+"; charset="+SOAPBindingCodec.DEFAULT_ENCODING; @@ -67,11 +74,6 @@ } @Override - protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) { - return new StreamHeader11(reader, mark); - } - - @Override protected ContentType getContentType(Packet packet) { ContentTypeImpl.Builder b = getContenTypeBuilder(packet); b.soapAction = packet.soapAction; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP12Codec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP12Codec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAP12Codec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,10 +29,10 @@ import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.WSFeatureList; +import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.pipe.ContentType; -import com.sun.xml.internal.ws.message.stream.StreamHeader; import com.sun.xml.internal.ws.message.stream.StreamHeader12; import javax.xml.stream.XMLStreamReader; @@ -47,6 +47,13 @@ * @author Paul.Sandoz@Sun.Com */ final class StreamSOAP12Codec extends StreamSOAPCodec { + static final StreamHeaderDecoder SOAP12StreamHeaderDecoder = new StreamHeaderDecoder() { + @Override + public Header decodeHeader(XMLStreamReader reader, XMLStreamBuffer mark) { + return new StreamHeader12(reader, mark); + } + }; + public static final String SOAP12_MIME_TYPE = "application/soap+xml"; public static final String DEFAULT_SOAP12_CONTENT_TYPE = SOAP12_MIME_TYPE+"; charset="+SOAPBindingCodec.DEFAULT_ENCODING; @@ -69,11 +76,6 @@ } @Override - protected final StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark) { - return new StreamHeader12(reader, mark); - } - - @Override protected ContentType getContentType(Packet packet) { ContentTypeImpl.Builder b = getContenTypeBuilder(packet); // TODO: set accept header diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAPCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAPCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StreamSOAPCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,6 +27,8 @@ import static com.sun.xml.internal.ws.binding.WebServiceFeatureList.getSoapVersion; +import com.oracle.webservices.internal.impl.encoding.StreamDecoderImpl; +import com.oracle.webservices.internal.impl.internalspi.encoding.StreamDecoder; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import com.sun.xml.internal.stream.buffer.MutableXMLStreamBuffer; @@ -37,20 +39,19 @@ import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.WSFeatureList; import com.sun.xml.internal.ws.api.message.AttachmentSet; +import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.ContentType; -import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory; import com.sun.xml.internal.ws.developer.SerializationFeature; import com.sun.xml.internal.ws.message.AttachmentSetImpl; -import com.sun.xml.internal.ws.message.stream.StreamHeader; import com.sun.xml.internal.ws.message.stream.StreamMessage; import com.sun.xml.internal.ws.protocol.soap.VersionMismatchException; import com.sun.xml.internal.ws.server.UnsupportedMediaException; import com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil; -import com.sun.xml.internal.ws.streaming.TidyXMLStreamReader; +import com.sun.xml.internal.ws.util.ServiceFinder; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; @@ -79,10 +80,11 @@ private static final String SOAP_HEADER = "Header"; private static final String SOAP_BODY = "Body"; - private final String SOAP_NAMESPACE_URI; private final SOAPVersion soapVersion; protected final SerializationFeature serializationFeature; + private final StreamDecoder streamDecoder; + // charset of last decoded message. Will be used for encoding server's // response messages with the request message's encoding // it will stored in the packet.invocationProperties @@ -102,8 +104,16 @@ private StreamSOAPCodec(SOAPVersion soapVersion, @Nullable SerializationFeature sf) { this.soapVersion = soapVersion; - SOAP_NAMESPACE_URI = soapVersion.nsUri; this.serializationFeature = sf; + this.streamDecoder = selectStreamDecoder(); + } + + private StreamDecoder selectStreamDecoder() { + for (StreamDecoder sd : ServiceFinder.find(StreamDecoder.class)) { + return sd; + } + + return new StreamDecoderImpl(); } public ContentType getStaticContentType(Packet packet) { @@ -181,15 +191,20 @@ * (like MIME multipart codec.) */ public final Message decode(XMLStreamReader reader, @NotNull AttachmentSet attachmentSet) { + return decode(soapVersion, reader, attachmentSet); + } + + public static final Message decode(SOAPVersion soapVersion, XMLStreamReader reader, + @NotNull AttachmentSet attachmentSet) { // Move to soap:Envelope and verify if(reader.getEventType()!=XMLStreamConstants.START_ELEMENT) XMLStreamReaderUtil.nextElementContent(reader); XMLStreamReaderUtil.verifyReaderState(reader,XMLStreamConstants.START_ELEMENT); - if (SOAP_ENVELOPE.equals(reader.getLocalName()) && !SOAP_NAMESPACE_URI.equals(reader.getNamespaceURI())) { - throw new VersionMismatchException(soapVersion, SOAP_NAMESPACE_URI, reader.getNamespaceURI()); + if (SOAP_ENVELOPE.equals(reader.getLocalName()) && !soapVersion.nsUri.equals(reader.getNamespaceURI())) { + throw new VersionMismatchException(soapVersion, soapVersion.nsUri, reader.getNamespaceURI()); } - XMLStreamReaderUtil.verifyTag(reader, SOAP_NAMESPACE_URI, SOAP_ENVELOPE); + XMLStreamReaderUtil.verifyTag(reader, soapVersion.nsUri, SOAP_ENVELOPE); TagInfoset envelopeTag = new TagInfoset(reader); @@ -208,7 +223,7 @@ TagInfoset headerTag = null; if (reader.getLocalName().equals(SOAP_HEADER) - && reader.getNamespaceURI().equals(SOAP_NAMESPACE_URI)) { + && reader.getNamespaceURI().equals(soapVersion.nsUri)) { headerTag = new TagInfoset(reader); // Collect namespaces on soap:Header @@ -220,11 +235,12 @@ // If SOAP header blocks are present (i.e. not ) if (reader.getEventType() == XMLStreamConstants.START_ELEMENT) { - headers = new HeaderList(); + headers = new HeaderList(soapVersion); try { // Cache SOAP header blocks - cacheHeaders(reader, namespaces, headers); + StreamHeaderDecoder headerDecoder = SOAPVersion.SOAP_11.equals(soapVersion) ? StreamSOAP11Codec.SOAP11StreamHeaderDecoder : StreamSOAP12Codec.SOAP12StreamHeaderDecoder; + cacheHeaders(reader, namespaces, headers, headerDecoder); } catch (XMLStreamException e) { // TODO need to throw more meaningful exception throw new WebServiceException(e); @@ -236,7 +252,7 @@ } // Verify that is present - XMLStreamReaderUtil.verifyTag(reader, SOAP_NAMESPACE_URI, SOAP_BODY); + XMLStreamReaderUtil.verifyTag(reader, soapVersion.nsUri, SOAP_BODY); TagInfoset bodyTag = new TagInfoset(reader); String bodyPrologue = XMLStreamReaderUtil.nextWhiteSpaceContent(reader); @@ -254,8 +270,9 @@ return this; } - private XMLStreamBuffer cacheHeaders(XMLStreamReader reader, - Map namespaces, HeaderList headers) throws XMLStreamException { + private static XMLStreamBuffer cacheHeaders(XMLStreamReader reader, + Map namespaces, HeaderList headers, + StreamHeaderDecoder headerDecoder) throws XMLStreamException { MutableXMLStreamBuffer buffer = createXMLStreamBuffer(); StreamReaderBufferCreator creator = new StreamReaderBufferCreator(); creator.setXMLStreamBuffer(buffer); @@ -275,7 +292,7 @@ // Mark XMLStreamBuffer mark = new XMLStreamBufferMark(headerBlockNamespaces, creator); // Create Header - headers.add(createHeader(reader, mark)); + headers.add(headerDecoder.decodeHeader(reader, mark)); // Cache the header block @@ -291,9 +308,11 @@ return buffer; } - protected abstract StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark); + protected interface StreamHeaderDecoder { + public Header decodeHeader(XMLStreamReader reader, XMLStreamBuffer mark); + } - private MutableXMLStreamBuffer createXMLStreamBuffer() { + private static MutableXMLStreamBuffer createXMLStreamBuffer() { // TODO: Decode should own one MutableXMLStreamBuffer for reuse // since it is more efficient. ISSUE: possible issue with // lifetime of information in the buffer if accessed beyond @@ -306,7 +325,10 @@ if (contentType != null && !isContentTypeSupported(contentType,expectedContentTypes)) { throw new UnsupportedMediaException(contentType, expectedContentTypes); } - String charset = new ContentTypeImpl(contentType).getCharSet(); + com.oracle.webservices.internal.api.message.ContentType pct = packet.getInternalContentType(); + ContentTypeImpl cti = (pct != null && pct instanceof ContentTypeImpl) ? + (ContentTypeImpl)pct : new ContentTypeImpl(contentType); + String charset = cti.getCharSet(); if (charset != null && !Charset.isSupported(charset)) { throw new UnsupportedMediaException(charset); } @@ -315,9 +337,7 @@ } else { packet.invocationProperties.remove(DECODED_MESSAGE_CHARSET); } - XMLStreamReader reader = XMLStreamReaderFactory.create(null, in, charset, true); - reader = new TidyXMLStreamReader(reader, in); - packet.setMessage(decode(reader, att)); + packet.setMessage(streamDecoder.decode(in, charset, att, soapVersion)); } public void decode(ReadableByteChannel in, String contentType, Packet response, AttachmentSet att ) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StringDataContentHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StringDataContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/StringDataContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SwACodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SwACodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/SwACodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -48,18 +48,19 @@ public SwACodec(SOAPVersion version, WSFeatureList f, Codec rootCodec) { super(version, f); - this.rootCodec = rootCodec; + this.mimeRootCodec = rootCodec; } private SwACodec(SwACodec that) { super(that); - this.rootCodec = that.rootCodec.copy(); + this.mimeRootCodec = that.mimeRootCodec.copy(); } @Override protected void decode(MimeMultipartParser mpp, Packet packet) throws IOException { // TODO: handle attachments correctly Attachment root = mpp.getRootPart(); + Codec rootCodec = getMimeRootCodec(packet); if (rootCodec instanceof RootOnlyCodec) { ((RootOnlyCodec)rootCodec).decode(root.asInputStream(),root.getContentType(),packet, new MimeAttachmentSet(mpp)); } else { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/TagInfoset.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/TagInfoset.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/TagInfoset.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XMLHTTPBindingCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XMLHTTPBindingCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XMLHTTPBindingCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -41,7 +41,6 @@ import javax.activation.DataSource; import javax.xml.ws.WebServiceException; -import javax.xml.ws.WebServiceFeature; import java.io.IOException; import java.io.InputStream; @@ -96,37 +95,18 @@ */ private static final String fiXmlAccept = APPLICATION_FAST_INFOSET_MIME_TYPE + ", " + BASE_ACCEPT_VALUE; - private class AcceptContentType implements ContentType { - private ContentType _c; - private String _accept; - - public AcceptContentType set(Packet p, ContentType c) { - // TODO: need to compose based on underlying codecs - if (p.contentNegotiation == ContentNegotiation.optimistic - || p.contentNegotiation == ContentNegotiation.pessimistic) { - _accept = fiXmlAccept; - } else { - _accept = xmlAccept; - } - _c = c; - return this; + private ContentTypeImpl setAcceptHeader(Packet p, ContentType c) { + ContentTypeImpl ctImpl = (ContentTypeImpl)c; + if (p.contentNegotiation == ContentNegotiation.optimistic + || p.contentNegotiation == ContentNegotiation.pessimistic) { + ctImpl.setAcceptHeader(fiXmlAccept); + } else { + ctImpl.setAcceptHeader(xmlAccept); } - - public String getContentType() { - return _c.getContentType(); - } - - public String getSOAPActionHeader() { - return _c.getSOAPActionHeader(); - } - - public String getAcceptHeader() { - return _accept; - } + p.setContentType(ctImpl); + return ctImpl; } - private AcceptContentType _adaptingContentType = new AcceptContentType(); - public XMLHTTPBindingCodec(WSFeatureList f) { super(SOAPVersion.SOAP_11, f); @@ -135,44 +115,42 @@ fiCodec = getFICodec(); } + @Override public String getMimeType() { return null; } @Override public ContentType getStaticContentType(Packet packet) { - setRootCodec(packet); - - ContentType ct = null; - if (packet.getMessage() instanceof MessageDataSource) { - final MessageDataSource mds = (MessageDataSource)packet.getMessage(); + ContentType ct; + if (packet.getInternalMessage() instanceof MessageDataSource) { + final MessageDataSource mds = (MessageDataSource)packet.getInternalMessage(); if (mds.hasUnconsumedDataSource()) { ct = getStaticContentType(mds); return (ct != null) - ? _adaptingContentType.set(packet, ct) + ? setAcceptHeader(packet, ct) //_adaptingContentType.set(packet, ct) : null; } } ct = super.getStaticContentType(packet); return (ct != null) - ? _adaptingContentType.set(packet, ct) + ? setAcceptHeader(packet, ct) //_adaptingContentType.set(packet, ct) : null; } @Override public ContentType encode(Packet packet, OutputStream out) throws IOException { - setRootCodec(packet); - - if (packet.getMessage() instanceof MessageDataSource) { - final MessageDataSource mds = (MessageDataSource)packet.getMessage(); + if (packet.getInternalMessage() instanceof MessageDataSource) { + final MessageDataSource mds = (MessageDataSource)packet.getInternalMessage(); if (mds.hasUnconsumedDataSource()) - return _adaptingContentType.set(packet, encode(mds, out)); + return setAcceptHeader(packet, encode(mds, out)); } - return _adaptingContentType.set(packet, super.encode(packet, out)); + return setAcceptHeader(packet, super.encode(packet, out)); } + @Override public ContentType encode(Packet packet, WritableByteChannel buffer) { throw new UnsupportedOperationException(); } @@ -208,10 +186,12 @@ } } + @Override protected void decode(MimeMultipartParser mpp, Packet packet) throws IOException { // This method will never be invoked } + @Override public MimeCodec copy() { return new XMLHTTPBindingCodec(features); } @@ -220,10 +200,6 @@ return compareStrings(contentType, MimeCodec.MULTIPART_RELATED_MIME_TYPE); } - private boolean isApplicationXopXml(String contentType) { - return compareStrings(contentType, MtomCodec.XOP_XML_MIME_TYPE); - } - private boolean isXml(String contentType) { return compareStrings(contentType, XMLCodec.XML_APPLICATION_MIME_TYPE) || compareStrings(contentType, XMLCodec.XML_TEXT_MIME_TYPE) @@ -285,7 +261,8 @@ } } - private void setRootCodec(Packet p) { + @Override + protected Codec getMimeRootCodec(Packet p) { /** * The following logic is only for outbound packets * to be encoded by client. @@ -300,8 +277,7 @@ useFastInfosetForEncoding = true; } - rootCodec = (useFastInfosetForEncoding && fiCodec != null) - ? fiCodec : xmlCodec; + return (useFastInfosetForEncoding && fiCodec != null)? fiCodec : xmlCodec; } public static boolean requiresTransformationOfDataSource( diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XmlDataContentHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XmlDataContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/XmlDataContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -40,7 +40,6 @@ import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; -import javax.xml.stream.XMLStreamReader; import javax.xml.ws.WebServiceException; import java.io.OutputStream; import java.io.InputStream; @@ -110,7 +109,7 @@ public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ - Message message = null; + Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), @@ -135,15 +134,6 @@ } } - private XMLStreamReader getXMLStreamReader(InputStream in) { - if (_parser != null) { - _parser.setInputStream(in); - return _parser; - } else { - return _parser = createNewStreamReader(in, _retainState); - } - } - /** * Creates a new {@link FastInfosetCodec} instance. * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetMIMETypes.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetMIMETypes.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetMIMETypes.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderRecyclable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderRecyclable.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamReaderRecyclable.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP11Codec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP11Codec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP11Codec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP12Codec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP12Codec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAP12Codec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAPCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAPCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/FastInfosetStreamSOAPCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPolicyValidator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPolicyValidator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPolicyValidator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPrefixMapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPrefixMapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/EncodingPrefixMapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/FastInfosetFeatureConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/FastInfosetFeatureConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/FastInfosetFeatureConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomFeatureConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomFeatureConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomFeatureConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,7 @@ package com.sun.xml.internal.ws.encoding.policy; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; import com.sun.xml.internal.ws.policy.AssertionSet; import com.sun.xml.internal.ws.policy.Policy; import com.sun.xml.internal.ws.policy.PolicyAssertion; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomPolicyMapConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomPolicyMapConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/MtomPolicyMapConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/SelectOptimalEncodingFeatureConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/SelectOptimalEncodingFeatureConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/SelectOptimalEncodingFeatureConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/DeserializationException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/DeserializationException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/DeserializationException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.encoding.soap; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * DeserializationException represents an exception that occurred while diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAP12Constants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAP12Constants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAP12Constants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAPConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAPConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAPConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializationException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializationException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializationException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -24,8 +24,9 @@ */ package com.sun.xml.internal.ws.encoding.soap; + +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * SerializationException represents an exception that occurred while diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializerConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializerConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SerializerConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAP12NamespaceConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAP12NamespaceConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAP12NamespaceConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAPNamespaceConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAPNamespaceConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/streaming/SOAPNamespaceConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLCodec.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLCodec.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLCodec.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,7 +28,6 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.bind.api.Bridge; import com.sun.xml.internal.ws.api.SOAPVersion; -import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.WSFeatureList; import com.sun.xml.internal.ws.api.message.*; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; @@ -44,7 +43,6 @@ import com.sun.xml.internal.ws.message.source.PayloadSourceMessage; import com.sun.xml.internal.ws.util.ByteArrayBuffer; import com.sun.xml.internal.ws.util.StreamUtils; -import static com.sun.xml.internal.ws.binding.WebServiceFeatureList.getFeature; import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; @@ -60,7 +58,6 @@ import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; import javax.xml.ws.WebServiceException; -import javax.xml.ws.WebServiceFeature; import java.io.IOException; import java.io.InputStream; @@ -75,7 +72,6 @@ private static final int PLAIN_XML_FLAG = 1; // 00001 private static final int MIME_MULTIPART_FLAG = 2; // 00010 private static final int FI_ENCODED_FLAG = 16; // 10000 - private WebServiceFeature[] features; /* * Construct a message given a content type and an input stream. @@ -240,7 +236,7 @@ public XmlContent(String ct, InputStream in, WSFeatureList f) { super(SOAPVersion.SOAP_11); dataSource = new XmlDataSource(ct, in); - this.headerList = new HeaderList(); + this.headerList = new HeaderList(SOAPVersion.SOAP_11); // this.binding = binding; features = f; } @@ -268,7 +264,7 @@ return false; } - public @NotNull HeaderList getHeaders() { + public @NotNull MessageHeaders getHeaders() { return headerList; } @@ -351,12 +347,13 @@ private final DataSource dataSource; private final StreamingAttachmentFeature feature; private Message delegate; - private final HeaderList headerList = new HeaderList(); + private HeaderList headerList;// = new HeaderList(); // private final WSBinding binding; private final WSFeatureList features; public XMLMultiPart(final String contentType, final InputStream is, WSFeatureList f) { super(SOAPVersion.SOAP_11); + headerList = new HeaderList(SOAPVersion.SOAP_11); dataSource = createDataSource(contentType, is); this.feature = f.get(StreamingAttachmentFeature.class); this.features = f; @@ -391,7 +388,7 @@ return false; } - public @NotNull HeaderList getHeaders() { + public @NotNull MessageHeaders getHeaders() { return headerList; } @@ -500,7 +497,7 @@ public UnknownContent(DataSource ds) { super(SOAPVersion.SOAP_11); this.ds = ds; - this.headerList = new HeaderList(); + this.headerList = new HeaderList(SOAPVersion.SOAP_11); } /* @@ -534,7 +531,7 @@ return false; } - public HeaderList getHeaders() { + public MessageHeaders getHeaders() { return headerList; } @@ -579,8 +576,9 @@ final ByteArrayBuffer bos = new ByteArrayBuffer(); try { Codec codec = new XMLHTTPBindingCodec(f); - com.sun.xml.internal.ws.api.pipe.ContentType ct = codec.getStaticContentType(new Packet(msg)); - codec.encode(new Packet(msg), bos); + Packet packet = new Packet(msg); + com.sun.xml.internal.ws.api.pipe.ContentType ct = codec.getStaticContentType(packet); + codec.encode(packet, bos); return createDataSource(ct.getContentType(), bos.newInputStream()); } catch(IOException ioe) { throw new WebServiceException(ioe); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLPropertyBag.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLPropertyBag.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/XMLPropertyBag.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,9 +25,10 @@ package com.sun.xml.internal.ws.encoding.xml; -import com.sun.xml.internal.ws.api.PropertySet; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import com.oracle.webservices.internal.api.message.PropertySet; -public class XMLPropertyBag extends PropertySet { +public class XMLPropertyBag extends BasePropertySet { private String contentType; protected PropertyMap getPropertyMap() { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/CodeType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/CodeType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/CodeType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/DetailType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/DetailType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/DetailType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ExceptionBean.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ExceptionBean.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ExceptionBean.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -152,7 +152,9 @@ try { return Integer.parseInt(v); } catch (NumberFormatException e) { - if(v.equals("native")) return -2; + if ("native".equals(v)) { + return -2; + } return -1; } } @@ -166,7 +168,7 @@ * Checks if the given element is the XML representation of {@link ExceptionBean}. */ public static boolean isStackTraceXml(Element n) { - return n.getLocalName().equals(LOCAL_NAME) && n.getNamespaceURI().equals(NS); + return LOCAL_NAME.equals(n.getLocalName()) && NS.equals(n.getNamespaceURI()); } private static final JAXBContext JAXB_CONTEXT; @@ -189,7 +191,9 @@ private static final NamespacePrefixMapper nsp = new NamespacePrefixMapper() { public String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix) { - if(namespaceUri.equals(NS)) return ""; + if (NS.equals(namespaceUri)) { + return ""; + } return suggestion; } }; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ReasonType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ReasonType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ReasonType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP11Fault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP11Fault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP11Fault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -36,7 +36,6 @@ import javax.xml.soap.SOAPException; import javax.xml.soap.SOAPFault; import javax.xml.ws.WebServiceException; -import javax.xml.ws.soap.SOAPFaultException; import java.util.Iterator; /** @@ -102,12 +101,13 @@ this.faultstring = reason; this.faultactor = actor; if (detailObject != null) { - if("".equals(detailObject.getNamespaceURI()) && "detail".equals(detailObject.getLocalName())){ + if ((detailObject.getNamespaceURI() == null || + "".equals(detailObject.getNamespaceURI())) && "detail".equals(detailObject.getLocalName())) { detail = new DetailType(); - for(Element detailEntry : DOMUtil.getChildElements(detailObject)){ + for(Element detailEntry : DOMUtil.getChildElements(detailObject)) { detail.getDetails().add(detailEntry); } - }else{ + } else { detail = new DetailType(detailObject); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP12Fault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP12Fault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAP12Fault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SOAPFaultBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,7 +29,6 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.message.Message; -import com.sun.xml.internal.ws.api.model.CheckedException; import com.sun.xml.internal.ws.api.model.ExceptionType; import com.sun.xml.internal.ws.encoding.soap.SOAP12Constants; import com.sun.xml.internal.ws.encoding.soap.SOAPConstants; @@ -170,7 +169,18 @@ * @param soapVersion non-null */ public static Message createSOAPFaultMessage(SOAPVersion soapVersion, CheckedExceptionImpl ceModel, Throwable ex) { - return createSOAPFaultMessage(soapVersion, ceModel, ex, null); + // Sometimes InvocationTargetException.getCause() is null + // but InvocationTargetException.getTargetException() contains the real exception + // even though they are supposed to be equivalent. + // If we only look at .getCause this results in the real exception being lost. + // Looks like a JDK bug. + final Throwable t = + ex instanceof java.lang.reflect.InvocationTargetException + ? + ((java.lang.reflect.InvocationTargetException)ex).getTargetException() + : + ex; + return createSOAPFaultMessage(soapVersion, ceModel, t, null); } /** @@ -491,7 +501,6 @@ } catch (JAXBException e1) { //Should we throw Internal Server Error??? faultString = e.getMessage(); - faultCode = getDefaultFaultCode(soapVersion); } } @@ -535,16 +544,18 @@ /** * Set to false if you don't want the generated faults to have stack trace in it. */ - public static boolean captureStackTrace; + public static final boolean captureStackTrace; /*package*/ static final String CAPTURE_STACK_TRACE_PROPERTY = SOAPFaultBuilder.class.getName()+".captureStackTrace"; static { + boolean tmpVal = false; try { - captureStackTrace = Boolean.getBoolean(CAPTURE_STACK_TRACE_PROPERTY); + tmpVal = Boolean.getBoolean(CAPTURE_STACK_TRACE_PROPERTY); } catch (SecurityException e) { // ignore } + captureStackTrace = tmpVal; try { JAXB_CONTEXT = JAXBContext.newInstance(SOAP11Fault.class, SOAP12Fault.class); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ServerSOAPFaultException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ServerSOAPFaultException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/ServerSOAPFaultException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SubcodeType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SubcodeType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/SubcodeType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/fault/TextType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/TextType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/fault/TextType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientLogicalHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientLogicalHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientLogicalHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientMessageHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientMessageHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientMessageHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -45,6 +45,7 @@ import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.Handler; import java.util.*; +import java.util.Map.Entry; /** * @author Rama Pulavarthi @@ -92,7 +93,8 @@ //Lets copy all the MessageContext.OUTBOUND_ATTACHMENT_PROPERTY to the message Map atts = (Map) context.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS); AttachmentSet attSet = context.packet.getMessage().getAttachments(); - for(String cid : atts.keySet()){ + for (Entry entry : atts.entrySet()) { + String cid = entry.getKey(); if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice Attachment att = new DataHandlerAttachment(cid, atts.get(cid)); attSet.add(att); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientSOAPHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientSOAPHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ClientSOAPHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -43,6 +43,7 @@ import javax.xml.ws.WebServiceException; import javax.activation.DataHandler; import java.util.*; +import java.util.Map.Entry; /** * @@ -113,7 +114,8 @@ //Lets copy all the MessageContext.OUTBOUND_ATTACHMENT_PROPERTY to the message Map atts = (Map) context.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS); AttachmentSet attSet = context.packet.getMessage().getAttachments(); - for(String cid : atts.keySet()){ + for (Entry entry : atts.entrySet()) { + String cid = entry.getKey(); if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice Attachment att = new DataHandlerAttachment(cid, atts.get(cid)); attSet.add(att); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerChainsModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerChainsModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerChainsModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.handler; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * Exception thrown by handler-related code. Extends diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/HandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -293,7 +293,7 @@ } else { /* otherwise use this value as an approximation, since this carries - the appliation's intention --- whether it was invokeOneway vs invoke,etc. + the application's intention --- whether it was invokeOneway vs invoke,etc. */ return !(packet.expectReply != null && packet.expectReply); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,21 +25,13 @@ package com.sun.xml.internal.ws.handler; -import com.sun.xml.internal.ws.api.message.AttachmentSet; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.model.SEIModel; -import com.sun.xml.internal.ws.message.EmptyMessageImpl; -import com.sun.xml.internal.ws.message.source.PayloadSourceMessage; import com.sun.xml.internal.ws.spi.db.BindingContext; -import javax.xml.transform.Source; - import javax.xml.ws.LogicalMessage; import javax.xml.ws.handler.LogicalMessageContext; -import javax.xml.bind.JAXBContext; /** * Implementation of LogicalMessageContext. This class is used at runtime diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/LogicalMessageImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,9 +25,9 @@ package com.sun.xml.internal.ws.handler; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.message.Message; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.spi.db.BindingContext; @@ -184,7 +184,7 @@ * @param binding * @return */ - public Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding) { + public Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding) { assert isPayloadModifed(); if(isPayloadModifed()) { return lm.getMessage(headers,attachments,binding); @@ -199,7 +199,7 @@ public abstract Source getPayload(); public abstract Object getPayload(BindingContext context); public abstract Object getPayload(JAXBContext context); - public abstract Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding); + public abstract Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding); } @@ -216,12 +216,12 @@ return dom; } - public Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding) { + public Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding) { Node n = dom.getNode(); if(n.getNodeType()== Node.DOCUMENT_NODE) { n = ((Document)n).getDocumentElement(); } - return new DOMMessage(binding.getSOAPVersion(),headers, (Element)n, attachments); + return new DOMMessage(binding.getSOAPVersion(), headers, (Element)n, attachments); } } @@ -245,7 +245,7 @@ return null; } - public Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding) { + public Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding) { return new EmptyMessageImpl(headers,attachments,binding.getSOAPVersion()); } } @@ -303,7 +303,7 @@ } } - public Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding) { + public Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding) { return JAXBMessage.create(BindingContextFactory.create(ctxt), o,binding.getSOAPVersion(), headers,attachments); } } @@ -356,7 +356,7 @@ } - public Message getMessage(HeaderList headers, AttachmentSet attachments, WSBinding binding) { + public Message getMessage(MessageHeaders headers, AttachmentSet attachments, WSBinding binding) { assert (payloadSrc!=null); return new PayloadSourceMessage(headers, payloadSrc, attachments,binding.getSOAPVersion()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,7 +28,6 @@ import com.sun.xml.internal.ws.api.message.Attachment; import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.message.Packet; -import com.sun.xml.internal.ws.util.ReadOnlyPropertyException; import javax.activation.DataHandler; import javax.xml.ws.handler.MessageContext; @@ -37,29 +36,24 @@ import java.util.Map; import java.util.Set; + /** * * @author WS Development Team */ class MessageContextImpl implements MessageContext { - private Map fallbackMap = null; - private Set handlerScopeProps; - Packet packet; - + private final Set handlerScopeProps; + private final Packet packet; + private final Map asMapIncludingInvocationProperties; - void fallback() { - if(fallbackMap == null) { - fallbackMap = new HashMap(); - fallbackMap.putAll(packet.createMapView()); - fallbackMap.putAll(packet.invocationProperties); - } - } /** Creates a new instance of MessageContextImpl */ public MessageContextImpl(Packet packet) { this.packet = packet; - handlerScopeProps = packet.getHandlerScopePropertyNames(false); + this.asMapIncludingInvocationProperties = packet.asMapIncludingInvocationProperties(); + this.handlerScopeProps = packet.getHandlerScopePropertyNames(false); } + protected void updatePacket() { throw new UnsupportedOperationException("wrong call"); } @@ -86,65 +80,32 @@ } public int size() { - fallback(); - return fallbackMap.size(); + return asMapIncludingInvocationProperties.size(); } public boolean isEmpty() { - fallback(); - return fallbackMap.isEmpty(); + return asMapIncludingInvocationProperties.isEmpty(); } public boolean containsKey(Object key) { - if(fallbackMap == null) { - if(packet.supports(key)) - return true; - return packet.invocationProperties.containsKey(key); - } else { - fallback(); - return fallbackMap.containsKey(key); - } + return asMapIncludingInvocationProperties.containsKey(key); } public boolean containsValue(Object value) { - fallback(); - return fallbackMap.containsValue(value); + return asMapIncludingInvocationProperties.containsValue(value); } public Object put(String key, Object value) { - if (fallbackMap == null) { - if (packet.supports(key)) { - return packet.put(key, value); // strongly typed - } - if (!packet.invocationProperties.containsKey(key)) { - //New property, default to Scope.HANDLER - handlerScopeProps.add(key); - } - return packet.invocationProperties.put(key, value); - - } else { - fallback(); - if (!fallbackMap.containsKey(key)) { - //new property, default to Scope.HANDLER - handlerScopeProps.add(key); - } - return fallbackMap.put(key, value); + if (!asMapIncludingInvocationProperties.containsKey(key)) { + //new property, default to Scope.HANDLER + handlerScopeProps.add(key); } + return asMapIncludingInvocationProperties.put(key, value); } public Object get(Object key) { if(key == null) return null; - Object value; - if(fallbackMap == null) { - if (packet.supports(key)) { - value = packet.get(key); // strongly typed - } else { - value = packet.invocationProperties.get(key); - } - } else { - fallback(); - value = fallbackMap.get(key); - } + Object value = asMapIncludingInvocationProperties.get(key); //add the attachments from the Message to the corresponding attachment property if(key.equals(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS) || key.equals(MessageContext.INBOUND_MESSAGE_ATTACHMENTS)){ @@ -153,7 +114,16 @@ atts = new HashMap(); AttachmentSet attSet = packet.getMessage().getAttachments(); for(Attachment att : attSet){ - atts.put(att.getContentId(), att.asDataHandler()); + String cid = att.getContentId(); + if (cid.indexOf("@jaxws.sun.com") == -1) { + Object a = atts.get(cid); + if (a == null) { + a = atts.get("<" + cid + ">"); + if (a == null) atts.put(att.getContentId(), att.asDataHandler()); + } + } else { + atts.put(att.getContentId(), att.asDataHandler()); + } } return atts; } @@ -161,61 +131,29 @@ } public void putAll(Map t) { - fallback(); for(String key: t.keySet()) { - if(!fallbackMap.containsKey(key)) { + if(!asMapIncludingInvocationProperties.containsKey(key)) { //new property, default to Scope.HANDLER handlerScopeProps.add(key); } } - fallbackMap.putAll(t); + asMapIncludingInvocationProperties.putAll(t); } public void clear() { - fallback(); - fallbackMap.clear(); + asMapIncludingInvocationProperties.clear(); } public Object remove(Object key){ - fallback(); handlerScopeProps.remove(key); - return fallbackMap.remove(key); + return asMapIncludingInvocationProperties.remove(key); } public Set keySet() { - fallback(); - return fallbackMap.keySet(); + return asMapIncludingInvocationProperties.keySet(); } public Set> entrySet(){ - fallback(); - return fallbackMap.entrySet(); + return asMapIncludingInvocationProperties.entrySet(); } public Collection values() { - fallback(); - return fallbackMap.values(); + return asMapIncludingInvocationProperties.values(); } - - - /** - * Fill a {@link Packet} with values of this {@link MessageContext}. - */ - void fill(Packet packet) { - if(fallbackMap != null) { - for (Entry entry : fallbackMap.entrySet()) { - String key = entry.getKey(); - if (packet.supports(key)) { - try { - packet.put(key, entry.getValue()); - } catch (ReadOnlyPropertyException e) { - // Nothing to do - } - } else { - packet.invocationProperties.put(key, entry.getValue()); - } - } - - //Remove properties which are removed by user. - packet.createMapView().keySet().retainAll(fallbackMap.keySet()); - packet.invocationProperties.keySet().retainAll(fallbackMap.keySet()); - } - } - } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageHandlerContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageHandlerContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageHandlerContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageUpdatableContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageUpdatableContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/MessageUpdatableContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -48,12 +48,6 @@ } /** - * Fill a {@link Packet} with values of this {@link MessageContext}. - */ - private void fill(Packet packet) { - ctxt.fill(packet); - } - /** * Updates Message in the packet with user modifications */ abstract void updateMessage(); @@ -79,7 +73,6 @@ */ public final void updatePacket() { updateMessage(); - fill(packet); } MessageContextImpl getMessageContext() { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/PortInfoImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/PortInfoImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/PortInfoImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPHandlerProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPHandlerProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPHandlerProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPMessageContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPMessageContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/SOAPMessageContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -30,7 +30,6 @@ import com.sun.xml.internal.ws.api.message.saaj.SAAJFactory; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.SOAPVersion; -import com.sun.xml.internal.ws.message.saaj.SAAJMessage; import javax.xml.bind.JAXBContext; import javax.xml.namespace.QName; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerLogicalHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerLogicalHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerLogicalHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -47,6 +47,7 @@ import java.util.List; import java.util.ArrayList; import java.util.Map; +import java.util.Map.Entry; /** * @@ -156,7 +157,8 @@ //Lets copy all the MessageContext.OUTBOUND_ATTACHMENT_PROPERTY to the message Map atts = (Map) context.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS); AttachmentSet attSet = context.packet.getMessage().getAttachments(); - for(String cid : atts.keySet()){ + for (Entry entry : atts.entrySet()) { + String cid = entry.getKey(); Attachment att = new DataHandlerAttachment(cid, atts.get(cid)); attSet.add(att); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerMessageHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerMessageHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerMessageHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -43,6 +43,7 @@ import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.Handler; import java.util.*; +import java.util.Map.Entry; /** * @author Rama Pulavarthi @@ -82,7 +83,8 @@ //Lets copy all the MessageContext.OUTBOUND_ATTACHMENT_PROPERTY to the message Map atts = (Map) context.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS); AttachmentSet attSet = context.packet.getMessage().getAttachments(); - for(String cid : atts.keySet()){ + for (Entry entry : atts.entrySet()) { + String cid = entry.getKey(); if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice Attachment att = new DataHandlerAttachment(cid, atts.get(cid)); attSet.add(att); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerSOAPHandlerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerSOAPHandlerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/ServerSOAPHandlerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -138,7 +138,8 @@ //Lets copy all the MessageContext.OUTBOUND_ATTACHMENT_PROPERTY to the message Map atts = (Map) context.get(MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS); AttachmentSet attSet = context.packet.getMessage().getAttachments(); - for(String cid : atts.keySet()){ + for (Map.Entry entry : atts.entrySet()) { + String cid = entry.getKey(); if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice Attachment att = new DataHandlerAttachment(cid, atts.get(cid)); attSet.add(att); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/handler/XMLHandlerProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/XMLHandlerProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/XMLHandlerProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractHeaderImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractHeaderImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractHeaderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -104,6 +104,8 @@ String v = getAttribute(soapVersion.nsUri, "mustUnderstand"); if(v==null || !parseBool(v)) return true; + if (roles == null) return true; + // now role return !roles.contains(getRole(soapVersion)); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractMessageImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractMessageImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AbstractMessageImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,10 +27,13 @@ import com.sun.xml.internal.bind.api.Bridge; import com.sun.xml.internal.ws.api.SOAPVersion; -import com.sun.xml.internal.ws.api.message.HeaderList; +import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; +import com.sun.xml.internal.ws.api.message.MessageWritable; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.message.saaj.SAAJFactory; +import com.sun.xml.internal.ws.message.saaj.SAAJMessage; import com.sun.xml.internal.ws.spi.db.XMLBridge; import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; @@ -46,6 +49,7 @@ import javax.xml.stream.XMLStreamWriter; import javax.xml.transform.Source; import javax.xml.transform.sax.SAXSource; + import java.util.List; import java.util.Map; @@ -80,6 +84,9 @@ this.soapVersion = soapVersion; } + public SOAPVersion getSOAPVersion() { + return soapVersion; + } /** * Copy constructor. */ @@ -121,10 +128,9 @@ w.writeNamespace("S",soapNsUri); if(hasHeaders()) { w.writeStartElement("S","Header",soapNsUri); - HeaderList headers = getHeaders(); - int len = headers.size(); - for( int i=0; i> headers = null; - String key = inbound ? Packet.INBOUND_TRANSPORT_HEADERS : Packet.OUTBOUND_TRANSPORT_HEADERS; - if (packet.supports(key)) { - headers = (Map>)packet.get(key); - } - if (headers != null) { - for(Map.Entry> e : headers.entrySet()) { - if (!e.getKey().equalsIgnoreCase("Content-Type")) { - for(String value : e.getValue()) { - msg.getMimeHeaders().addHeader(e.getKey(), value); - } - } - } - } - - if (msg.saveRequired()) - msg.saveChanges(); + SOAPMessage msg = SAAJFactory.read(soapVersion, this, packet); + transportHeaders(packet, inbound, msg); return msg; } + private void transportHeaders(Packet packet, boolean inbound, SOAPMessage msg) throws SOAPException { + Map> headers = getTransportHeaders(packet, inbound); + if (headers != null) { + addSOAPMimeHeaders(msg.getMimeHeaders(), headers); + } + if (msg.saveRequired()) msg.saveChanges(); + } protected static final AttributesImpl EMPTY_ATTS = new AttributesImpl(); protected static final LocatorImpl NULL_LOCATOR = new LocatorImpl(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentSetImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentSetImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentSetImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentUnmarshallerImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentUnmarshallerImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/AttachmentUnmarshallerImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/ByteArrayAttachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ByteArrayAttachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ByteArrayAttachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -118,4 +118,26 @@ public String getStringContent() { return node.getTextContent(); } + + public N getWrappedNode() { + return node; + } + + + @Override + public int hashCode() { + return getWrappedNode().hashCode(); + } + + + @Override + public boolean equals(Object obj) { + if (obj instanceof DOMHeader) { + return getWrappedNode().equals(((DOMHeader) obj).getWrappedNode()); + } else { + return false; + } + } + + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DOMMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,6 +32,7 @@ import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.AttachmentSet; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.streaming.DOMStreamReader; import com.sun.xml.internal.ws.util.DOMUtil; import org.w3c.dom.Element; @@ -54,18 +55,18 @@ * @author Kohsuke Kawaguchi */ public final class DOMMessage extends AbstractMessageImpl { - private HeaderList headers; + private MessageHeaders headers; private final Element payload; public DOMMessage(SOAPVersion ver, Element payload) { this(ver,null,payload); } - public DOMMessage(SOAPVersion ver, HeaderList headers, Element payload) { + public DOMMessage(SOAPVersion ver, MessageHeaders headers, Element payload) { this(ver,headers,payload,null); } - public DOMMessage(SOAPVersion ver, HeaderList headers, Element payload, AttachmentSet attachments) { + public DOMMessage(SOAPVersion ver, MessageHeaders headers, Element payload, AttachmentSet attachments) { super(ver); this.headers = headers; this.payload = payload; @@ -82,12 +83,12 @@ } public boolean hasHeaders() { - return getHeaders().size() > 0; + return getHeaders().hasHeaders(); } - public HeaderList getHeaders() { + public MessageHeaders getHeaders() { if (headers == null) - headers = new HeaderList(); + headers = new HeaderList(getSOAPVersion()); return headers; } @@ -151,4 +152,5 @@ public Message copy() { return new DOMMessage(this); } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/DataHandlerAttachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DataHandlerAttachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/DataHandlerAttachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -48,9 +48,10 @@ private final DataHandler dh; private final String contentId; + String contentIdNoAngleBracket; /** - * This will be constructed by {@link AttachmentMarshallerImpl} + * This will be constructed by {@link com.sun.xml.internal.ws.message.jaxb.AttachmentMarshallerImpl} */ public DataHandlerAttachment(@NotNull String contentId, @NotNull DataHandler dh) { this.dh = dh; @@ -58,7 +59,13 @@ } public String getContentId() { - return contentId; +// return contentId; + if (contentIdNoAngleBracket == null) { + contentIdNoAngleBracket = contentId; + if (contentIdNoAngleBracket != null && contentIdNoAngleBracket.charAt(0) == '<') + contentIdNoAngleBracket = contentIdNoAngleBracket.substring(1, contentIdNoAngleBracket.length()-1); + } + return contentIdNoAngleBracket; } public String getContentType() { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/EmptyMessageImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/EmptyMessageImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/EmptyMessageImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,15 +28,14 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.message.AttachmentSet; -import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; + import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; -import javax.xml.soap.SOAPException; -import javax.xml.soap.SOAPMessage; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; @@ -53,19 +52,19 @@ * If a message has no payload, it's more likely to have * some header, so we create it eagerly here. */ - private final HeaderList headers; + private final MessageHeaders headers; private final AttachmentSet attachmentSet; public EmptyMessageImpl(SOAPVersion version) { super(version); - this.headers = new HeaderList(); + this.headers = new HeaderList(version); this.attachmentSet = new AttachmentSetImpl(); } - public EmptyMessageImpl(HeaderList headers, @NotNull AttachmentSet attachmentSet, SOAPVersion version){ + public EmptyMessageImpl(MessageHeaders headers, @NotNull AttachmentSet attachmentSet, SOAPVersion version){ super(version); if(headers==null) - headers = new HeaderList(); + headers = new HeaderList(version); this.attachmentSet = attachmentSet; this.headers = headers; } @@ -80,10 +79,10 @@ } public boolean hasHeaders() { - return !headers.isEmpty(); + return headers.hasHeaders(); } - public HeaderList getHeaders() { + public MessageHeaders getHeaders() { return headers; } @@ -118,4 +117,5 @@ public Message copy() { return new EmptyMessageImpl(this); } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultDetailHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultDetailHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultDetailHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/FaultMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/JAXBAttachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/JAXBAttachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/JAXBAttachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,7 +28,6 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.api.message.Attachment; import com.sun.xml.internal.ws.spi.db.XMLBridge; -import com.sun.xml.internal.ws.util.ASCIIUtility; import com.sun.xml.internal.ws.util.ByteArrayBuffer; import com.sun.xml.internal.ws.encoding.DataSourceStreamingDataHandler; @@ -62,14 +61,17 @@ this.mimeType = mimeType; } + @Override public String getContentId() { return contentId; } + @Override public String getContentType() { return mimeType; } + @Override public byte[] asByteArray() { ByteArrayBuffer bab = new ByteArrayBuffer(); try { @@ -80,14 +82,17 @@ return bab.getRawData(); } + @Override public DataHandler asDataHandler() { return new DataSourceStreamingDataHandler(this); } + @Override public Source asSource() { return new StreamSource(asInputStream()); } + @Override public InputStream asInputStream() { ByteArrayBuffer bab = new ByteArrayBuffer(); try { @@ -98,6 +103,7 @@ return bab.newInputStream(); } + @Override public void writeTo(OutputStream os) throws IOException { try { bridge.marshal(jaxbObject, os, null, null); @@ -106,6 +112,7 @@ } } + @Override public void writeTo(SOAPMessage saaj) throws SOAPException { AttachmentPart part = saaj.createAttachmentPart(); part.setDataHandler(asDataHandler()); @@ -113,14 +120,17 @@ saaj.addAttachmentPart(part); } + @Override public InputStream getInputStream() throws IOException { return asInputStream(); } + @Override public OutputStream getOutputStream() throws IOException { throw new UnsupportedOperationException(); } + @Override public String getName() { return null; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/MimeAttachmentSet.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/MimeAttachmentSet.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/MimeAttachmentSet.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/PayloadElementSniffer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/PayloadElementSniffer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/PayloadElementSniffer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/ProblemActionHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ProblemActionHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ProblemActionHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/RelatesToHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/RelatesToHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/RelatesToHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/RootElementSniffer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/RootElementSniffer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/RootElementSniffer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/StringHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/StringHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/StringHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/Util.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/Util.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/Util.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/XMLReaderImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/XMLReaderImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/XMLReaderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/AttachmentMarshallerImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,9 +25,9 @@ package com.sun.xml.internal.ws.message.jaxb; +import com.sun.istack.internal.logging.Logger; import com.sun.xml.internal.ws.api.message.Attachment; import com.sun.xml.internal.ws.api.message.AttachmentSet; -import com.sun.xml.internal.ws.message.AttachmentSetImpl; import com.sun.xml.internal.ws.message.DataHandlerAttachment; import javax.activation.DataHandler; @@ -39,6 +39,7 @@ import java.net.URISyntaxException; import java.net.URLEncoder; import java.util.UUID; +import java.util.logging.Level; /** * Implementation of {@link AttachmentMarshaller}, its used from JAXBMessage to marshall swaref type @@ -47,6 +48,9 @@ * @see JAXBMessage */ final class AttachmentMarshallerImpl extends AttachmentMarshaller { + + private static final Logger LOGGER = Logger.getLogger(AttachmentMarshallerImpl.class); + private AttachmentSet attachments; public AttachmentMarshallerImpl(AttachmentSet attachemnts) { @@ -60,16 +64,19 @@ attachments = null; } + @Override public String addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName) { // We don't use JAXB for handling XOP throw new IllegalStateException(); } + @Override public String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName) { // We don't use JAXB for handling XOP throw new IllegalStateException(); } + @Override public String addSwaRefAttachment(DataHandler data) { String cid = encodeCid(null); Attachment att = new DataHandlerAttachment(cid, data); @@ -86,7 +93,9 @@ URI uri = new URI(ns); cid = uri.toURL().getHost(); } catch (URISyntaxException e) { - e.printStackTrace(); + if (LOGGER.isLoggable(Level.INFO)) { + LOGGER.log(Level.INFO, null, e); + } return null; } catch (MalformedURLException e) { try { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBBridgeSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBBridgeSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBBridgeSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBDispatchMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBDispatchMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBDispatchMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,8 +26,8 @@ package com.sun.xml.internal.ws.message.jaxb; import com.sun.xml.internal.ws.api.SOAPVersion; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.encoding.SOAPBindingCodec; import com.sun.xml.internal.ws.message.AbstractMessageImpl; import com.sun.xml.internal.ws.message.PayloadElementSniffer; @@ -114,7 +114,7 @@ } @Override - public HeaderList getHeaders() { + public MessageHeaders getHeaders() { return null; } @@ -194,7 +194,7 @@ String encoding = XMLStreamWriterUtil.getEncoding(sw); // Get output stream and use JAXB UTF-8 writer - OutputStream os = XMLStreamWriterUtil.getOutputStream(sw); + OutputStream os = bridge.supportOutputStream() ? XMLStreamWriterUtil.getOutputStream(sw) : null; if (rawContext != null) { Marshaller m = rawContext.createMarshaller(); m.setProperty("jaxb.fragment", Boolean.FALSE); @@ -207,7 +207,7 @@ } else { - if (os != null && bridge.supportOutputStream() && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { + if (os != null && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { bridge.marshal(jaxbObject, os, sw.getNamespaceContext(), am); } else { bridge.marshal(jaxbObject, sw, am); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -181,8 +181,8 @@ String encoding = XMLStreamWriterUtil.getEncoding(sw); // Get output stream and use JAXB UTF-8 writer - OutputStream os = XMLStreamWriterUtil.getOutputStream(sw); - if (os != null && bridge.supportOutputStream() && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { + OutputStream os = bridge.supportOutputStream() ? XMLStreamWriterUtil.getOutputStream(sw) : null; + if (os != null && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { bridge.marshal(jaxbObject, os, sw.getNamespaceContext(), null); } else { bridge.marshal(jaxbObject,sw, null); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/JAXBMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -33,6 +33,7 @@ import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.encoding.SOAPBindingCodec; import com.sun.xml.internal.ws.message.AbstractMessageImpl; import com.sun.xml.internal.ws.message.AttachmentSetImpl; @@ -71,7 +72,7 @@ * @author Kohsuke Kawaguchi */ public final class JAXBMessage extends AbstractMessageImpl { - private HeaderList headers; + private MessageHeaders headers; /** * The JAXB object that represents the payload. @@ -99,7 +100,7 @@ */ private XMLStreamBuffer infoset; - public static Message create(BindingContext context, Object jaxbObject, SOAPVersion soapVersion, HeaderList headers, AttachmentSet attachments) { + public static Message create(BindingContext context, Object jaxbObject, SOAPVersion soapVersion, MessageHeaders headers, AttachmentSet attachments) { if(!context.hasSwaRef()) { return new JAXBMessage(context,jaxbObject,soapVersion,headers,attachments); } @@ -155,7 +156,7 @@ return new JAXBMessage(context,jaxbObject,soapVersion,null,null); } - private JAXBMessage( BindingContext context, Object jaxbObject, SOAPVersion soapVer, HeaderList headers, AttachmentSet attachments ) { + private JAXBMessage( BindingContext context, Object jaxbObject, SOAPVersion soapVer, MessageHeaders headers, AttachmentSet attachments ) { super(soapVer); // this.bridge = new MarshallerBridge(context); this.bridge = context.createFragmentBridge(); @@ -165,7 +166,7 @@ this.attachmentSet = attachments; } - private JAXBMessage( JAXBContext rawContext, Object jaxbObject, SOAPVersion soapVer, HeaderList headers, AttachmentSet attachments ) { + private JAXBMessage( JAXBContext rawContext, Object jaxbObject, SOAPVersion soapVer, MessageHeaders headers, AttachmentSet attachments ) { super(soapVer); // this.bridge = new MarshallerBridge(context); this.rawContext = rawContext; @@ -235,28 +236,33 @@ this.rawContext = that.rawContext; } + @Override public boolean hasHeaders() { - return headers!=null && !headers.isEmpty(); + return headers!=null && headers.hasHeaders(); } - public HeaderList getHeaders() { + @Override + public MessageHeaders getHeaders() { if(headers==null) - headers = new HeaderList(); + headers = new HeaderList(getSOAPVersion()); return headers; } + @Override public String getPayloadLocalPart() { if(localName==null) sniff(); return localName; } + @Override public String getPayloadNamespaceURI() { if(nsUri==null) sniff(); return nsUri; } + @Override public boolean hasPayload() { return true; } @@ -285,10 +291,12 @@ } } + @Override public Source readPayloadAsSource() { return new JAXBBridgeSource(bridge,jaxbObject); } + @Override public T readPayloadAsJAXB(Unmarshaller unmarshaller) throws JAXBException { JAXBResult out = new JAXBResult(unmarshaller); // since the bridge only produces fragments, we need to fire start/end document. @@ -307,6 +315,7 @@ return (T)out.getResult(); } + @Override public XMLStreamReader readPayload() throws XMLStreamException { try { if(infoset==null) { @@ -332,6 +341,7 @@ /** * Writes the payload as SAX events. */ + @Override protected void writePayloadTo(ContentHandler contentHandler, ErrorHandler errorHandler, boolean fragment) throws SAXException { try { if(fragment) @@ -353,6 +363,7 @@ } } + @Override public void writePayloadTo(XMLStreamWriter sw) throws XMLStreamException { try { // MtomCodec sets its own AttachmentMarshaller @@ -364,7 +375,7 @@ String encoding = XMLStreamWriterUtil.getEncoding(sw); // Get output stream and use JAXB UTF-8 writer - OutputStream os = XMLStreamWriterUtil.getOutputStream(sw); + OutputStream os = bridge.supportOutputStream() ? XMLStreamWriterUtil.getOutputStream(sw) : null; if (rawContext != null) { Marshaller m = rawContext.createMarshaller(); m.setProperty("jaxb.fragment", Boolean.TRUE); @@ -374,7 +385,7 @@ else m.marshal(jaxbObject, sw); } else { - if (os != null && bridge.supportOutputStream() && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { + if (os != null && encoding != null && encoding.equalsIgnoreCase(SOAPBindingCodec.UTF8_ENCODING)) { bridge.marshal(jaxbObject, os, sw.getNamespaceContext(), am); } else { bridge.marshal(jaxbObject, sw, am); @@ -388,6 +399,7 @@ } } + @Override public Message copy() { return new JAXBMessage(this); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/MarshallerBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/MarshallerBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/MarshallerBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/jaxb/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -24,7 +24,7 @@ */ /** - * {@link Message} implementations. + * {@link com.sun.xml.internal.ws.api.message.Message} implementations. */ package com.sun.xml.internal.ws.message; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/saaj/SAAJMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,10 +25,10 @@ package com.sun.xml.internal.ws.message.saaj; +import com.sun.istack.internal.FragmentContentHandler; import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; import com.sun.istack.internal.XMLStreamException2; -import com.sun.istack.internal.Nullable; -import com.sun.istack.internal.FragmentContentHandler; import com.sun.xml.internal.bind.api.Bridge; import com.sun.xml.internal.bind.unmarshaller.DOMScanner; import com.sun.xml.internal.ws.api.SOAPVersion; @@ -36,11 +36,12 @@ import com.sun.xml.internal.ws.message.AttachmentUnmarshallerImpl; import com.sun.xml.internal.ws.spi.db.XMLBridge; import com.sun.xml.internal.ws.streaming.DOMStreamReader; +import com.sun.xml.internal.ws.util.ASCIIUtility; import com.sun.xml.internal.ws.util.DOMUtil; +import org.w3c.dom.Attr; import org.w3c.dom.Element; +import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Attr; import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; @@ -50,13 +51,7 @@ import javax.activation.DataHandler; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; -import javax.xml.soap.AttachmentPart; -import javax.xml.soap.SOAPBody; -import javax.xml.soap.SOAPEnvelope; -import javax.xml.soap.SOAPException; -import javax.xml.soap.SOAPHeader; -import javax.xml.soap.SOAPHeaderElement; -import javax.xml.soap.SOAPMessage; +import javax.xml.soap.*; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; @@ -85,7 +80,7 @@ private boolean accessedMessage; private final SOAPMessage sm; - private HeaderList headers; + private MessageHeaders headers; private List bodyParts; private Element payload; @@ -107,11 +102,11 @@ * @param headers * @param sm */ - private SAAJMessage(HeaderList headers, AttachmentSet as, SOAPMessage sm) { + private SAAJMessage(MessageHeaders headers, AttachmentSet as, SOAPMessage sm, SOAPVersion version) { this.sm = sm; this.parse(); if(headers == null) - headers = new HeaderList(); + headers = new HeaderList(version); this.headers = headers; this.attachmentSet = as; } @@ -121,7 +116,7 @@ try { access(); if (headers == null) - headers = new HeaderList(); + headers = new HeaderList(getSOAPVersion()); SOAPHeader header = sm.getSOAPHeader(); if (header != null) { headerAttrs = header.getAttributes(); @@ -139,7 +134,7 @@ } } - private void access() { + protected void access() { if (!accessedMessage) { try { envelopeAttrs = sm.getSOAPPart().getEnvelope().getAttributes(); @@ -166,13 +161,14 @@ public boolean hasHeaders() { parse(); - return headers.size() > 0; + return headers.hasHeaders(); } - public @NotNull HeaderList getHeaders() { + public @NotNull MessageHeaders getHeaders() { parse(); return headers; } + /** * Gets the attachments of this message * (attachments live outside a message.) @@ -247,7 +243,7 @@ newBody.appendChild(n); } addAttributes(msg.getSOAPHeader(),headerAttrs); - for (Header header : headers) { + for (Header header : headers.asList()) { header.writeTo(msg); } SOAPEnvelope se = msg.getSOAPPart().getEnvelope(); @@ -271,7 +267,7 @@ newBody.appendChild(n); } addAttributes(msg.getSOAPHeader(),headerAttrs); - for (Header header : headers) { + for (Header header : headers.asList()) { header.writeTo(msg); } for (Attachment att : getAttachments()) { @@ -366,9 +362,8 @@ } else { writer.writeStartElement(env.getPrefix(), "Header", env.getNamespaceURI()); } - int len = headers.size(); - for (int i = 0; i < len; i++) { - headers.get(i).writeTo(writer); + for (Header h : headers.asList()) { + h.writeTo(writer); } writer.writeEndElement(); } @@ -399,11 +394,9 @@ if (hasHeaders()) { startPrefixMapping(contentHandler, headerAttrs,"S"); contentHandler.startElement(soapNsUri, "Header", "S:Header", getAttributes(headerAttrs)); - HeaderList headers = getHeaders(); - int len = headers.size(); - for (int i = 0; i < len; i++) { - // shouldn't JDK be smart enough to use array-style indexing for this foreach!? - headers.get(i).writeTo(contentHandler, errorHandler); + MessageHeaders headers = getHeaders(); + for (Header h : headers.asList()) { + h.writeTo(contentHandler, errorHandler); } endPrefixMapping(contentHandler, headerAttrs,"S"); contentHandler.endElement(soapNsUri, "Header", "S:Header"); @@ -520,7 +513,7 @@ newBody.appendChild(n); } addAttributes(newBody, bodyAttrs); - return new SAAJMessage(getHeaders(), getAttachments(), msg); + return new SAAJMessage(getHeaders(), getAttachments(), msg, soapVersion); } } catch (SOAPException e) { throw new WebServiceException(e); @@ -529,10 +522,12 @@ private static final AttributesImpl EMPTY_ATTS = new AttributesImpl(); private static final LocatorImpl NULL_LOCATOR = new LocatorImpl(); - private class SAAJAttachment implements AttachmentEx { + private static class SAAJAttachment implements AttachmentEx { final AttachmentPart ap; + String contentIdNoAngleBracket; + public SAAJAttachment(AttachmentPart part) { this.ap = part; } @@ -541,7 +536,12 @@ * Content ID of the attachment. Uniquely identifies an attachment. */ public String getContentId() { - return ap.getContentId(); + if (contentIdNoAngleBracket == null) { + contentIdNoAngleBracket = ap.getContentId(); + if (contentIdNoAngleBracket != null && contentIdNoAngleBracket.charAt(0) == '<') + contentIdNoAngleBracket = contentIdNoAngleBracket.substring(1, contentIdNoAngleBracket.length()-1); + } + return contentIdNoAngleBracket; } /** @@ -600,7 +600,11 @@ * Writes the contents of the attachment into the given stream. */ public void writeTo(OutputStream os) throws IOException { - os.write(asByteArray()); + try { + ASCIIUtility.copyStream(ap.getRawContent(), os); + } catch (SOAPException e) { + throw new WebServiceException(e); + } } /** @@ -647,7 +651,7 @@ * SAAJ wants '<' and '>' for the content ID, but {@link AttachmentSet} * doesn't. S this class also does the conversion between them. */ - private class SAAJAttachmentSet implements AttachmentSet { + private static class SAAJAttachmentSet implements AttachmentSet { private Map attMap; private Iterator attIter; @@ -708,4 +712,7 @@ } } + public SOAPVersion getSOAPVersion() { + return soapVersion; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/PayloadSourceMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/PayloadSourceMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/PayloadSourceMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -31,6 +31,7 @@ import com.sun.xml.internal.ws.api.message.AttachmentSet; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.message.AttachmentSetImpl; import com.sun.xml.internal.ws.message.stream.PayloadStreamReaderMessage; import com.sun.xml.internal.ws.streaming.SourceReaderFactory; @@ -44,7 +45,7 @@ */ public class PayloadSourceMessage extends PayloadStreamReaderMessage { - public PayloadSourceMessage(@Nullable HeaderList headers, + public PayloadSourceMessage(@Nullable MessageHeaders headers, @NotNull Source payload, @NotNull AttachmentSet attSet, @NotNull SOAPVersion soapVersion) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/ProtocolSourceMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/ProtocolSourceMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/ProtocolSourceMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,8 +29,8 @@ import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.pipe.Codecs; import com.sun.xml.internal.ws.api.pipe.StreamSOAPCodec; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.spi.db.XMLBridge; import com.sun.xml.internal.ws.streaming.SourceReaderFactory; @@ -69,10 +69,6 @@ return sm.hasHeaders(); } - public HeaderList getHeaders() { - return sm.getHeaders(); - } - public String getPayloadLocalPart() { return sm.getPayloadLocalPart(); } @@ -131,4 +127,13 @@ public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException { sm.writeTo(contentHandler, errorHandler); } + + public SOAPVersion getSOAPVersion() { + return sm.getSOAPVersion(); + } + + @Override + public MessageHeaders getHeaders() { + return sm.getHeaders(); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/SourceUtils.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/SourceUtils.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/source/SourceUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -54,9 +54,9 @@ int srcType; - private final int domSource = 1; - private final int streamSource = 2; - private final int saxSource=4; + private static final int domSource = 1; + private static final int streamSource = 2; + private static final int saxSource=4; public SourceUtils(Source src) { if(src instanceof StreamSource){ @@ -95,8 +95,8 @@ String namespaceUri = null; if(isDOMSource()){ - DOMSource domSource = (DOMSource)src; - Node n = domSource.getNode(); + DOMSource domSrc = (DOMSource)src; + Node n = domSrc.getNode(); if(n.getNodeType()== Node.DOCUMENT_NODE) { n = ((Document)n).getDocumentElement(); } @@ -146,15 +146,16 @@ writer.writeStartElement(uri, localName); } } else { - assert uri != null; +// assert uri != null; if(prefix.length() > 0){ /** * Before we write the */ String writerURI = null; - if (writer.getNamespaceContext() != null) + if (writer.getNamespaceContext() != null) { writerURI = writer.getNamespaceContext().getNamespaceURI(prefix); + } String writerPrefix = writer.getPrefix(uri); if(declarePrefix(prefix, uri, writerPrefix, writerURI)){ writer.writeStartElement(prefix, localName, uri); @@ -172,11 +173,14 @@ // Write namespace declarations for (int i = 0; i < n; i++) { String nsPrefix = reader.getNamespacePrefix(i); - if (nsPrefix == null) nsPrefix = ""; + if (nsPrefix == null) { + nsPrefix = ""; + } // StAX returns null for default ns String writerURI = null; - if (writer.getNamespaceContext() != null) + if (writer.getNamespaceContext() != null) { writerURI = writer.getNamespaceContext().getNamespaceURI(nsPrefix); + } // Zephyr: Why is this returning null? // Compare nsPrefix with prefix because of [1] (above) @@ -215,6 +219,9 @@ break; case XMLStreamConstants.CHARACTERS: writer.writeCharacters(reader.getText()); + break; + default: + break; } } while (state != XMLStreamConstants.END_DOCUMENT); reader.close(); @@ -228,8 +235,9 @@ */ private static void setUndeclaredPrefix(String prefix, String readerURI, XMLStreamWriter writer) throws XMLStreamException { String writerURI = null; - if (writer.getNamespaceContext() != null) + if (writer.getNamespaceContext() != null) { writerURI = writer.getNamespaceContext().getNamespaceURI(prefix); + } if (writerURI == null) { writer.setPrefix(prefix, readerURI != null ? readerURI : ""); @@ -246,8 +254,9 @@ */ private static boolean declarePrefix(String rPrefix, String rUri, String wPrefix, String wUri){ if (wUri == null ||((wPrefix != null) && !rPrefix.equals(wPrefix))|| - (rUri != null && !wUri.equals(rUri))) + (rUri != null && !wUri.equals(rUri))) { return true; + } return false; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/OutboundStreamHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/OutboundStreamHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/OutboundStreamHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/PayloadStreamReaderMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/PayloadStreamReaderMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/PayloadStreamReaderMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,8 +27,8 @@ import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.message.AttachmentSet; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.message.AbstractMessageImpl; import com.sun.xml.internal.ws.message.AttachmentSetImpl; import com.sun.istack.internal.Nullable; @@ -56,7 +56,7 @@ this(null, reader,new AttachmentSetImpl(), soapVer); } - public PayloadStreamReaderMessage(@Nullable HeaderList headers, @NotNull XMLStreamReader reader, + public PayloadStreamReaderMessage(@Nullable MessageHeaders headers, @NotNull XMLStreamReader reader, @NotNull AttachmentSet attSet, @NotNull SOAPVersion soapVersion) { super(soapVersion); message = new StreamMessage(headers, attSet, reader, soapVersion); @@ -66,10 +66,6 @@ return message.hasHeaders(); } - public HeaderList getHeaders() { - return message.getHeaders(); - } - public AttachmentSet getAttachments() { return message.getAttachments(); } @@ -113,4 +109,9 @@ public Message copy() { return message.copy(); } + + @Override + public @NotNull MessageHeaders getHeaders() { + return message.getHeaders(); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamAttachment.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamAttachment.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamAttachment.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -34,6 +34,7 @@ import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.message.AbstractHeaderImpl; +import com.sun.xml.internal.ws.util.xml.XmlUtil; import org.w3c.dom.Node; import org.xml.sax.ContentHandler; import org.xml.sax.ErrorHandler; @@ -193,7 +194,7 @@ // TODO what about in-scope namespaces // Not very efficient consider implementing a stream buffer // processor that produces a DOM node from the buffer. - TransformerFactory tf = TransformerFactory.newInstance(); + TransformerFactory tf = XmlUtil.newTransformerFactory(); Transformer t = tf.newTransformer(); XMLStreamBufferSource source = new XMLStreamBufferSource(_mark); DOMResult result = new DOMResult(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader11.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader11.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader11.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader12.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader12.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamHeader12.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/StreamMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -36,6 +36,7 @@ import com.sun.xml.internal.ws.api.message.Header; import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.encoding.TagInfoset; import com.sun.xml.internal.ws.message.AbstractMessageImpl; @@ -69,7 +70,7 @@ * TODO: we need another message class that keeps {@link XMLStreamReader} that points * at the start of the envelope element. */ -public final class StreamMessage extends AbstractMessageImpl { +public class StreamMessage extends AbstractMessageImpl { /** * The reader will be positioned at * the first child of the SOAP body @@ -77,7 +78,7 @@ private @NotNull XMLStreamReader reader; // lazily created - private @Nullable HeaderList headers; + private @Nullable MessageHeaders headers; /** * Because the StreamMessage leaves out the white spaces around payload @@ -123,12 +124,17 @@ create(SOAPVersion.SOAP_12); } + public StreamMessage(SOAPVersion v) { + super(v); + payloadLocalName = null; + payloadNamespaceURI = null; + } /** * Creates a {@link StreamMessage} from a {@link XMLStreamReader} * that points at the start element of the payload, and headers. * *

    - * This method creaets a {@link Message} from a payload. + * This method creates a {@link Message} from a payload. * * @param headers * if null, it means no headers. if non-null, @@ -137,7 +143,7 @@ * points at the start element/document of the payload (or the end element of the <s:Body> * if there's no payload) */ - public StreamMessage(@Nullable HeaderList headers, @NotNull AttachmentSet attachmentSet, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { + public StreamMessage(@Nullable MessageHeaders headers, @NotNull AttachmentSet attachmentSet, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { super(soapVersion); this.headers = headers; this.attachmentSet = attachmentSet; @@ -177,18 +183,18 @@ * and the complete infoset of the SOAP envelope. * *

    - * See {@link #StreamMessage(HeaderList, AttachmentSet, XMLStreamReader, SOAPVersion)} for + * See {@link #StreamMessage(MessageHeaders, AttachmentSet, XMLStreamReader, SOAPVersion)} for * the description of the basic parameters. * * @param headerTag * Null if the message didn't have a header tag. * */ - public StreamMessage(@NotNull TagInfoset envelopeTag, @Nullable TagInfoset headerTag, @NotNull AttachmentSet attachmentSet, @Nullable HeaderList headers, @NotNull TagInfoset bodyTag, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { + public StreamMessage(@NotNull TagInfoset envelopeTag, @Nullable TagInfoset headerTag, @NotNull AttachmentSet attachmentSet, @Nullable MessageHeaders headers, @NotNull TagInfoset bodyTag, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { this(envelopeTag, headerTag, attachmentSet, headers, null, bodyTag, null, reader, soapVersion); } - public StreamMessage(@NotNull TagInfoset envelopeTag, @Nullable TagInfoset headerTag, @NotNull AttachmentSet attachmentSet, @Nullable HeaderList headers, @Nullable String bodyPrologue, @NotNull TagInfoset bodyTag, @Nullable String bodyEpilogue, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { + public StreamMessage(@NotNull TagInfoset envelopeTag, @Nullable TagInfoset headerTag, @NotNull AttachmentSet attachmentSet, @Nullable MessageHeaders headers, @Nullable String bodyPrologue, @NotNull TagInfoset bodyTag, @Nullable String bodyEpilogue, @NotNull XMLStreamReader reader, @NotNull SOAPVersion soapVersion) { this(headers,attachmentSet,reader,soapVersion); if(envelopeTag == null ) { throw new IllegalArgumentException("EnvelopeTag TagInfoset cannot be null"); @@ -205,12 +211,12 @@ } public boolean hasHeaders() { - return headers!=null && !headers.isEmpty(); + return headers!=null && headers.hasHeaders(); } - public HeaderList getHeaders() { + public MessageHeaders getHeaders() { if (headers == null) { - headers = new HeaderList(); + headers = new HeaderList(getSOAPVersion()); } return headers; } @@ -384,10 +390,10 @@ envelopeTag.writeStart(writer); //write headers - HeaderList hl = getHeaders(); - if(hl.size() > 0){ + MessageHeaders hl = getHeaders(); + if(hl.hasHeaders()){ headerTag.writeStart(writer); - for(Header h:hl){ + for(Header h : hl.asList()){ h.writeTo(writer); } writer.writeEndElement(); @@ -523,11 +529,10 @@ envelopeTag.writeStart(contentHandler); headerTag.writeStart(contentHandler); if(hasHeaders()) { - HeaderList headers = getHeaders(); - int len = headers.size(); - for( int i=0; iJAXBRIContext * @deprecated */ + @Override public JAXBContext getJAXBContext() { JAXBContext jc = bindingContext.getJAXBContext(); - if (jc != null) return jc; - if (jaxbContext == null && jc instanceof JAXBRIContext) jaxbContext = (JAXBRIContext) bindingContext.getJAXBContext(); + if (jc != null) { + return jc; + } return jaxbContext; } @@ -162,8 +166,9 @@ final List cls = new ArrayList(types.size() + additionalClasses.size()); cls.addAll(additionalClasses); - for (TypeInfo type : types) + for (TypeInfo type : types) { cls.add((Class) type.type); + } try { //jaxbContext = JAXBRIContext.newInstance(cls, types, targetNamespace, false); @@ -171,21 +176,21 @@ bindingContext = AccessController.doPrivileged(new PrivilegedExceptionAction() { public BindingContext run() throws Exception { if(LOGGER.isLoggable(Level.FINEST)) { - LOGGER.log(Level.FINEST,"Creating JAXBContext with classes="+cls+" and types="+types); + LOGGER.log(Level.FINEST, "Creating JAXBContext with classes={0} and types={1}", new Object[]{cls, types}); } UsesJAXBContextFeature f = features.get(UsesJAXBContextFeature.class); - DatabindingModeFeature dbf = features.get(DatabindingModeFeature.class); + com.oracle.webservices.internal.api.databinding.DatabindingModeFeature dmf = + features.get(com.oracle.webservices.internal.api.databinding.DatabindingModeFeature.class); JAXBContextFactory factory = f!=null ? f.getFactory() : null; if(factory==null) factory=JAXBContextFactory.DEFAULT; // return factory.createJAXBContext(AbstractSEIModelImpl.this,cls,types); databindingInfo.properties().put(JAXBContextFactory.class.getName(), factory); - if (dbf != null) { + if (dmf != null) { if (LOGGER.isLoggable(Level.FINE)) - LOGGER.fine("DatabindingModeFeature in SEI specifies mode: " - + dbf.getMode()); - databindingInfo.setDatabindingMode(dbf + LOGGER.log(Level.FINE, "DatabindingModeFeature in SEI specifies mode: {0}", dmf.getMode()); + databindingInfo.setDatabindingMode(dmf .getMode()); } @@ -194,7 +199,7 @@ databindingInfo.contentClasses().addAll(cls); databindingInfo.typeInfos().addAll(types); databindingInfo.properties().put("c14nSupport", Boolean.FALSE); - databindingInfo.setDefaultNamespace(AbstractSEIModelImpl.this.getTargetNamespace()); + databindingInfo.setDefaultNamespace(AbstractSEIModelImpl.this.getDefaultSchemaNamespace()); BindingContext bc = BindingContextFactory.create(databindingInfo); if (LOGGER.isLoggable(Level.FINE)) LOGGER.log(Level.FINE, @@ -325,7 +330,7 @@ } /** - * Applies binding related information to the RpcLitPayload. The payload map is populated correctl + * Applies binding related information to the RpcLitPayload. The payload map is populated correctly * @return * Returns attachment parameters if/any. */ @@ -443,6 +448,15 @@ return targetNamespace; } + String getDefaultSchemaNamespace() { + String defaultNamespace = getTargetNamespace(); + if (defaultSchemaNamespaceSuffix == null) return defaultNamespace; + if (!defaultNamespace.endsWith("/")) { + defaultNamespace += "/"; + } + return (defaultNamespace + defaultSchemaNamespaceSuffix); + } + @NotNull public QName getBoundPortTypeName() { assert portName != null; @@ -515,5 +529,6 @@ protected ClassLoader classLoader = null; protected WSBinding wsBinding; protected BindingInfo databindingInfo; + protected String defaultSchemaNamespaceSuffix; private static final Logger LOGGER = Logger.getLogger(AbstractSEIModelImpl.class.getName()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/AbstractWrapperBeanGenerator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/AbstractWrapperBeanGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/AbstractWrapperBeanGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -298,8 +298,29 @@ * @return list of properties in the correct order for an exception bean */ public Collection collectExceptionBeanMembers(C exception) { + return collectExceptionBeanMembers(exception, true); + } + + /** + * Computes and sorts exception bean members for a given exception as per + * the 3.7 section of the spec. It takes all getter properties in the + * exception and its superclasses(except getCause, getLocalizedMessage, + * getStackTrace, getClass). The returned collection is sorted based + * on the property names. + * + *

    + * But if the exception has @XmlType its values are honored. Only the + * propOrder properties are considered. The returned collection is sorted + * as per the given propOrder. + * + * @param exception + * @param decapitalize if true, all the property names are decapitalized + * + * @return list of properties in the correct order for an exception bean + */ + public Collection collectExceptionBeanMembers(C exception, boolean decapitalize ) { TreeMap fields = new TreeMap(); - getExceptionProperties(exception, fields); + getExceptionProperties(exception, fields, decapitalize); // Consider only the @XmlType(propOrder) properties XmlType xmlType = annReader.getClassAnnotation(XmlType.class, exception, null); @@ -325,10 +346,10 @@ } - private void getExceptionProperties(C exception, TreeMap fields) { + private void getExceptionProperties(C exception, TreeMap fields, boolean decapitalize) { C sc = nav.getSuperClass(exception); if (sc != null) { - getExceptionProperties(sc, fields); + getExceptionProperties(sc, fields, decapitalize); } Collection methods = nav.getDeclaredMethods(exception); @@ -355,9 +376,8 @@ T returnType = getSafeType(nav.getReturnType(method)); if (nav.getMethodParameters(method).length == 0) { - String fieldName = name.startsWith("get") - ? StringUtils.decapitalize(name.substring(3)) - : StringUtils.decapitalize(name.substring(2)); + String fieldName = name.startsWith("get") ? name.substring(3) : name.substring(2); + if (decapitalize) fieldName = StringUtils.decapitalize(fieldName); fields.put(fieldName, factory.createWrapperBeanMember(returnType, fieldName, Collections.emptyList())); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/CheckedExceptionImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/CheckedExceptionImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/CheckedExceptionImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/ExternalMetadataReader.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ExternalMetadataReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,549 @@ +/* + * Copyright (c) 1997, 2013, 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.model; + +import com.oracle.xmlns.internal.webservices.jaxws_databinding.JavaMethod; +import com.oracle.xmlns.internal.webservices.jaxws_databinding.JavaParam; +import com.oracle.xmlns.internal.webservices.jaxws_databinding.JavaWsdlMappingType; +import com.oracle.xmlns.internal.webservices.jaxws_databinding.ObjectFactory; +import com.sun.xml.internal.bind.api.JAXBRIContext; +import com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil; +import com.sun.xml.internal.ws.util.xml.XmlUtil; +import org.w3c.dom.Element; +import org.xml.sax.SAXException; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Unmarshaller; +import javax.xml.bind.util.JAXBResult; +import javax.xml.stream.XMLInputFactory; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamReader; +import javax.xml.transform.Source; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerException; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.stream.StreamSource; +import javax.xml.validation.Schema; +import javax.xml.validation.SchemaFactory; +import java.io.*; +import java.lang.annotation.Annotation; +import java.lang.reflect.Method; +import java.net.URL; +import java.util.*; + +import static com.oracle.xmlns.internal.webservices.jaxws_databinding.ExistingAnnotationsType.MERGE; + +/** + * Metadata Reader able to read from either class annotations or external metadata files or combine both, + * depending on configuration provided in xml file itself. + * + * @author shih-chang.chen@oracle.com, miroslav.kos@oracle.com + */ +public class ExternalMetadataReader extends ReflectAnnotationReader { + + private static final String NAMESPACE_WEBLOGIC_WSEE_DATABINDING = "http://xmlns.oracle.com/weblogic/weblogic-wsee-databinding"; + private static final String NAMESPACE_JAXWS_RI_EXTERNAL_METADATA = "http://xmlns.oracle.com/webservices/jaxws-databinding"; + + /** + * map of readers for defined java types + */ + private Map readers = new HashMap(); + + public ExternalMetadataReader(Collection files, Collection resourcePaths, ClassLoader classLoader, + boolean xsdValidation, boolean disableSecureXmlProcessing) { + + if (files != null) { + for (File file : files) { + try { + String namespace = Util.documentRootNamespace(newSource(file), disableSecureXmlProcessing); + JavaWsdlMappingType externalMapping = parseMetadata(xsdValidation, newSource(file), namespace, disableSecureXmlProcessing); + readers.put(externalMapping.getJavaTypeName(), externalMapping); + } catch (Exception e) { + throw new RuntimeModelerException("runtime.modeler.external.metadata.unable.to.read", file.getAbsolutePath()); + } + } + } + + if (resourcePaths != null) { + for (String resourcePath : resourcePaths) { + try { + String namespace = Util.documentRootNamespace(newSource(resourcePath, classLoader), disableSecureXmlProcessing); + JavaWsdlMappingType externalMapping = parseMetadata(xsdValidation, newSource(resourcePath, classLoader), namespace, disableSecureXmlProcessing); + readers.put(externalMapping.getJavaTypeName(), externalMapping); + } catch (Exception e) { + throw new RuntimeModelerException("runtime.modeler.external.metadata.unable.to.read", resourcePath); + } + } + } + } + + private StreamSource newSource(String resourcePath, ClassLoader classLoader) { + InputStream is = classLoader.getResourceAsStream(resourcePath); + return new StreamSource(is); + } + + private JavaWsdlMappingType parseMetadata(boolean xsdValidation, StreamSource source, String namespace, boolean disableSecureXmlProcessing) throws JAXBException, IOException, TransformerException { + if (NAMESPACE_WEBLOGIC_WSEE_DATABINDING.equals(namespace)) { + return Util.transformAndRead(source, disableSecureXmlProcessing); + } if (NAMESPACE_JAXWS_RI_EXTERNAL_METADATA.equals(namespace)) { + return Util.read(source, xsdValidation, disableSecureXmlProcessing); + } else { + throw new RuntimeModelerException("runtime.modeler.external.metadata.unsupported.schema", namespace, Arrays.asList(NAMESPACE_WEBLOGIC_WSEE_DATABINDING, NAMESPACE_JAXWS_RI_EXTERNAL_METADATA).toString()); + } + } + + private StreamSource newSource(File file) { + try { + return new StreamSource(new FileInputStream(file)); + } catch (FileNotFoundException e) { + throw new RuntimeModelerException("runtime.modeler.external.metadata.unable.to.read", file.getAbsolutePath()); + } + } + + public A getAnnotation(Class annType, Class cls) { + JavaWsdlMappingType r = reader(cls); + return r == null ? super.getAnnotation(annType, cls) : Util.annotation(r, annType); + } + + private JavaWsdlMappingType reader(Class cls) { + return readers.get(cls.getName()); + } + + Annotation[] getAnnotations(List objects) { + ArrayList list = new ArrayList(); + for (Object a : objects) { + if (Annotation.class.isInstance(a)) { + list.add(Annotation.class.cast(a)); + } + } + return list.toArray(new Annotation[list.size()]); + } + + public Annotation[] getAnnotations(final Class c) { + + Merger merger = new Merger(reader(c)) { + Annotation[] reflection() { + return ExternalMetadataReader.super.getAnnotations(c); + } + + Annotation[] external() { + return getAnnotations(reader.getClassAnnotation()); + } + }; + return merger.merge(); + } + + public Annotation[] getAnnotations(final Method m) { + Merger merger = new Merger(reader(m.getDeclaringClass())) { + Annotation[] reflection() { + return ExternalMetadataReader.super.getAnnotations(m); + } + + Annotation[] external() { + JavaMethod jm = getJavaMethod(m, reader); + return (jm == null) ? new Annotation[0] : getAnnotations(jm.getMethodAnnotation()); + } + }; + return merger.merge(); + } + + @SuppressWarnings("unchecked") + public A getAnnotation(final Class annType, final Method m) { + Merger merger = new Merger(reader(m.getDeclaringClass())) { + Annotation reflection() { + return ExternalMetadataReader.super.getAnnotation(annType, m); + } + + Annotation external() { + JavaMethod jm = getJavaMethod(m, reader); + return Util.annotation(jm, annType); + } + }; + return (A) merger.merge(); + } + + public Annotation[][] getParameterAnnotations(final Method m) { + Merger merger = new Merger(reader(m.getDeclaringClass())) { + Annotation[][] reflection() { + return ExternalMetadataReader.super.getParameterAnnotations(m); + } + + Annotation[][] external() { + JavaMethod jm = getJavaMethod(m, reader); + Annotation[][] a = m.getParameterAnnotations(); + for (int i = 0; i < m.getParameterTypes().length; i++) { + if (jm == null) continue; + JavaParam jp = jm.getJavaParams().getJavaParam().get(i); + a[i] = getAnnotations(jp.getParamAnnotation()); + } + return a; + } + }; + return merger.merge(); + } + + public void getProperties(final Map prop, final Class cls) { + + JavaWsdlMappingType r = reader(cls); + + // no external reader or it requires annotations merging ... + if (r == null || MERGE.equals(r.getExistingAnnotations())) { + super.getProperties(prop, cls); + } + + } + + public void getProperties(final Map prop, final Method m) { + + JavaWsdlMappingType r = reader(m.getDeclaringClass()); + + // no external reader or it requires annotations merging ... + if (r == null || MERGE.equals(r.getExistingAnnotations())) { + super.getProperties(prop, m); + } + + if (r != null) { + JavaMethod jm = getJavaMethod(m, r); + Element[] e = Util.annotation(jm); + prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); + } + + } + + public void getProperties(final Map prop, final Method m, int pos) { + + JavaWsdlMappingType r = reader(m.getDeclaringClass()); + + // no external reader or it requires annotations merging ... + if (r == null || MERGE.equals(r.getExistingAnnotations())) { + super.getProperties(prop, m, pos); + } + + if (r != null) { + JavaMethod jm = getJavaMethod(m, r); + if (jm == null) return; + JavaParam jp = jm.getJavaParams().getJavaParam().get(pos); + Element[] e = Util.annotation(jp); + prop.put("eclipselink-oxm-xml.xml-element", findXmlElement(e)); + } + } + + JavaMethod getJavaMethod(Method method, JavaWsdlMappingType r) { + + JavaWsdlMappingType.JavaMethods javaMethods = r.getJavaMethods(); + if (javaMethods == null) { + return null; + } + + List sameName = new ArrayList(); + for (JavaMethod jm : javaMethods.getJavaMethod()) { + if (method.getName().equals(jm.getName())) { + sameName.add(jm); + } + } + + if (sameName.isEmpty()) { + return null; + } else { + if (sameName.size() == 1) { + return sameName.get(0); + } else { + Class[] argCls = method.getParameterTypes(); + for (JavaMethod jm : sameName) { + JavaMethod.JavaParams params = jm.getJavaParams(); + if (params != null && params.getJavaParam() != null && params.getJavaParam().size() == argCls.length) { + int count = 0; + for (int i = 0; i < argCls.length; i++) { + JavaParam jp = params.getJavaParam().get(i); + if (argCls[i].getName().equals(jp.getJavaType())) { + count++; + } + } + if (count == argCls.length) { + return jm; + } + } + } + } + } + return null; + } + + Element findXmlElement(Element[] xa) { + if (xa == null) return null; + for (Element e : xa) { + if (e.getLocalName().equals("java-type")) return e; + if (e.getLocalName().equals("xml-element")) return e; + } + return null; + } + + /** + * Helper class to merge two different arrays of annotation objects. It merges annotations based on attribute + * existing-annotations in external customization file. + *

    + * We suppose that in the result array there wouldn't be two annotations of same type: + * annotation.annotationType().getName(); if there are found such annotations the one from reflection is + * considered overriden and is thrown away. + *

    + * The helper can work either with one and two dimensional array, but it can be used for two single Annotation + * objects; + */ + static abstract class Merger { + + JavaWsdlMappingType reader; + + Merger(JavaWsdlMappingType r) { + this.reader = r; + } + + abstract T reflection(); + + abstract T external(); + + @SuppressWarnings("unchecked") + T merge() { + T reflection = reflection(); + if (reader == null) { + return reflection; + } + + T external = external(); + if (!MERGE.equals(reader.getExistingAnnotations())) { + return external; + } + + if (reflection instanceof Annotation) { + return (T) doMerge((Annotation) reflection, (Annotation) external); + } else if (reflection instanceof Annotation[][]) { + return (T) doMerge((Annotation[][]) reflection, (Annotation[][]) external); + } else { + return (T) doMerge((Annotation[]) reflection, (Annotation[]) external); + } + } + + private Annotation doMerge(Annotation reflection, Annotation external) { + return external != null ? external : reflection; + } + + private Annotation[][] doMerge(Annotation[][] reflection, Annotation[][] external) { + for (int i = 0; i < reflection.length; i++) { + reflection[i] = doMerge(reflection[i], external.length > i ? external[i] : null); + } + return reflection; + } + + private Annotation[] doMerge(Annotation[] annotations, Annotation[] externalAnnotations) { + HashMap mergeMap = new HashMap(); + if (annotations != null) { + for (Annotation reflectionAnnotation : annotations) { + mergeMap.put(reflectionAnnotation.annotationType().getName(), reflectionAnnotation); + } + } + + // overriding happens here, based on annotationType().getName() ... + if (externalAnnotations != null) { + for (Annotation externalAnnotation : externalAnnotations) { + mergeMap.put(externalAnnotation.annotationType().getName(), externalAnnotation); + } + } + Collection values = mergeMap.values(); + int size = values.size(); + return size == 0 ? null : values.toArray(new Annotation[size]); + } + + } + + static class Util { + + //private static final String DATABINDING_XSD = "com/sun/xml/internal/ws/model/jaxws-databinding.xsd"; + private static final String DATABINDING_XSD = "jaxws-databinding.xsd"; + //private static final String TRANSLATE_NAMESPACES_XSL = "/com/sun/xml/internal/ws/model/jaxws-databinding-translate-namespaces.xml"; + private static final String TRANSLATE_NAMESPACES_XSL = "jaxws-databinding-translate-namespaces.xml"; + + static Schema schema; + static JAXBContext jaxbContext; + + static { + SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema"); + try { + URL xsdUrl = getResource(); + if (xsdUrl != null) { + schema = sf.newSchema(xsdUrl); + } + } catch (SAXException e1) { + // e1.printStackTrace(); + } + + jaxbContext = createJaxbContext(false); + } + + private static URL getResource() { + ClassLoader classLoader = Util.class.getClassLoader(); + return classLoader != null ? classLoader.getResource(DATABINDING_XSD) : ClassLoader.getSystemResource(DATABINDING_XSD); + } + + private static JAXBContext createJaxbContext(boolean disableXmlSecurity) { + Class[] cls = {ObjectFactory.class}; + try { + if (disableXmlSecurity) { + Map properties = new HashMap(); + properties.put(JAXBRIContext.DISABLE_XML_SECURITY, disableXmlSecurity); + return JAXBContext.newInstance(cls, properties); + } else { + return JAXBContext.newInstance(cls); + } + } catch (JAXBException e) { + e.printStackTrace(); + return null; + } + } + + @SuppressWarnings("unchecked") + public static JavaWsdlMappingType read(Source src, boolean xsdValidation, boolean disableSecureXmlProcessing) throws IOException, JAXBException { + JAXBContext ctx = jaxbContext(disableSecureXmlProcessing); + try { + Unmarshaller um = ctx.createUnmarshaller(); + if (xsdValidation) { + if (schema == null) { + //TODO 0 warning for schema == null + } + um.setSchema(schema); + } + Object o = um.unmarshal(src); + return getJavaWsdlMapping(o); + } catch (JAXBException e) { + // throw new + // WebServiceException(WsDatabindingMessages.mappingFileCannotRead + // (src.getSystemId()), e); + URL url = new URL(src.getSystemId()); + Source s = new StreamSource(url.openStream()); + Unmarshaller um = ctx.createUnmarshaller(); + if (xsdValidation) { + if (schema == null) { + //TODO 0 warning for schema == null + } + um.setSchema(schema); + } + Object o = um.unmarshal(s); + return getJavaWsdlMapping(o); + } + } + + private static JAXBContext jaxbContext(boolean disableSecureXmlProcessing) { + // as it is supposed to have security enabled in most cases, we create and don't cache + // "insecure" JAXBContext - these should be corner cases + return disableSecureXmlProcessing ? createJaxbContext(true) : jaxbContext; + } + + public static JavaWsdlMappingType transformAndRead(Source src, boolean disableSecureXmlProcessing) throws TransformerException, JAXBException { + Source xsl = new StreamSource(Util.class.getResourceAsStream(TRANSLATE_NAMESPACES_XSL)); + JAXBResult result = new JAXBResult(jaxbContext(disableSecureXmlProcessing)); + TransformerFactory tf = XmlUtil.newTransformerFactory(!disableSecureXmlProcessing); + Transformer transformer = tf.newTemplates(xsl).newTransformer(); + transformer.transform(src, result); + return getJavaWsdlMapping(result.getResult()); + } + + + static JavaWsdlMappingType getJavaWsdlMapping(Object o) { + Object val = (o instanceof JAXBElement) ? ((JAXBElement) o).getValue() : o; + if (val instanceof JavaWsdlMappingType) return (JavaWsdlMappingType) val; + // else if (val instanceof JavaWsdlMappings) + // for (JavaWsdlMappingType m: ((JavaWsdlMappings) val).getJavaWsdlMapping()) + // if (seiName.equals(m.javaTypeName)) return m; + return null; + } + + static T findInstanceOf(Class type, List objects) { + for (Object o : objects) { + if (type.isInstance(o)) { + return type.cast(o); + } + } + return null; + } + + static public T annotation(JavaWsdlMappingType jwse, Class anntype) { + if (jwse == null || jwse.getClassAnnotation() == null) { + return null; + } + return findInstanceOf(anntype, jwse.getClassAnnotation()); + } + + static public T annotation(JavaMethod jm, Class anntype) { + if (jm == null || jm.getMethodAnnotation() == null) { + return null; + } + return findInstanceOf(anntype, jm.getMethodAnnotation()); + } + + static public T annotation(JavaParam jp, Class anntype) { + if (jp == null || jp.getParamAnnotation() == null) { + return null; + } + return findInstanceOf(anntype, jp.getParamAnnotation()); + } + + static public Element[] annotation(JavaMethod jm) { + if (jm == null || jm.getMethodAnnotation() == null) { + return null; + } + return findElements(jm.getMethodAnnotation()); + } + + static public Element[] annotation(JavaParam jp) { + if (jp == null || jp.getParamAnnotation() == null) { + return null; + } + return findElements(jp.getParamAnnotation()); + } + + private static Element[] findElements(List objects) { + List elems = new ArrayList(); + for (Object o : objects) { + if (o instanceof Element) { + elems.add((Element) o); + } + } + return elems.toArray(new Element[elems.size()]); + } + + static String documentRootNamespace(Source src, boolean disableSecureXmlProcessing) throws XMLStreamException { + XMLInputFactory factory; + factory = XmlUtil.newXMLInputFactory(!disableSecureXmlProcessing); + XMLStreamReader streamReader = factory.createXMLStreamReader(src); + XMLStreamReaderUtil.nextElementContent(streamReader); + String namespaceURI = streamReader.getName().getNamespaceURI(); + XMLStreamReaderUtil.close(streamReader); + return namespaceURI; + } + } + + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/FieldSignature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/FieldSignature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/FieldSignature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -112,11 +112,11 @@ } private static String args(ParameterizedType p) { - String sig = "<"; + StringBuilder sig = new StringBuilder("<"); for(Type t : p.getActualTypeArguments()) { - sig += vms(t); + sig.append(vms(t)); } - return sig+">"; + return sig.append(">").toString(); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/Injector.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Injector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Injector.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/JavaMethodImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/JavaMethodImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/JavaMethodImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -106,7 +106,8 @@ inputAction = soapAction; else if(!inputAction.equals(soapAction)){ //both are explicitly set via annotations, make sure @Action == @WebMethod.action - throw new WebServiceException("@Action and @WebMethod(action=\"\" does not match on operation "+ method.getName()); + //http://java.net/jira/browse/JAX_WS-1108 + //throw new WebServiceException("@Action and @WebMethod(action=\"\" does not match on operation "+ method.getName()); } } } @@ -122,7 +123,7 @@ } /** - * @see {@link JavaMethod} + * @see JavaMethod * * @return Returns the method. */ @@ -131,7 +132,7 @@ } /** - * @see {@link JavaMethod} + * @see JavaMethod * * @return Returns the SEI method where annotations are present */ @@ -171,7 +172,7 @@ } /** - * Returns the {@link WSDLBoundOperation} Operation associated with {@link this} + * Returns the {@link WSDLBoundOperation} Operation associated with {@link JavaMethodImpl} * operation. * @deprecated * @return the WSDLBoundOperation for this JavaMethod diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/ParameterImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ParameterImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ParameterImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,8 @@ import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.Parameter; import com.sun.xml.internal.ws.api.model.ParameterBinding; +import com.sun.xml.internal.ws.spi.db.RepeatedElementBridge; +import com.sun.xml.internal.ws.spi.db.WrapperComposite; import com.sun.xml.internal.ws.spi.db.XMLBridge; import com.sun.xml.internal.ws.spi.db.TypeInfo; @@ -65,6 +67,9 @@ private QName name; private final JavaMethodImpl parent; + WrapperParameter wrapper; + TypeInfo itemTypeInfo; + public ParameterImpl(JavaMethodImpl parent, TypeInfo type, Mode mode, int index) { assert type != null; @@ -94,6 +99,26 @@ return getOwner().getXMLBridge(typeInfo); } + public XMLBridge getInlinedRepeatedElementBridge() { + TypeInfo itemType = getItemType(); + if (itemType != null) { + XMLBridge xb = getOwner().getXMLBridge(itemType); + if (xb != null) return new RepeatedElementBridge(typeInfo, xb); + } + return null; + } + + public TypeInfo getItemType() { + if (itemTypeInfo != null) return itemTypeInfo; + //RpcLit cannot inline repeated element in wrapper + if (parent.getBinding().isRpcLit() || wrapper == null) return null; + //InlinedRepeatedElementBridge is only used for dynamic wrapper (no wrapper class) + if (!WrapperComposite.class.equals(wrapper.getTypeInfo().type)) return null; + if (!getBinding().isBody()) return null; + itemTypeInfo = typeInfo.getItemType(); + return itemTypeInfo; + } + /** @deprecated */ public Bridge getBridge() { return getOwner().getBridge(typeReference); @@ -118,7 +143,7 @@ /** * Sometimes we need to overwrite the typeReferenc, such as during patching for rpclit - * @see AbstractSEIModelImpl#applyParameterBinding(com.sun.xml.internal.ws.model.wsdl.WSDLBoundPortTypeImpl) + * @see AbstractSEIModelImpl#applyRpcLitParamBinding(JavaMethodImpl, WrapperParameter, WSDLBoundPortType, WebParam.Mode) * @deprecated */ void setTypeReference(TypeReference type){ @@ -229,6 +254,7 @@ } void fillTypes(List types) { - types.add(getTypeInfo()); + TypeInfo itemType = getItemType(); + types.add((itemType != null) ? itemType : getTypeInfo()); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/ReflectAnnotationReader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ReflectAnnotationReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/ReflectAnnotationReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModeler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,7 @@ package com.sun.xml.internal.ws.model; import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; @@ -47,8 +48,8 @@ import com.sun.xml.internal.ws.spi.db.BindingHelper; import com.sun.xml.internal.ws.spi.db.TypeInfo; import com.sun.xml.internal.ws.spi.db.WrapperComposite; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingMode; + +import static com.sun.xml.internal.ws.binding.WebServiceFeatureList.getSoapVersion; import javax.jws.*; import javax.jws.WebParam.Mode; @@ -117,6 +118,9 @@ public static final Class REMOTE_EXCEPTION_CLASS = RemoteException.class; public static final Class RUNTIME_EXCEPTION_CLASS = RuntimeException.class; public static final Class EXCEPTION_CLASS = Exception.class; + public static final String DecapitalizeExceptionBeanProperties = "com.sun.xml.internal.ws.api.model.DecapitalizeExceptionBeanProperties"; + public static final String SuppressDocLitWrapperGeneration = "com.sun.xml.internal.ws.api.model.SuppressDocLitWrapperGeneration"; + public static final String DocWrappeeNamespapceQualified = "com.sun.xml.internal.ws.api.model.DocWrappeeNamespapceQualified"; /*public RuntimeModeler(@NotNull Class portClass, @NotNull QName serviceName, @NotNull BindingID bindingId, @NotNull WebServiceFeature... features) { this(portClass, serviceName, null, bindingId, features); @@ -151,6 +155,7 @@ this.config = config; this.wsBinding = config.getWSBinding(); metadataReader = config.getMetadataReader(); + targetNamespace = config.getMappingInfo().getTargetNamespace(); if (metadataReader == null) metadataReader = new ReflectAnnotationReader(); if (wsBinding != null) { this.bindingId = wsBinding.getBindingId(); @@ -159,21 +164,31 @@ this.features = WebServiceFeatureList.toList(wsBinding.getFeatures()); } else { this.bindingId = config.getMappingInfo().getBindingID(); + this.features = WebServiceFeatureList.toList(config.getFeatures()); if (binding != null) bindingId = binding.getBinding().getBindingId(); if (bindingId == null) bindingId = getDefaultBindingID(); - this.features = WebServiceFeatureList.toList(config.getFeatures()); if (!features.contains(MTOMFeature.class)) { MTOM mtomAn = getAnnotation(portClass, MTOM.class); if (mtomAn != null) features.add(WebServiceFeatureList.getFeature(mtomAn)); } + if (!features.contains(com.oracle.webservices.internal.api.EnvelopeStyleFeature.class)) { + com.oracle.webservices.internal.api.EnvelopeStyle es = getAnnotation(portClass, com.oracle.webservices.internal.api.EnvelopeStyle.class); + if (es != null) features.add(WebServiceFeatureList.getFeature(es)); + } this.wsBinding = bindingId.createBinding(features); } } private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); - String id = (bt != null) ? bt.value() : javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING; - return BindingID.parse(id); + if (bt != null) return BindingID.parse(bt.value()); + SOAPVersion ver = getSoapVersion(features); + boolean mtomEnabled = features.isEnabled(MTOMFeature.class); + if (SOAPVersion.SOAP_12.equals(ver)) { + return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; + } else { + return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; + } } /** @@ -295,12 +310,12 @@ // serviceName, portName); // } - if (portName == null) portName = getPortName(portClass, serviceName.getNamespaceURI(), metadataReader); + if (portName == null) portName = getPortName(portClass, metadataReader, serviceName.getNamespaceURI()); model.setPortName(portName); // Check if databinding is overridden in annotation. - DatabindingMode dbm = getAnnotation(portClass, DatabindingMode.class); - if (dbm != null) model.databindingInfo.setDatabindingMode(dbm.value()); + com.oracle.webservices.internal.api.databinding.DatabindingMode dbm2 = getAnnotation(portClass, com.oracle.webservices.internal.api.databinding.DatabindingMode.class); + if (dbm2 != null) model.databindingInfo.setDatabindingMode(dbm2.value()); processClass(seiClass); if (model.getJavaMethods().size() == 0) @@ -345,11 +360,17 @@ } } + private boolean noWrapperGen() { + Object o = config.properties().get(SuppressDocLitWrapperGeneration); + return (o!= null && o instanceof Boolean) ? ((Boolean) o) : false; + } + private Class getRequestWrapperClass(String className, Method method, QName reqElemName) { ClassLoader loader = (classLoader == null) ? Thread.currentThread().getContextClassLoader() : classLoader; try { return loader.loadClass(className); } catch (ClassNotFoundException e) { + if (noWrapperGen()) return WrapperComposite.class; logger.fine("Dynamically creating request wrapper Class " + className); return WrapperBeanGenerator.createRequestWrapperBean(className, method, reqElemName, loader); } @@ -360,6 +381,7 @@ try { return loader.loadClass(className); } catch (ClassNotFoundException e) { + if (noWrapperGen()) return WrapperComposite.class; logger.fine("Dynamically creating response wrapper bean Class " + className); return WrapperBeanGenerator.createResponseWrapperBean(className, method, resElemName, loader); } @@ -367,12 +389,15 @@ private Class getExceptionBeanClass(String className, Class exception, String name, String namespace) { + boolean decapitalizeExceptionBeanProperties = true; + Object o = config.properties().get(DecapitalizeExceptionBeanProperties); + if (o!= null && o instanceof Boolean) decapitalizeExceptionBeanProperties = (Boolean) o; ClassLoader loader = (classLoader == null) ? Thread.currentThread().getContextClassLoader() : classLoader; try { return loader.loadClass(className); } catch (ClassNotFoundException e) { logger.fine("Dynamically creating exception bean Class " + className); - return WrapperBeanGenerator.createExceptionBean(className, exception, targetNamespace, name, namespace, loader); + return WrapperBeanGenerator.createExceptionBean(className, exception, targetNamespace, name, namespace, loader, decapitalizeExceptionBeanProperties); } } @@ -417,6 +442,7 @@ targetNamespace = portTypeName.getNamespaceURI(); model.setPortTypeName(portTypeName); model.setTargetNamespace(targetNamespace); + model.defaultSchemaNamespaceSuffix = config.getMappingInfo().getDefaultSchemaNamespaceSuffix(); model.setWSDLLocation(webService.wsdlLocation()); SOAPBinding soapBinding = getAnnotation(clazz, SOAPBinding.class); @@ -580,8 +606,9 @@ * @param method the method to model */ private void processMethod(Method method) { - int mods = method.getModifiers(); +// int mods = method.getModifiers(); WebMethod webMethod = getAnnotation(method, WebMethod.class); + if (webMethod != null && webMethod.exclude()) return; /* validations are already done @@ -733,8 +760,9 @@ RequestWrapper reqWrapper = getAnnotation(method,RequestWrapper.class); ResponseWrapper resWrapper = getAnnotation(method,ResponseWrapper.class); String beanPackage = packageName + PD_JAXWS_PACKAGE_PD; - if (packageName == null || (packageName != null && packageName.length() == 0)) + if (packageName == null || packageName.length() == 0) { beanPackage = JAXWS_PACKAGE_PD; + } String requestClassName; if(reqWrapper != null && reqWrapper.className().length()>0){ requestClassName = reqWrapper.className(); @@ -834,12 +862,13 @@ returnType = getAsyncReturnType(method, returnType); resultQName = new QName(RETURN); } - + resultQName = qualifyWrappeeIfNeeded(resultQName, resNamespace); if (!isOneway && (returnType != null) && (!returnType.getName().equals("void"))) { Annotation[] rann = getAnnotations(method); if (resultQName.getLocalPart() != null) { TypeInfo rTypeReference = new TypeInfo(resultQName, returnType, rann); metadataReader.getProperties(rTypeReference.properties(), method); + rTypeReference.setGenericType(method.getGenericReturnType()); ParameterImpl returnParameter = new ParameterImpl(javaMethod, rTypeReference, Mode.OUT, -1); if (isResultHeader) { returnParameter.setBinding(ParameterBinding.HEADER); @@ -901,9 +930,11 @@ if (isHolder && paramMode == Mode.IN) paramMode = Mode.INOUT; } + paramQName = qualifyWrappeeIfNeeded(paramQName, reqNamespace); typeRef = new TypeInfo(paramQName, clazzType, pannotations[pos]); metadataReader.getProperties(typeRef.properties(), method, pos); + typeRef.setGenericType(genericParameterTypes[pos]); ParameterImpl param = new ParameterImpl(javaMethod, typeRef, paramMode, pos++); if (isHeader) { @@ -936,6 +967,16 @@ processExceptions(javaMethod, method); } + private QName qualifyWrappeeIfNeeded(QName resultQName, String ns) { + Object o = config.properties().get(DocWrappeeNamespapceQualified); + boolean qualified = (o!= null && o instanceof Boolean) ? ((Boolean) o) : false; + if (qualified) { + if (resultQName.getNamespaceURI() == null || "".equals(resultQName.getNamespaceURI())) { + return new QName(ns, resultQName.getLocalPart()); + } + } + return resultQName; + } /** * models a rpc/literal method @@ -1345,7 +1386,7 @@ } QName requestQName = new QName(requestNamespace, paramName); - if (!isHeader) javaMethod.setRequestPayloadName(requestQName); + if (!isHeader && paramMode != Mode.OUT) javaMethod.setRequestPayloadName(requestQName); //doclit/wrapped TypeInfo typeRef = //operationName with upper 1 char new TypeInfo(requestQName, clazzType, @@ -1492,18 +1533,18 @@ * @return the wsdl:portName for the implClass */ public static QName getPortName(Class implClass, String targetNamespace) { - return getPortName(implClass, targetNamespace, null); + return getPortName(implClass, null, targetNamespace); } public static QName getPortName(Class implClass, String targetNamespace, boolean isStandard) { - return getPortName(implClass, targetNamespace, null, isStandard); + return getPortName(implClass, null, targetNamespace, isStandard); } - public static QName getPortName(Class implClass, String targetNamespace, MetadataReader reader) { - return getPortName(implClass, targetNamespace, reader, true); + public static QName getPortName(Class implClass, MetadataReader reader, String targetNamespace) { + return getPortName(implClass, reader, targetNamespace, true); } - public static QName getPortName(Class implClass, String targetNamespace, MetadataReader reader, boolean isStandard) { + public static QName getPortName(Class implClass, MetadataReader reader, String targetNamespace, boolean isStandard) { WebService webService = getAnnotation(WebService.class, implClass, reader); if (isStandard && webService == null) { throw new RuntimeModelerException("runtime.modeler.no.webservice.annotation", @@ -1526,7 +1567,9 @@ if (implClass.getPackage() != null) { packageName = implClass.getPackage().getName(); } - targetNamespace = getNamespace(packageName); + if (packageName != null) { + targetNamespace = getNamespace(packageName); + } if (targetNamespace == null) { throw new RuntimeModelerException("runtime.modeler.no.package", implClass.getName()); @@ -1550,6 +1593,11 @@ public static QName getPortTypeName(Class implOrSeiClass){ return getPortTypeName(implOrSeiClass, null, null); } + + public static QName getPortTypeName(Class implOrSeiClass, MetadataReader metadataReader){ + return getPortTypeName(implOrSeiClass, null, metadataReader); + } + public static QName getPortTypeName(Class implOrSeiClass, String tns, MetadataReader reader){ assert(implOrSeiClass != null); WebService webService = getAnnotation(WebService.class, implOrSeiClass, reader); @@ -1566,7 +1614,8 @@ } catch (ClassNotFoundException e) { throw new RuntimeModelerException("runtime.modeler.class.not.found", epi); } - if (!clazz.isAnnotationPresent(javax.jws.WebService.class)) { + WebService ws = getAnnotation(WebService.class, clazz, reader); + if (ws == null) { throw new RuntimeModelerException("runtime.modeler.endpoint.interface.no.webservice", webService.endpointInterface()); } @@ -1578,7 +1627,6 @@ if(name.length() == 0){ name = clazz.getSimpleName(); } - tns = webService.targetNamespace(); if (tns == null || "".equals(tns.trim())) tns = webService.targetNamespace(); if (tns.length() == 0) tns = getNamespace(clazz.getPackage().getName()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModelerException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModelerException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/RuntimeModelerException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -24,8 +24,8 @@ */ package com.sun.xml.internal.ws.model; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * RuntimeModelerException represents an exception that occurred while diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/SOAPSEIModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/SOAPSEIModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/SOAPSEIModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,7 +30,6 @@ import javax.jws.WebParam.Mode; import javax.xml.namespace.QName; -import javax.xml.ws.WebServiceFeature; import java.util.HashSet; import java.util.Iterator; import java.util.Set; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperBeanGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -257,7 +257,7 @@ static Class createRequestWrapperBean(String className, Method method, QName reqElemName, ClassLoader cl) { - LOGGER.fine("Request Wrapper Class : "+className); + LOGGER.log(Level.FINE, "Request Wrapper Class : {0}", className); List requestMembers = RUNTIME_GENERATOR.collectRequestBeanMembers( method); @@ -276,7 +276,7 @@ static Class createResponseWrapperBean(String className, Method method, QName resElemName, ClassLoader cl) { - LOGGER.fine("Response Wrapper Class : "+className); + LOGGER.log(Level.FINE, "Response Wrapper Class : {0}", className); List responseMembers = RUNTIME_GENERATOR.collectResponseBeanMembers(method); @@ -327,8 +327,12 @@ static Class createExceptionBean(String className, Class exception, String typeNS, String elemName, String elemNS, ClassLoader cl) { + return createExceptionBean(className, exception, typeNS, elemName, elemNS, cl, true); + } - Collection fields = RUNTIME_GENERATOR.collectExceptionBeanMembers(exception); + static Class createExceptionBean(String className, Class exception, String typeNS, String elemName, String elemNS, ClassLoader cl, boolean decapitalizeExceptionBeanProperties) { + + Collection fields = RUNTIME_GENERATOR.collectExceptionBeanMembers(exception, decapitalizeExceptionBeanProperties); byte[] image; try { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperParameter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperParameter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/WrapperParameter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,6 +28,7 @@ import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.ParameterBinding; import com.sun.xml.internal.ws.spi.db.TypeInfo; +import com.sun.xml.internal.ws.spi.db.WrapperComposite; import javax.jws.WebParam.Mode; import java.util.ArrayList; @@ -84,6 +85,7 @@ */ public void addWrapperChild(ParameterImpl wrapperChild) { wrapperChildren.add(wrapperChild); + wrapperChild.wrapper = this; // must bind to body. see class javadoc assert wrapperChild.getBinding()== ParameterBinding.BODY; } @@ -95,12 +97,15 @@ @Override void fillTypes(List types) { super.fillTypes(types); - if(getParent().getBinding().isRpcLit()) { - // for rpc/lit, we need to individually marshal/unmarshal wrapped values, - // so their TypeReference needs to be collected -// assert getTypeReference().type==CompositeStructure.class; - for (ParameterImpl p : wrapperChildren) - p.fillTypes(types); + if(WrapperComposite.class.equals(getTypeInfo().type)) { + for (ParameterImpl p : wrapperChildren) p.fillTypes(types); } +// if(getParent().getBinding().isRpcLit()) { +// // for rpc/lit, we need to individually marshal/unmarshal wrapped values, +// // so their TypeReference needs to be collected +//// assert getTypeReference().type==CompositeStructure.class; +// for (ParameterImpl p : wrapperChildren) +// p.fillTypes(types); +// } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/soap/SOAPBindingImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/soap/SOAPBindingImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/soap/SOAPBindingImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractExtensibleImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractExtensibleImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractExtensibleImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractFeaturedObjectImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractFeaturedObjectImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractFeaturedObjectImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractObjectImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractObjectImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/AbstractObjectImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundFaultImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundFaultImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundFaultImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundOperationImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundOperationImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundOperationImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,6 +29,7 @@ import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.api.model.ParameterBinding; import com.sun.xml.internal.ws.api.model.wsdl.*; +import com.sun.xml.internal.ws.model.RuntimeModeler; import javax.jws.WebParam.Mode; import javax.jws.soap.SOAPBinding.Style; @@ -382,7 +383,7 @@ * For rpclit gives namespace value on soapbinding:body@namespace * * @return non-null for rpclit and null for doclit - * @see com.sun.xml.internal.ws.model.RuntimeModeler#processRpcMethod(com.sun.xml.internal.ws.model.JavaMethodImpl, String, javax.jws.WebMethod, String, java.lang.reflect.Method, javax.jws.WebService) + * @see RuntimeModeler#processRpcMethod(JavaMethodImpl, String, String, Method) */ public String getRequestNamespace(){ return (reqNamespace != null)?reqNamespace:name.getNamespaceURI(); @@ -397,7 +398,7 @@ * For rpclit gives namespace value on soapbinding:body@namespace * * @return non-null for rpclit and null for doclit - * * @see com.sun.xml.internal.ws.modeler.RuntimeModeler#processRpcMethod(com.sun.xml.internal.ws.model.JavaMethod, String, javax.jws.WebMethod, String, java.lang.reflect.Method, javax.jws.WebService) + * @see RuntimeModeler#processRpcMethod(JavaMethodImpl, String, String, Method) */ public String getResponseNamespace(){ return (respNamespace!=null)?respNamespace:name.getNamespaceURI(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundPortTypeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundPortTypeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLBoundPortTypeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -145,7 +145,7 @@ * * @param operation wsdl:operation@name value. Must be non-null. * @param part wsdl:part@name such as value of soap:header@part. Must be non-null. - * @param mode {@link Mode#IN} or {@link Mode@OUT}. Must be non-null. + * @param mode {@link Mode#IN} or {@link Mode#OUT}. Must be non-null. * @return null if the binding could not be resolved for the part. */ public ParameterBinding getBinding(QName operation, String part, Mode mode) { @@ -165,7 +165,7 @@ * * @param operation wsdl:operation@name value. Must be non-null. * @param part wsdl:part@name such as value of soap:header@part. Must be non-null. - * @param mode {@link Mode#IN} or {@link Mode@OUT}. Must be non-null. + * @param mode {@link Mode#IN} or {@link Mode#OUT}. Must be non-null. * @return null if the binding could not be resolved for the part. */ public String getMimeType(QName operation, String part, Mode mode) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLDirectProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLDirectProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLDirectProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLFaultImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLFaultImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLFaultImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLInputImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLInputImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLInputImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLMessageImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLMessageImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLMessageImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLModelImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLModelImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLModelImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOperationImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOperationImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOperationImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOutputImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOutputImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLOutputImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartDescriptorImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartDescriptorImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartDescriptorImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPartImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortTypeImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortTypeImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLPortTypeImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,14 +25,16 @@ package com.sun.xml.internal.ws.model.wsdl; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import javax.xml.namespace.QName; import javax.xml.ws.handler.MessageContext; + import org.xml.sax.InputSource; /** @@ -41,7 +43,7 @@ * * @author Jitendra Kotamraju */ -public abstract class WSDLProperties extends PropertySet { +public abstract class WSDLProperties extends BasePropertySet { private static final PropertyMap model; static { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLServiceImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLServiceImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/WSDLServiceImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ClassAdapter.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ClassAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,151 @@ +/* + * Copyright (c) 2005, 2009, 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. + */ + +/* + * This file is available under and governed by the GNU General Public + * License version 2 only, as published by the Free Software Foundation. + * However, the following notice accompanied the original version of this + * file: + * + * ASM: a very small and fast Java bytecode manipulation framework + * Copyright (c) 2000-2007 INRIA, France Telecom + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. + */ +package com.sun.xml.internal.ws.org.objectweb.asm; + +/** + * An empty {@link ClassVisitor} that delegates to another {@link ClassVisitor}. + * This class can be used as a super class to quickly implement usefull class + * adapter classes, just by overriding the necessary methods. + * + * @author Eric Bruneton + */ +public class ClassAdapter implements ClassVisitor { + + /** + * The {@link ClassVisitor} to which this adapter delegates calls. + */ + protected ClassVisitor cv; + + /** + * Constructs a new {@link ClassAdapter} object. + * + * @param cv the class visitor to which this adapter must delegate calls. + */ + public ClassAdapter(final ClassVisitor cv) { + this.cv = cv; + } + + public void visit( + final int version, + final int access, + final String name, + final String signature, + final String superName, + final String[] interfaces) + { + cv.visit(version, access, name, signature, superName, interfaces); + } + + public void visitSource(final String source, final String debug) { + cv.visitSource(source, debug); + } + + public void visitOuterClass( + final String owner, + final String name, + final String desc) + { + cv.visitOuterClass(owner, name, desc); + } + + public AnnotationVisitor visitAnnotation( + final String desc, + final boolean visible) + { + return cv.visitAnnotation(desc, visible); + } + + public void visitAttribute(final Attribute attr) { + cv.visitAttribute(attr); + } + + public void visitInnerClass( + final String name, + final String outerName, + final String innerName, + final int access) + { + cv.visitInnerClass(name, outerName, innerName, access); + } + + public FieldVisitor visitField( + final int access, + final String name, + final String desc, + final String signature, + final Object value) + { + return cv.visitField(access, name, desc, signature, value); + } + + public MethodVisitor visitMethod( + final int access, + final String name, + final String desc, + final String signature, + final String[] exceptions) + { + return cv.visitMethod(access, name, desc, signature, exceptions); + } + + public void visitEnd() { + cv.visitEnd(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/MethodAdapter.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/MethodAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,225 @@ +/* + * Copyright (c) 2005, 2009, 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. + */ + +/* + * This file is available under and governed by the GNU General Public + * License version 2 only, as published by the Free Software Foundation. + * However, the following notice accompanied the original version of this + * file: + * + * ASM: a very small and fast Java bytecode manipulation framework + * Copyright (c) 2000-2007 INRIA, France Telecom + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. + */ +package com.sun.xml.internal.ws.org.objectweb.asm; + +/** + * An empty {@link MethodVisitor} that delegates to another + * {@link MethodVisitor}. This class can be used as a super class to quickly + * implement usefull method adapter classes, just by overriding the necessary + * methods. + * + * @author Eric Bruneton + */ +public class MethodAdapter implements MethodVisitor { + + /** + * The {@link MethodVisitor} to which this adapter delegates calls. + */ + protected MethodVisitor mv; + + /** + * Constructs a new {@link MethodAdapter} object. + * + * @param mv the code visitor to which this adapter must delegate calls. + */ + public MethodAdapter(final MethodVisitor mv) { + this.mv = mv; + } + + public AnnotationVisitor visitAnnotationDefault() { + return mv.visitAnnotationDefault(); + } + + public AnnotationVisitor visitAnnotation( + final String desc, + final boolean visible) + { + return mv.visitAnnotation(desc, visible); + } + + public AnnotationVisitor visitParameterAnnotation( + final int parameter, + final String desc, + final boolean visible) + { + return mv.visitParameterAnnotation(parameter, desc, visible); + } + + public void visitAttribute(final Attribute attr) { + mv.visitAttribute(attr); + } + + public void visitCode() { + mv.visitCode(); + } + + public void visitFrame( + final int type, + final int nLocal, + final Object[] local, + final int nStack, + final Object[] stack) + { + mv.visitFrame(type, nLocal, local, nStack, stack); + } + + public void visitInsn(final int opcode) { + mv.visitInsn(opcode); + } + + public void visitIntInsn(final int opcode, final int operand) { + mv.visitIntInsn(opcode, operand); + } + + public void visitVarInsn(final int opcode, final int var) { + mv.visitVarInsn(opcode, var); + } + + public void visitTypeInsn(final int opcode, final String type) { + mv.visitTypeInsn(opcode, type); + } + + public void visitFieldInsn( + final int opcode, + final String owner, + final String name, + final String desc) + { + mv.visitFieldInsn(opcode, owner, name, desc); + } + + public void visitMethodInsn( + final int opcode, + final String owner, + final String name, + final String desc) + { + mv.visitMethodInsn(opcode, owner, name, desc); + } + + public void visitJumpInsn(final int opcode, final Label label) { + mv.visitJumpInsn(opcode, label); + } + + public void visitLabel(final Label label) { + mv.visitLabel(label); + } + + public void visitLdcInsn(final Object cst) { + mv.visitLdcInsn(cst); + } + + public void visitIincInsn(final int var, final int increment) { + mv.visitIincInsn(var, increment); + } + + public void visitTableSwitchInsn( + final int min, + final int max, + final Label dflt, + final Label[] labels) + { + mv.visitTableSwitchInsn(min, max, dflt, labels); + } + + public void visitLookupSwitchInsn( + final Label dflt, + final int[] keys, + final Label[] labels) + { + mv.visitLookupSwitchInsn(dflt, keys, labels); + } + + public void visitMultiANewArrayInsn(final String desc, final int dims) { + mv.visitMultiANewArrayInsn(desc, dims); + } + + public void visitTryCatchBlock( + final Label start, + final Label end, + final Label handler, + final String type) + { + mv.visitTryCatchBlock(start, end, handler, type); + } + + public void visitLocalVariable( + final String name, + final String desc, + final String signature, + final Label start, + final Label end, + final int index) + { + mv.visitLocalVariable(name, desc, signature, start, end, index); + } + + public void visitLineNumber(final int line, final Label start) { + mv.visitLineNumber(line, start); + } + + public void visitMaxs(final int maxStack, final int maxLocals) { + mv.visitMaxs(maxStack, maxLocals); + } + + public void visitEnd() { + mv.visitEnd(); + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerEndpointScope.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerEndpointScope.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerEndpointScope.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerMessageScope.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerMessageScope.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerMessageScope.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerOperationScope.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerOperationScope.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerOperationScope.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerServiceScope.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerServiceScope.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/BuilderHandlerServiceScope.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/DefaultPolicyResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/DefaultPolicyResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/DefaultPolicyResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyMapBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyMapBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyMapBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/PolicyWSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -40,6 +40,7 @@ import com.sun.xml.internal.ws.model.wsdl.WSDLModelImpl; import com.sun.xml.internal.ws.policy.PolicyException; import com.sun.xml.internal.ws.policy.PolicyMap; +import com.sun.xml.internal.ws.util.xml.XmlUtil; import java.io.IOException; import java.io.InputStream; @@ -58,6 +59,7 @@ import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLInputFactory; import javax.xml.ws.WebServiceException; +import javax.xml.xpath.XPathFactoryConfigurationException; /** * This class parses the Policy Attachments in the WSDL and creates a PolicyMap thaty captures the policies configured on @@ -622,7 +624,7 @@ try { final URL xmlURL = new URL(fileUrl); ios = xmlURL.openStream(); - reader = XMLInputFactory.newInstance().createXMLStreamReader(ios); + reader = XmlUtil.newXMLInputFactory(true).createXMLStreamReader(ios); while (reader.hasNext()) { if (reader.isStartElement() && NamespaceVersion.resolveAsToken(reader.getName()) == XmlToken.Policy) { readSinglePolicy(policyReader.readPolicyElement(reader, fileUrl), false); @@ -872,6 +874,14 @@ for (WSDLBoundFault boundFault : boundOperation.getFaults()) { final WSDLFault fault = boundFault.getFault(); + + // this shouldn't happen ususally, + // but since this scenario tested in lagacy tests, dont' fail here + if (fault == null) { + LOGGER.warning(PolicyMessages.WSP_1021_FAULT_NOT_BOUND(boundFault.getName())); + continue; + } + final WSDLMessage faultMessage = fault.getMessage(); final QName faultName = new QName(boundOperation.getBoundPortType().getName().getNamespaceURI(), boundFault.getName()); // We store the message and portType/fault under the same namespace as the binding/fault so that we can match them up later diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/SafePolicyReader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/SafePolicyReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/SafePolicyReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/WSDLBoundFaultContainer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/WSDLBoundFaultContainer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/WSDLBoundFaultContainer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyFeatureConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyFeatureConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyFeatureConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyMapConfigurator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyMapConfigurator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/spi/PolicyMapConfigurator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ClientMUTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ClientMUTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ClientMUTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -35,7 +35,6 @@ import javax.xml.namespace.QName; import javax.xml.ws.soap.SOAPFaultException; -import java.util.HashSet; import java.util.Set; /** @@ -74,7 +73,7 @@ //may have been changed from the time of invocation, it ok as its only fallback case. handlerConfig = binding.getHandlerConfig(); } - Set misUnderstoodHeaders = getMisUnderstoodHeaders(response.getMessage().getHeaders(), handlerConfig.getRoles(),handlerConfig.getHandlerKnownHeaders()); + Set misUnderstoodHeaders = getMisUnderstoodHeaders(response.getMessage().getHeaders(), handlerConfig.getRoles(),binding.getKnownHeaders()); if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) { return super.processResponse(response); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MUTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MUTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MUTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,14 +29,12 @@ import static com.sun.xml.internal.ws.api.SOAPVersion.SOAP_11; import static com.sun.xml.internal.ws.api.SOAPVersion.SOAP_12; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.addressing.AddressingVersion; import com.sun.xml.internal.ws.api.message.Header; -import com.sun.xml.internal.ws.api.message.HeaderList; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.pipe.TubeCloner; import com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterTubeImpl; -import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import com.sun.xml.internal.ws.message.DOMHeader; import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; @@ -49,7 +47,6 @@ import javax.xml.ws.WebServiceException; import javax.xml.ws.soap.SOAPBinding; import javax.xml.ws.soap.SOAPFaultException; -import java.util.HashSet; import java.util.Set; import java.util.logging.Logger; @@ -95,27 +92,10 @@ * @return returns the headers that have mustUnderstand attribute and are not understood * by the binding. */ - public final Set getMisUnderstoodHeaders(HeaderList headers, Set roles, + public final Set getMisUnderstoodHeaders(MessageHeaders headers, Set roles, Set handlerKnownHeaders) { - Set notUnderstoodHeaders = null; - for (int i = 0; i < headers.size(); i++) { - if (!headers.isUnderstood(i)) { - Header header = headers.get(i); - if (!header.isIgnorable(soapVersion, roles)) { - QName qName = new QName(header.getNamespaceURI(), header.getLocalPart()); - // see if the binding can understand it - if (!binding.understandsHeader(qName)) { - if (!handlerKnownHeaders.contains(qName)) { - logger.info("Element not understood=" + qName); - if (notUnderstoodHeaders == null) - notUnderstoodHeaders = new HashSet(); - notUnderstoodHeaders.add(qName); - } - } - } - } - } - return notUnderstoodHeaders; + return headers.getNotUnderstoodHeaders(roles, handlerKnownHeaders, binding); + } /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MessageCreationException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MessageCreationException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/MessageCreationException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ServerMUTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ServerMUTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/ServerMUTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,11 +25,9 @@ package com.sun.xml.internal.ws.protocol.soap; -import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.*; import com.sun.xml.internal.ws.client.HandlerConfiguration; -import com.sun.xml.internal.ws.binding.BindingImpl; import javax.xml.namespace.QName; import java.util.Set; @@ -51,7 +49,7 @@ //On Server, HandlerConfiguration does n't change after publish, so store locally HandlerConfiguration handlerConfig = binding.getHandlerConfig(); roles = handlerConfig.getRoles(); - handlerKnownHeaders = handlerConfig.getHandlerKnownHeaders(); + handlerKnownHeaders = binding.getKnownHeaders(); } protected ServerMUTube(ServerMUTube that, TubeCloner cloner) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/VersionMismatchException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/VersionMismatchException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/soap/VersionMismatchException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/xml/XMLMessageException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/xml/XMLMessageException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/protocol/xml/XMLMessageException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.protocol.xml; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * @author WS Development Team diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/AddressingMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/AddressingMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/AddressingMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/BindingApiMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/BindingApiMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/BindingApiMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ClientMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ClientMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ClientMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/DispatchMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/DispatchMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/DispatchMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/EncodingMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/EncodingMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/EncodingMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HandlerMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HandlerMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HandlerMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HttpserverMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HttpserverMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/HttpserverMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ManagementMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ManagementMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ManagementMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ModelerMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ModelerMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ModelerMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -64,6 +63,18 @@ 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); } @@ -100,6 +111,18 @@ 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); } @@ -184,6 +207,18 @@ 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); } @@ -304,6 +339,18 @@ 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); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/PolicyMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/PolicyMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/PolicyMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** @@ -232,6 +231,18 @@ 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); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ProviderApiMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ProviderApiMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ProviderApiMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SenderMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SenderMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SenderMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ServerMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ServerMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/ServerMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SoapMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SoapMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/SoapMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/StreamingMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/StreamingMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/StreamingMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/TubelineassemblyMessages.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/TubelineassemblyMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -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 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)); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/UtilMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/UtilMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/UtilMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsdlmodelMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsdlmodelMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsdlmodelMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsservletMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsservletMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/WsservletMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/XmlmessageMessages.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/XmlmessageMessages.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/XmlmessageMessages.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -23,12 +23,11 @@ * questions. */ - package com.sun.xml.internal.ws.resources; -import com.sun.xml.internal.ws.util.localization.Localizable; -import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; -import com.sun.xml.internal.ws.util.localization.Localizer; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=Version "{0}" von WS-Adressierung wurde erwartet, "{1}" wurde jedoch ermittelt +replyTo.cannot.parse=ReplyTo-Header kann nicht geparst werden. +faultTo.cannot.parse=FaultTo-Header kann nicht geparst werden. +unknown.wsa.header=Unbekannter WS-Adressierungs-Header +invalid.wsaw.anonymous=Ung\u00FCltiger Wert aus wsaw:Anonymous abgerufen: "{0}" +wsaw.anonymousProhibited=Vorgang enth\u00E4lt nicht zugelassenen Wert f\u00FCr wsaw:anonymous in der WSDL, Adressierung muss deaktiviert werden, und SOAP-Nachricht muss manuell erstellt werden +null.addressing.version=Nicht erwartete Nulladressierungsversion +null.soap.version=Nicht erwartete Null-SOAP-Version +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=Es kann kein Vorgang in wsdl:binding f\u00FCr "{0}" gefunden werden +null.binding=Anforderungsadressierungs-Header werden ausgef\u00FCllt und Null-Binding wurde ermittelt +null.wsdlPort=Anforderungsadressierungs-Header werden ausgef\u00FCllt und Null-WSDLPort wurde ermittelt +null.packet=Anforderungsadressierungs-Header werden ausgef\u00FCllt und Nullpaket wurde ermittelt +null.action=Anforderungsadressierungs-Header werden ausgef\u00FCllt und Nullaktion wurde ermittelt +null.message=Nullnachricht bei Verarbeitung der eingehenden Serveranforderung gefunden, w\u00E4hrend WS-Adressierung erforderlich ist +null.headers=Bei Verarbeitung der eingehenden Serveranforderung wurden keine Header gefunden, w\u00E4hrend WS-Adressierung erforderlich ist +null.wsa.headers=Bei der Verarbeitung der eingehenden Serveranforderung wurden keine WS-Adressierungs-Header gefunden +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=Adressierung ist nicht aktiviert, {0} sollte nicht in der Pipeline enthalten sein" +addressing.should.be.enabled.=Adressierung ist nicht aktiviert +validation.client.nullAction=Eingehende Adressierungs-Header werden auf Client validiert, dabei wurde Nullaktion ermittelt +validation.server.nullAction=Eingehende Adressierungs-Header werden auf Server validiert, dabei wurde Nullaktion ermittelt + +nonAnonymous.response=202 wird gesendet und nicht-anonyme Antwort wird verarbeitet +nonAnonymous.unknown.protocol=Unbekanntes Protokoll: "{0}" +# {0} - URL +nonAnonymous.response.sending=Nicht-anonyme Antwort wird an "{0}" gesendet +nonAnonymous.response.nullHeaders=Keine Antwort-Header in nicht-anonymer Antwort von "{0}" gefunden +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=Nicht-anonyme Antwort wird bei unidirektionaler Nachricht ignoriert + +invalid.addressing.header.exception=Ung\u00FCltiger WS-Adressierungs-Header: "{0}", Ursache: "{1}" +action.not.supported.exception=Aktion: "{0}" nicht unterst\u00FCtzt +missing.header.exception=WS-Adressierungs-Header fehlt: "{0}" +non.unique.operation.signature=Vorg\u00E4nge in einem Port m\u00FCssen eine eindeutige Vorgangssignatur enthalten, damit ein zugeh\u00F6riger WSDL-Vorgang f\u00FCr eine Nachricht erfolgreich identifiziert werden kann. WSDL-Vorg\u00E4nge {0} und {1} haben dieselbe Vorgangssignatur, dieselbe wsa:Action "{2}" und denselben Anforderungstextblock "{3}", Methodenverteilung verl\u00E4uft zur Laufzeit m\u00F6glicherweise nicht erfolgreich. Verwenden Sie eine eindeutige wsa:Action f\u00FCr jeden Vorgang diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=Se esperaba la versi\u00F3n "{0}" de WS-Addressing, pero se ha encontrado "{1}" +replyTo.cannot.parse=No se puede analizar la cabecera ReplyTo +faultTo.cannot.parse=No se puede analizar la cabecera FaultTo +unknown.wsa.header=Cabecera WS-Addressing desconocida +invalid.wsaw.anonymous=Se ha obtenido un valor no v\u00E1lido de wsaw:Anonymous: "{0}" +wsaw.anonymousProhibited=La operaci\u00F3n tiene un valor "prohibido" para wsaw:anonymous en el WSDL. Hay que desactivar Addressing y el mensaje de SOAP se tiene que tratar manualmente +null.addressing.version=Versi\u00F3n de Addressing nula inesperada +null.soap.version=Versi\u00F3n de SOAP nula inesperada +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=No se ha encontrado una operaci\u00F3n en wsdl:binding para "{0}" +null.binding=Rellenando las cabeceras de Addressing de la solicitud y se ha encontrado un enlace nulo +null.wsdlPort=Rellenando las cabeceras de Addressing de la solicitud y se ha encontrado un puerto WSDL nulo +null.packet=Rellenando las cabeceras de Addressing de la solicitud y se ha encontrado un paquete nulo +null.action=Rellenando las cabeceras de Addressing de la solicitud y se ha encontrado una acci\u00F3n nula +null.message=Se ha encontrado un mensaje nulo al procesar la solicitud entrante del servidor y se necesita WS-Addressing +null.headers=No se ha encontrado ninguna cabecera al procesar la solicitud entrante del servidor y se necesita WS-Addressing +null.wsa.headers=No se ha encontrado ninguna cabecera de WS-Addressing al procesar la solicitud entrante del servidor +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=El direccionamiento no est\u00E1 activado; {0} no se debe incluir en el pipeline" +addressing.should.be.enabled.=El direccionamiento no est\u00E1 activado +validation.client.nullAction=Validando las cabeceras de Addressing entrantes en el cliente y se ha encontrado una acci\u00F3n nula +validation.server.nullAction=Validando las cabeceras de Addressing entrantes en el servidor y se ha encontrado una acci\u00F3n nula + +nonAnonymous.response=Enviando 202 y procesando respuesta no an\u00F3nima +nonAnonymous.unknown.protocol=Protocolo desconocido: "{0}" +# {0} - URL +nonAnonymous.response.sending=Enviando respuesta no an\u00F3nima a "{0}" +nonAnonymous.response.nullHeaders=No se ha encontrado ninguna cabecera de respuesta en una respuesta no an\u00F3nima de "{0}" +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=Ignorando la respuesta no an\u00F3nima para el mensaje unidireccional + +invalid.addressing.header.exception=Cabecera de WS-Addressing no v\u00E1lida: "{0}", Motivo: "{1}" +action.not.supported.exception=Acci\u00F3n: "{0}" no soportada +missing.header.exception=Falta la cabecera de WS-Addressing: "{0}" +non.unique.operation.signature=Las operaciones de un puerto deben tener una firma de operaci\u00F3n \u00FAnica para identificar correctamente una operaci\u00F3n WSDL asociada de un mensaje. La operaci\u00F3n WSDL {0} y {1} tienen la misma firma de operaci\u00F3n, wsa:Action "{2}" y bloque del cuerpo de solicitud "{3}". Puede que la distribuci\u00F3n del m\u00E9todo falle en tiempo de ejecuci\u00F3n. Utilice un elemento wsa:Action \u00FAnico para cada operaci\u00F3n diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=Version "{0}" de WS-Addressing attendue, mais "{1}" trouv\u00E9e +replyTo.cannot.parse=L'en-t\u00EAte ReplyTo ne peut pas \u00EAtre analys\u00E9 +faultTo.cannot.parse=L'en-t\u00EAte FaultTo ne peut pas \u00EAtre analys\u00E9 +unknown.wsa.header=En-t\u00EAte WS-Addressing inconnu +invalid.wsaw.anonymous=Valeur non valide obtenue \u00E0 partir de wsaw:Anonymous : "{0}" +wsaw.anonymousProhibited=L'op\u00E9ration a "interdit" la valeur pour wsaw:anonymous dans le WSDL, l'adressage doit \u00EAtre d\u00E9sactiv\u00E9 et le message SOAP doit \u00EAtre con\u00E7u manuellement +null.addressing.version=Version d'adressage NULL inattendue +null.soap.version=Version SOAP NULL inattendue +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=Op\u00E9ration introuvable dans wsdl:binding pour "{0}" +null.binding=Remplissage des en-t\u00EAtes d'adressage de demande et binding NULL trouv\u00E9 +null.wsdlPort=Remplissage des en-t\u00EAtes d'adressage de la demande et WSDLPort NULL trouv\u00E9 +null.packet=Remplissage des en-t\u00EAtes d'adressage de demande et paquet NULL trouv\u00E9 +null.action=Remplissage des en-t\u00EAtes d'adressage de demande et action NULL trouv\u00E9e +null.message=Message NULL trouv\u00E9 lors du traitement de la demande entrante du serveur et WS-Addressing requis +null.headers=Aucun en-t\u00EAte trouv\u00E9 lors du traitement de la demande entrante du serveur et WS-Addressing requis +null.wsa.headers=Aucun en-t\u00EAte WS-Addressing trouv\u00E9 lors du traitement de la demande entrante du serveur +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=L''adressage n''est pas activ\u00E9, {0} ne doit pas \u00EAtre inclus dans le pipeline" +addressing.should.be.enabled.=L'adressage n'est pas activ\u00E9 +validation.client.nullAction=Validation des en-t\u00EAtes d'adressage entrant sur le client et action NULL trouv\u00E9e +validation.server.nullAction=Validation des en-t\u00EAtes d'adressage entrant sur le serveur et action NULL trouv\u00E9e + +nonAnonymous.response=Envoi de 202 et traitement de la r\u00E9ponse non anonyme +nonAnonymous.unknown.protocol=Protocole inconnu : "{0}" +# {0} - URL +nonAnonymous.response.sending=Envoi de la r\u00E9ponse non anonyme \u00E0 "{0}" +nonAnonymous.response.nullHeaders=Aucun en-t\u00EAte de r\u00E9ponse trouv\u00E9 dans la r\u00E9ponse non anonyme \u00E0 partir de "{0}" +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=Non-prise en compte de la r\u00E9ponse non anonyme pour le message unidirectionnel + +invalid.addressing.header.exception=En-t\u00EAte WS-Addressing non valide : "{0}", raison : "{1}" +action.not.supported.exception=Action "{0}" non prise en charge +missing.header.exception=En-t\u00EAte WS-Addressing manquant : "{0}" +non.unique.operation.signature=Les op\u00E9rations d''un port doivent comporter une signature d''op\u00E9ration unique pour identifier une op\u00E9ration WSDL associ\u00E9e pour un message. Les op\u00E9rations WSDL {0} et {1} ont les m\u00EAmes signature d''op\u00E9ration wsa:Action "{2}" et bloc de corps de demande "{3}". Echec possible de la r\u00E9partition de m\u00E9thode lors de l''ex\u00E9cution. Utilisez une signature wsa:Action unique pour chaque op\u00E9ration diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=Prevista la versione "{0}" di WS-Addressing ma \u00E8 stata trovata "{1}" +replyTo.cannot.parse=Impossibile analizzare l'intestazione ReplyTo +faultTo.cannot.parse=Impossibile analizzare l'intestazione FaultTo +unknown.wsa.header=Intestazione WS-Addressing sconosciuta +invalid.wsaw.anonymous=Valore non valido ottenuto da wsaw:Anonymous: "{0}" +wsaw.anonymousProhibited=L'operazione ha un valore "vietato" per wsaw:anonymous in WSDL, \u00E8 necessario disabilitare l'indirizzamento e generare manualmente il messaggio SOAP +null.addressing.version=Versione Addressing nulla non prevista +null.soap.version=Versione SOAP nulla non prevista +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=Impossibile trovare un''operazione in wsdl:binding per "{0}" +null.binding=\u00C8 in corso l'inserimento dei dati nelle intestazioni di indirizzamento delle richieste ed \u00E8 stata trovata una Binding nulla +null.wsdlPort=\u00C8 in corso l'inserimento dei dati nelle intestazioni di indirizzamento delle richieste ed \u00E8 stata trovata una WSDLPort nulla +null.packet=\u00C8 in corso l'inserimento dei dati nelle intestazioni di indirizzamento delle richieste ed \u00E8 stato trovato un Package nullo +null.action=\u00C8 in corso l'inserimento dei dati nelle intestazioni di indirizzamento delle richieste ed \u00E8 stata trovata una Action nulla +null.message=Nessun messaggio trovato durante l'elaborazione della richiesta in entrata del server ed \u00E8 richiesto WS-Addressing +null.headers=Nessuna intestazione trovata durante l'elaborazione della richiesta in entrata del server ed \u00E8 richiesto WS-Addressing +null.wsa.headers=Nessuna intestazione WS-Addressing trovata durante l'elaborazione della richiesta in entrata del server +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=Indirizzamento non abilitato. {0} non deve essere incluso nella pipeline" +addressing.should.be.enabled.=Indirizzamento non abilitato +validation.client.nullAction=\u00C8 in corso la convalida delle intestazioni di indirizzamento in entrata sul client ed \u00E8 stata trovata una Action nulla +validation.server.nullAction=\u00C8 in corso la convalida delle intestazioni di indirizzamento in entrata sul server ed \u00E8 stata trovata una Action nulla + +nonAnonymous.response=\u00C8 in corso l'invio di 202 e l'elaborazione della risposta non anonima +nonAnonymous.unknown.protocol=Protocollo sconosciuto: "{0}" +# {0} - URL +nonAnonymous.response.sending=\u00C8 in corso l''invio della risposta non anonima a "{0}" +nonAnonymous.response.nullHeaders=Nessuna intestazione di risposta trovata nella risposta non anonima da "{0}" +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=La risposta non anonima per un messaggio unidirezionale verr\u00E0 ignorata + +invalid.addressing.header.exception=Intestazione WS-Addressing non valida: "{0}". Motivo: "{1}" +action.not.supported.exception=Azione: "{0}" non supportata +missing.header.exception=Intestazione WS-Addressing mancante: "{0}" +non.unique.operation.signature=Le operazioni in una porta devono avere una firma dell''operazione univoca affinch\u00E9 l''identificazione di un''operazione WSDL associata per un messaggio riesca. Le operazioni WSDL {0} e {1} hanno la stessa firma dell''operazione, wsa:Action "{2}", e blocco del corpo della richiesta "{3}". \u00C8 possibile che il metodo di spedizione non riesca in fase di esecuzione. Usare una wsa:Action univoca per ogni operazione diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=WS-Addressing\u306E\u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001"{1}"\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +replyTo.cannot.parse=ReplyTo\u30D8\u30C3\u30C0\u30FC\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093 +faultTo.cannot.parse=FaultTo\u30D8\u30C3\u30C0\u30FC\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093 +unknown.wsa.header=\u4E0D\u660E\u306AWS-Addressing\u30D8\u30C3\u30C0\u30FC +invalid.wsaw.anonymous=wsaw:Anonymous\u304B\u3089\u7121\u52B9\u306A\u5024\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F: "{0}" +wsaw.anonymousProhibited=WSDL\u306Ewsaw:anonymous\u3067\u64CD\u4F5C\u306B"\u7981\u6B62\u3055\u308C\u305F"\u5024\u304C\u542B\u307E\u308C\u307E\u3059\u3002\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u3092\u7121\u52B9\u306B\u3057\u3001SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u306F\u624B\u52D5\u3067\u4F5C\u6210\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +null.addressing.version=\u4E88\u671F\u3057\u306A\u3044null\u306E\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D0\u30FC\u30B8\u30E7\u30F3 +null.soap.version=\u4E88\u671F\u3057\u306A\u3044null\u306ESOAP\u30D0\u30FC\u30B8\u30E7\u30F3 +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound="{0}"\u306B\u3064\u3044\u3066wsdl:binding\u306B\u64CD\u4F5C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +null.binding=\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u79FB\u5165\u4E2D\u306Bnull\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +null.wsdlPort=\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u79FB\u5165\u4E2D\u306Bnull\u306EWSDLPort\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +null.packet=\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u79FB\u5165\u4E2D\u306Bnull\u306E\u30D1\u30B1\u30C3\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +null.action=\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u79FB\u5165\u4E2D\u306Bnull\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +null.message=\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30F3\u30D0\u30A6\u30F3\u30C9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u51E6\u7406\u4E2D\u306BNull\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002WS-Addressing\u304C\u5FC5\u8981\u3067\u3059 +null.headers=\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30F3\u30D0\u30A6\u30F3\u30C9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u51E6\u7406\u4E2D\u306B\u30D8\u30C3\u30C0\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002WS-Addressing\u304C\u5FC5\u8981\u3067\u3059 +null.wsa.headers=\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30F3\u30D0\u30A6\u30F3\u30C9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u51E6\u7406\u4E2D\u306BWS-Addressing\u30D8\u30C3\u30C0\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002{0}\u3092\u30D1\u30A4\u30D7\u30E9\u30A4\u30F3\u306B\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093" +addressing.should.be.enabled.=\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093 +validation.client.nullAction=\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u30A4\u30F3\u30D0\u30A6\u30F3\u30C9\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u691C\u8A3C\u4E2D\u306B\u3001null\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +validation.server.nullAction=\u30B5\u30FC\u30D0\u30FC\u3067\u30A4\u30F3\u30D0\u30A6\u30F3\u30C9\u30FB\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u30D8\u30C3\u30C0\u30FC\u306E\u691C\u8A3C\u4E2D\u306B\u3001null\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F + +nonAnonymous.response=202\u3092\u9001\u4FE1\u3057\u3001\u975E\u533F\u540D\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u51E6\u7406\u3057\u3066\u3044\u307E\u3059 +nonAnonymous.unknown.protocol=\u4E0D\u660E\u306A\u30D7\u30ED\u30C8\u30B3\u30EB: "{0}" +# {0} - URL +nonAnonymous.response.sending=\u975E\u533F\u540D\u5FDC\u7B54\u3092"{0}"\u306B\u9001\u4FE1\u3057\u3066\u3044\u307E\u3059 +nonAnonymous.response.nullHeaders="{0}"\u304B\u3089\u306E\u975E\u533F\u540D\u30EC\u30B9\u30DD\u30F3\u30B9\u306B\u30EC\u30B9\u30DD\u30F3\u30B9\u30FB\u30D8\u30C3\u30C0\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=\u4E00\u65B9\u5411\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3067\u306F\u975E\u533F\u540D\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u7121\u8996\u3057\u307E\u3059 + +invalid.addressing.header.exception=\u7121\u52B9\u306AWS-Addressing\u30D8\u30C3\u30C0\u30FC: "{0}"\u3001\u7406\u7531: "{1}" +action.not.supported.exception=\u30A2\u30AF\u30B7\u30E7\u30F3: "{0}"\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +missing.header.exception=WS-Addressing\u30D8\u30C3\u30C0\u30FC\u304C\u3042\u308A\u307E\u305B\u3093: "{0}" +non.unique.operation.signature=\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305FWSDL\u64CD\u4F5C\u3092\u6B63\u5E38\u306B\u8B58\u5225\u3059\u308B\u305F\u3081\u306B\u3001\u30DD\u30FC\u30C8\u306E\u64CD\u4F5C\u306B\u306F\u4E00\u610F\u306E\u64CD\u4F5C\u7F72\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002WSDL\u64CD\u4F5C{0}\u304A\u3088\u3073{1}\u306B\u306F\u540C\u4E00\u306E\u64CD\u4F5C\u7F72\u540D(wsa:Action "{2}"\u304A\u3088\u3073\u30EA\u30AF\u30A8\u30B9\u30C8\u672C\u6587\u30D6\u30ED\u30C3\u30AF"{3}")\u304C\u3042\u308A\u3001\u5B9F\u884C\u6642\u306B\u30E1\u30BD\u30C3\u30C9\u306E\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u306B\u5931\u6557\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u64CD\u4F5C\u3054\u3068\u306B\u4E00\u610F\u306Ewsa:Action\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=WS-Addressing\uC758 "{0}" \uBC84\uC804\uC774 \uD544\uC694\uD558\uC9C0\uB9CC "{1}"\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +replyTo.cannot.parse=ReplyTo \uD5E4\uB354\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +faultTo.cannot.parse=FaultTo \uD5E4\uB354\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +unknown.wsa.header=\uC54C \uC218 \uC5C6\uB294 WS-Addressing \uD5E4\uB354 +invalid.wsaw.anonymous=wsaw:Anonymous\uC5D0\uC11C \uBD80\uC801\uD569\uD55C \uAC12\uC774 \uD655\uC778\uB428: "{0}" +wsaw.anonymousProhibited=\uC791\uC5C5\uC5D0\uC11C WSDL\uC758 wsaw:anonymous\uC5D0 \uB300\uD55C \uAC12\uC744 "\uAE08\uC9C0"\uD588\uC2B5\uB2C8\uB2E4. Addressing\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD558\uACE0 SOAP \uBA54\uC2DC\uC9C0\uB97C \uC218\uB3D9\uC73C\uB85C \uCC98\uB9AC\uD574\uC57C \uD569\uB2C8\uB2E4. +null.addressing.version=\uC608\uC0C1\uCE58 \uC54A\uC740 \uB110 Addressing \uBC84\uC804 +null.soap.version=\uC608\uC0C1\uCE58 \uC54A\uC740 \uB110 SOAP \uBC84\uC804 +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound="{0}"\uC5D0 \uB300\uD55C wsdl:binding\uC5D0\uC11C \uC791\uC5C5\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +null.binding=\uC694\uCCAD Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 \uBC14\uC778\uB529\uC744 \uCC44\uC6B0\uB294 \uC911 +null.wsdlPort=\uC694\uCCAD Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 WSDLPort\uB97C \uCC44\uC6B0\uB294 \uC911 +null.packet=\uC694\uCCAD Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 \uD328\uD0B7\uC744 \uCC44\uC6B0\uB294 \uC911 +null.action=\uC694\uCCAD Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 \uC791\uC5C5\uC744 \uCC44\uC6B0\uB294 \uC911 +null.message=\uC11C\uBC84 \uC778\uBC14\uC6B4\uB4DC \uC694\uCCAD \uBC0F WS-Addressing \uCC98\uB9AC\uAC00 \uD544\uC694\uD560 \uB54C \uB110 \uBA54\uC2DC\uC9C0\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +null.headers=\uC11C\uBC84 \uC778\uBC14\uC6B4\uB4DC \uC694\uCCAD \uBC0F WS-Addressing \uCC98\uB9AC\uAC00 \uD544\uC694\uD560 \uB54C \uD5E4\uB354\uB97C \uCC3E\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. +null.wsa.headers=\uC11C\uBC84 \uC778\uBC14\uC6B4\uB4DC \uC694\uCCAD\uC744 \uCC98\uB9AC\uD558\uB294 \uC911 WS-Addressing \uD5E4\uB354\uB97C \uCC3E\uC9C0 \uBABB\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=Addressing\uC774 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. {0}\uC774(\uAC00) \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +addressing.should.be.enabled.=Addressing\uC774 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +validation.client.nullAction=\uD074\uB77C\uC774\uC5B8\uD2B8\uCE21 \uC778\uBC14\uC6B4\uB4DC Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 \uC791\uC5C5\uC744 \uAC80\uC99D\uD558\uB294 \uC911 +validation.server.nullAction=\uC11C\uBC84\uCE21 \uC778\uBC14\uC6B4\uB4DC Addressing \uD5E4\uB354 \uBC0F \uBC1C\uACAC\uB41C \uB110 \uC791\uC5C5\uC744 \uAC80\uC99D\uD558\uB294 \uC911 + +nonAnonymous.response=202\uB97C \uC804\uC1A1\uD558\uACE0 \uBE44\uC775\uBA85 \uC751\uB2F5\uC744 \uCC98\uB9AC\uD558\uB294 \uC911 +nonAnonymous.unknown.protocol=\uC54C \uC218 \uC5C6\uB294 \uD504\uB85C\uD1A0\uCF5C: "{0}" +# {0} - URL +nonAnonymous.response.sending="{0}"(\uC73C)\uB85C \uBE44\uC775\uBA85 \uD68C\uC2E0\uC744 \uC804\uC1A1\uD558\uB294 \uC911 +nonAnonymous.response.nullHeaders="{0}"\uC758 \uBE44\uC775\uBA85 \uC751\uB2F5\uC5D0\uC11C \uC751\uB2F5 \uD5E4\uB354\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=\uB2E8\uBC29\uD5A5 \uBA54\uC2DC\uC9C0\uC5D0 \uB300\uD55C \uBE44\uC775\uBA85 \uC751\uB2F5\uC744 \uBB34\uC2DC\uD558\uB294 \uC911 + +invalid.addressing.header.exception=\uBD80\uC801\uD569\uD55C WS-Addressing \uD5E4\uB354: "{0}", \uC6D0\uC778: "{1}" +action.not.supported.exception="{0}" \uC791\uC5C5\uC740 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +missing.header.exception=WS-Addressing \uD5E4\uB354\uAC00 \uB204\uB77D\uB428: "{0}" +non.unique.operation.signature=\uBA54\uC2DC\uC9C0\uC5D0 \uB300\uD574 \uC5F0\uAD00\uB41C WSDL\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC2DD\uBCC4\uD558\uB824\uBA74 \uD3EC\uD2B8\uC758 \uC791\uC5C5\uC5D0 \uACE0\uC720\uD55C \uC791\uC5C5 \uC11C\uBA85\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. WSDL \uC791\uC5C5 {0}\uACFC(\uC640) {1}\uC758 \uC791\uC5C5 \uC11C\uBA85, wsa:Action "{2}" \uBC0F \uC694\uCCAD \uBCF8\uBB38 \uBE14\uB85D "{3}"\uC774(\uAC00) \uB3D9\uC77C\uD558\uC5EC \uB7F0\uD0C0\uC784 \uC2DC \uBA54\uC18C\uB4DC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2E4\uD328\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uAC01 \uC791\uC5C5\uC5D0 \uACE0\uC720\uD55C wsa:Action\uC744 \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=Vers\u00E3o "{0}" esperada do Endere\u00E7amento WS, mas encontrou "{1}" +replyTo.cannot.parse=O cabe\u00E7alho ReplyTo n\u00E3o pode ser submetido a parse +faultTo.cannot.parse=O cabe\u00E7alho FaultTo n\u00E3o pode ser submetido a parse +unknown.wsa.header=Cabe\u00E7alho de Endere\u00E7amento WS desconhecido +invalid.wsaw.anonymous=Valor inv\u00E1lido obtido de wsaw:Anonymous: "{0}" +wsaw.anonymousProhibited=A opera\u00E7\u00E3o tem valor "proibido" para wsaw:anonymous no WSDL. O endere\u00E7amento deve ser desativado e a mensagem SOAP precisa ser feita manualmente +null.addressing.version=Vers\u00E3o de Endere\u00E7amento nulo esperada +null.soap.version=Vers\u00E3o de SOAP nula inesperada +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=N\u00E3o \u00E9 poss\u00EDvel localizar uma opera\u00E7\u00E3o no wsdl:binding para "{0}" +null.binding=Preenchendo cabe\u00E7alhos de Endere\u00E7amento da solicita\u00E7\u00E3o e encontrou Bind nulo +null.wsdlPort=Preenchendo cabe\u00E7alhos de Endere\u00E7amento da solicita\u00E7\u00E3o e encontrou WSDLPort nulo +null.packet=Preenchendo cabe\u00E7alhos de Endere\u00E7amento da solicita\u00E7\u00E3o e encontrou Pacote nulo +null.action=Preenchendo cabe\u00E7alhos de Endere\u00E7amento da solicita\u00E7\u00E3o e encontrou A\u00E7\u00E3o nula +null.message=Mensagem nula encontrada ao processar a solicita\u00E7\u00E3o de entrada do servidor e o Endere\u00E7amento WS \u00E9 necess\u00E1rio +null.headers=Nenhum cabe\u00E7alho encontrado ao processar a solicita\u00E7\u00E3o de entrada do servidor e o Endere\u00E7amento WS \u00E9 necess\u00E1rio +null.wsa.headers=Nenhum cabe\u00E7alho de Endere\u00E7amento de WS encontrado ao processar a solicita\u00E7\u00E3o de entrada do servidor +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=O endere\u00E7amento n\u00E3o est\u00E1 ativado; {0} n\u00E3o deve ser inclu\u00EDdo no pipeline" +addressing.should.be.enabled.=O endere\u00E7amento n\u00E3o foi ativado +validation.client.nullAction=Validando cabe\u00E7alhos de Endere\u00E7amento de entrada no cliente e encontrou A\u00E7\u00E3o nula +validation.server.nullAction=Validando cabe\u00E7alhos de Endere\u00E7amento de entrada no servidor e encontrou A\u00E7\u00E3o nula + +nonAnonymous.response=Enviando 202 e processando resposta n\u00E3o an\u00F4nima +nonAnonymous.unknown.protocol=Protocolo desconhecido: "{0}" +# {0} - URL +nonAnonymous.response.sending=Enviando resposta n\u00E3o an\u00F4nima para "{0}" +nonAnonymous.response.nullHeaders=Nenhum cabe\u00E7alho de resposta encontrado na resposta n\u00E3o an\u00F4nima de "{0}" +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=Ignorando resposta n\u00E3o an\u00F4nima de uma mensagem unidirecional + +invalid.addressing.header.exception=Cabe\u00E7alho de Endere\u00E7amento WS inv\u00E1lido: "{0}", Motivo: "{1}" +action.not.supported.exception=A\u00E7\u00E3o: "{0}" n\u00E3o suportada +missing.header.exception=Cabe\u00E7alho de Endere\u00E7amento WS n\u00E3o encontrado: "{0}" +non.unique.operation.signature=As opera\u00E7\u00F5es em uma porta devem ter assinatura de opera\u00E7\u00E3o exclusiva para identificar uma opera\u00E7\u00E3o wsdl associada a uma mensagem. A opera\u00E7\u00E3o WSDL {0} e {1} t\u00EAm a mesma assinatura da opera\u00E7\u00E3o, wsa:Action "{2}" e bloco de corpo da solicita\u00E7\u00E3o "{3}". O despacho do m\u00E9todo pode falhar no runtime. Use wsa:Action exclusivo para cada opera\u00E7\u00E3o diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=WS-Addressing \u7684\u7248\u672C\u5E94\u4E3A "{0}", \u4F46\u627E\u5230\u7684\u662F "{1}" +replyTo.cannot.parse=\u65E0\u6CD5\u89E3\u6790 ReplyTo \u6807\u5934 +faultTo.cannot.parse=\u65E0\u6CD5\u89E3\u6790 FaultTo \u6807\u5934 +unknown.wsa.header=\u672A\u77E5\u7684 WS-Addressing \u6807\u5934 +invalid.wsaw.anonymous=\u4ECE wsaw:Anonymous \u83B7\u53D6\u7684\u503C\u65E0\u6548: "{0}" +wsaw.anonymousProhibited=\u5BF9\u4E8E WSDL \u4E2D\u7684 wsaw:anonymous, \u64CD\u4F5C\u7684\u503C\u4E3A "\u7981\u6B62", \u5FC5\u987B\u7981\u7528\u5BFB\u5740\u5E76\u9700\u8981\u624B\u52A8\u751F\u6210 SOAP \u6D88\u606F +null.addressing.version=\u610F\u5916\u7684\u7A7A\u5BFB\u5740\u7248\u672C +null.soap.version=\u610F\u5916\u7684\u7A7A SOAP \u7248\u672C +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=\u5728 "{0}" \u7684 wsdl:binding \u4E2D\u627E\u4E0D\u5230\u64CD\u4F5C +null.binding=\u6B63\u5728\u586B\u5145\u8BF7\u6C42\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A\u7ED1\u5B9A +null.wsdlPort=\u6B63\u5728\u586B\u5145\u8BF7\u6C42\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A WSDLPort +null.packet=\u6B63\u5728\u586B\u5145\u8BF7\u6C42\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A\u6570\u636E\u5305 +null.action=\u6B63\u5728\u586B\u5145\u8BF7\u6C42\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A\u64CD\u4F5C +null.message=\u5904\u7406\u670D\u52A1\u5668\u5165\u7AD9\u8BF7\u6C42\u65F6\u53D1\u73B0\u7A7A\u6D88\u606F, \u9700\u8981 WS-Addressing +null.headers=\u5904\u7406\u670D\u52A1\u5668\u5165\u7AD9\u8BF7\u6C42\u65F6\u627E\u4E0D\u5230\u6807\u5934, \u9700\u8981 WS-Addressing +null.wsa.headers=\u5904\u7406\u670D\u52A1\u5668\u5165\u7AD9\u8BF7\u6C42\u65F6\u627E\u4E0D\u5230 WS-Addressing \u6807\u5934 +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=\u672A\u542F\u7528\u5BFB\u5740, {0} \u4E0D\u5E94\u5305\u542B\u5728\u7BA1\u9053\u4E2D" +addressing.should.be.enabled.=\u672A\u542F\u7528\u5BFB\u5740 +validation.client.nullAction=\u6B63\u5728\u9A8C\u8BC1\u5BA2\u6237\u673A\u4E0A\u7684\u5165\u7AD9\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A\u64CD\u4F5C +validation.server.nullAction=\u6B63\u5728\u9A8C\u8BC1\u670D\u52A1\u5668\u4E0A\u7684\u5165\u7AD9\u5BFB\u5740\u6807\u5934, \u627E\u5230\u7A7A\u64CD\u4F5C + +nonAnonymous.response=\u53D1\u9001 202 \u5E76\u5904\u7406\u975E\u533F\u540D\u54CD\u5E94 +nonAnonymous.unknown.protocol=\u672A\u77E5\u534F\u8BAE: "{0}" +# {0} - URL +nonAnonymous.response.sending=\u5C06\u975E\u533F\u540D\u56DE\u590D\u53D1\u9001\u5230 "{0}" +nonAnonymous.response.nullHeaders=\u5728\u6765\u81EA "{0}" \u7684\u975E\u533F\u540D\u54CD\u5E94\u4E2D\u627E\u4E0D\u5230\u54CD\u5E94\u6807\u5934 +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=\u5FFD\u7565\u5355\u5411\u6D88\u606F\u7684\u975E\u533F\u540D\u54CD\u5E94 + +invalid.addressing.header.exception=WS-Addressing \u6807\u5934\u65E0\u6548: "{0}", \u539F\u56E0: "{1}" +action.not.supported.exception=\u4E0D\u652F\u6301\u64CD\u4F5C "{0}" +missing.header.exception=\u7F3A\u5C11 WS-Addressing \u6807\u5934: "{0}" +non.unique.operation.signature=\u7AEF\u53E3\u4E2D\u7684\u64CD\u4F5C\u5E94\u5177\u6709\u552F\u4E00\u64CD\u4F5C\u7B7E\u540D, \u4EE5\u6210\u529F\u6807\u8BC6\u6D88\u606F\u7684\u5173\u8054 wsdl \u64CD\u4F5C\u3002WSDL \u64CD\u4F5C{0}\u548C{1}\u5177\u6709\u76F8\u540C\u7684\u64CD\u4F5C\u7B7E\u540D, wsa:Action "{2}" \u548C\u8BF7\u6C42\u4E3B\u4F53\u5757 "{3}", \u65B9\u6CD5\u5206\u6D3E\u5728\u8FD0\u884C\u65F6\u53EF\u80FD\u5931\u8D25\u3002\u8BF7\u5BF9\u6BCF\u4E2A\u64CD\u4F5C\u4F7F\u7528\u552F\u4E00\u7684 wsa:Action diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/addressing_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# Copyright (c) 2005, 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. +# + +wrong.addressing.version=\u9810\u671F\u70BA "{0}" \u7248\u672C\u7684 Web \u670D\u52D9\u5B9A\u5740, \u4F46\u627E\u5230 "{1}" +replyTo.cannot.parse=\u7121\u6CD5\u5256\u6790 ReplyTo \u6A19\u982D +faultTo.cannot.parse=\u7121\u6CD5\u5256\u6790 FaultTo \u6A19\u982D +unknown.wsa.header=\u4E0D\u660E\u7684 Web \u670D\u52D9\u5B9A\u5740\u6A19\u982D +invalid.wsaw.anonymous=\u5F9E wsaw:Anonymous \u53D6\u5F97\u7684\u503C\u7121\u6548: "{0}" +wsaw.anonymousProhibited=\u4F5C\u696D\u5DF2\u7981\u6B62 WSDL \u4E2D\u7684 wsaw:anonymous \u503C, \u5FC5\u9808\u505C\u7528\u5B9A\u5740, \u4E26\u4E14\u5FC5\u9808\u81EA\u8A02 SOAP \u8A0A\u606F +null.addressing.version=\u672A\u9810\u671F\u7684\u7A7A\u503C\u5B9A\u5740\u7248\u672C +null.soap.version=\u672A\u9810\u671F\u7684\u7A7A\u503C SOAP \u7248\u672C +# {0} - qname of an element e.g.: Cannot find an operation in wsdl:binding for "{http://server.fromjavaroundtrip.tango2tango/}oneWayText" +wsdlBoundOperation.notFound=\u5728 "{0}" \u7684 wsdl:binding \u4E2D\u627E\u4E0D\u5230\u4F5C\u696D +null.binding=\u586B\u5165\u8981\u6C42\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684 Binding +null.wsdlPort=\u586B\u5165\u8981\u6C42\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684 WSDLPort +null.packet=\u586B\u5165\u8981\u6C42\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684 Packet +null.action=\u586B\u5165\u8981\u6C42\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684 Action +null.message=\u8655\u7406\u4F3A\u670D\u5668\u5167\u9001\u8981\u6C42\u6642\u627E\u5230\u7A7A\u503C\u7684\u8A0A\u606F, \u4F46\u9700\u8981 Web \u670D\u52D9\u5B9A\u5740 +null.headers=\u8655\u7406\u4F3A\u670D\u5668\u5167\u9001\u8981\u6C42\u6642\u627E\u4E0D\u5230\u4EFB\u4F55\u6A19\u982D, \u4F46\u9700\u8981 Web \u670D\u52D9\u5B9A\u5740 +null.wsa.headers=\u8655\u7406\u4F3A\u670D\u5668\u5167\u9001\u8981\u6C42\u6642\u627E\u4E0D\u5230 Web \u670D\u52D9\u5B9A\u5740\u6A19\u982D +# {0} - simple class name e.g.: Addressing is not enabled, WsaTube should not be included in the pipeline +addressing.notEnabled=\u672A\u555F\u7528\u5B9A\u5740, {0} \u4E0D\u61C9\u5305\u542B\u65BC\u7BA1\u9053\u4E2D +addressing.should.be.enabled.=\u672A\u555F\u7528\u5B9A\u5740 +validation.client.nullAction=\u5728\u5F9E\u5C6C\u7AEF\u9A57\u8B49\u5167\u9001\u7684\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684\u52D5\u4F5C +validation.server.nullAction=\u5728\u4F3A\u670D\u5668\u9A57\u8B49\u5167\u9001\u7684\u5B9A\u5740\u6A19\u982D, \u4F46\u767C\u73FE\u7A7A\u503C\u7684\u52D5\u4F5C + +nonAnonymous.response=\u50B3\u9001 202 \u4E26\u8655\u7406\u975E\u533F\u540D\u56DE\u61C9 +nonAnonymous.unknown.protocol=\u4E0D\u660E\u7684\u5354\u5B9A: "{0}" +# {0} - URL +nonAnonymous.response.sending=\u50B3\u9001\u975E\u533F\u540D\u7684\u56DE\u8986\u7D66 "{0}" +nonAnonymous.response.nullHeaders=\u4F86\u81EA "{0}" \u7684\u975E\u533F\u540D\u56DE\u61C9\u4E2D\u627E\u4E0D\u5230\u56DE\u61C9\u6A19\u982D +# Usage not found. TODO Remove +#nonAnonymous.response.nullMessage=No message for non-anonymous response from "{0}" +nonAnonymous.response.oneway=\u5FFD\u7565\u55AE\u5411\u8A0A\u606F\u7684\u975E\u533F\u540D\u56DE\u61C9 + +invalid.addressing.header.exception=\u7121\u6548\u7684 Web \u670D\u52D9\u5B9A\u5740\u6A19\u982D: "{0}", \u539F\u56E0: "{1}" +action.not.supported.exception=\u52D5\u4F5C: \u4E0D\u652F\u63F4 "{0}" +missing.header.exception=\u907A\u6F0F Web \u670D\u52D9\u5B9A\u5740\u6A19\u982D: "{0}" +non.unique.operation.signature=\u9023\u63A5\u57E0\u4E2D\u7684\u4F5C\u696D\u61C9\u5305\u542B\u552F\u4E00\u7684\u4F5C\u696D\u7C3D\u7AE0, \u624D\u80FD\u9806\u5229\u8B58\u5225\u8A0A\u606F\u7684\u76F8\u95DC WSDL \u4F5C\u696D. WSDL \u4F5C\u696D {0} \u8207 {1} \u6709\u76F8\u540C\u7684\u4F5C\u696D\u7C3D\u7AE0\u3001wsa:Action "{2}" \u4EE5\u53CA\u8981\u6C42\u4E3B\u9AD4\u5340\u584A "{3}", \u65B9\u6CD5\u5206\u914D\u53EF\u80FD\u6703\u5728\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u6642\u5931\u6557. \u8ACB\u70BA\u6BCF\u500B\u4F5C\u696D\u4F7F\u7528\u552F\u4E00\u7684 wsa:Action diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=Fault-Meldungsname darf nicht null sein. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=El nombre del mensaje de fallo no debe ser nulo. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=Le nom du message d'erreur ne doit pas \u00EAtre NULL. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=Il nome del messaggio di errore non deve essere nullo. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=\u30D5\u30A9\u30EB\u30C8\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u540D\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=\uACB0\uD568 \uBA54\uC2DC\uC9C0 \uC774\uB984\uC740 \uB110\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=O nome da mensagem com falha n\u00E3o deve ser nulo. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=\u9ED8\u8BA4\u6D88\u606F\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A\u503C\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/bindingApi_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# Copyright (c) 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. +# + +binding.api.no.fault.message.name=\u932F\u8AA4\u8A0A\u606F\u540D\u7A31\u4E0D\u5F97\u70BA\u7A7A\u503C. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=HTTP-Transportfehler: {0} +local.client.failed=Lokaler Transportfehler: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=HTTP-Statuscode 404: Nicht gefunden - {0} +http.status.code=Der Server hat HTTP-Statuscode {0} gesendet: {1} +invalid.port.name={0} ist kein g\u00FCltiger Port. G\u00FCltige Ports sind: {1} +invalid.epr.port.name=EndpointName, der in EPR {0} angegeben wird, ist kein WSDL-Port-QName, g\u00FCltige Ports sind {1} +invalid.service.name={0} ist kein g\u00FCltiger Service. G\u00FCltige Services sind: {1} +invalid.service.name.null={0} ist kein g\u00FCltiger Service +invalid.service.no.wsdl=Keine WSDL-Metadaten f\u00FCr Service: {0}, Proxy kann nicht erstellt werden. Versuchen Sie, den Service zu erstellen, indem Sie eine WSDL-URL angeben +invalid.binding.id=Ung\u00FCltige Binding-ID: {0}. Muss {1} sein +invalid.soap.role.none=SOAP 1.2-Attribut "role" kann nicht auf "none" festgelegt werden +non.logical.handler.set={0} kann in Binding nicht festgelegt werden. Handler muss ein LogicalHandler sein. +runtime.wsdlparser.invalidWSDL=Ung\u00FCltige WSDL {0}, {1} erwartet, {2} in (Zeile{3}) gefunden +undefined.binding=Undefiniertes Binding: {0} +undefined.portType=Undefinierter Porttyp: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=EPR konnte nicht geparst werden: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=EPR wird ohne Aktivierung von WS-Adressierungsunterst\u00FCtzung angegeben. +invalid.wsdl.url=Ung\u00FCltige WSDL-URL: {0} +wsdl.not.found=Auf WSDL-URL {0} kann nicht zugegriffen werden. +invalid.address=Ung\u00FCltige Adresse: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} nicht unterst\u00FCtzt mit {1}. Muss {2} sein +invalid.soap.action=Eine g\u00FCltige SOAPAction muss im RequestContext festgelegt werden, wenn die Adressierung aktiviert ist. Legen Sie sie mit BindingProvider.SOAPACTION_URI_PROPERTY fest. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=Kein Zugriff auf WSDL bei: {0}. Zugriff nicht erfolgreich mit: \n\t{1}.\nWiederholung des Vorgangs mit MEX ergab: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=Kein Zugriff auf WSDL bei: {0}. Zugriff nicht erfolgreich mit: \n\t{1}. +wsdl.contains.no.service=WSDL {0} enth\u00E4lt keine Servicedefinition. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=Error de transporte HTTP: {0} +local.client.failed=error de transporte local: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=C\u00F3digo de estado HTTP 404: no encontrado - {0} +http.status.code=El servidor ha enviado el c\u00F3digo de estado HTTP {0}: {1} +invalid.port.name={0} no es un puerto v\u00E1lido. Los puertos v\u00E1lidos son: {1} +invalid.epr.port.name=El elemento EndpointName especificado en la referencia de punto final {0} no es un QName de puerto WSDL; los puertos v\u00E1lidos son {1} +invalid.service.name={0} no es un servicio v\u00E1lido. Los servicios v\u00E1lidos son: {1} +invalid.service.name.null={0} no es un servicio v\u00E1lido +invalid.service.no.wsdl=No hay metadatos de WSDL para el servicio: {0}, no se puede crear el proxy. Intente crear el servicio proporcionando una URL de WSDL +invalid.binding.id=Identificador de enlace no v\u00E1lido: {0}. Debe ser: {1} +invalid.soap.role.none=No se puede definir el rol de SOAP 1.2 "ninguno" +non.logical.handler.set=No se puede definir {0} en el enlace. El manejador debe ser un manejador l\u00F3gico. +runtime.wsdlparser.invalidWSDL=WSDL no v\u00E1lido {0}; se esperaba {1}, pero se ha encontrado {2} en (l\u00EDnea{3}) +undefined.binding=Enlace no definido: {0} +undefined.portType=Tipo de puerto no definido: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=Fallo al analizar la referencia de punto final: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=Se ha especificado la referencia de punto final sin activar el soporte de WS-Addressing. +invalid.wsdl.url=URL de WSDL no v\u00E1lida: {0} +wsdl.not.found=No se puede acceder a la URL de WSDL {0}. +invalid.address=Direcci\u00F3n no v\u00E1lida: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} no est\u00E1 soportado con {1}. Debe ser: {2} +invalid.soap.action=Se debe definir una acci\u00F3n de SOAP v\u00E1lida en RequestContext cuando Addressing est\u00E9 activado. Utilice BindingProvider.SOAPACTION_URI_PROPERTY para definirlo. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=Fallo al acceder al WSDL en: {0}. Ha fallado con: \n\t{1}.\nAl volver a intentarlo con MEX, ha devuelto: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=Fallo al acceder al WSDL en: {0}. Ha fallado con: \n\t{1}. +wsdl.contains.no.service=El WSDL {0} no contiene ninguna definici\u00F3n de servicio. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=erreur de transport HTTP : {0} +local.client.failed=erreur de transport local : {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=Code de statut HTTP 404 : introuvable - {0} +http.status.code=Le serveur a envoy\u00E9 le code de statut HTTP {0} : {1} +invalid.port.name={0} n''est pas un port valide. Les ports valides sont : {1} +invalid.epr.port.name=Le nom d''adresse indiqu\u00E9 dans la r\u00E9f\u00E9rence d''adresse {0} n''est pas un QName de port WSDL, les ports valides sont {1} +invalid.service.name={0} n''est pas un service valide. Les services valides sont : {1} +invalid.service.name.null={0} n''est pas un service valide +invalid.service.no.wsdl=Aucune m\u00E9tadonn\u00E9e WSDL pour le service {0}, impossible de cr\u00E9er un proxy. Essayez de cr\u00E9er un service en fournissant une URL WSDL +invalid.binding.id=ID de binding non valide : {0}. Il doit s''agir de : {1} +invalid.soap.role.none=Impossible de d\u00E9finir le r\u00F4le SOAP 1.2 "aucun" +non.logical.handler.set=Impossible de d\u00E9finir {0} lors du binding. Le gestionnaire doit \u00EAtre de type LogicalHandler. +runtime.wsdlparser.invalidWSDL=WSDL {0} non valide, {1} attendu, {2} trouv\u00E9 dans (ligne {3}) +undefined.binding=Binding non d\u00E9fini : {0} +undefined.portType=Type de port non d\u00E9fini : {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=Echec de l''analyse de la r\u00E9f\u00E9rence d''adresse : {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=La r\u00E9f\u00E9rence d'adresse est indiqu\u00E9e sans activation de la prise en charge de WS-Addressing. +invalid.wsdl.url=URL WSDL non valide : {0} +wsdl.not.found=L''URL WSDL {0} n''est pas accessible. +invalid.address=Adresse non valide : {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} non pris en charge avec {1}. Il doit s''agir de : {2} +invalid.soap.action=Un en-t\u00EAte SOAPAction valide doit \u00EAtre d\u00E9fini dans RequestContext lorsque l'adressage est activ\u00E9, utilisez BindingProvider.SOAPACTION_URI_PROPERTY pour le d\u00E9finir. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=Echec de l''acc\u00E8s au WSDL \u00E0 {0} avec \n\t{1}.\nLa nouvelle tentative avec MEX a renvoy\u00E9 \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=Echec de l''acc\u00E8s au WSDL \u00E0 {0} avec \n\t{1}. +wsdl.contains.no.service=Le WSDL {0} ne contient aucune d\u00E9finition de service. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=errore di trasporto HTTP: {0} +local.client.failed=errore di trasporto locale: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=Codice di stato HTTP 404: Non trovato - {0} +http.status.code=Il server ha inviato il codice di stato HTTP {0}: {1} +invalid.port.name={0} non \u00E8 una porta valida. Le porte valide sono: {1} +invalid.epr.port.name=L''EndpointName specificato nell''EPR {0} non \u00E8 un QName della porta WSDL. Le porte valide sono {1} +invalid.service.name={0} non \u00E8 un servizio valido. I servizi validi sono: {1} +invalid.service.name.null={0} non \u00E8 un servizio valido +invalid.service.no.wsdl=Non sono presenti metadati WSDL per il servizio: {0}. Impossibile creare il proxy. Provare a creare il servizio fornendo un URL WSDL +invalid.binding.id=ID di associazione non valido: {0}. Deve essere: {1} +invalid.soap.role.none=Impostare il ruolo SOAP 1.2 su "none" +non.logical.handler.set=Impossibile impostare {0} sull''associazione. L''handler deve essere un LogicalHandler. +runtime.wsdlparser.invalidWSDL=WSDL non valido {0}: previsto {1}, trovato {2} in (riga {3}) +undefined.binding=Associazione non definita: {0} +undefined.portType=Tipo di porta non definito: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=Analisi dell''EPR non riuscita: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=EPR specificato senza abilitare il supporto WS-Addressing. +invalid.wsdl.url=URL WSDL non valido: {0} +wsdl.not.found=URL WSDL {0} non accessibile. +invalid.address=Indirizzo non valido: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} non supportato con {1}. Deve essere: {2} +invalid.soap.action=\u00C8 necessario impostare una SOAPAction valida in RequestContext quando \u00E8 abilitato l'indirizzamento. Usare BindingProvider.SOAPACTION_URI_PROPERTY per impostarla. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=Accesso a WSDL non riuscito in: {0}. Non riuscito con: \n\t{1}.\nIl nuovo tentativo con MEX ha fornito: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=Accesso a WSDL non riuscito in: {0}. Non riuscito con: \n\t{1}. +wsdl.contains.no.service=WSDL {0} non contiene alcuna definizione di servizio. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=HTTP\u30C8\u30E9\u30F3\u30B9\u30DD\u30FC\u30C8\u30FB\u30A8\u30E9\u30FC: {0} +local.client.failed=\u30ED\u30FC\u30AB\u30EB\u30FB\u30C8\u30E9\u30F3\u30B9\u30DD\u30FC\u30C8\u30FB\u30A8\u30E9\u30FC: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=HTTP\u30B9\u30C6\u30FC\u30BF\u30B9\u30FB\u30B3\u30FC\u30C9404: \u898B\u3064\u304B\u308A\u307E\u305B\u3093 - {0} +http.status.code=\u30B5\u30FC\u30D0\u30FC\u304CHTTP\u30B9\u30C6\u30FC\u30BF\u30B9\u30FB\u30B3\u30FC\u30C9{0}\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F: {1} +invalid.port.name={0}\u306F\u6709\u52B9\u306A\u30DD\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30DD\u30FC\u30C8: {1} +invalid.epr.port.name=EPR {0}\u3067\u6307\u5B9A\u3055\u308C\u305FEndpointName\u306FWSDL\u30DD\u30FC\u30C8\u306EQName\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30DD\u30FC\u30C8\u306F{1}\u3067\u3059 +invalid.service.name={0}\u306F\u6709\u52B9\u306A\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30B5\u30FC\u30D3\u30B9: {1} +invalid.service.name.null={0}\u306F\u6709\u52B9\u306A\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +invalid.service.no.wsdl=\u30B5\u30FC\u30D3\u30B9: {0}\u306EWSDL\u30E1\u30BF\u30C7\u30FC\u30BF\u304C\u306A\u3044\u305F\u3081\u3001\u30D7\u30ED\u30AD\u30B7\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002WSDL URL\u3092\u6307\u5B9A\u3057\u3066\u30B5\u30FC\u30D3\u30B9\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044 +invalid.binding.id=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0ID: {0}\u304C\u7121\u52B9\u3067\u3059\u3002\u6B21\u306E\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {1} +invalid.soap.role.none=SOAP 1.2\u30ED\u30FC\u30EB\u300C\u306A\u3057\u300D\u306F\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093 +non.logical.handler.set=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306B{0}\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\u30CF\u30F3\u30C9\u30E9\u306FLogicalHandler\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +runtime.wsdlparser.invalidWSDL=WSDL {0}\u304C\u7121\u52B9\u3067\u3059\u3002\u6B21\u306E\u5834\u6240\u3067{1}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{2}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F(\u884C{3}) +undefined.binding=\u672A\u5B9A\u7FA9\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0: {0} +undefined.portType=\u672A\u5B9A\u7FA9\u306E\u30DD\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=EPR\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=EPR\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001WS-Addressing\u306E\u30B5\u30DD\u30FC\u30C8\u304C\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 +invalid.wsdl.url=\u7121\u52B9\u306AWSDL URL: {0} +wsdl.not.found=WSDL URL {0}\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\u3002 +invalid.address=\u7121\u52B9\u306A\u30A2\u30C9\u30EC\u30B9: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0}\u306F{1}\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u6B21\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {2} +invalid.soap.action=\u30A2\u30C9\u30EC\u30B9\u6307\u5B9A\u304C\u6709\u52B9\u3067\u3042\u308B\u5834\u5408\u306F\u3001RequestContext\u3067\u6709\u52B9\u306ASOAPAction\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002BindingProvider.SOAPACTION_URI_PROPERTY\u3092\u4F7F\u7528\u3057\u3066\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=\u6B21\u306E\u5834\u6240\u3067WSDL\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0}\u3002\u6B21\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u3088\u308A\u5931\u6557\u3057\u307E\u3057\u305F: \n\t{1}\u3002\nMEX\u3067\u518D\u8A66\u884C\u3059\u308B\u3068\u6B21\u306E\u3088\u3046\u306B\u306A\u308A\u307E\u3057\u305F: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=\u6B21\u306E\u5834\u6240\u3067WSDL\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0}\u3002\u6B21\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u3088\u308A\u5931\u6557\u3057\u307E\u3057\u305F: \n\t{1}\u3002 +wsdl.contains.no.service=WSDL {0}\u306B\u30B5\u30FC\u30D3\u30B9\u5B9A\u7FA9\u304C\u542B\u307E\u308C\u307E\u305B\u3093\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=HTTP \uC804\uC1A1 \uC624\uB958: {0} +local.client.failed=\uB85C\uCEEC \uC804\uC1A1 \uC624\uB958: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=HTTP \uC0C1\uD0DC \uCF54\uB4DC 404: \uCC3E\uC744 \uC218 \uC5C6\uC74C - {0} +http.status.code=\uC11C\uBC84\uAC00 HTTP \uC0C1\uD0DC \uCF54\uB4DC {0}\uC744(\uB97C) \uC804\uC1A1\uD568: {1} +invalid.port.name={0}\uC740(\uB294) \uC801\uD569\uD55C \uD3EC\uD2B8\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uC801\uD569\uD55C \uD3EC\uD2B8: {1} +invalid.epr.port.name=EPR {0}\uC5D0 \uC9C0\uC815\uB41C EndpointName\uC740 WSDL \uD3EC\uD2B8 QName\uC774 \uC544\uB2D9\uB2C8\uB2E4. \uC801\uD569\uD55C \uD3EC\uD2B8\uB294 {1}\uC785\uB2C8\uB2E4. +invalid.service.name={0}\uC740(\uB294) \uC801\uD569\uD55C \uC11C\uBE44\uC2A4\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uC801\uD569\uD55C \uC11C\uBE44\uC2A4: {1} +invalid.service.name.null={0}\uC740(\uB294) \uC801\uD569\uD55C \uC11C\uBE44\uC2A4\uAC00 \uC544\uB2D9\uB2C8\uB2E4. +invalid.service.no.wsdl=\uC11C\uBE44\uC2A4\uC5D0 \uB300\uD55C WSDL \uBA54\uD0C0 \uB370\uC774\uD130\uAC00 \uC5C6\uC74C: {0}. \uD504\uB85D\uC2DC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! WSDL URL\uC744 \uC81C\uACF5\uD558\uC5EC \uC11C\uBE44\uC2A4\uB97C \uC0DD\uC131\uD574 \uBCF4\uC2ED\uC2DC\uC624. +invalid.binding.id=\uBD80\uC801\uD569\uD55C \uBC14\uC778\uB529 ID: {0}. \uD544\uC218: {1} +invalid.soap.role.none=SOAP 1.2 \uB864\uC744 "none"\uC73C\uB85C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +non.logical.handler.set=\uBC14\uC778\uB529\uC5D0 \uB300\uD574 {0}\uC744(\uB97C) \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uCC98\uB9AC\uAE30\uB294 LogicalHandler\uC5EC\uC57C \uD569\uB2C8\uB2E4. +runtime.wsdlparser.invalidWSDL={0}\uC740(\uB294) \uBD80\uC801\uD569\uD55C WSDL\uC785\uB2C8\uB2E4. {1}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {3}\uD589\uC5D0\uC11C {2}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +undefined.binding=\uC815\uC758\uB418\uC9C0 \uC54A\uC740 \uBC14\uC778\uB529: {0} +undefined.portType=\uC815\uC758\uB418\uC9C0 \uC54A\uC740 \uD3EC\uD2B8 \uC720\uD615: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=EPR\uC758 \uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=WS-Addressing \uC9C0\uC6D0\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD558\uC9C0 \uC54A\uC740 \uC0C1\uD0DC\uC5D0\uC11C EPR\uC774 \uC9C0\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +invalid.wsdl.url=\uBD80\uC801\uD569\uD55C WSDL URL: {0} +wsdl.not.found=WSDL URL {0}\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +invalid.address=\uBD80\uC801\uD569\uD55C \uC8FC\uC18C: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0}\uC740(\uB294) {1}\uC5D0\uC11C \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD544\uC218: {2} +invalid.soap.action=Addressing\uC774 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 RequestContext\uC5D0\uC11C \uC801\uD569\uD55C SOAPAction\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. BindingProvider.SOAPACTION_URI_PROPERTY\uB97C \uC0AC\uC6A9\uD558\uC5EC \uC124\uC815\uD558\uC2ED\uC2DC\uC624. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=\uB2E4\uC74C \uBA54\uC2DC\uC9C0\uC640 \uD568\uAED8 {0}\uC758 WSDL\uC5D0 \uB300\uD55C \uC561\uC138\uC2A4\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \n\t{1}.\nMEX gave\uB85C \uC7AC\uC2DC\uB3C4\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=\uB2E4\uC74C \uBA54\uC2DC\uC9C0\uC640 \uD568\uAED8 {0}\uC758 WSDL\uC5D0 \uB300\uD55C \uC561\uC138\uC2A4\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \n\t{1}. +wsdl.contains.no.service=WSDL {0}\uC5D0 \uC11C\uBE44\uC2A4 \uC815\uC758\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=Erro de transporte HTTP: {0} +local.client.failed=erro de transporte local: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=C\u00F3digo de Status HTTP 404: N\u00E3o Encontrado - {0} +http.status.code=O servidor enviou c\u00F3digo de status HTTP {0}: {1} +invalid.port.name={0} n\u00E3o \u00E9 uma porta v\u00E1lida. As portas v\u00E1lidas s\u00E3o: {1} +invalid.epr.port.name=EndpointName especificado no EPR {0} n\u00E3o \u00E9 um QName de porta WSDL; as Portas v\u00E1lidas s\u00E3o {1} +invalid.service.name={0} n\u00E3o \u00E9 um servi\u00E7o v\u00E1lido. Os servi\u00E7os v\u00E1lidos s\u00E3o {1} +invalid.service.name.null={0} n\u00E3o \u00E9 um servi\u00E7o v\u00E1lido +invalid.service.no.wsdl=Nenhum metadado wsdl para o servi\u00E7o {0}. N\u00E3o \u00E9 poss\u00EDvel criar o proxy! Tente criar o Servi\u00E7o fornecendo um URL do WSDL +invalid.binding.id=Id de bind inv\u00E1lido: {0}. Deve ser: {1} +invalid.soap.role.none=N\u00E3o \u00E9 poss\u00EDvel definir a atribui\u00E7\u00E3o SOAP 1.2 como "nenhuma" +non.logical.handler.set=N\u00E3o \u00E9 poss\u00EDvel definir {0} no bind. O handler deve ser um LogicalHandler. +runtime.wsdlparser.invalidWSDL=WSDL {0} inv\u00E1lido, esperada {1} encontrou {2} na (linha{3}) +undefined.binding=Bind indefinido: {0} +undefined.portType=Tipo de porta indefinido: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=Falha ao fazer parse de EPR: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=A EPR foi especificada sem ativar o suporte de Endere\u00E7amento de WS. +invalid.wsdl.url=URL do WSDL Inv\u00E1lido: {0} +wsdl.not.found=Url do WSDL {0} n\u00E3o acess\u00EDvel. +invalid.address=Endere\u00E7o inv\u00E1lido: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} n\u00E3o suportado com {1}. Deve ser: {2} +invalid.soap.action=Uma SOAPAction v\u00E1lida dever\u00E1 ser definida no RequestContext quando o Endere\u00E7amento estiver ativado. Use BindingProvider.SOAPACTION_URI_PROPERTY para defini-la. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=Falha ao acessar o WSDL em {0}. Ele falhou com: \n\t{1}.\nRecuperando com MEX fornecido: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=Falha ao acessar o WSDL em {0}. Ele falhou com: \n\t{1}. +wsdl.contains.no.service=O WSDL {0} n\u00E3o cont\u00E9m uma defini\u00E7\u00E3o de servi\u00E7o. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=HTTP \u4F20\u8F93\u9519\u8BEF: {0} +local.client.failed=\u672C\u5730\u4F20\u8F93\u9519\u8BEF: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=HTTP \u72B6\u6001\u4EE3\u7801 404: \u672A\u627E\u5230 - {0} +http.status.code=\u670D\u52A1\u5668\u53D1\u9001\u4E86 HTTP \u72B6\u6001\u4EE3\u7801 {0}: {1} +invalid.port.name={0} \u4E0D\u662F\u6709\u6548\u7AEF\u53E3\u3002\u6709\u6548\u7AEF\u53E3\u4E3A: {1} +invalid.epr.port.name=EPR {0}\u4E2D\u6307\u5B9A\u7684 EndpointName \u4E0D\u662F WSDL \u7AEF\u53E3 QName, \u6709\u6548\u7AEF\u53E3\u4E3A {1} +invalid.service.name={0}\u4E0D\u662F\u6709\u6548\u670D\u52A1\u3002\u6709\u6548\u670D\u52A1\u4E3A: {1} +invalid.service.name.null={0}\u4E0D\u662F\u6709\u6548\u670D\u52A1 +invalid.service.no.wsdl=\u6CA1\u6709\u7528\u4E8E\u670D\u52A1\u7684 wsdl \u5143\u6570\u636E: {0}, \u65E0\u6CD5\u521B\u5EFA\u4EE3\u7406! \u8BF7\u5C1D\u8BD5\u901A\u8FC7\u63D0\u4F9B WSDL URL \u6765\u521B\u5EFA\u670D\u52A1 +invalid.binding.id=\u7ED1\u5B9A ID \u65E0\u6548: {0}\u3002\u5FC5\u987B\u662F: {1} +invalid.soap.role.none=\u65E0\u6CD5\u8BBE\u7F6E SOAP 1.2 \u89D2\u8272 "\u65E0" +non.logical.handler.set=\u65E0\u6CD5\u5BF9\u7ED1\u5B9A\u8BBE\u7F6E{0}\u3002\u5904\u7406\u7A0B\u5E8F\u5FC5\u987B\u662F LogicalHandler\u3002 +runtime.wsdlparser.invalidWSDL=WSDL {0}\u65E0\u6548, \u5E94\u4E3A{1}, \u5728\u884C {3} \u627E\u5230\u7684\u662F{2} +undefined.binding=\u672A\u5B9A\u4E49\u7684\u7ED1\u5B9A: {0} +undefined.portType=\u672A\u5B9A\u4E49\u7684\u7AEF\u53E3\u7C7B\u578B: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=\u65E0\u6CD5\u89E3\u6790 EPR: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=\u6307\u5B9A\u4E86 EPR, \u4F46\u672A\u542F\u7528 WS-Addressing \u652F\u6301\u3002 +invalid.wsdl.url=WSDL URL \u65E0\u6548: {0} +wsdl.not.found=WSDL url {0}\u4E0D\u53EF\u8BBF\u95EE\u3002 +invalid.address=\u5730\u5740\u65E0\u6548: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={1}\u4E0D\u652F\u6301{0}\u3002\u5FC5\u987B\u4E3A: {2} +invalid.soap.action=\u5728\u542F\u7528\u5BFB\u5740\u540E\u5E94\u5728 RequestContext \u4E2D\u8BBE\u7F6E\u6709\u6548\u7684 SOAPAction\u3002\u8BF7\u4F7F\u7528 BindingProvider.SOAPACTION_URI_PROPERTY \u8FDB\u884C\u8BBE\u7F6E\u3002 +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=\u65E0\u6CD5\u8BBF\u95EE\u4F4D\u4E8E\u4EE5\u4E0B\u4F4D\u7F6E\u7684 WSDL: {0}\u3002\u8BE5\u64CD\u4F5C\u5931\u8D25\u5E76\u663E\u793A: \n\t{1}\u3002\n\u4F7F\u7528 MEX \u91CD\u8BD5\u65F6\u663E\u793A: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=\u65E0\u6CD5\u8BBF\u95EE\u4F4D\u4E8E\u4EE5\u4E0B\u4F4D\u7F6E\u7684 WSDL: {0}\u3002\u8BE5\u64CD\u4F5C\u5931\u8D25\u5E76\u663E\u793A: \n\t{1}\u3002 +wsdl.contains.no.service=WSDL {0}\u4E0D\u5305\u542B\u670D\u52A1\u5B9A\u4E49\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/client_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,61 @@ +# +# 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. +# + +# Usage not found. TODO Remove +#http.client.cannot.connect=cannot connect to server: {0} +http.client.failed=HTTP \u50B3\u8F38\u932F\u8AA4: {0} +local.client.failed=\u672C\u6A5F\u50B3\u8F38\u932F\u8AA4: {0} +# Usage not found. TODO Remove +#http.client.cannotCreateMessageFactory=cannot create message factory +# Usage not found. TODO Remove +#http.client.unauthorized=request requires HTTP authentication: {0} +http.not.found=HTTP \u72C0\u614B\u4EE3\u78BC 404: \u627E\u4E0D\u5230 - {0} +http.status.code=\u4F3A\u670D\u5668\u5DF2\u50B3\u9001 HTTP \u72C0\u614B\u4EE3\u78BC {0}: {1} +invalid.port.name={0} \u4E0D\u662F\u6709\u6548\u7684\u9023\u63A5\u57E0. \u6709\u6548\u7684\u9023\u63A5\u57E0\u70BA: {1} +invalid.epr.port.name=\u5728 EPR {0} \u4E2D\u6307\u5B9A\u7684 EndpointName \u4E0D\u662F WSDL \u9023\u63A5\u57E0 QName, \u6709\u6548\u7684\u9023\u63A5\u57E0\u70BA {1} +invalid.service.name={0} \u4E0D\u662F\u6709\u6548\u7684\u670D\u52D9. \u6709\u6548\u7684\u670D\u52D9\u70BA: {1} +invalid.service.name.null={0} \u4E0D\u662F\u6709\u6548\u7684\u670D\u52D9 +invalid.service.no.wsdl=\u670D\u52D9: {0} \u6C92\u6709 WSDL \u63CF\u8FF0\u8CC7\u6599, \u7121\u6CD5\u5EFA\u7ACB\u4EE3\u7406\u4E3B\u6A5F! \u8ACB\u5617\u8A66\u63D0\u4F9B WSDL URL \u4EE5\u5EFA\u7ACB\u670D\u52D9 +invalid.binding.id=\u7121\u6548\u7684\u9023\u7D50 ID: {0}. \u5FC5\u9808\u70BA: {1} +invalid.soap.role.none=\u7121\u6CD5\u8A2D\u5B9A SOAP 1.2 \u89D2\u8272 "none" +non.logical.handler.set=\u7121\u6CD5\u5728\u9023\u7D50\u4E2D\u8A2D\u5B9A {0}. \u8655\u7406\u7A0B\u5F0F\u5FC5\u9808\u70BA LogicalHandler. +runtime.wsdlparser.invalidWSDL=\u7121\u6548\u7684 WSDL {0}, \u9810\u671F\u70BA {1}, \u5728\u7B2C {3} \u884C \u767C\u73FE {2} +undefined.binding=\u672A\u5B9A\u7FA9\u7684\u9023\u7D50: {0} +undefined.portType=\u672A\u5B9A\u7FA9\u7684\u9023\u63A5\u57E0\u985E\u578B: {0} +# EPR = EndPoint Reference. +failed.to.parse.epr=\u7121\u6CD5\u5256\u6790 EPR: {0} +# EPR = EndPoint Reference. +epr.without.addressing.on=EPR \u6307\u5B9A\u6642\u672A\u555F\u7528 Web \u670D\u52D9\u5B9A\u5740\u652F\u63F4. +invalid.wsdl.url=\u7121\u6548\u7684 WSDL URL: {0} +wsdl.not.found=\u7121\u6CD5\u5B58\u53D6 WSDL URL {0}. +invalid.address=\u7121\u6548\u7684\u4F4D\u5740: {0} +# {0} - BindingProvider.getEndpointReference()/BindingProvider.getEndpointReference(Class class), {1} - XML/HTTP Binding, {2} - SOAP11 or SOAP12 Binding +unsupported.operation={0} \u4E0D\u652F\u63F4\u8207 {1} \u4E00\u8D77\u4F7F\u7528. \u5FC5\u9808\u70BA: {2} +invalid.soap.action=\u7576\u5B9A\u5740\u555F\u7528\u6642, \u61C9\u5728 RequestContext \u4E2D\u8A2D\u5B9A\u6709\u6548\u7684 SOAPAction, \u8ACB\u4F7F\u7528 BindingProvider.SOAPACTION_URI_PROPERTY \u4E88\u4EE5\u8A2D\u5B9A. +# {0} - WSDL URL, {1}, {2} - exception message +failed.to.parseWithMEX=\u7121\u6CD5\u5B58\u53D6\u4F4D\u65BC: {0} \u7684 WSDL. \u5931\u6557\u539F\u56E0\u5982\u4E0B: \n\t{1}.\n\u4F7F\u7528\u63D0\u4F9B\u7684 MEX \u91CD\u8A66: \n\t{2} +# {0} - WSDL URL, {1} - exception message e.g.: Failed to access the WSDL at: http://foo.org/bar?wsdl. It failed with: Connection refused: connect. +failed.to.parse=\u7121\u6CD5\u5B58\u53D6\u4F4D\u65BC: {0} \u7684 WSDL. \u5931\u6557\u539F\u56E0\u5982\u4E0B: \n\t{1}. +wsdl.contains.no.service=WSDL {0} \u672A\u5305\u542B\u670D\u52D9\u5B9A\u7FA9. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=SOAP-/HTTP-Binding in {0} ist bei Null-Aufrufargument nicht zul\u00E4ssig. Muss {1} sein +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=Eine XML-/HTTP-Anforderung, die "MessageContext.HTTP_REQUEST_METHOD gleich {0}" mit einem Null-Aufrufargument verwendet, ist nicht zul\u00E4ssig. Muss {1} sein +invalid.response=Keine Antwort zur\u00FCckgegeben. +invalid.response.deserialization=Die Antwort konnte nicht deserialisiert werden. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=Dispatch von Service.Mode.PAYLOAD{0} kann nicht erstellt werden. Muss {1} sein +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=Dispatch von {0} kann nicht erstellt werden. Muss {1} sein. +invalid.datasource.dispatch.binding=Dispatch mit {0} kann nicht erstellt werden. Muss {1} sein +invalid.soapmessage.dispatch.binding=Dispatch mit {0}-Binding kann nicht erstellt werden. Muss {1}-Binding sein. +invalid.query.string=End Point-Adresse kann mit der angegebenen Abfragezeichenfolge nicht aufgel\u00F6st werden: {0}. +invalid.uri.path.query=Ein URI mit diesen Pfadinformationen {0} und dieser Abfragezeichenfolge {1} kann nicht erstellt werden. +invalid.uri=End Point-Zeichenfolge: {0} ist ein ung\u00FCltiger URI. +invalid.uri.decode=Der aufgel\u00F6ste End Point kann mit der UTF-8-Codierung nicht decodiert werden. +invalid.uri.resolution=End Point-Adresse kann mit dem angegebenen Pfad nicht aufgel\u00F6st werden: {0}. +duplicate.port=WSDLPort {0} ist bereits vorhanden. Ein Port mit demselben QName kann nicht erstellt werden. +invalid.query.leading.char=F\u00FChrendes ''?'' von MessageContext.QUERY_STRING: {0} ist nicht g\u00FCltig. Entfernen Sie ''?'', und f\u00FChren Sie den Vorgang erneut aus. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=No se permite el enlace SOAP/HTTP en {0} con un argumento de llamada nulo. Debe ser: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=No se permite una solicitud XML/HTTP que utiliza el m\u00E9todo MessageContext.HTTP_REQUEST_METHOD igual a {0} con un argumento de llamada nulo. Debe ser: {1} +invalid.response=No se ha devuelto ninguna respuesta. +invalid.response.deserialization=Fallo al anular la serializaci\u00F3n de la respuesta. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=No se puede crear Dispatch de Service.Mode.PAYLOAD{0}. Debe ser: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=No se puede crear Dispatch de {0}. Debe ser {1}. +invalid.datasource.dispatch.binding=No se puede crear Dispatch con {0}. Debe ser: {1} +invalid.soapmessage.dispatch.binding=No se puede crear Dispatch con el enlace {0}. Debe ser: enlace {1}. +invalid.query.string=No se ha podido resolver la direcci\u00F3n de punto final utilizando la cadena de consulta proporcionada: {0}. +invalid.uri.path.query=No se ha podido construir un URI con esta informaci\u00F3n de ruta de acceso {0} y esta cadena de consulta {1}. +invalid.uri=La cadena de punto final {0} es un URI no v\u00E1lido. +invalid.uri.decode=No se ha podido descodificar el punto final resuelto utilizando la codificaci\u00F3n UTF-8. +invalid.uri.resolution=No se ha podido resolver la direcci\u00F3n de punto final utilizando la ruta de acceso proporcionada: {0}. +duplicate.port=WSDLPort {0} ya existe. No se puede crear un puerto con el mismo QName. +invalid.query.leading.char=El signo ''?'' que precede a MessageContext.QUERY_STRING: {0} no es v\u00E1lido. Elimine ''?'' y vuelva a ejecutarlo. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=Le binding SOAP/HTTP dans {0} n''est pas autoris\u00E9 avec un argument d''appel NULL. Il doit s''agir de : {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=Une demande XML/HTTP \u00E0 l''aide de MessageContext.HTTP_REQUEST_METHOD \u00E9quivaut \u00E0 {0} avec un argument d''appel NULL et n''est pas autoris\u00E9e. Il doit s''agir de : {1} +invalid.response=Aucune r\u00E9ponse renvoy\u00E9e. +invalid.response.deserialization=Echec de la d\u00E9s\u00E9rialisation de la r\u00E9ponse. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=Impossible de cr\u00E9er Dispatch de Service.Mode.PAYLOAD{0}. Il doit s''agir de : {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=Impossible de cr\u00E9er Dispatch de {0}. Il doit s''agir de : {1}. +invalid.datasource.dispatch.binding=Impossible de cr\u00E9er Dispatch avec {0}. Il doit s''agir de : {1} +invalid.soapmessage.dispatch.binding=Impossible de cr\u00E9er Dispatch avec le binding {0}. Il doit s''agir du binding {1}. +invalid.query.string=Impossible de r\u00E9soudre l''adresse \u00E0 l''aide de la cha\u00EEne de requ\u00EAte fournie : {0}. +invalid.uri.path.query=Impossible de construire un URI avec ces informations sur le chemin {0} et cette cha\u00EEne de requ\u00EAte {1}. +invalid.uri=La cha\u00EEne d''adresse {0} est un URI non valide. +invalid.uri.decode=Impossible de d\u00E9coder l'adresse r\u00E9solue \u00E0 l'aide de l'encodage UTF-8. +invalid.uri.resolution=Impossible de r\u00E9soudre l''adresse \u00E0 l''aide du chemin fourni : {0}. +duplicate.port=Le WSDLPort {0} existe d\u00E9j\u00E0. Impossible de cr\u00E9er un port ayant le m\u00EAme QName. +invalid.query.leading.char=Le signe ''?'' de d\u00E9but de MessageContext.QUERY_STRING {0} n''est pas valide. Enlevez le signe ''?'' et recommencez. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=L''associazione SOAP/HTTP in {0} non \u00E8 consentita con un argomento di richiamo nullo. Deve essere: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=Non \u00E8 consentita una richiesta XML/HTTP che usa MessageContext.HTTP_REQUEST_METHOD uguale a {0} con un argomento di richiamo nullo. Deve essere: {1} +invalid.response=Nessuna risposta restituita. +invalid.response.deserialization=Deserializzazione della risposta non riuscita. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=Impossibile creare Dispatch di Service.Mode.PAYLOAD{0}. Deve essere: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=Impossibile creare Dispatch di {0}. Deve essere: {1} +invalid.datasource.dispatch.binding=Impossibile creare Dispatch con {0}. Deve essere: {1} +invalid.soapmessage.dispatch.binding=Impossibile creare Dispatch con l''associazione {0}. Deve essere: associazione {1}. +invalid.query.string=Impossibile risolvere l''indirizzo dell''endpoint usando la stringa di query fornita: {0}. +invalid.uri.path.query=Impossibile costruire un URI con queste informazioni sul percorso {0} e questa stringa di query {1}. +invalid.uri=La stringa dell''endpoint: {0} \u00E8 un URI non valido. +invalid.uri.decode=Impossibile decodificare l'endpoint risolto usando la codifica UTF-8. +invalid.uri.resolution=Impossibile risolvere l''indirizzo dell''endpoint usando il percorso fornito: {0}. +duplicate.port=WSDLPort {0} esiste gi\u00E0. Impossibile creare una porta con lo stesso QName. +invalid.query.leading.char=''?'' iniziale di MessageContext.QUERY_STRING: {0} non valido. Rimuovere ''?'' e ripetere l''esecuzione. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=\u547C\u51FA\u3057\u5F15\u6570\u304Cnull\u306E\u5834\u5408\u3001{0}\u3067\u306ESOAP/HTTP\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093\u3002\u6B21\u306E\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=\u547C\u51FA\u3057\u5F15\u6570\u304CNULL\u306E\u5834\u5408\u3001MessageContext.HTTP_REQUEST_METHOD equals {0}\u3092\u4F7F\u7528\u3057\u305FXML/HTTP\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093\u3002\u6B21\u306E\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {1} +invalid.response=\u30EC\u30B9\u30DD\u30F3\u30B9\u304C\u8FD4\u3055\u308C\u307E\u305B\u3093\u3002 +invalid.response.deserialization=\u30EC\u30B9\u30DD\u30F3\u30B9\u306E\u30C7\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=Service.Mode.PAYLOAD{0}\u306EDispatch\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u6B21\u306E\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode={0}\u306EDispatch\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002{1}\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +invalid.datasource.dispatch.binding={0}\u3067Dispatch\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u6B21\u306E\u3088\u3046\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {1} +invalid.soapmessage.dispatch.binding={0}\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3067Dispatch\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002{1}\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +invalid.query.string=\u6307\u5B9A\u3055\u308C\u305F\u554F\u5408\u305B\u6587\u5B57\u5217\u3092\u4F7F\u7528\u3057\u3066\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093: {0}\u3002 +invalid.uri.path.query=\u3053\u306E\u30D1\u30B9\u60C5\u5831{0}\u304A\u3088\u3073\u3053\u306E\u554F\u5408\u305B\u6587\u5B57\u5217{1}\u3092\u4F7F\u7528\u3057\u3066URI\u3092\u69CB\u7BC9\u3067\u304D\u307E\u305B\u3093\u3002 +invalid.uri=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u6587\u5B57\u5217: {0}\u306F\u7121\u52B9\u306AURI\u3067\u3059\u3002 +invalid.uri.decode=UTF-8\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u89E3\u6C7A\u6E08\u306E\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u30C7\u30B3\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3002 +invalid.uri.resolution=\u6307\u5B9A\u3055\u308C\u305F\u30D1\u30B9\u3092\u4F7F\u7528\u3057\u3066\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A2\u30C9\u30EC\u30B9\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093: {0}\u3002 +duplicate.port=WSDLPort {0}\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u540C\u3058QName\u306E\u30DD\u30FC\u30C8\u306F\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3002 +invalid.query.leading.char=MessageContext.QUERY_STRING: {0}\u306E\u5148\u982D\u306E''?''\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002''?''\u3092\u524A\u9664\u3057\u3066\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode={0}\uC758 SOAP/HTTP \uBC14\uC778\uB529\uC5D0\uB294 \uB110 \uD638\uCD9C \uC778\uC218\uAC00 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=MessageContext.HTTP_REQUEST_METHOD\uB85C \uD638\uCD9C \uC778\uC218\uAC00 \uB110\uC778 {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uB294 XML/HTTP \uC694\uCCAD\uC740 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} +invalid.response=\uBC18\uD658\uB41C \uC751\uB2F5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +invalid.response.deserialization=\uC751\uB2F5 \uC9C1\uB82C\uD654 \uD574\uC81C\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=Service.Mode.PAYLOAD {0}\uC758 Dispatch\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode={0}\uC758 Dispatch\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} +invalid.datasource.dispatch.binding={0}(\uC73C)\uB85C Dispatch\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} +invalid.soapmessage.dispatch.binding={0} \uBC14\uC778\uB529\uC73C\uB85C Dispatch\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD544\uC218: {1} \uBC14\uC778\uB529 +invalid.query.string=\uC81C\uACF5\uB41C \uC9C8\uC758 \uBB38\uC790\uC5F4\uC744 \uC0AC\uC6A9\uD558\uC5EC \uB05D\uC810 \uC8FC\uC18C\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC74C: {0}. +invalid.uri.path.query=\uACBD\uB85C \uC815\uBCF4 {0} \uBC0F \uC9C8\uC758 \uBB38\uC790\uC5F4 {1}(\uC73C)\uB85C URI\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +invalid.uri=\uB05D\uC810 \uBB38\uC790\uC5F4 {0}\uC740(\uB294) \uBD80\uC801\uD569\uD55C URI\uC785\uB2C8\uB2E4. +invalid.uri.decode=UTF-8 \uC778\uCF54\uB529\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBD84\uC11D\uB41C \uB05D\uC810\uC744 \uB514\uCF54\uB529\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +invalid.uri.resolution=\uC81C\uACF5\uB41C \uACBD\uB85C\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB05D\uC810 \uC8FC\uC18C\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC74C: {0}. +duplicate.port=WSDLPort {0}\uC774(\uAC00) \uC874\uC7AC\uD569\uB2C8\uB2E4. \uB3D9\uC77C\uD55C QName\uC758 \uD3EC\uD2B8\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +invalid.query.leading.char=MessageContext.QUERY_STRING {0} \uC55E\uC5D0\uB294 ''?''\uAC00 \uC62C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ''?''\uB97C \uC81C\uAC70\uD55C \uD6C4 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC2ED\uC2DC\uC624. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=Bind de SOAP/HTTP em {0} n\u00E3o permitido com um argumento de chamada nulo. Deve ser: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=N\u00E3o \u00E9 permitida uma solicita\u00E7\u00E3o de XML/HTTP usando MessageContext.HTTP_REQUEST_METHOD igual a {0} com um Argumento de Chamada Nulo. Deve ser: {1} +invalid.response=Nenhuma resposta retornada. +invalid.response.deserialization=Falha ao desserializar a resposta. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=N\u00E3o \u00E9 poss\u00EDvel criar o Despacho de Service.Mode.PAYLOAD{0}. Deve ser: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=N\u00E3o \u00E9 poss\u00EDvel criar o Despacho de {0}. Deve ser {1}. +invalid.datasource.dispatch.binding=N\u00E3o \u00E9 poss\u00EDvel criar o Despacho com {0}. Deve ser: {1} +invalid.soapmessage.dispatch.binding=N\u00E3o \u00E9 poss\u00EDvel criar o Despacho com o Bind {0}. Deve ser: Bind {1}. +invalid.query.string=N\u00E3o \u00E9 poss\u00EDvel resolver o endere\u00E7o do ponto final usando a string de consulta fornecida: {0} +invalid.uri.path.query=N\u00E3o \u00E9 poss\u00EDvel construir um URI com estas informa\u00E7\u00F5es de caminho {0} e esta string de consulta {1}. +invalid.uri=String do Ponto Final: {0} \u00E9 um URI inv\u00E1lido. +invalid.uri.decode=N\u00E3o \u00E9 poss\u00EDvel decodificar o ponto final resolvido usando a codifica\u00E7\u00E3o UTF-8. +invalid.uri.resolution=N\u00E3o \u00E9 poss\u00EDvel resolver o endere\u00E7o do ponto final usando o caminho fornecido: {0} +duplicate.port=WSDLPort {0} j\u00E1 existe. N\u00E3o \u00E9 poss\u00EDvel criar uma porta com o mesmo QName. +invalid.query.leading.char=''?'' \u00E0 esquerda de MessageContext.QUERY_STRING: {0} n\u00E3o \u00E9 v\u00E1lida. Remover ''?'' e executar novamente. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode=\u4E0D\u5141\u8BB8\u5BF9{0}\u4E2D\u7684 SOAP/HTTP \u7ED1\u5B9A\u4F7F\u7528\u7A7A\u8C03\u7528\u53C2\u6570\u3002\u5FC5\u987B\u4E3A: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=\u4E0D\u5141\u8BB8 XML/HTTP \u8BF7\u6C42\u4F7F\u7528\u201CMessageContext.HTTP_REQUEST_METHOD = {0}\u201D\u5E76\u4E14\u5177\u6709\u7A7A\u8C03\u7528\u53C2\u6570\u3002\u5FC5\u987B\u4E3A: {1} +invalid.response=\u672A\u8FD4\u56DE\u54CD\u5E94\u3002 +invalid.response.deserialization=\u65E0\u6CD5\u53CD\u5E8F\u5217\u5316\u54CD\u5E94\u3002 +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=\u65E0\u6CD5\u521B\u5EFA Service.Mode.PAYLOAD{0} \u7684 Dispatch\u3002\u5FC5\u987B\u4E3A: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=\u65E0\u6CD5\u521B\u5EFA{0}\u7684 Dispatch\u3002\u5FC5\u987B\u4E3A{1}\u3002 +invalid.datasource.dispatch.binding=\u65E0\u6CD5\u4F7F\u7528{0}\u521B\u5EFA Dispatch\u3002\u5FC5\u987B\u4E3A: {1} +invalid.soapmessage.dispatch.binding=\u65E0\u6CD5\u4F7F\u7528{0}\u7ED1\u5B9A\u521B\u5EFA Dispatch\u3002\u5FC5\u987B\u4E3A: {1}\u7ED1\u5B9A\u3002 +invalid.query.string=\u65E0\u6CD5\u4F7F\u7528\u63D0\u4F9B\u7684\u67E5\u8BE2\u5B57\u7B26\u4E32\u89E3\u6790\u7AEF\u70B9\u5730\u5740: {0}\u3002 +invalid.uri.path.query=\u65E0\u6CD5\u4F7F\u7528\u6B64\u8DEF\u5F84\u4FE1\u606F{0}\u548C\u6B64\u67E5\u8BE2\u5B57\u7B26\u4E32{1}\u6784\u9020 URI\u3002 +invalid.uri=\u7AEF\u70B9\u5B57\u7B26\u4E32{0}\u662F\u65E0\u6548\u7684 URI\u3002 +invalid.uri.decode=\u65E0\u6CD5\u4F7F\u7528 UTF-8 \u7F16\u7801\u5BF9\u89E3\u6790\u7684\u7AEF\u70B9\u8FDB\u884C\u89E3\u7801\u3002 +invalid.uri.resolution=\u65E0\u6CD5\u4F7F\u7528\u63D0\u4F9B\u7684\u8DEF\u5F84\u89E3\u6790\u7AEF\u70B9\u5730\u5740: {0}\u3002 +duplicate.port=WSDLPort {0} \u5DF2\u5B58\u5728\u3002\u65E0\u6CD5\u521B\u5EFA QName \u76F8\u540C\u7684\u7AEF\u53E3\u3002 +invalid.query.leading.char=MessageContext.QUERY_STRING {0}\u7684\u524D\u5BFC ''?'' \u65E0\u6548\u3002\u8BF7\u5220\u9664 ''?'' \u5E76\u91CD\u65B0\u8FD0\u884C\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/dispatch_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,43 @@ +# +# 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. +# + +invalid.nullarg.soap.msgmode={0} \u4E2D\u7684 SOAP/HTTP \u9023\u7D50\u4E0D\u5141\u8A31\u7A7A\u503C\u7684\u547C\u53EB\u5F15\u6578. \u5FC5\u9808\u70BA: {1} +# {0}, {1} - one of: POST, GET, DELETE PUT e.g.: A XML/HTTP request using MessageContext.HTTP_REQUEST_METHOD equals POST with a Null invocation Argument is not allowed. Must be: GET +invalid.nullarg.xmlhttp.request.method=\u4F7F\u7528 MessageContext.HTTP_REQUEST_METHOD \u7B49\u65BC {0} \u7684 XML/HTTP \u8981\u6C42, \u4E0D\u5F97\u6709\u7A7A\u503C\u7684\u547C\u53EB\u5F15\u6578. \u5FC5\u9808\u70BA: {1} +invalid.response=\u672A\u50B3\u56DE\u4EFB\u4F55\u56DE\u61C9. +invalid.response.deserialization=\u7121\u6CD5\u53D6\u6D88\u5E8F\u5217\u5316\u56DE\u61C9. +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.datasource.dispatch.msgmode=\u7121\u6CD5\u5EFA\u7ACB Service.Mode.PAYLOAD{0} \u7684 Dispatch. \u5FC5\u9808\u70BA: {1} +# {0} - "PAYLOAD", {1} - "MESSAGE" +invalid.soapmessage.dispatch.msgmode=\u7121\u6CD5\u5EFA\u7ACB {0} \u7684 Dispatch. \u5FC5\u9808\u70BA {1}. +invalid.datasource.dispatch.binding=\u7121\u6CD5\u5EFA\u7ACB\u542B\u6709 {0} \u7684 Dispatch. \u5FC5\u9808\u70BA: {1} +invalid.soapmessage.dispatch.binding=\u7121\u6CD5\u5EFA\u7ACB\u542B\u6709 {0} \u9023\u7D50\u7684 Dispatch. \u5FC5\u9808\u70BA: {1} \u9023\u7D50. +invalid.query.string=\u7121\u6CD5\u4F7F\u7528\u63D0\u4F9B\u7684\u67E5\u8A62\u5B57\u4E32\u89E3\u6790\u7AEF\u9EDE\u4F4D\u5740: {0}. +invalid.uri.path.query=\u7121\u6CD5\u4F7F\u7528\u6B64\u8DEF\u5F91\u8CC7\u8A0A {0} \u8207\u6B64\u67E5\u8A62\u5B57\u4E32 {1} \u4F86\u5EFA\u69CB URI. +invalid.uri=\u7AEF\u9EDE\u5B57\u4E32: {0} \u662F\u7121\u6548\u7684 URI. +invalid.uri.decode=\u7121\u6CD5\u4F7F\u7528 UTF-8 \u7DE8\u78BC\u4F86\u89E3\u78BC\u89E3\u6790\u7684\u7AEF\u9EDE. +invalid.uri.resolution=\u7121\u6CD5\u4F7F\u7528\u63D0\u4F9B\u7684\u8DEF\u5F91\u89E3\u6790\u7AEF\u9EDE\u4F4D\u5740: {0}. +duplicate.port=WSDLPort {0} \u5DF2\u5B58\u5728. \u7121\u6CD5\u5EFA\u7ACB\u76F8\u540C QName \u7684\u9023\u63A5\u57E0. +invalid.query.leading.char=MessageContext.QUERY_STRING: {0} \u524D\u7AEF\u7684 ''?'' \u7121\u6548. \u8ACB\u79FB\u9664 ''?'' \u5F8C\u518D\u6B21\u57F7\u884C. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=Serialisierungsfehler: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=Deserialisierungsfehler: {0} +nestedEncodingError=Codierungsfehler: {0} + +noSuchContentId=Es ist kein Anhang f\u00FCr diese Content-ID "{0}" vorhanden + +#EncoderDecoder +exception.notfound=Ausnahmeklasse: {0} im Modell nicht gefunden. +exception.incorrectType=ung\u00FCltiger Typ. Java.lang.Exception wurde erwartet, {0} gefunden +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=unbekanntes Pr\u00E4fix ''{0}'' +xsd.unexpectedElementName=Unerwarteter Elementname: erwartet={0}, tats\u00E4chlich={1} + +failed.to.read.response=Eine Antwort konnte nicht gelesen werden: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=error de serializaci\u00F3n: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=error de anulaci\u00F3n de serializaci\u00F3n: {0} +nestedEncodingError=error de codificaci\u00F3n: {0} + +noSuchContentId=No hay ning\u00FAn anexo para el identificador de contenido "{0}" + +#EncoderDecoder +exception.notfound=la clase de excepci\u00F3n: {0} no se ha encontrado en el modelo. +exception.incorrectType=tipo incorrecto. Se esperaba java.lang.Exception, pero se ha encontrado {0} +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=prefijo desconocido \"{0}\" +xsd.unexpectedElementName=nombre de elemento inesperado: se esperaba={0}, valor real:{1} + +failed.to.read.response=Fallo al leer una respuesta: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=erreur de s\u00E9rialisation : {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=erreur de d\u00E9s\u00E9rialisation : {0} +nestedEncodingError=erreur d''encodage : {0} + +noSuchContentId=Il n''existe aucune pi\u00E8ce jointe pour l''ID de contenu "{0}" + +#EncoderDecoder +exception.notfound=classe d''exception {0} introuvable dans le mod\u00E8le. +exception.incorrectType=type incorrect. Exception java.lang.Exception attendue, {0} trouv\u00E9e +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=pr\u00E9fixe \"{0}\" inconnu +xsd.unexpectedElementName=nom d''\u00E9l\u00E9ment inattendu : attendu={0}, obtenu={1} + +failed.to.read.response=Echec de la lecture d''une r\u00E9ponse : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=errore di serializzazione: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=errore di deserializzazione: {0} +nestedEncodingError=errore di codifica: {0} + +noSuchContentId=Non \u00E8 presente alcun allegato per l''ID contenuto "{0}" + +#EncoderDecoder +exception.notfound=classe di eccezione: {0} non trovato nel modello +exception.incorrectType=tipo errato. Previsto java.lang.Exception, trovato {0} +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=prefisso sconosciuto \"{0}\" +xsd.unexpectedElementName=nome elemento imprevisto: previsto={0}, effettivo: {1} + +failed.to.read.response=Lettura di una risposta non riuscita: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=\u30B7\u30EA\u30A2\u30E9\u30A4\u30BC\u30FC\u30B7\u30E7\u30F3\u30FB\u30A8\u30E9\u30FC: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=\u30C7\u30B7\u30EA\u30A2\u30E9\u30A4\u30BC\u30FC\u30B7\u30E7\u30F3\u30FB\u30A8\u30E9\u30FC: {0} +nestedEncodingError=\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u30FB\u30A8\u30E9\u30FC: {0} + +noSuchContentId=\u30B3\u30F3\u30C6\u30F3\u30C4ID "{0}"\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093 + +#EncoderDecoder +exception.notfound=\u4F8B\u5916\u30AF\u30E9\u30B9: {0}\u304C\u30E2\u30C7\u30EB\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002 +exception.incorrectType=\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7\u3067\u3059\u3002java.lang.Exception\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{0}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=\u63A5\u982D\u8F9E\"{0}\"\u304C\u4E0D\u660E\u3067\u3059 +xsd.unexpectedElementName=\u4E88\u671F\u3057\u306A\u3044\u8981\u7D20\u540D: \u4E88\u671F={0}\u3001\u5B9F\u969B: {1} + +failed.to.read.response=\u30EC\u30B9\u30DD\u30F3\u30B9\u306E\u8AAD\u53D6\u308A\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=\uC9C1\uB82C\uD654 \uC624\uB958: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=\uC9C1\uB82C\uD654 \uD574\uC81C \uC624\uB958: {0} +nestedEncodingError=\uC778\uCF54\uB529 \uC624\uB958: {0} + +noSuchContentId=\uCF58\uD150\uCE20 ID "{0}"\uC5D0 \uB300\uD55C \uCCA8\uBD80 \uD30C\uC77C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. + +#EncoderDecoder +exception.notfound=\uC608\uC678 \uC0AC\uD56D \uD074\uB798\uC2A4 {0}\uC744(\uB97C) \uBAA8\uB378\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! +exception.incorrectType=\uC720\uD615\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. java.lang.Exception\uC774 \uD544\uC694\uD558\uC9C0\uB9CC {0}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=\"{0}\"\uC740(\uB294) \uC54C \uC218 \uC5C6\uB294 \uC811\uB450\uC5B4\uC785\uB2C8\uB2E4. +xsd.unexpectedElementName=\uC608\uC0C1\uCE58 \uC54A\uC740 \uC694\uC18C \uC774\uB984: {0}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +failed.to.read.response=\uC751\uB2F5 \uC77D\uAE30 \uC2E4\uD328: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=erro de serializa\u00E7\u00E3o: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=erro de desserializa\u00E7\u00E3o: {0} +nestedEncodingError=erro de codifica\u00E7\u00E3o: {0} + +noSuchContentId=N\u00E3o h\u00E1 anexo para o ID de conte\u00FAdo "{0}" + +#EncoderDecoder +exception.notfound=classe de exce\u00E7\u00E3o {0} n\u00E3o encontrada no modelo! +exception.incorrectType=tipo incorreto. Esperava java.lang.Exception; encontrou {0} +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=prefixo desconhecido \"{0}\" +xsd.unexpectedElementName=nome do elemento inesperado: esperado={0}, real:{1} + +failed.to.read.response=Falha ao ler uma resposta: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=\u5E8F\u5217\u5316\u9519\u8BEF: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=\u53CD\u5E8F\u5217\u5316\u9519\u8BEF: {0} +nestedEncodingError=\u7F16\u7801\u9519\u8BEF: {0} + +noSuchContentId=\u6CA1\u6709\u5185\u5BB9 ID \u4E3A "{0}" \u7684\u9644\u4EF6 + +#EncoderDecoder +exception.notfound=\u5728\u6A21\u578B\u4E2D\u672A\u627E\u5230\u5F02\u5E38\u9519\u8BEF\u7C7B{0}! +exception.incorrectType=\u7C7B\u578B\u4E0D\u6B63\u786E\u3002\u5E94\u4E3A java.lang.Exception, \u4F46\u627E\u5230\u7684\u662F{0} +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=\u672A\u77E5\u7684\u524D\u7F00 \"{0}\" +xsd.unexpectedElementName=\u610F\u5916\u7684\u5143\u7D20\u540D: \u5E94\u4E3A{0}, \u5B9E\u9645\u4E3A{1} + +failed.to.read.response=\u65E0\u6CD5\u8BFB\u53D6\u54CD\u5E94: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/encoding_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,45 @@ +# +# 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. +# + +#nested +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedSerializationError=\u5E8F\u5217\u5316\u932F\u8AA4: {0} +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedDeserializationError=\u9084\u539F\u5E8F\u5217\u5316\u932F\u8AA4: {0} +nestedEncodingError=\u7DE8\u78BC\u932F\u8AA4: {0} + +noSuchContentId=\u5167\u5BB9 ID "{0}" \u6C92\u6709\u9644\u4EF6 + +#EncoderDecoder +exception.notfound=\u5728\u6A21\u578B\u4E2D\u627E\u4E0D\u5230\u7570\u5E38\u72C0\u6CC1\u985E\u5225: {0}! +exception.incorrectType=\u985E\u578B\u4E0D\u6B63\u78BA. \u9810\u671F\u70BA java.lang.Exception, \u767C\u73FE\u7684\u662F {0} +# Usage not found. TODO Remove +#incorrect.messageinfo=can't write object! unexpected type: {0} +# Usage not found. TODO Remove +#unknown.object=don\'t know how to write object: {0} +xsd.unknownPrefix=\u4E0D\u660E\u7684\u524D\u7F6E\u78BC \"{0}\" +xsd.unexpectedElementName=\u672A\u9810\u671F\u7684\u5143\u7D20\u540D\u7A31: \u9810\u671F\u70BA={0}, \u5BE6\u969B\u70BA: {1} + +failed.to.read.response=\u7121\u6CD5\u8B80\u53D6\u56DE\u61C9: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=Handler-Fehler: {0} +handler.chain.contains.handler.only=Eine HandlerChain darf nur Handler-Instanzen enthalten: {0} +# {1} - exception message +cannot.instantiate.handler=Handler kann nicht instanziiert werden: {0}, Ursache: {1} +cannot.extend.handler.directly=Handler {0} muss LogicalHandler oder SOAPHandler implementieren. +# {0} - class name +handler.not.valid.type= {0} implementiert keine der Handler-Schnittstellen. +handler.messageContext.invalid.class= \"{0}\" ist kein zul\u00E4ssiger Wert f\u00FCr die Eigenschaft \"{1}\" +handler.predestroy.ignore=Ausnahme bei Aufruf von @PreDestroy-Methode des Handlers ignoriert: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=error de manejador: {0} +handler.chain.contains.handler.only=HandlerChain s\u00F3lo puede contener instancias de manejador: {0} +# {1} - exception message +cannot.instantiate.handler=No se ha podido instanciar el manejador: {0} porque: {1} +cannot.extend.handler.directly=El manejador {0} debe implantar LogicalHandler o SOAPHandler. +# {0} - class name +handler.not.valid.type= {0} no implanta una de las interfaces del manejador. +handler.messageContext.invalid.class= \"{0}\" no es un valor permitido para la propiedad \"{1}\" +handler.predestroy.ignore=Se ha ignorado la excepci\u00F3n al llamar al m\u00E9todo @PreDestroy del manejador: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=erreur de gestionnaire : {0} +handler.chain.contains.handler.only=HandlerChain ne peut contenir que des instances : {0} +# {1} - exception message +cannot.instantiate.handler=Impossible d''instancier le gestionnaire {0} car {1} +cannot.extend.handler.directly=Le gestionnaire {0} doit impl\u00E9menter LogicalHandler ou SOAPHandler. +# {0} - class name +handler.not.valid.type= {0} n''impl\u00E9mente aucune interface de gestionnaire. +handler.messageContext.invalid.class= \"{0}\" n''est pas une valeur autoris\u00E9e pour la propri\u00E9t\u00E9 \"{1}\" +handler.predestroy.ignore=Exception non prise en compte lors de l''appel de la m\u00E9thode @PreDestroy de gestionnaire : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=errore dell''handler: {0} +handler.chain.contains.handler.only=Un HandlerChain pu\u00F2 contenere solo istanze di handler: {0} +# {1} - exception message +cannot.instantiate.handler=Impossibile creare un''istanza dell''handler {0} a causa di: {1} +cannot.extend.handler.directly=L''handler {0} deve implementare LogicalHandler o SOAPHandler. +# {0} - class name +handler.not.valid.type= {0} non implementa una delle interfacce dell''handler. +handler.messageContext.invalid.class= \"{0}\" non \u00E8 un valore consentito per la propriet\u00E0 \"{1}\" +handler.predestroy.ignore=Eccezione ignorata dal richiamo del metodo @PreDestroy dell''handler: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=\u30CF\u30F3\u30C9\u30E9\u30FB\u30A8\u30E9\u30FC: {0} +handler.chain.contains.handler.only=HandlerChain\u306B\u542B\u3081\u3089\u308C\u308B\u306E\u306FHandler\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u307F\u3067\u3059: {0} +# {1} - exception message +cannot.instantiate.handler=\u30CF\u30F3\u30C9\u30E9\u3092\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3067\u304D\u307E\u305B\u3093: {0}\u3002\u7406\u7531: {1} +cannot.extend.handler.directly=\u30CF\u30F3\u30C9\u30E9{0}\u306FLogicalHandler\u307E\u305F\u306FSOAPHandler\u3092\u5B9F\u88C5\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +# {0} - class name +handler.not.valid.type= {0}\u306F\u3044\u305A\u308C\u304B\u306E\u30CF\u30F3\u30C9\u30E9\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3092\u5B9F\u88C5\u3057\u3066\u3044\u307E\u305B\u3093\u3002 +handler.messageContext.invalid.class= \"{0}\"\u306F\u3001\u30D7\u30ED\u30D1\u30C6\u30A3\"{1}\"\u306B\u8A31\u53EF\u3055\u308C\u305F\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +handler.predestroy.ignore=@PreDestroy\u30CF\u30F3\u30C9\u30E9\u30FB\u30E1\u30BD\u30C3\u30C9\u306E\u547C\u51FA\u3057\u304B\u3089\u306E\u4F8B\u5916\u304C\u7121\u8996\u3055\u308C\u307E\u3057\u305F: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=\uCC98\uB9AC\uAE30 \uC624\uB958: {0} +handler.chain.contains.handler.only=HandlerChain\uC740 \uCC98\uB9AC\uAE30 \uC778\uC2A4\uD134\uC2A4\uB9CC \uD3EC\uD568\uD560 \uC218 \uC788\uC74C: {0} +# {1} - exception message +cannot.instantiate.handler={0} \uCC98\uB9AC\uAE30\uB97C \uC778\uC2A4\uD134\uC2A4\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC6D0\uC778: {1} +cannot.extend.handler.directly={0} \uCC98\uB9AC\uAE30\uB294 LogicalHandler \uB610\uB294 SOAPHandler\uB97C \uAD6C\uD604\uD574\uC57C \uD569\uB2C8\uB2E4. +# {0} - class name +handler.not.valid.type= {0}\uC740(\uB294) \uCC98\uB9AC\uAE30 \uC778\uD130\uD398\uC774\uC2A4 \uC911 \uD558\uB098\uB97C \uAD6C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +handler.messageContext.invalid.class= \"{0}\"\uC740(\uB294) \"{1}\" \uC18D\uC131\uC5D0 \uB300\uD574 \uD5C8\uC6A9\uB418\uB294 \uAC12\uC774 \uC544\uB2D9\uB2C8\uB2E4. +handler.predestroy.ignore=\uD638\uCD9C\uD558\uB294 \uCC98\uB9AC\uAE30 @PreDestroy \uBA54\uC18C\uB4DC\uC5D0\uC11C \uC608\uC678 \uC0AC\uD56D\uC774 \uBB34\uC2DC\uB428: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=erro de handler: {0} +handler.chain.contains.handler.only=Uma HandlerChain somente pode conter inst\u00E2ncias de Handler: {0} +# {1} - exception message +cannot.instantiate.handler=N\u00E3o \u00E9 poss\u00EDvel instanciar o handler {0} em decorr\u00EAncia de {1} +cannot.extend.handler.directly=O handler {0} deve implementar LogicalHandler ou SOAPHandler. +# {0} - class name +handler.not.valid.type= {0} n\u00E3o implementa uma das interfaces do handler. +handler.messageContext.invalid.class= \"{0}\" n\u00E3o \u00E9 um valor permitido da propriedade \"{1}\" +handler.predestroy.ignore=Exce\u00E7\u00E3o ignorada do m\u00E9todo @PreDestroy do handler de chamada: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=\u5904\u7406\u7A0B\u5E8F\u9519\u8BEF: {0} +handler.chain.contains.handler.only=HandlerChain \u53EA\u80FD\u5305\u542B\u5904\u7406\u7A0B\u5E8F\u5B9E\u4F8B: {0} +# {1} - exception message +cannot.instantiate.handler=\u65E0\u6CD5\u5B9E\u4F8B\u5316\u5904\u7406\u7A0B\u5E8F: {0}, \u539F\u56E0\u662F: {1} +cannot.extend.handler.directly=\u5904\u7406\u7A0B\u5E8F{0}\u5FC5\u987B\u5B9E\u73B0 LogicalHandler \u6216 SOAPHandler\u3002 +# {0} - class name +handler.not.valid.type= {0}\u672A\u5B9E\u73B0\u5904\u7406\u7A0B\u5E8F\u63A5\u53E3\u4E4B\u4E00\u3002 +handler.messageContext.invalid.class= \"{0}\" \u4E0D\u662F\u5C5E\u6027 \"{1}\" \u7684\u5141\u8BB8\u503C +handler.predestroy.ignore=\u5728\u8C03\u7528\u5904\u7406\u7A0B\u5E8F @PreDestroy \u65B9\u6CD5\u671F\u95F4\u5FFD\u7565\u5F02\u5E38\u9519\u8BEF: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/handler_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +handler.nestedError=\u8655\u7406\u7A0B\u5F0F\u932F\u8AA4: {0} +handler.chain.contains.handler.only=HandlerChain \u53EA\u80FD\u5305\u542B\u300C\u8655\u7406\u7A0B\u5F0F\u300D\u57F7\u884C\u8655\u7406: {0} +# {1} - exception message +cannot.instantiate.handler=\u7121\u6CD5\u5EFA\u7ACB\u8655\u7406\u7A0B\u5F0F: {0} \u56E0\u70BA: {1} +cannot.extend.handler.directly=\u8655\u7406\u7A0B\u5F0F {0} \u5FC5\u9808\u5BE6\u884C LogicalHandler \u6216 SOAPHandler. +# {0} - class name +handler.not.valid.type= {0} \u672A\u5BE6\u884C\u5176\u4E2D\u4E00\u500B\u8655\u7406\u7A0B\u5F0F\u4ECB\u9762. +handler.messageContext.invalid.class= \"{0}\" \u4E0D\u662F\u7279\u6027 \"{1}\" \u7684\u5141\u8A31\u503C +handler.predestroy.ignore=\u547C\u53EB\u8655\u7406\u7A0B\u5F0F @PreDestroy \u65B9\u6CD5: {0} \u7684\u7570\u5E38\u72C0\u6CC1\u5DF2\u5FFD\u7565 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=HTTP-Methode kann nicht verarbeitet werden: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=No se puede manejar el m\u00E9todo HTTP: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=Impossible de g\u00E9rer la m\u00E9thode HTTP : {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=Impossibile gestire il metodo HTTP: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=HTTP\u30E1\u30BD\u30C3\u30C9: {0}\u3092\u51E6\u7406\u3067\u304D\u307E\u305B\u3093 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=HTTP \uBA54\uC18C\uB4DC\uB97C \uCC98\uB9AC\uD560 \uC218 \uC5C6\uC74C: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=N\u00E3o \u00E9 poss\u00EDvel tratar o m\u00E9todo HTTP: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=\u65E0\u6CD5\u5904\u7406 HTTP \u65B9\u6CD5: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/httpserver_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,26 @@ +# +# 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. +# + +unexpected.http.method=\u7121\u6CD5\u8655\u7406 HTTP \u65B9\u6CD5: {0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: Policy-Assertion {0} konnte nicht abgerufen werden. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: Policy-Assertion {0} in diesem Namespace erwartet. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: Policy-Assertion {0} muss ID-Attribut haben, wenn Management aktiviert ist. +WSM_1004_EXPECTED_XML_TAG=WSM1004: Tag <{0}> wurde erwartet, stattdessen wurde <{1}> gelesen. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: CommunicationServerImplementation-Tag wurde als untergeordneter Knoten von CommunicationServerImplementations erwartet. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: Die Managementeigenschaft der ManagedClient Policy-Assertion ist aktiviert. Clients k\u00F6nnen nicht verwaltet werden, und diese Einstellung wird ignoriert. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: ModelTranslator-Instanz konnte nicht erstellt werden. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: Eine Ganzzahl wurde als Wert des Attributs endpointDisposeDelay erwartet, stattdessen wurde "{0}" erhalten. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: fallo al obtener la afirmaci\u00F3n de pol\u00EDtica {0}. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: afirmaci\u00F3n de pol\u00EDtica esperada {0} en este espacio de nombres. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: la afirmaci\u00F3n de pol\u00EDtica {0} debe tener un atributo de identificador si la gesti\u00F3n est\u00E1 activada. +WSM_1004_EXPECTED_XML_TAG=WSM1004: se esperaba la etiqueta <{0}>, pero se ha le\u00EDdo <{1}>. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: se esperaba encontrar una etiqueta CommunicationServerImplementation como nodo secundario de CommunicationServerImplementations. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: la propiedad de gesti\u00F3n de la afirmaci\u00F3n de pol\u00EDtica ManagedClient est\u00E1 activada. Los clientes no se pueden gestionar y este valor se ignorar\u00E1. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: fallo al crear una instancia de ModelTranslator. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: se esperaba un entero como valor del atributo endpointDisposeDelay, pero se ha obtenido esto: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001 : \u00E9chec de l''obtention de l''assertion de strat\u00E9gie {0}. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002 : assertion de strat\u00E9gie {0} attendue dans cet espace de noms. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003 : l''assertion de strat\u00E9gie {0} doit avoir un attribut d''ID lorsque la gestion est activ\u00E9e. +WSM_1004_EXPECTED_XML_TAG=WSM1004 : balise <{0}> attendue mais <{1}> lue \u00E0 la place. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005 : balise CommunicationServerImplementation attendue en tant que noeud enfant de CommunicationServerImplementations. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006 : la propri\u00E9t\u00E9 de gestion de l'assertion de strat\u00E9gie ManagedClient est activ\u00E9e. Les clients ne peuvent pas \u00EAtre g\u00E9r\u00E9s et ce param\u00E8tre ne sera pas pris en compte. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007 : impossible de cr\u00E9er une instance ModelTranslator. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008 : entier attendu en tant que valeur de l''attribut endpointDisposeDelay, obtention de "{0}" \u00E0 la place. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: Recupero dell''asserzione dei criteri non riuscito {0}. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: Asserzione dei criteri {0} previsto in questo spazio di nomi. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: L''asserzione dei criteri {0} deve avere un attributo ID quando \u00E8 abilitata la gestione. +WSM_1004_EXPECTED_XML_TAG=WSM1004: Prevista tag <{0}> ma letta invece <{1}>. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: Prevista una tag CommunicationServerImplementation come nodo figlio di CommunicationServerImplementations. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: La propriet\u00E0 di gestione dell'asserzione dei criteri ManagedClient \u00E8 impostata su attivo. I client non possono essere gestiti e questa impostazione verr\u00E0 ignorata. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: Creazione di un'istanza ModelTranslator non riuscita. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: Previsto un numero intero come valore dell''attributo endpointDisposeDelay, ottenuto invece: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: \u30DD\u30EA\u30B7\u30FC\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3{0}\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: \u3053\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u3067\u306F\u30DD\u30EA\u30B7\u30FC\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3{0}\u304C\u4E88\u671F\u3055\u308C\u307E\u3059\u3002 +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: \u7BA1\u7406\u304C\u6709\u52B9\u3067\u3042\u308B\u5834\u5408\u3001\u30DD\u30B7\u30EA\u30FC\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3{0}\u306B\u306Fid\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002 +WSM_1004_EXPECTED_XML_TAG=WSM1004: \u30BF\u30B0<{0}>\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u304B\u308F\u308A\u306B<{1}>\u3092\u8AAD\u307F\u53D6\u308A\u307E\u3059\u3002 +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: CommunicationServerImplementations\u306E\u5B50\u30CE\u30FC\u30C9\u3068\u3057\u3066CommunicationServerImplementation\u30BF\u30B0\u3092\u691C\u51FA\u3059\u308B\u3053\u3068\u304C\u4E88\u671F\u3055\u308C\u307E\u3059\u3002 +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: ManagedClient\u30DD\u30EA\u30B7\u30FC\u30FB\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u306E\u7BA1\u7406\u30D7\u30ED\u30D1\u30C6\u30A3\u306F\u30AA\u30F3\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306F\u7BA1\u7406\u3067\u304D\u305A\u3001\u3053\u306E\u8A2D\u5B9A\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002 +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: ModelTranslator\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: endpointDisposeDelay\u5C5E\u6027\u306E\u5024\u3068\u3057\u3066\u6574\u6570\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u304B\u308F\u308A\u306B\u6B21\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F: "{0}"\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: \uC815\uCC45 \uBA85\uC81C {0} \uAC00\uC838\uC624\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: \uC774 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 \uC815\uCC45 \uBA85\uC81C {0}\uC774(\uAC00) \uD544\uC694\uD569\uB2C8\uB2E4. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: \uAD00\uB9AC\uAC00 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uACBD\uC6B0 \uC815\uCC45 \uBA85\uC81C {0}\uC5D0 ID \uC18D\uC131\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. +WSM_1004_EXPECTED_XML_TAG=WSM1004: <{0}> \uD0DC\uADF8\uAC00 \uD544\uC694\uD558\uC9C0\uB9CC \uB300\uC2E0 <{1}>\uC744(\uB97C) \uC77D\uC5C8\uC2B5\uB2C8\uB2E4. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: CommunicationServerImplementations\uC758 \uD558\uC704 \uB178\uB4DC\uB85C CommunicationServerImplementation \uD0DC\uADF8\uB97C \uCC3E\uC544\uC57C \uD569\uB2C8\uB2E4. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: ManagedClient \uC815\uCC45 \uBA85\uC81C\uC758 management \uC18D\uC131\uC774 on\uC73C\uB85C \uC124\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD074\uB77C\uC774\uC5B8\uD2B8\uB97C \uAD00\uB9AC\uD560 \uC218 \uC5C6\uC73C\uBA70 \uC774 \uC124\uC815\uC774 \uBB34\uC2DC\uB429\uB2C8\uB2E4. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: ModelTranslator \uC778\uC2A4\uD134\uC2A4 \uC0DD\uC131\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: endpointDisposeDelay \uC18D\uC131\uAC12\uC73C\uB85C \uC815\uC218\uAC00 \uD544\uC694\uD558\uC9C0\uB9CC \uB300\uC2E0 "{0}"\uC744(\uB97C) \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: falha ao obter a asser\u00E7\u00E3o da pol\u00EDtica {0}. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: era esperada a asser\u00E7\u00E3o da pol\u00EDtica {0} neste namespace. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: a asser\u00E7\u00E3o {0} da pol\u00EDtica dever\u00E1 ter o atributo do id quando o gerenciamento estiver ativado. +WSM_1004_EXPECTED_XML_TAG=WSM1004: esperada a tag <{0}> mas, leu <{1}>. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: esperava localizar uma tag CommunicationServerImplementation como n\u00F3 do filho de CommunicationServerImplementations. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: a propriedade de gerenciamento da asser\u00E7\u00E3o da pol\u00EDtica ManagedClient foi definida como ativada. Os clientes n\u00E3o podem ser gerenciados e esta defini\u00E7\u00E3o ser\u00E1 ignorada. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: falha ao criar uma inst\u00E2ncia ModelTranslator. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: esperava um n\u00FAmero inteiro como valor do atributo endpointDisposeDelay, mas obteve: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: \u65E0\u6CD5\u83B7\u53D6\u7B56\u7565\u65AD\u8A00{0}\u3002 +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: \u6B64\u540D\u79F0\u7A7A\u95F4\u4E2D\u5E94\u6709\u7B56\u7565\u65AD\u8A00{0}\u3002 +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: \u542F\u7528\u7BA1\u7406\u65F6\u7B56\u7565\u65AD\u8A00{0}\u5FC5\u987B\u5177\u6709 ID \u5C5E\u6027\u3002 +WSM_1004_EXPECTED_XML_TAG=WSM1004: \u5E94\u4E3A\u6807\u8BB0 <{0}> \u800C\u663E\u793A\u7684\u662F <{1}>\u3002 +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: \u5E94\u627E\u5230 CommunicationServerImplementation \u6807\u8BB0\u4F5C\u4E3A CommunicationServerImplementations \u7684\u5B50\u8282\u70B9\u3002 +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: ManagedClient \u7B56\u7565\u65AD\u8A00\u7684\u7BA1\u7406\u5C5E\u6027\u8BBE\u7F6E\u4E3A\u542F\u7528\u3002\u65E0\u6CD5\u7BA1\u7406\u5BA2\u6237\u673A, \u5C06\u5FFD\u7565\u6B64\u8BBE\u7F6E\u3002 +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: \u65E0\u6CD5\u521B\u5EFA ModelTranslator \u5B9E\u4F8B\u3002 +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: endpointDisposeDelay \u5C5E\u6027\u7684\u503C\u5E94\u4E3A\u6574\u6570, \u800C\u5F97\u5230\u7684\u503C\u4E3A: "{0}"\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/management_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,33 @@ +# +# 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. +# + +WSM_1001_FAILED_ASSERTION=WSM1001: \u7121\u6CD5\u53D6\u5F97\u539F\u5247\u5BA3\u544A {0}. +WSM_1002_EXPECTED_MANAGEMENT_ASSERTION=WSM1002: \u6B64\u547D\u540D\u7A7A\u9593\u4E2D\u9810\u671F\u61C9\u6709\u539F\u5247\u5BA3\u544A {0}. +WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID=WSM1003: \u555F\u7528\u7BA1\u7406\u6642, \u539F\u5247\u5BA3\u544A {0} \u5FC5\u9808\u5305\u542B ID \u5C6C\u6027. +WSM_1004_EXPECTED_XML_TAG=WSM1004: \u9810\u671F\u70BA\u6A19\u8A18 <{0}>, \u4F46\u8B80\u5230\u7684\u662F <{1}>. +WSM_1005_EXPECTED_COMMUNICATION_CHILD=WSM1005: \u9810\u671F\u627E\u5230\u505A\u70BA CommunicationServerImplementations \u5B50\u7BC0\u9EDE\u7684 CommunicationServerImplementation \u6A19\u8A18. +WSM_1006_CLIENT_MANAGEMENT_ENABLED=WSM1006: ManagedClient \u539F\u5247\u5BA3\u544A\u7684\u7BA1\u7406\u7279\u6027\u8A2D\u70BA\u958B\u555F. \u7121\u6CD5\u7BA1\u7406\u5F9E\u5C6C\u7AEF, \u5C07\u5FFD\u7565\u6B64\u8A2D\u5B9A. +WSM_1007_FAILED_MODEL_TRANSLATOR_INSTANTIATION=WSM1007: \u7121\u6CD5\u5EFA\u7ACB ModelTranslator \u57F7\u884C\u8655\u7406. +WSM_1008_EXPECTED_INTEGER_DISPOSE_DELAY_VALUE=WSM1008: \u9810\u671F\u70BA\u6574\u6578\u7684 endpointDisposeDelay \u5C6C\u6027\u503C, \u4F46\u5F97\u5230\u7684\u662F: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 @@ -26,6 +26,10 @@ # Wrapped into an Exception. {0} - localizable exception message of another exception nestedModelerError=runtime modeler error: {0} +runtime.modeler.external.metadata.generic=An error occurred while processing external WS metadata; check configuration/deployment. Nested error: {0}. +runtime.modeler.external.metadata.unable.to.read=Unable to read metadata file {0}. Check configuration/deployment. +runtime.modeler.external.metadata.unsupported.schema=Unsupported metadata file schema {0}. Supported schemes are {1}. +runtime.modeler.external.metadata.wrong.format=Unable to read metadata from {0}. Is the format correct? runtime.modeler.no.webservice.annotation=A WebService annotation is not present on class: {0} runtime.modeler.endpoint.interface.no.webservice=The Endpoint Interface: {0} does not have WebService Annotation # Wrapped into an Exception. Not concatenated with any other string. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=Runtime Modeler-Fehler: {0} + +runtime.modeler.no.webservice.annotation=Eine WebService-Annotation ist in Klasse nicht vorhanden: {0} +runtime.modeler.endpoint.interface.no.webservice=Die End Point-Schnittstelle: {0} hat keine WebService-Annotation +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=Klasse: {0} konnte nicht gefunden werden +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=Wrapper-Klasse {0} wurde nicht gefunden. Haben Sie eine Annotationsverarbeitung ausgef\u00FChrt, um sie zu generieren? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=Methode: {0} konnte in Klasse nicht gefunden werden: {1} +runtime.modeler.webmethod.must.be.public=@WebMethod ist bei einer nicht \u00F6ffentlichen Methode {0} nicht zul\u00E4ssig +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod ist bei einer statischen Methode {0} nicht zul\u00E4ssig +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod ist bei einer statischen oder finalen Methode {0} nicht zul\u00E4ssig +runtime.modeler.oneway.operation.no.out.parameters=Unidirektionaler Vorgang darf keine OUT-Parameterklasse enthalten: {0} Methode: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=Unidirektionaler Vorgang darf keine gepr\u00FCfte Ausnahmeklasse ausl\u00F6sen: {0}-Methode: {1} l\u00F6st {2} aus +runtime.modeler.cannot.get.serviceName.from.interface=Der serviceName darf nicht aus einer Schnittstelle abgerufen werden. Klasse {0} +runtime.modeler.portname.servicename.namespace.mismatch=Der Namespace von serviceName \\"{0}\\" und der Namespace von portName \\"{1}\\" m\u00FCssen \u00FCbereinstimmen +runtime.modeler.no.package=Ein @WebService.targetNamespace muss f\u00FCr Klassen ohne Package angegeben werden. Klasse: {0} +runtime.modeler.no.operations=Der Webservice, der von der Klasse {0} definiert wird, enth\u00E4lt keine g\u00FCltigen WebMethods. +runtime.modeler.mtom.conflict = Fehler bei @BindingType: MTOM-Konfiguration in Binding-ID {0} ist nicht mit Feature @MTOM {1} vereinbar +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= Feature {0} in Implementierung ist nicht mit {1} in WSDL-Konfiguration vereinbar +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = JAX-WS 2.1 API wird aus {0} geladen, die JAX-WS-Laufzeitumgebung erfordert jedoch JAX-WS 2.2 API. Verwenden Sie das "Endorsed Standards Override Mechanism"-Verfahren, um JAX-WS 2.2 API zu laden +runtime.modeler.wsfeature.no.ftrconstructor=Annotation {0} kann nicht erkannt werden, mindestens ein Konstruktor von {1} muss mit @FeatureConstructor markiert werden +runtime.modeler.wsfeature.morethanone.ftrconstructor=Annotation {0} ist unzul\u00E4ssig. Nur ein Konstruktor von {1} kann als @FeatureConstructor markiert werden +runtime.modeler.wsfeature.illegal.ftrconstructor=Annotation {0} ist unzul\u00E4ssig. In {1} stimmt der @FeatureConstructor-Wert nicht mit den Konstruktorparametern \u00FCberein +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= Ung\u00FCltige Verwendung von Annotation {0} in {1}, ParameterStyle kann nur WRAPPED bei RPC-Webservice sein. +runtime.modeler.soapbinding.conflict= SOAPBinding-Stil {0} f\u00FCr Methode {1} ist nicht mit globalem SOAPBinding-Stil {2} vereinbar +runtimemodeler.invalid.soapbindingOnMethod=Ung\u00FCltige Annotation: {0} in Methode {1} in Klasse {2}. Eine Methode kann nicht mit @SOAPBinding-Annotation mit \\"RPC\\"-Stil versehen werden +unable.to.create.JAXBContext=JAXBContext kann nicht erstellt werden +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0} enth\u00E4lt Methode {1} mit Annotation BARE, enth\u00E4lt jedoch mehr als einen Parameter, der an den Nachrichtentext gebunden ist. Dies ist ung\u00FCltig. Versehen Sie die Methode mit folgender Annotation: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=error de modelador en tiempo de ejecuci\u00F3n: {0} + +runtime.modeler.no.webservice.annotation=No existe una anotaci\u00F3n de WebService en la clase: {0} +runtime.modeler.endpoint.interface.no.webservice=La interfaz de punto final: {0} no tiene una anotaci\u00F3n de WebService +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=No se ha encontrado la clase: {0}. +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=No se ha encontrado la clase de envoltorio {0}. \u00BFHa ejecutado la herramienta de procesamiento de anotaciones para generarlas? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=No se ha encontrado el m\u00E9todo {0} en la clase {1}. +runtime.modeler.webmethod.must.be.public=@WebMethod no est\u00E1 permitido en un m\u00E9todo no p\u00FAblico {0} +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod no est\u00E1 permitido en un m\u00E9todo est\u00E1tico {0} +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod no est\u00E1 permitido en un m\u00E9todo est\u00E1tico o final {0} +runtime.modeler.oneway.operation.no.out.parameters=la operaci\u00F3n unidireccional no deber\u00EDa tener la clase de par\u00E1metros OUT: {0} m\u00E9todo: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=La operaci\u00F3n unidireccional no deber\u00EDa devolver ninguna clase de excepci\u00F3n comprobada: {0} m\u00E9todo: {1} devuelve: {2} +runtime.modeler.cannot.get.serviceName.from.interface=No se puede recuperar el elemento serviceName de una interfaz. Clase {0} +runtime.modeler.portname.servicename.namespace.mismatch=El espacio de nombres de serviceName \\"{0}\\" debe coincidir con el espacio de nombres de portName \\"{1}\\" +runtime.modeler.no.package=Se debe especificar @WebService.targetNamespace en las clases sin paquete. Clase: {0} +runtime.modeler.no.operations=El servicio web definido por la clase {0} no contiene ning\u00FAn m\u00E9todo web v\u00E1lido. +runtime.modeler.mtom.conflict = Error en @BindingType: la configuraci\u00F3n de MTOM del identificador de enlace {0} entra en conflicto con la funci\u00F3n @MTOM {1} +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= La funci\u00F3n {0} de la implantaci\u00F3n entra en conflicto con {1} en la configuraci\u00F3n de WSDL +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = La API de JAX-WS 2.1 se ha cargado desde {0}, pero JAX-WS en tiempo de ejecuci\u00F3n necesita la API JAX-WS 2.2. Utilice el mecanismo de sustituci\u00F3n de est\u00E1ndares aprobado para cargar la API JAX-WS 2.2 +runtime.modeler.wsfeature.no.ftrconstructor=La anotaci\u00F3n {0} no es reconocible. Al menos un constructor de {1} se deber\u00EDa marcar con @FeatureConstructor +runtime.modeler.wsfeature.morethanone.ftrconstructor=La anotaci\u00F3n {0} no es v\u00E1lida. S\u00F3lo un constructor de {1} se puede marcar como @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=La anotaci\u00F3n {0} no es v\u00E1lida. En {1}, el valor de @FeatureConstructor no coincide con los par\u00E1metros del constructor +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= Uso incorrecto de la anotaci\u00F3n {0} en {1}. ParameterStyle s\u00F3lo puede ser WRAPPED con el servicio web de estilo RPC. +runtime.modeler.soapbinding.conflict= El estilo SOAPBinding {0} del m\u00E9todo {1} entra en conflicto con el estilo SOAPBinding global {2} +runtimemodeler.invalid.soapbindingOnMethod=Anotaci\u00F3n no v\u00E1lida: {0} en el m\u00E9todo {1} de la clase {2}. No se puede anotar un m\u00E9todo con @SOAPBinding con el estilo \\"RPC\\" +unable.to.create.JAXBContext=No se ha podido crear JAXBContext. +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=La interfaz de punto final de servicio {0} tiene anotado el m\u00E9todo {1} como BARE, pero tiene m\u00E1s de un par\u00E1metro enlazado al cuerpo. Esto no es v\u00E1lido. Anote el m\u00E9todo con la anotaci\u00F3n: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=erreur de modeleur d''ex\u00E9cution : {0} + +runtime.modeler.no.webservice.annotation=Aucune annotation WebService ne figure sur la classe {0} +runtime.modeler.endpoint.interface.no.webservice=L''interface d''adresse {0} ne comporte aucune annotation WebService +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=la classe {0} est introuvable +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=La classe de wrapper {0} est introuvable. Avez-vous ex\u00E9cut\u00E9 le traitement d''annotation pour la g\u00E9n\u00E9rer ? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=la m\u00E9thode {0} est introuvable sur la classe {1} +runtime.modeler.webmethod.must.be.public=@WebMethod n''est pas autoris\u00E9e sur une m\u00E9thode d''un type autre que public {0} +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod n''est pas autoris\u00E9e sur une m\u00E9thode de type static {0} +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod n''est pas autoris\u00E9e sur une m\u00E9thode de type static ou final {0} +runtime.modeler.oneway.operation.no.out.parameters=une op\u00E9ration unidirectionnelle ne doit pas comporter une classe de param\u00E8tres OUT : {0} m\u00E9thode : {1} +runtime.modeler.oneway.operation.no.checked.exceptions=L''op\u00E9ration unidirectionnelle ne doit g\u00E9n\u00E9rer aucune classe d''exceptions contr\u00F4l\u00E9es : {0}. La m\u00E9thode {1} g\u00E9n\u00E8re {2} +runtime.modeler.cannot.get.serviceName.from.interface=L''\u00E9l\u00E9ment serviceName ne peut pas \u00EAtre extrait d''une interface. Classe : {0} +runtime.modeler.portname.servicename.namespace.mismatch=Les espaces de noms de l''\u00E9l\u00E9ment serviceName \"{0}\" et de l''\u00E9l\u00E9ment portName \"{1}\" doivent correspondre +runtime.modeler.no.package=Une annotation @WebService.targetNamespace doit \u00EAtre indiqu\u00E9e sur les classes sans package. Classe : {0} +runtime.modeler.no.operations=Le service Web d\u00E9fini par la classe {0} ne contient aucun \u00E9l\u00E9ment WebMethod valide. +runtime.modeler.mtom.conflict = Erreur dans @BindingType : la configuration MTOM dans l''identificateur de binding {0} est en conflit avec la fonctionnalit\u00E9 @MTOM {1} +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= La fonctionnalit\u00E9 {0} dans l''impl\u00E9mentation est en conflit avec {1} dans la configuration WSDL +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = L''API JAX-WS 2.1 est charg\u00E9 \u00E0 partir de {0}, mais le runtime JAX-WS exige l''API JAX-WS 2.2. Utilisez le m\u00E9canisme Endorsed Standards Override Mechanism pour charger l''API JAX-WS 2.2 +runtime.modeler.wsfeature.no.ftrconstructor=L''annotation {0} n''est pas reconnaissable, au moins un constructeur de {1} doit \u00EAtre marqu\u00E9 avec @FeatureConstructor +runtime.modeler.wsfeature.morethanone.ftrconstructor=L''annotation {0} est interdite, seul un constructeur de {1} peut \u00EAtre marqu\u00E9 comme @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=L''annotation {0} est interdite ; dans {1}, la valeur @FeatureConstructor ne correspond pas aux param\u00E8tres constructeur +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= Syntaxe incorrecte de l''annotation {0} sur {1}, ParameterStyle ne peut \u00EAtre que WRAPPED avec le service Web de style RPC. +runtime.modeler.soapbinding.conflict= Le style SOAPBinding {0} de la m\u00E9thode {1} est en conflit avec le style SOAPBinding {2} global +runtimemodeler.invalid.soapbindingOnMethod=Annotation {0} non valide sur la m\u00E9thode {1} dans la classe {2}, une m\u00E9thode ne peut pas \u00EAtre annot\u00E9e avec @SOAPBinding avec le style \"RPC\" +unable.to.create.JAXBContext=Impossible de cr\u00E9er JAXBContext +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=L''interface d''adresse de service {0} comporte la m\u00E9thode {1} qui est annot\u00E9e comme \u00E9tant BARE mais contient plus d''un param\u00E8tre li\u00E9 au corps. Cela n''est pas valide. Annotez la m\u00E9thode comme suit : @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=errore del modeler di runtime: {0} + +runtime.modeler.no.webservice.annotation=Annotazione WebService non presente sulla classe: {0} +runtime.modeler.endpoint.interface.no.webservice=L''interfaccia Endpoint: {0} non dispone dell''annotazione WebService +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=impossibile trovare la classe: {0} +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=Classe wrapper {0} non trovata. \u00C8 stata eseguita l''elaborazione dell''annotazione per generarla? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=impossibile trovare il metodo: {0} sulla classe: {1} +runtime.modeler.webmethod.must.be.public=@WebMethod non \u00E8 consentito su un metodo non pubblico {0} +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod non \u00E8 consentito su un metodo statico {0} +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod non \u00E8 consentito su un metodo statico o finale {0} +runtime.modeler.oneway.operation.no.out.parameters=l''operazione unidirezionale non deve avere parametri OUT. Classe: {0} metodo: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=L''operazione unidirezionale non deve restituire eccezioni verificate. Classe: {0} metodo: {1} restituzioni: {2} +runtime.modeler.cannot.get.serviceName.from.interface=Impossibile recuperare il serviceName da un''interfaccia. Classe {0} +runtime.modeler.portname.servicename.namespace.mismatch=Lo spazio di nomi del serviceName \"{0}\" e quello del portName \"{1}\" devono corrispondere +runtime.modeler.no.package=\u00C8 necessario specificare un @WebService.targetNamespace sulle classi senza package. Classe: {0} +runtime.modeler.no.operations=Il servizio Web definito dalla classe {0} non contiene alcun WebMethods valido. +runtime.modeler.mtom.conflict = Errore in @BindingType: la configurazione MTOM nell''identificativo di associazione {0} \u00E8 in conflitto con la funzione @MTOM {1} +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= La funzione {0} nell''implementazione \u00E8 in conflitto con {1} nella configurazione WSDL +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = L''API JAX-WS 2.1 viene caricata da {0} ma il runtime JAX-WS richiede l''API JAX-WS 2.2. Usare il meccanismo Endorsed Standards Override Mechanism per caricare l''API JAX-WS 2.2 +runtime.modeler.wsfeature.no.ftrconstructor=L''annotazione {0} non \u00E8 riconoscibile. Almeno un costruttore di {1} deve essere contrassegnato con @FeatureConstructor +runtime.modeler.wsfeature.morethanone.ftrconstructor=L''annotazione {0} non \u00E8 valida. Solo un costruttore di {1} pu\u00F2 essere contrassegnato come @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=L''annotazione {0} non \u00E8 valida. Il valore {1} @FeatureConstructor non corrisponde ai parametri del costruttore +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= Uso errato dell''annotazione {0} su {1}. ParameterStyle pu\u00F2 essere solo WRAPPED con il servizio Web dello stile RPC. +runtime.modeler.soapbinding.conflict= Lo stile SOAPBinding {0} per il metodo {1} \u00E8 in conflitto con lo stile SOAPBinding globale {2} +runtimemodeler.invalid.soapbindingOnMethod=Annotazione non valida: {0} sul metodo {1} nella classe {2}. Un metodo non pu\u00F2 essere annotato con @SOAPBinding con lo stile \"RPC\" +unable.to.create.JAXBContext=Impossibile creare JAXBContext +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0} ha il metodo {1} annotato come BARE ma ha pi\u00F9 parametri associati al corpo. Questo non \u00E8 valido. Annotare il metodo con l''annotazione: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=\u5B9F\u884C\u6642\u30E2\u30C7\u30E9\u30FC\u30FB\u30A8\u30E9\u30FC: {0} + +runtime.modeler.no.webservice.annotation=WebService\u6CE8\u91C8\u304C\u30AF\u30E9\u30B9: {0}\u306B\u5B58\u5728\u3057\u307E\u305B\u3093 +runtime.modeler.endpoint.interface.no.webservice=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9: {0}\u306BWebService\u6CE8\u91C8\u304C\u3042\u308A\u307E\u305B\u3093 +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=\u30AF\u30E9\u30B9: {0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=\u30E9\u30C3\u30D1\u30FC\u30FB\u30AF\u30E9\u30B9{0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30E9\u30C3\u30D1\u30FC\u30FB\u30AF\u30E9\u30B9\u3092\u751F\u6210\u3059\u308B\u305F\u3081\u306E\u6CE8\u91C8\u51E6\u7406\u3092\u5B9F\u884C\u3057\u307E\u3057\u305F\u304B\u3002 +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=\u30E1\u30BD\u30C3\u30C9: {0}\u304C\u30AF\u30E9\u30B9: {1}\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +runtime.modeler.webmethod.must.be.public=@WebMethod\u306Fpublic\u4EE5\u5916\u306E\u30E1\u30BD\u30C3\u30C9{0}\u3067\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093 +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod\u306Fstatic\u30E1\u30BD\u30C3\u30C9{0}\u3067\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093 +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod\u306Fstatic\u307E\u305F\u306Ffinal\u30E1\u30BD\u30C3\u30C9{0}\u3067\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093 +runtime.modeler.oneway.operation.no.out.parameters=\u4E00\u65B9\u5411\u64CD\u4F5C\u306B\u306FOUT\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9: {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=\u4E00\u65B9\u5411\u64CD\u4F5C\u306F\u78BA\u8A8D\u6E08\u4F8B\u5916\u3092\u30B9\u30ED\u30FC\u3057\u306A\u3044\u3088\u3046\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30AF\u30E9\u30B9: {0}\u3001\u30E1\u30BD\u30C3\u30C9: {1}\u3001\u30B9\u30ED\u30FC: {2} +runtime.modeler.cannot.get.serviceName.from.interface=serviceName\u3092\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u304B\u3089\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9{0} +runtime.modeler.portname.servicename.namespace.mismatch=serviceName \"{0}\"\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304A\u3088\u3073portName \"{1}\"\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306F\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +runtime.modeler.no.package=@WebService.targetNamespace\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u306A\u3057\u306E\u30AF\u30E9\u30B9\u306B\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30AF\u30E9\u30B9: {0} +runtime.modeler.no.operations=\u30AF\u30E9\u30B9{0}\u306B\u3088\u308A\u5B9A\u7FA9\u3055\u308C\u305FWeb\u30B5\u30FC\u30D3\u30B9\u306B\u306F\u3001\u6709\u52B9\u306AWebMethods\u304C\u542B\u307E\u308C\u307E\u305B\u3093\u3002 +runtime.modeler.mtom.conflict = @BindingType\u306E\u30A8\u30E9\u30FC: \u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u8B58\u5225\u5B50{0}\u306EMTOM\u69CB\u6210\u304C\u6A5F\u80FD@MTOM {1}\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059 +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= \u5B9F\u88C5\u306E\u6A5F\u80FD{0}\u304CWSDL\u69CB\u6210\u306E{1}\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059 +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = JAX-WS 2.1 API\u306F{0}\u304B\u3089\u30ED\u30FC\u30C9\u3055\u308C\u307E\u3059\u304C\u3001JAX-WS\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u306FJAX-WS 2.2 API\u304C\u5FC5\u8981\u3067\u3059\u3002JAX-WS 2.2 API\u3092\u30ED\u30FC\u30C9\u3059\u308B\u306B\u306F\u3001Endorsed Standards Override Mechanism\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044 +runtime.modeler.wsfeature.no.ftrconstructor=\u6CE8\u91C8{0}\u3092\u8A8D\u8B58\u3067\u304D\u307E\u305B\u3093\u3002{1}\u306E\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u5C11\u306A\u304F\u3068\u30821\u3064\u304C@FeatureConstructor\u3067\u30DE\u30FC\u30AF\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +runtime.modeler.wsfeature.morethanone.ftrconstructor=\u6CE8\u91C8{0}\u304C\u4E0D\u6B63\u3067\u3059\u3002@FeatureConstructor\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3067\u304D\u308B{1}\u306E\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306F\u30011\u3064\u306E\u307F\u3067\u3059 +runtime.modeler.wsfeature.illegal.ftrconstructor=\u6CE8\u91C8{0}\u304C\u4E0D\u6B63\u3067\u3059\u3002{1}\u3067\u3001@FeatureConstructor\u306E\u5024\u304C\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093 +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= {1}\u306B\u304A\u3051\u308B\u6CE8\u91C8{0}\u306E\u4F7F\u7528\u65B9\u6CD5\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002RPC\u30B9\u30BF\u30A4\u30EBWeb\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u3001ParameterStyle\u306FWRAPPED\u306E\u307F\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002 +runtime.modeler.soapbinding.conflict= \u30E1\u30BD\u30C3\u30C9{1}\u306ESOAPBinding\u30B9\u30BF\u30A4\u30EB{0}\u304C\u30B0\u30ED\u30FC\u30D0\u30EBSOAPBinding\u30B9\u30BF\u30A4\u30EB{2}\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059 +runtimemodeler.invalid.soapbindingOnMethod=\u30AF\u30E9\u30B9{2}\u306E\u30E1\u30BD\u30C3\u30C9{1}\u306E\u6CE8\u91C8: {0}\u304C\u7121\u52B9\u3067\u3059\u3002\u30B9\u30BF\u30A4\u30EB\"RPC\"\u306E\u30E1\u30BD\u30C3\u30C9\u306F@SOAPBinding\u3067\u6CE8\u91C8\u3092\u4ED8\u3051\u3089\u308C\u307E\u305B\u3093 +unable.to.create.JAXBContext=JAXBContext\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0}\u306B\u306FBARE\u3068\u3057\u3066\u6CE8\u91C8\u304C\u4ED8\u3051\u3089\u308C\u305F\u30E1\u30BD\u30C3\u30C9{1}\u304C\u3042\u308A\u307E\u3059\u304C\u3001\u8907\u6570\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u672C\u6587\u306B\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u7121\u52B9\u3067\u3059\u3002\u30E1\u30BD\u30C3\u30C9\u306B\u6B21\u306E\u6CE8\u91C8\u3092\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=\uB7F0\uD0C0\uC784 \uBAA8\uB378\uB7EC \uC624\uB958: {0} + +runtime.modeler.no.webservice.annotation=WebService \uC8FC\uC11D\uC774 \uD074\uB798\uC2A4\uC5D0 \uC5C6\uC74C: {0} +runtime.modeler.endpoint.interface.no.webservice=\uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4 {0}\uC5D0 WebService \uC8FC\uC11D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found={0} \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=\uB798\uD37C \uD074\uB798\uC2A4 {0}\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC8FC\uC11D \uCC98\uB9AC\uB97C \uC2E4\uD589\uD558\uC5EC \uC0DD\uC131\uD588\uC2B5\uB2C8\uAE4C? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found={0} \uBA54\uC18C\uB4DC\uB97C \uD074\uB798\uC2A4\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {1} +runtime.modeler.webmethod.must.be.public=@WebMethod\uB294 non-public \uBA54\uC18C\uB4DC {0}\uC5D0\uC11C \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod\uB294 static \uBA54\uC18C\uB4DC {0}\uC5D0\uC11C \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod\uB294 static \uB610\uB294 final \uBA54\uC18C\uB4DC {0}\uC5D0\uC11C \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +runtime.modeler.oneway.operation.no.out.parameters=\uB2E8\uBC29\uD5A5 \uC791\uC5C5\uC5D0\uB294 OUT \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4: {0}, \uBA54\uC18C\uB4DC: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=\uB2E8\uBC29\uD5A5 \uC791\uC5C5\uC774 \uD655\uC778\uB41C \uC608\uC678 \uC0AC\uD56D\uC744 throw\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4: {0}, \uBA54\uC18C\uB4DC: {1}, throw: {2} +runtime.modeler.cannot.get.serviceName.from.interface=\uC778\uD130\uD398\uC774\uC2A4\uC5D0\uC11C serviceName\uC744 \uAC80\uC0C9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD074\uB798\uC2A4: {0} +runtime.modeler.portname.servicename.namespace.mismatch=serviceName \"{0}\"\uC758 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC640 portName \"{1}\"\uC758 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4. +runtime.modeler.no.package=\uD328\uD0A4\uC9C0\uAC00 \uC5C6\uB294 \uD074\uB798\uC2A4\uC5D0 \uB300\uD574 @WebService.targetNamespace\uB97C \uC9C0\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4: {0} +runtime.modeler.no.operations={0} \uD074\uB798\uC2A4\uAC00 \uC815\uC758\uD55C \uC6F9 \uC11C\uBE44\uC2A4\uC5D0 \uC801\uD569\uD55C WebMethods\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +runtime.modeler.mtom.conflict = @BindingType\uC5D0 \uC624\uB958 \uBC1C\uC0DD: \uBC14\uC778\uB529 \uC2DD\uBCC4\uC790 {0}\uC758 MTOM \uAD6C\uC131\uC774 @MTOM {1} \uAE30\uB2A5\uACFC \uCDA9\uB3CC\uD569\uB2C8\uB2E4. +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= \uAD6C\uD604\uC758 {0} \uAE30\uB2A5\uC774 WSDL \uAD6C\uC131\uC758 {1}\uACFC(\uC640) \uCDA9\uB3CC\uD569\uB2C8\uB2E4. +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = JAX-WS 2.1 API\uAC00 {0}\uC5D0\uC11C \uB85C\uB4DC\uB418\uC5C8\uC9C0\uB9CC JAX-WS \uB7F0\uD0C0\uC784\uC5D0 JAX-WS 2.2 API\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. \uC778\uC99D\uB41C \uD45C\uC900 \uBB34\uD6A8\uD654 \uBC29\uC2DD\uC744 \uC0AC\uC6A9\uD558\uC5EC AX-WS 2.2 API\uB97C \uB85C\uB4DC\uD558\uC2ED\uC2DC\uC624. +runtime.modeler.wsfeature.no.ftrconstructor={0} \uC8FC\uC11D\uC744 \uC778\uC2DD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD558\uB098 \uC774\uC0C1\uC758 {1} \uC0DD\uC131\uC790\uAC00 @FeatureConstructor\uB85C \uD45C\uC2DC\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +runtime.modeler.wsfeature.morethanone.ftrconstructor={0} \uC8FC\uC11D\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD558\uB098\uC758 {1} \uC0DD\uC131\uC790\uB9CC @FeatureConstructor\uB85C \uD45C\uC2DC\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +runtime.modeler.wsfeature.illegal.ftrconstructor={0} \uC8FC\uC11D\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. {1}\uC5D0\uC11C @FeatureConstructor \uAC12\uC774 \uC0DD\uC131\uC790 \uB9E4\uAC1C\uBCC0\uC218\uC640 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= {1}\uC5D0 {0} \uC8FC\uC11D\uC774 \uC798\uBABB \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. ParameterStyle\uC740 RPC \uC2A4\uD0C0\uC77C \uC6F9 \uC11C\uBE44\uC2A4\uB85C\uB9CC WRAPPED\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +runtime.modeler.soapbinding.conflict= {1} \uBA54\uC18C\uB4DC\uC5D0 \uB300\uD55C SOAPBinding \uC2A4\uD0C0\uC77C {0}\uC774(\uAC00) \uC804\uC5ED SOAPBinding \uC2A4\uD0C0\uC77C {2}\uACFC(\uC640) \uCDA9\uB3CC\uD569\uB2C8\uB2E4. +runtimemodeler.invalid.soapbindingOnMethod={2} \uD074\uB798\uC2A4\uC758 {1} \uBA54\uC18C\uB4DC\uC5D0 \uBD80\uC801\uD569\uD55C \uC8FC\uC11D {0}\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. \uBA54\uC18C\uB4DC\uB294 \"RPC\" \uC2A4\uD0C0\uC77C\uC758 @SOAPBinding\uC73C\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +unable.to.create.JAXBContext=JAXBContext\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0}\uC758 {1} \uBA54\uC18C\uB4DC\uAC00 BARE\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC9C0\uB9CC \uB450 \uAC1C \uC774\uC0C1\uC758 \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uBCF8\uBB38\uC5D0 \uBC14\uC778\uB4DC\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB294 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. \uBA54\uC18C\uB4DC\uB97C @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED \uC8FC\uC11D\uC73C\uB85C \uC8FC\uC11D \uCC98\uB9AC\uD558\uC2ED\uC2DC\uC624. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=erro do modelador de runtime: {0} + +runtime.modeler.no.webservice.annotation=Uma anota\u00E7\u00E3o do WebService n\u00E3o est\u00E1 presente na classe: {0} +runtime.modeler.endpoint.interface.no.webservice=A Interface do Ponto Final: {0} n\u00E3o tem Anota\u00E7\u00E3o do WebService +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=n\u00E3o foi poss\u00EDvel encontrar a classe: {0} +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=A classe {0} de wrapper n\u00E3o foi encontrada. Voc\u00EA executou o processamento da anota\u00E7\u00E3o para ger\u00E1-la? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=n\u00E3o foi poss\u00EDvel encontrar o m\u00E9todo: {0} na classe: {1} +runtime.modeler.webmethod.must.be.public=@WebMethod n\u00E3o \u00E9 permitido em um m\u00E9todo n\u00E3o p\u00FAblico {0} +runtime.modeler.webmethod.must.be.nonstatic=@WebMethod n\u00E3o \u00E9 permitido em um m\u00E9todo est\u00E1tico {0} +runtime.modeler.webmethod.must.be.nonstaticfinal=@WebMethod n\u00E3o \u00E9 permitido em um m\u00E9todo est\u00E1tico ou final {0} +runtime.modeler.oneway.operation.no.out.parameters=a opera\u00E7\u00E3o unidirecional n\u00E3o deve ter a classe de par\u00E2metros OUT: {0} m\u00E9todo: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=A opera\u00E7\u00E3o unidirecional n\u00E3o deve gerar nenhuma classe {0}: m\u00E9todo: {1} gera\u00E7\u00F5es: {2} de exce\u00E7\u00F5es verificadas +runtime.modeler.cannot.get.serviceName.from.interface=O serviceName n\u00E3o pode ser recuperado de uma interface. classe {0} +runtime.modeler.portname.servicename.namespace.mismatch=O namespace do serviceName \\"{0}\\" e o namespace do portName \\"{1}\\" devem ser correspondentes +runtime.modeler.no.package=Um @WebService.targetNamespace deve ser especificado nas classes sem pacote. Classe: {0} +runtime.modeler.no.operations=O web service definido pela classe {0} n\u00E3o cont\u00E9m nenhum WebMethods v\u00E1lido. +runtime.modeler.mtom.conflict = Erro em @BindingType: a Configura\u00E7\u00E3o de MTOM no identificador de bind {0} est\u00E1 em conflito com o recurso @MTOM {1} +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= O recurso {0} na implementa\u00E7\u00E3o est\u00E1 em conflito com {1} na configura\u00E7\u00E3o do WSDL +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = A API de JAX-WS 2.1 foi carregada de {0}, mas o runtime de JAX-WS requer a API JAX-WS 2.2. Use o mecanismo de substitui\u00E7\u00E3o de padr\u00F5es endossados para carregar a API de JAX-WS 2.2 +runtime.modeler.wsfeature.no.ftrconstructor=A anota\u00E7\u00E3o {0} n\u00E3o \u00E9 reconhec\u00EDvel, pelo menos um construtor de {1} deve ser marcado com @FeatureConstructor +runtime.modeler.wsfeature.morethanone.ftrconstructor=A anota\u00E7\u00E3o {0} \u00E9 inv\u00E1lida. Somente um construtor de {1} pode ser marcado como @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=A anota\u00E7\u00E3o {0} \u00E9 inv\u00E1lida. No {1} o valor de @FeatureConstructor n\u00E3o corresponde aos par\u00E2metros do construtor +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= Uso incorreto da Anota\u00E7\u00E3o {0} em {1}; o ParameterStyle s\u00F3 pode ser WRAPPED com o Web service de Estilo de RPC. +runtime.modeler.soapbinding.conflict= O Estilo de SOAPBinding {0} do m\u00E9todo {1} est\u00E1 em conflito com o Estilo SOAPBinding {2} global +runtimemodeler.invalid.soapbindingOnMethod=Anota\u00E7\u00E3o inv\u00E1lida: {0} no M\u00E9todo {1} na Classe {2}. Um m\u00E9todo n\u00E3o pode ser anotado com @SOAPBinding com Estilo \\"RPC\\" +unable.to.create.JAXBContext=N\u00E3o \u00E9 poss\u00EDvel criar o JAXBContext +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0} tem o m\u00E9todo {1} anotado como BARE, mas tem mais de um par\u00E2metro vinculado ao corpo. Ele \u00E9 v\u00E1lido. Anote o m\u00E9todo com a anota\u00E7\u00E3o: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=\u8FD0\u884C\u65F6\u5EFA\u6A21\u7A0B\u5E8F\u9519\u8BEF: {0} + +runtime.modeler.no.webservice.annotation=\u7C7B\u4E0A\u4E0D\u5B58\u5728 Web \u670D\u52A1\u6CE8\u91CA: {0} +runtime.modeler.endpoint.interface.no.webservice=\u7AEF\u70B9\u63A5\u53E3{0}\u6CA1\u6709 Web \u670D\u52A1\u6CE8\u91CA +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=\u627E\u4E0D\u5230\u7C7B{0} +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=\u672A\u627E\u5230\u5305\u88C5\u7C7B{0}\u3002\u60A8\u662F\u5426\u5DF2\u8FD0\u884C\u6CE8\u91CA\u5904\u7406\u6765\u751F\u6210\u5B83\u4EEC? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=\u5728\u7C7B{1}\u4E0A\u627E\u4E0D\u5230\u65B9\u6CD5{0} +runtime.modeler.webmethod.must.be.public=\u975E\u516C\u5171\u65B9\u6CD5{0}\u4E0A\u4E0D\u5141\u8BB8\u6709 @WebMethod +runtime.modeler.webmethod.must.be.nonstatic=\u9759\u6001\u65B9\u6CD5{0}\u4E0A\u4E0D\u5141\u8BB8\u6709 @WebMethod +runtime.modeler.webmethod.must.be.nonstaticfinal=\u9759\u6001\u6216\u6700\u7EC8\u65B9\u6CD5{0}\u4E0A\u4E0D\u5141\u8BB8\u6709 @WebMethod +runtime.modeler.oneway.operation.no.out.parameters=\u5355\u5411\u64CD\u4F5C\u4E0D\u5E94\u6709 OUT \u53C2\u6570\u7C7B: {0}, \u65B9\u6CD5: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=\u5355\u5411\u64CD\u4F5C\u4E0D\u80FD\u629B\u51FA\u4EFB\u4F55\u9009\u4E2D\u7684\u5F02\u5E38\u9519\u8BEF\u7C7B: {0}, \u65B9\u6CD5: {1}, \u629B\u51FA: {2} +runtime.modeler.cannot.get.serviceName.from.interface=\u65E0\u6CD5\u4ECE\u63A5\u53E3\u68C0\u7D22 serviceName\u3002\u7C7B{0} +runtime.modeler.portname.servicename.namespace.mismatch=serviceName \"{0}\" \u7684\u540D\u79F0\u7A7A\u95F4\u4E0E portName \"{1}\" \u7684\u540D\u79F0\u7A7A\u95F4\u5FC5\u987B\u5339\u914D +runtime.modeler.no.package=\u5FC5\u987B\u5728\u6CA1\u6709\u7A0B\u5E8F\u5305\u7684\u7C7B\u4E0A\u6307\u5B9A @WebService.targetNamespace\u3002\u7C7B: {0} +runtime.modeler.no.operations=\u7531\u7C7B{0}\u5B9A\u4E49\u7684 Web \u670D\u52A1\u4E0D\u5305\u542B\u4EFB\u4F55\u6709\u6548\u7684 WebMethods\u3002 +runtime.modeler.mtom.conflict = @BindingType \u4E2D\u51FA\u9519: \u7ED1\u5B9A\u6807\u8BC6\u7B26{0}\u4E2D\u7684 MTOM \u914D\u7F6E\u4E0E\u529F\u80FD @MTOM {1}\u53D1\u751F\u51B2\u7A81 +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= \u5B9E\u73B0\u4E2D\u7684\u529F\u80FD{0}\u4E0E WSDL \u914D\u7F6E\u4E2D\u7684{1}\u53D1\u751F\u51B2\u7A81 +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = JAX-WS 2.1 API \u5DF2\u4ECE{0}\u4E2D\u52A0\u8F7D, \u4F46 JAX-WS \u8FD0\u884C\u65F6\u9700\u8981 JAX-WS 2.2 API\u3002\u8BF7\u4F7F\u7528\u6388\u6743\u6807\u51C6\u8986\u76D6\u673A\u5236\u6765\u52A0\u8F7D JAX-WS 2.2 API +runtime.modeler.wsfeature.no.ftrconstructor=\u65E0\u6CD5\u8BC6\u522B\u6CE8\u91CA{0}, \u5E94\u4F7F\u7528 @FeatureConstructor \u81F3\u5C11\u6807\u8BB0{1}\u7684\u4E00\u4E2A\u6784\u9020\u5668 +runtime.modeler.wsfeature.morethanone.ftrconstructor=\u6CE8\u91CA{0}\u662F\u975E\u6CD5\u7684, \u53EA\u80FD\u5C06{1}\u7684\u4E00\u4E2A\u6784\u9020\u5668\u6807\u8BB0\u4E3A @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=\u6CE8\u91CA{0}\u662F\u975E\u6CD5\u7684, \u5728{1}\u4E2D, @FeatureConstructor \u503C\u4E0E\u6784\u9020\u5668\u53C2\u6570\u4E0D\u5339\u914D +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= {1}\u4E0A\u6CE8\u91CA{0}\u7684\u7528\u6CD5\u4E0D\u6B63\u786E, ParameterStyle \u53EA\u80FD\u662F\u5E26\u6709 RPC \u6837\u5F0F Web \u670D\u52A1\u7684 WRAPPED\u3002 +runtime.modeler.soapbinding.conflict= \u65B9\u6CD5{1}\u7684 SOAPBinding \u6837\u5F0F{0}\u4E0E\u5168\u5C40 SOAPBinding \u6837\u5F0F{2}\u53D1\u751F\u51B2\u7A81 +runtimemodeler.invalid.soapbindingOnMethod=\u7C7B{2}\u4E2D\u7684\u65B9\u6CD5{1}\u4E0A\u7684\u6CE8\u91CA{0}\u65E0\u6548, \u65B9\u6CD5\u4E0D\u80FD\u4F7F\u7528\u5177\u6709\u6837\u5F0F \"RPC\" \u7684 @SOAPBinding \u8FDB\u884C\u6CE8\u91CA +unable.to.create.JAXBContext=\u65E0\u6CD5\u521B\u5EFA JAXBContext +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0}\u5177\u6709\u6CE8\u91CA\u4E3A BARE \u7684\u65B9\u6CD5{1}, \u4F46\u8BE5\u65B9\u6CD5\u6709\u591A\u4E2A\u53C2\u6570\u7ED1\u5B9A\u5230\u4E3B\u4F53\u3002\u8FD9\u662F\u65E0\u6548\u7684\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u6CE8\u91CA\u5BF9\u8BE5\u65B9\u6CD5\u8FDB\u884C\u6CE8\u91CA: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/modeler_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,60 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +nestedModelerError=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u6A21\u578B\u88FD\u4F5C\u5668\u932F\u8AA4: {0} + +runtime.modeler.no.webservice.annotation=Web \u670D\u52D9\u8A3B\u89E3\u4E0D\u5B58\u5728\u4E0B\u5217\u985E\u5225\u4E2D: {0} +runtime.modeler.endpoint.interface.no.webservice=\u7AEF\u9EDE\u4ECB\u9762: {0} \u672A\u5305\u542B Web \u670D\u52D9\u8A3B\u89E3 +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.class.not.found=\u627E\u4E0D\u5230\u985E\u5225: {0} +# APT - Annotation Processing Tool. Should not be translated. +runtime.modeler.wrapper.not.found=\u627E\u4E0D\u5230\u5305\u88DD\u51FD\u5F0F\u985E\u5225 {0}. \u60A8\u662F\u5426\u5DF2\u57F7\u884C\u8A3B\u89E3\u8655\u7406\u4F86\u7522\u751F\u5B83\u5011? +# Wrapped into an Exception. Not concatenated with any other string. +runtime.modeler.method.not.found=\u5728\u985E\u5225: {1} \u627E\u4E0D\u5230\u65B9\u6CD5: {0} +runtime.modeler.webmethod.must.be.public=\u4E0D\u5141\u8A31\u5728\u975E\u516C\u7528\u65B9\u6CD5 {0} \u4E2D\u4F7F\u7528 @WebMethod +runtime.modeler.webmethod.must.be.nonstatic=\u4E0D\u5141\u8A31\u5728\u975C\u614B\u65B9\u6CD5 {0} \u4E2D\u4F7F\u7528 @WebMethod +runtime.modeler.webmethod.must.be.nonstaticfinal=\u4E0D\u5141\u8A31\u5728\u975C\u614B\u6216\u6700\u7D42\u65B9\u6CD5 {0} \u4E2D\u4F7F\u7528 @WebMethod +runtime.modeler.oneway.operation.no.out.parameters=\u55AE\u5411\u4F5C\u696D\u4E0D\u61C9\u5305\u542B OUT \u53C3\u6578\u985E\u5225: {0} \u65B9\u6CD5: {1} +runtime.modeler.oneway.operation.no.checked.exceptions=\u55AE\u5411\u4F5C\u696D\u4E0D\u61C9\u767C\u51FA\u4EFB\u4F55\u5DF2\u6AA2\u67E5\u7684\u7570\u5E38\u72C0\u6CC1\u985E\u5225: {0} \u65B9\u6CD5: {1} \u767C\u51FA: {2} +runtime.modeler.cannot.get.serviceName.from.interface=\u7121\u6CD5\u5F9E\u4ECB\u9762\u64F7\u53D6 serviceName. \u985E\u5225 {0} +runtime.modeler.portname.servicename.namespace.mismatch=serviceName \"{0}\" \u7684\u547D\u540D\u7A7A\u9593\u8207 portName \"{1}\" \u7684\u547D\u540D\u7A7A\u9593\u5FC5\u9808\u76F8\u7B26 +runtime.modeler.no.package=\u6C92\u6709\u5957\u88DD\u7A0B\u5F0F\u7684\u985E\u5225\u5FC5\u9808\u6307\u5B9A @WebService.targetNamespace. \u985E\u5225: {0} +runtime.modeler.no.operations=\u985E\u5225 {0} \u5B9A\u7FA9\u7684 Web \u670D\u52D9\u672A\u5305\u542B\u4EFB\u4F55\u6709\u6548\u7684 WebMethod. +runtime.modeler.mtom.conflict = @BindingType \u767C\u751F\u932F\u8AA4: \u9023\u7D50 ID {0} \u4E2D\u7684 MTOM \u7D44\u614B\u8207\u529F\u80FD @MTOM {1} \u767C\u751F\u885D\u7A81 +# {0} - feature class name, {1} - feature class name +runtime.modeler.feature.conflict= \u5BE6\u884C\u4E2D\u7684\u529F\u80FD {0} \u8207 WSDL \u7D44\u614B\u4E2D\u7684 {1} \u767C\u751F\u885D\u7A81 +# {0} - absolute class location +runtime.modeler.addressing.responses.nosuchmethod = JAX-WS 2.1 API \u5DF2\u5F9E {0} \u8F09\u5165, \u4F46 JAX-WS \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u9700\u8981 JAX-WS 2.2 API. \u8ACB\u4F7F\u7528\u8A8D\u53EF\u7684\u6A19\u6E96\u8986\u5BEB\u6A5F\u5236\u4F86\u8F09\u5165 JAX-WS 2.2 API +runtime.modeler.wsfeature.no.ftrconstructor=\u8A3B\u89E3 {0} \u7121\u6CD5\u8FA8\u8B58, \u81F3\u5C11\u4E00\u500B {1} \u7684\u5EFA\u69CB\u5B50\u61C9\u6A19\u793A @FeatureConstructor +runtime.modeler.wsfeature.morethanone.ftrconstructor=\u8A3B\u89E3 {0} \u7121\u6548, \u53EA\u80FD\u6709\u4E00\u500B {1} \u7684\u5EFA\u69CB\u5B50\u6A19\u793A\u70BA @FeatureConstructor +runtime.modeler.wsfeature.illegal.ftrconstructor=\u8A3B\u89E3 {0} \u7121\u6548, \u5728 {1} \u4E2D, @FeatureConstructor \u503C\u8207\u5EFA\u69CB\u5B50\u53C3\u6578\u4E0D\u7B26 +# WRAPPED is a member of enumeration and should not be translated. {0} - SoapBinding annotation, {1} - class name +runtime.modeler.invalid.soapbinding.parameterstyle= {1} \u7684\u8A3B\u89E3 {0} \u7528\u6CD5\u4E0D\u6B63\u78BA, ParameterStyle \u53EA\u80FD\u662F\u4F7F\u7528 RPC \u6A23\u5F0F Web \u670D\u52D9\u7684 WRAPPED. +runtime.modeler.soapbinding.conflict= \u65B9\u6CD5 {1} \u7684 SOAPBinding \u6A23\u5F0F {0} \u8207\u5168\u57DF SOAPBinding \u6A23\u5F0F {2} \u885D\u7A81 +runtimemodeler.invalid.soapbindingOnMethod=\u985E\u5225 {2} \u65B9\u6CD5 {1} \u4E2D\u7684\u8A3B\u89E3: {0} \u7121\u6548, \u4E0D\u80FD\u4F7F\u7528\u5177\u6709\u6A23\u5F0F \"RPC\" \u7684 @SOAPBinding \u4F86\u52A0\u8A3B\u65B9\u6CD5 +unable.to.create.JAXBContext=\u7121\u6CD5\u5EFA\u7ACB JAXBContext +# BARE is a member of enumeration and should not be translated. +not.a.valid.bare.method=SEI {0} \u7684\u65B9\u6CD5 {1} \u5DF2\u52A0\u8A3B\u70BA BARE, \u4F46\u5176\u6709\u4E00\u500B\u4EE5\u4E0A\u7684\u53C3\u6578\u9023\u7D50\u81F3\u4E3B\u9AD4. \u9019\u662F\u7121\u6548\u7684. \u8ACB\u4F7F\u7528\u8A3B\u89E3: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) \u5C07\u65B9\u6CD5\u52A0\u8A3B diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 @@ -45,3 +45,4 @@ WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: Failed to marshal policy "{0}". WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: Failed to find any configuration file. Creating new empty policy map. WSP_1020_DUPLICATE_ID=WSP1020: Found two policies in one document with the same id: "{0}". +WSP_1021_FAULT_NOT_BOUND=WSP1021: Fault "{0}" not bound. Check names in port and binding definitions. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: XMLStreamException beim Lesen des Policy-Referenzelements. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: Marshalling von Policy oder deren Referenz nicht m\u00F6glich. Weitere Einzelheiten finden Sie in der urspr\u00FCnglichen Ausnahme. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: Elementname f\u00FCr Klasse "{0}" und WSDL-Name "{1}" kann nicht gepr\u00FCft werden. +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: Policy-URIs d\u00FCrfen nicht null sein. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: Policy, die von URI "{0}" referenziert wird, konnte nicht gefunden werden. +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: Policy-Zuordnungserweiterung darf nicht null sein. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: Policy-Ausnahme bei Abschluss des WSDL-Parsings aufgetreten. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: Keine Marshalling Policy, WSDL-Subject ist null f\u00FCr "{0}". +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: Policy-Zuordnung war null, kein Marshalling von Policys. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: Keine Policys definiert. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: G\u00FCltige Policy f\u00FCr Subject konnte nicht abgerufen werden: {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: WSDL-Modell konnte nicht konfiguriert werden. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: Ausnahme beim Lesen des Policy-Elements aufgetreten. Bis jetzt wurde Folgendes gelesen: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: Policy "{0}" kann nicht gefunden werden, die von WSDL referenziert wird. Pr\u00FCfen Sie die Policy-Referenzen in der WSDL. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: Serverseitige Assertionsvalidierung f\u00FCr "{0}"-Assertion war nicht erfolgreich. Assertion wurde als "{1}" ausgewertet. +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: Die Policy wird nicht hinzugef\u00FCgt, weil sie keine ID hat oder weil bereits eine Policy mit derselben ID hinzugef\u00FCgt wurde: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: Setup der Policy-Zuordnung nicht erfolgreich - Ausnahme beim Versuch, Content der Policy-Zuordnung zu \u00E4ndern. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: Marshalling von Policy "{0}" nicht erfolgreich. +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: Es konnte keine Konfigurationsdatei gefunden werden. Eine neue leere Policy-Zuordnung wird erstellt. +WSP_1020_DUPLICATE_ID=WSP1020: Es wurde zwei Policys mit derselben ID in einem Dokument gefunden: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: se ha producido una excepci\u00F3n de flujo XML al leer el elemento de referencia de la pol\u00EDtica. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: no se ha podido canalizar la pol\u00EDtica o su referencia. Consulte la excepci\u00F3n original para obtener m\u00E1s informaci\u00F3n. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: no se ha podido comprobar el nombre de elemento de la clase "{0}" y el nombre de WSDL "{1}". +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: los URI de pol\u00EDtica no pueden ser nulos. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: no se ha encontrado la pol\u00EDtica a la que hace referencia el URI "{0}". +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: el extensor de asignaciones de pol\u00EDticas no puede ser nulo. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: se ha producido una excepci\u00F3n de pol\u00EDtica al finalizar el an\u00E1lisis de WSDL. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: no se est\u00E1 canalizando la pol\u00EDtica; el asunto de WSDL es nulo para "{0}". +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: la asignaci\u00F3n de pol\u00EDtica es nula; no se est\u00E1 canalizando ninguna pol\u00EDtica. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: no se ha definido ninguna pol\u00EDtica. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: Fallo al recuperar la pol\u00EDtica efectiva para el asunto: {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: fallo al configurar el modelo de WSDL. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: se ha producido una excepci\u00F3n al leer el elemento de la pol\u00EDtica. Se ha le\u00EDdo lo siguiente hasta ahora: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: no se ha encontrado la pol\u00EDtica "{0}" a la que se hace referencia desde el WSDL. Compruebe las referencias de la pol\u00EDtica en el WSDL. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: fallo de validaci\u00F3n de afirmaci\u00F3n del servidor para la afirmaci\u00F3n "{0}". La afirmaci\u00F3n se ha evaluado como "{1}". +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: La pol\u00EDtica no se ha agregado porque no tiene un identificador o ya se ha agregado una pol\u00EDtica con el mismo identificador: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: Fallo en la configuraci\u00F3n de asignaci\u00F3n de pol\u00EDticas: se ha producido una excepci\u00F3n al intentar modificar el contenido de asignaci\u00F3n de pol\u00EDticas. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: fallo al canalizar la pol\u00EDtica "{0}". +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: no se ha encontrado ning\u00FAn archivo de configuraci\u00F3n. Creando nueva asignaci\u00F3n de pol\u00EDtica vac\u00EDa. +WSP_1020_DUPLICATE_ID=WSP1020: Se han encontrado dos pol\u00EDticas en un documento con el mismo identificador: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001 : une exception XMLStreamException s'est produite lors de la lecture de l'\u00E9l\u00E9ment de r\u00E9f\u00E9rence de strat\u00E9gie. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002 : impossible de s\u00E9rialiser la strat\u00E9gie ou sa r\u00E9f\u00E9rence. Pour plus de d\u00E9tails, consultez l'exception d'origine. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003 : impossible de v\u00E9rifier le nom d''\u00E9l\u00E9ment pour la classe "{0}" et le nom WSDL "{1}". +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004 : les URI de strat\u00E9gie ne peuvent pas \u00EAtre NULL. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005 : strat\u00E9gie r\u00E9f\u00E9renc\u00E9e par l''URI "{0}" introuvable. +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006 : l'extension de la mappe de strat\u00E9gie ne peut pas \u00EAtre NULL. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007 : une exception de strat\u00E9gie s'est produite lors de la finalisation de l'analyse WSDL. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008 : aucune strat\u00E9gie de s\u00E9rialisation, le sujet WSDL est NULL pour "{0}". +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009 : la mappe de strat\u00E9gie \u00E9tait NULL, aucune s\u00E9rialisation des strat\u00E9gies. +WSP_1010_NO_POLICIES_DEFINED=WSP1010 : aucune strat\u00E9gie d\u00E9finie. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011 : \u00E9chec de l''extraction de la strat\u00E9gie en cours pour le sujet {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012 : \u00E9chec de la configuration du mod\u00E8le WSDL. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013 : une exception s''est produite lors de la lecture de l''\u00E9l\u00E9ment de strat\u00E9gie. Voici ce qui a \u00E9t\u00E9 lu jusqu''\u00E0 pr\u00E9sent : {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014 : la strat\u00E9gie "{0}" r\u00E9f\u00E9renc\u00E9e \u00E0 partir du WSDL est introuvable. V\u00E9rifiez les r\u00E9f\u00E9rences de strat\u00E9gie dans le WSDL. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015 : \u00E9chec de la validation d''assertion c\u00F4t\u00E9 serveur pour l''assertion "{0}". L''assertion a \u00E9t\u00E9 \u00E9valu\u00E9e en tant que "{1}". +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016 : la strat\u00E9gie n''est pas ajout\u00E9e car elle ne contient aucun ID ou une strat\u00E9gie avec le m\u00EAme ID a d\u00E9j\u00E0 \u00E9t\u00E9 ajout\u00E9e : {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048 : \u00E9chec de configuration de la mappe de strat\u00E9gie. Une exception s'est produite lors de la tentative de modification du contenu de la mappe de strat\u00E9gie. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018 : \u00E9chec de la s\u00E9rialisation de la strat\u00E9gie "{0}". +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019 : fichier de configuration introuvable. Cr\u00E9ation d'une mappe de strat\u00E9gie vide. +WSP_1020_DUPLICATE_ID=WSP1020 : deux strat\u00E9gies trouv\u00E9es dans un document avec le m\u00EAme ID : "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: Si \u00E8 verificata una XMLStreamException durante la lettura dell'elemento di riferimento del criterio. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: Impossibile eseguire il marshalling del criterio o del relativo riferimento. Vedere l'eccezione originale per ulteriori dettagli. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: Impossibile controllare il nome dell''elemento per la classe "{0}" e il nome WSDL "{1}". +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: Gli URI del criterio non possono essere nulli. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: Individuazione non riuscita del criterio a cui viene fatto riferimento dall''URI: {0}. +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1004: L'estensione della mappa dei criteri non pu\u00F2 essere nulla. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: Si \u00E8 verificata un'eccezione del criterio alla fine dell'analisi WSDL. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: Non viene eseguito il marshalling del criterio. L''oggetto WSDL \u00E8 nullo per "{0}". +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1004: La mappa dei criteri \u00E8 nulla. Non viene eseguito il marshalling di alcun criterio. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: Nessun criterio definito. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: Recupero non riuscito del criterio effettivo per l''oggetto: {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: Configurazione del modello WSDL non riuscita. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: Si \u00E8 verificata un''eccezione durante la lettura dell''elemento del criterio. Di seguito \u00E8 riportato quanto \u00E8 stato letto finora: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: Impossibile trovare il criterio "{0}" a cui viene fatto riferimento nel WSDL. Controllare i riferimenti del criterio nel WSDL. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: Convalida dell''asserzione lato server non riuscita per l''asserzione "{0}". L''asserzione \u00E8 stata valutata come "{1}". +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: Il criterio non viene aggiunto perch\u00E9 non ha un ID oppure \u00E8 gi\u00E0 stato aggiunto un criterio con lo stesso ID: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: Impostazione della mappa dei criteri non riuscita. Si \u00E8 verificata un'eccezione durante il tentativo di modifica del contenuto della mappa dei criteri. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: Marshalling del criterio "{0}" non riuscito. +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: Individuazione di un file di configurazione non riuscita. Viene creata una nuova mappa dei criteri vuota. +WSP_1020_DUPLICATE_ID=WSP1020: Trovati due criteri in un documento con lo stesso ID: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: \u30DD\u30EA\u30B7\u30FC\u53C2\u7167\u8981\u7D20\u306E\u8AAD\u53D6\u308A\u4E2D\u306BXMLStreamException\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002 +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: \u30DD\u30EA\u30B7\u30FC\u307E\u305F\u306F\u30DD\u30EA\u30B7\u30FC\u306E\u53C2\u7167\u3092\u30DE\u30FC\u30B7\u30E3\u30EA\u30F3\u30B0\u3067\u304D\u307E\u305B\u3093\u3002\u8A73\u7D30\u306F\u5143\u306E\u4F8B\u5916\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: \u30AF\u30E9\u30B9"{0}"\u306E\u8981\u7D20\u540D\u304A\u3088\u3073WSDL\u540D"{1}"\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093\u3002 +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: \u30DD\u30EA\u30B7\u30FCURI\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093\u3002 +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: URI "{0}"\u3067\u53C2\u7167\u3055\u308C\u3066\u3044\u308B\u30DD\u30EA\u30B7\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002 +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: \u30DD\u30EA\u30B7\u30FC\u30FB\u30DE\u30C3\u30D7\u62E1\u5F35\u6A5F\u80FD\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093\u3002 +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: WSDL\u89E3\u6790\u306E\u7D42\u4E86\u6642\u306B\u30DD\u30EA\u30B7\u30FC\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002 +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: \u30DD\u30EA\u30B7\u30FC\u3092\u30DE\u30FC\u30B7\u30E3\u30EA\u30F3\u30B0\u3057\u3066\u3044\u307E\u305B\u3093\u3002"{0}"\u306EWSDL\u30B5\u30D6\u30B8\u30A7\u30AF\u30C8\u304Cnull\u3067\u3059\u3002 +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: \u30DD\u30EA\u30B7\u30FC\u30FB\u30DE\u30C3\u30D7\u304Cnull\u3067\u3042\u308A\u3001\u3044\u305A\u308C\u306E\u30DD\u30EA\u30B7\u30FC\u3082\u30DE\u30FC\u30B7\u30E3\u30EA\u30F3\u30B0\u3057\u3066\u3044\u307E\u305B\u3093\u3002 +WSP_1010_NO_POLICIES_DEFINED=WSP1010: \u30DD\u30EA\u30B7\u30FC\u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: \u30B5\u30D6\u30B8\u30A7\u30AF\u30C8: {0}\u306E\u6709\u52B9\u306A\u30DD\u30EA\u30B7\u30FC\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: WSDL\u30E2\u30C7\u30EB\u306E\u69CB\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: \u30DD\u30EA\u30B7\u30FC\u8981\u7D20\u306E\u8AAD\u53D6\u308A\u4E2D\u306B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u3053\u308C\u307E\u3067\u8AAD\u307F\u53D6\u3089\u308C\u305F\u5185\u5BB9\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059: {0}\u3002 +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: WSDL\u304B\u3089\u53C2\u7167\u3055\u308C\u3066\u3044\u308B\u30DD\u30EA\u30B7\u30FC"{0}"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002WSDL\u3067\u306E\u30DD\u30EA\u30B7\u30FC\u53C2\u7167\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: \u30B5\u30FC\u30D0\u30FC\u5074\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u691C\u8A3C\u304C"{0}"\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u3067\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30A2\u30B5\u30FC\u30B7\u30E7\u30F3\u306F"{1}"\u3068\u3057\u3066\u8A55\u4FA1\u3055\u308C\u307E\u3057\u305F\u3002 +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: \u30DD\u30EA\u30B7\u30FC\u306BID\u304C\u306A\u3044\u304B\u3001\u540C\u3058ID\u3092\u6301\u3064\u30DD\u30EA\u30B7\u30FC\u304C\u3059\u3067\u306B\u8FFD\u52A0\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3053\u306E\u30DD\u30EA\u30B7\u30FC\u306F\u8FFD\u52A0\u3055\u308C\u3066\u3044\u307E\u305B\u3093: {0}\u3002 +WSP_1017_MAP_UPDATE_FAILED=WSP1048: \u30DD\u30EA\u30B7\u30FC\u30FB\u30DE\u30C3\u30D7\u306E\u8A2D\u5B9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F - \u30DD\u30EA\u30B7\u30FC\u30FB\u30DE\u30C3\u30D7\u30FB\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5909\u66F4\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308B\u3068\u304D\u306B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002 +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: \u30DD\u30EA\u30B7\u30FC"{0}"\u306E\u30DE\u30FC\u30B7\u30E3\u30EA\u30F3\u30B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: \u69CB\u6210\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u7A7A\u306E\u65B0\u898F\u30DD\u30EA\u30B7\u30FC\u30FB\u30DE\u30C3\u30D7\u3092\u4F5C\u6210\u3057\u3066\u3044\u307E\u3059\u3002 +WSP_1020_DUPLICATE_ID=WSP1020: 1\u3064\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u306B\u3001\u540C\u3058ID: "{0}"\u3092\u6301\u30642\u3064\u306E\u30DD\u30EA\u30B7\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: \uC815\uCC45 \uCC38\uC870 \uC694\uC18C\uB97C \uC77D\uB294 \uC911 XMLStreamException\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: \uC815\uCC45 \uB610\uB294 \uD574\uB2F9 \uCC38\uC870\uB97C \uB9C8\uC15C\uB9C1\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uC6D0\uB798 \uC608\uC678 \uC0AC\uD56D\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: "{0}" \uD074\uB798\uC2A4 \uBC0F WSDL \uC774\uB984 "{1}"\uC5D0 \uB300\uD55C \uC694\uC18C \uC774\uB984\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: \uC815\uCC45 URI\uB294 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: URI "{0}"\uC774(\uAC00) \uCC38\uC870\uD558\uB294 \uC815\uCC45 \uCC3E\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: \uC815\uCC45 \uB9F5 \uD655\uC7A5\uAE30\uB294 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: WSDL \uAD6C\uBB38 \uBD84\uC11D\uC744 \uC644\uB8CC\uD558\uB294 \uC911 \uC815\uCC45 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: \uC815\uCC45\uC744 \uB9C8\uC15C\uB9C1\uD558\uACE0 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. "{0}"\uC5D0 \uB300\uD55C WSDL \uC8FC\uCCB4\uAC00 \uB110\uC785\uB2C8\uB2E4. +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: \uC815\uCC45 \uB9F5\uC774 \uB110\uC785\uB2C8\uB2E4. \uC815\uCC45\uC744 \uB9C8\uC15C\uB9C1\uD558\uACE0 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: \uC815\uC758\uB41C \uC815\uCC45\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: \uC8FC\uCCB4\uC5D0 \uB300\uD55C \uC720\uD6A8\uD55C \uC815\uCC45 \uAC80\uC0C9 \uC2E4\uD328: {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: WSDL \uBAA8\uB378 \uAD6C\uC131\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: \uC815\uCC45 \uC694\uC18C\uB97C \uC77D\uB294 \uC911 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC9C0\uAE08\uAE4C\uC9C0 \uC77D\uC740 \uC694\uC18C: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: WSDL\uC5D0\uC11C \uCC38\uC870\uB41C "{0}" \uC815\uCC45\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. WSDL\uC5D0\uC11C \uC815\uCC45 \uCC38\uC870\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: "{0}" \uBA85\uC81C\uC5D0 \uB300\uD55C \uC11C\uBC84\uCE21 \uBA85\uC81C \uAC80\uC99D\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBA85\uC81C\uAC00 "{1}"(\uC73C)\uB85C \uD3C9\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: \uC815\uCC45\uC5D0 ID\uAC00 \uC5C6\uAC70\uB098 \uB3D9\uC77C\uD55C ID\uB97C \uC0AC\uC6A9\uD558\uB294 \uC815\uCC45\uC774 \uC774\uBBF8 \uCD94\uAC00\uB418\uC5B4 \uC815\uCC45\uC774 \uCD94\uAC00\uB418\uC9C0 \uC54A\uC74C: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: \uC815\uCC45 \uB9F5 \uC124\uC815 \uC2E4\uD328 - \uC815\uCC45 \uB9F5 \uCF58\uD150\uCE20\uB97C \uC218\uC815\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: "{0}" \uC815\uCC45 \uB9C8\uC15C\uB9C1\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: \uAD6C\uC131 \uD30C\uC77C \uCC3E\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uBE44\uC5B4 \uC788\uB294 \uC0C8 \uC815\uCC45 \uB9F5\uC744 \uC0DD\uC131\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. +WSP_1020_DUPLICATE_ID=WSP1020: \uB3D9\uC77C\uD55C ID\uB97C \uC0AC\uC6A9\uD558\uB294 \uD558\uB098\uC758 \uBB38\uC11C\uC5D0\uC11C \uB450 \uAC1C\uC758 \uC815\uCC45\uC744 \uCC3E\uC74C: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: ocorreu XMLStreamException ao ler o elemento de refer\u00EAncia da pol\u00EDtica. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: n\u00E3o \u00E9 poss\u00EDvel efetuar marshalling da pol\u00EDtica ou de sua refer\u00EAncia. Consulte a exce\u00E7\u00E3o original para obter mais detalhes. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: n\u00E3o \u00E9 poss\u00EDvel verificar o nome do elemento da classe "{0}" e o nome do WSDL "{1}". +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: os URIs da pol\u00EDtica n\u00E3o podem ser nulos. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: falha ao localizar a pol\u00EDtica mencionada pelo URI "{0}". +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: o extensor do mapa de pol\u00EDtica n\u00E3o pode ser nulo. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: ocorreu uma exce\u00E7\u00E3o da pol\u00EDtica ao finalizar o parse do WSDL. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: n\u00E3o efetuar marshalling da pol\u00EDtica; o assunto do wsdl \u00E9 nulo para "{0}". +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: o mapa da pol\u00EDtica era nulo; n\u00E3o fazer marshall de nenhuma pol\u00EDtica. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: nenhuma pol\u00EDtica definida. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: falha ao recuperar a pol\u00EDtica efetiva do assunto: {0}. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: falha ao configurar o modelo wsdl. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: ocorreu uma exce\u00E7\u00E3o ao ler o elemento da pol\u00EDtica. O seguinte item foi lido at\u00E9 o momento: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: n\u00E3o \u00E9 poss\u00EDvel localizar a pol\u00EDtica "{0}" mencionada no WSDL. Verifique as refer\u00EAncias da pol\u00EDtica no WSDL. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: falha na valida\u00E7\u00E3o de asser\u00E7\u00E3o do servidor para a asser\u00E7\u00E3o "{0}". A asser\u00E7\u00E3o foi avaliada como "{1}". +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: a pol\u00EDtica n\u00E3o foi adicionada porque ela n\u00E3o tem ID ou porque uma pol\u00EDtica com o mesmo ID j\u00E1 foi adicionada: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: falha na configura\u00E7\u00E3o do mapa da pol\u00EDtica - ocorreu uma exce\u00E7\u00E3o ao tentar modificar o conte\u00FAdo do mapa da pol\u00EDtica. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: falha ao fazer marshall da pol\u00EDtica "{0}". +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: falha ao localizar qualquer arquivo de configura\u00E7\u00E3o. Criando novo mapa de pol\u00EDtica vazia. +WSP_1020_DUPLICATE_ID=WSP1020: foram detectadas duas pol\u00EDticas em um documento com o mesmo id: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: \u8BFB\u53D6\u7B56\u7565\u5F15\u7528\u5143\u7D20\u65F6\u51FA\u73B0 XMLStreamException\u3002 +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: \u65E0\u6CD5\u7F16\u96C6\u7B56\u7565\u6216\u5176\u5F15\u7528\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u53C2\u9605\u539F\u59CB\u5F02\u5E38\u9519\u8BEF\u3002 +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: \u65E0\u6CD5\u68C0\u67E5\u7C7B "{0}" \u7684\u5143\u7D20\u540D\u548C WSDL \u540D\u79F0 "{1}"\u3002 +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: \u7B56\u7565 URI \u4E0D\u80FD\u4E3A\u7A7A\u503C\u3002 +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: \u627E\u4E0D\u5230\u7531 URI "{0}" \u5F15\u7528\u7684\u7B56\u7565\u3002 +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: \u7B56\u7565\u6620\u5C04\u6269\u5C55\u7A0B\u5E8F\u4E0D\u80FD\u4E3A\u7A7A\u503C\u3002 +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: \u5B8C\u6210 WSDL \u89E3\u6790\u65F6\u51FA\u73B0\u7B56\u7565\u5F02\u5E38\u9519\u8BEF\u3002 +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: \u672A\u7F16\u96C6\u7B56\u7565, "{0}" \u7684 wsdl \u4E3B\u9898\u4E3A\u7A7A\u503C\u3002 +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: \u7B56\u7565\u6620\u5C04\u4E3A\u7A7A\u503C, \u672A\u7F16\u96C6\u4EFB\u4F55\u7B56\u7565\u3002 +WSP_1010_NO_POLICIES_DEFINED=WSP1010: \u672A\u5B9A\u4E49\u7B56\u7565\u3002 +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: \u65E0\u6CD5\u68C0\u7D22\u4E3B\u9898{0}\u7684\u6709\u6548\u7B56\u7565\u3002 +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: \u65E0\u6CD5\u914D\u7F6E wsdl \u6A21\u578B\u3002 +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: \u8BFB\u53D6\u7B56\u7565\u5143\u7D20\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF\u3002\u4E0B\u9762\u662F\u5230\u76EE\u524D\u4E3A\u6B62\u6240\u663E\u793A\u7684\u5185\u5BB9: {0}\u3002 +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: \u627E\u4E0D\u5230\u4ECE WSDL \u4E2D\u5F15\u7528\u7684\u7B56\u7565 "{0}"\u3002\u8BF7\u5728 WSDL \u4E2D\u68C0\u67E5\u7B56\u7565\u5F15\u7528\u3002 +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: "{0}" \u65AD\u8A00\u7684\u670D\u52A1\u5668\u7AEF\u65AD\u8A00\u9A8C\u8BC1\u5931\u8D25\u3002\u65AD\u8A00\u5DF2\u8BC4\u4F30\u4E3A "{1}"\u3002 +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: \u672A\u6DFB\u52A0\u8BE5\u7B56\u7565, \u539F\u56E0\u662F\u8BE5\u7B56\u7565\u6CA1\u6709 ID \u6216\u5DF2\u6DFB\u52A0\u5177\u6709\u76F8\u540C ID \u7684\u7B56\u7565: {0}\u3002 +WSP_1017_MAP_UPDATE_FAILED=WSP1048: \u7B56\u7565\u6620\u5C04\u8BBE\u7F6E\u5931\u8D25 - \u5C1D\u8BD5\u4FEE\u6539\u7B56\u7565\u6620\u5C04\u5185\u5BB9\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF\u3002 +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: \u65E0\u6CD5\u7F16\u96C6\u7B56\u7565 "{0}"\u3002 +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: \u627E\u4E0D\u5230\u4EFB\u4F55\u914D\u7F6E\u6587\u4EF6\u3002\u6B63\u5728\u521B\u5EFA\u65B0\u7684\u7A7A\u7B56\u7565\u6620\u5C04\u3002 +WSP_1020_DUPLICATE_ID=WSP1020: \u5728\u4E00\u4E2A\u6587\u6863\u627E\u5230\u5177\u6709\u76F8\u540C ID \u7684\u4E24\u4E2A\u7B56\u7565: "{0}"\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/policy_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,47 @@ +# +# 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. +# + +WSP_1001_XML_EXCEPTION_WHEN_PROCESSING_POLICY_REFERENCE=WSP1001: \u8B80\u53D6\u539F\u5247\u53C3\u7167\u5143\u7D20\u6642\u767C\u751F XMLStreamException. +WSP_1002_UNABLE_TO_MARSHALL_POLICY_OR_POLICY_REFERENCE=WSP1002: \u7121\u6CD5\u5C01\u9001\u8655\u7406 (Marshal) \u539F\u5247\u6216\u5176\u53C3\u7167. \u8ACB\u53C3\u95B1\u539F\u59CB\u7684\u7570\u5E38\u72C0\u6CC1\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A. +WSP_1003_UNABLE_TO_CHECK_ELEMENT_NAME=WSP1003: \u7121\u6CD5\u6AA2\u67E5\u985E\u5225 "{0}" \u7684\u5143\u7D20\u540D\u7A31\u8207 WSDL \u540D\u7A31 "{1}". +WSP_1004_POLICY_URIS_CAN_NOT_BE_NULL=WSP1004: \u539F\u5247 URI \u4E0D\u53EF\u70BA\u7A7A\u503C. +WSP_1005_POLICY_REFERENCE_DOES_NOT_EXIST=WSP1005: \u627E\u4E0D\u5230 URI "{0}" \u53C3\u7167\u7684\u539F\u5247. +WSP_1006_POLICY_MAP_EXTENDER_CAN_NOT_BE_NULL=WSP1006: \u539F\u5247\u5C0D\u61C9\u64F4\u5145\u9805\u4E0D\u53EF\u70BA\u7A7A\u503C. +WSP_1007_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL=WSP1007: \u5B8C\u6210 WSDL \u5256\u6790\u6642\u767C\u751F\u539F\u5247\u7570\u5E38\u72C0\u6CC1. +# {0} - human readable policy subject: "policy subject { subject = 'subject' Policy { namespace version = '...' ... } }" +WSP_1008_NOT_MARSHALLING_WSDL_SUBJ_NULL=WSP1008: \u672A\u5C01\u9001\u8655\u7406 (Marshal) \u539F\u5247, "{0}" \u7684 WSDL \u4E3B\u9AD4\u70BA\u7A7A\u503C. +WSP_1009_NOT_MARSHALLING_ANY_POLICIES_POLICY_MAP_IS_NULL=WSP1009: \u539F\u5247\u5C0D\u61C9\u70BA\u7A7A\u503C, \u672A\u5C01\u9001\u8655\u7406 (Marshal) \u4EFB\u4F55\u539F\u5247. +WSP_1010_NO_POLICIES_DEFINED=WSP1010: \u672A\u5B9A\u7FA9\u539F\u5247. +WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT=WSP1011: \u7121\u6CD5\u64F7\u53D6\u4E3B\u9AD4: {0} \u7684\u6709\u6548\u539F\u5247. +WSP_1012_FAILED_CONFIGURE_WSDL_MODEL=WSP1012: \u7121\u6CD5\u8A2D\u5B9A WSDL \u6A21\u578B. +# {0} - part of an XML document. e.g.: WSP1013: Exception occurred while reading policy element. Following was read so far: . +WSP_1013_EXCEPTION_WHEN_READING_POLICY_ELEMENT=WSP1013: \u8B80\u53D6\u539F\u5247\u5143\u7D20\u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1. \u76EE\u524D\u8B80\u5230\u7684\u8CC7\u8A0A\u5982\u4E0B: {0}. +WSP_1014_CAN_NOT_FIND_POLICY=WSP1014: \u627E\u4E0D\u5230 WSDL \u53C3\u7167\u7684\u539F\u5247 "{0}". \u8ACB\u6AA2\u67E5 WSDL \u4E2D\u7684\u539F\u5247\u53C3\u7167. +WSP_1015_SERVER_SIDE_ASSERTION_VALIDATION_FAILED=WSP1015: "{0}" \u5BA3\u544A\u7684\u4F3A\u670D\u5668\u7AEF\u5BA3\u544A\u9A57\u8B49\u5931\u6557. \u5BA3\u544A\u5DF2\u8A55\u4F30\u70BA "{1}". +WSP_1016_POLICY_ID_NULL_OR_DUPLICATE=WSP1016: \u672A\u65B0\u589E\u539F\u5247, \u56E0\u70BA\u5B83\u6C92\u6709 ID, \u6216\u5DF2\u65B0\u589E\u4E86\u76F8\u540C ID \u7684\u539F\u5247: {0}. +WSP_1017_MAP_UPDATE_FAILED=WSP1048: \u539F\u5247\u5C0D\u61C9\u8A2D\u5B9A\u5931\u6557 - \u5617\u8A66\u4FEE\u6539\u539F\u5247\u5C0D\u61C9\u5167\u5BB9\u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1. +WSP_1018_FAILED_TO_MARSHALL_POLICY=WSP1018: \u7121\u6CD5\u5C01\u9001\u8655\u7406 (Marshal) \u539F\u5247 "{0}". +WSP_1019_CREATE_EMPTY_POLICY_MAP=WSP1019: \u627E\u4E0D\u5230\u4EFB\u4F55\u7D44\u614B\u6A94. \u6B63\u5728\u5EFA\u7ACB\u65B0\u7684\u7A7A\u767D\u539F\u5247\u5C0D\u61C9. +WSP_1020_DUPLICATE_ID=WSP1020: \u5728\u4E00\u500B\u6587\u4EF6\u4E2D\u767C\u73FE\u5169\u500B\u539F\u5247\u64C1\u6709\u76F8\u540C ID: "{0}". diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=Adresse in einer EPR darf nicht null sein +null.address.service.endpoint=Adresse in einer EPR darf nicht null sein, wenn serviceName oder portName null ist +null.service=serviceName darf nicht null sein, wenn portName angegeben ist +null.portname=EPR enth\u00E4lt EndpointName in den Metadaten nicht +null.wsdl= EPR enth\u00E4lt keine WSDL-Metadaten, die f\u00FCr den aktuellen Vorgang ben\u00F6tigt werden +notfound.service.in.wsdl= Service: {0} in WSDL {1} nicht gefunden +no.wsdl.no.port = WSDL-Metadaten f\u00FCr Erstellen des Proxys nicht verf\u00FCgbar, entweder Serviceinstanz oder ServiceEndpointInterface {0} muss WSDL-Informationen enthalten +notfound.port.in.wsdl=Port: {0} ist kein g\u00FCltiger Port in Service: {1} in WSDL: {2} +error.wsdl= Fehler beim Parsen von WSDL: {0}. +null.epr= EndpointReference ist null diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=La direcci\u00F3n en una referencia de punto final no puede ser nula +null.address.service.endpoint=La direcci\u00F3n en una referencia de punto final no puede ser nula si serviceName o portName son nulos +null.service=serviceName no puede ser nulo si se especifica portName +null.portname=La referencia de punto final no tiene EndpointName en los metadatos +null.wsdl= La referencia de punto final no tiene los metadatos de WSDL que son necesarios para la operaci\u00F3n actual +notfound.service.in.wsdl= El servicio: {0} no se ha encontrado en el WSDL: {1} +no.wsdl.no.port = Los metadatos de WSDL no est\u00E1n disponibles para crear el proxy. La instancia de servicio o ServiceEndpointInterface {0} deber\u00EDan tener informaci\u00F3n de WSDL +notfound.port.in.wsdl=El puerto: {0} no es v\u00E1lido en el servicio: {1} de WSDL: {2} +error.wsdl= Error al analizar el WSDL: {0} +null.epr= EndpointReference es nulo diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=L'adresse d'une r\u00E9f\u00E9rence d'adresse ne peut pas \u00EAtre NULL +null.address.service.endpoint=L'adresse d'une r\u00E9f\u00E9rence d'adresse ne peut pas \u00EAtre NULL lorsque serviceName ou portName est NULL +null.service=serviceName ne peut pas \u00EAtre NULL lorsque portName est indiqu\u00E9 +null.portname=La r\u00E9f\u00E9rence d'adresse ne comporte pas de nom d'adresse dans les m\u00E9tadonn\u00E9es +null.wsdl= La r\u00E9f\u00E9rence d'adresse ne comporte pas les m\u00E9tadonn\u00E9es WSDL n\u00E9cessaires \u00E0 l'op\u00E9ration en cours +notfound.service.in.wsdl= Service {0} introuvable dans le WSDL {1} +no.wsdl.no.port = M\u00E9tadonn\u00E9es WSDL non disponibles pour cr\u00E9er le proxy, l''instance de service ou ServiceEndpointInterface {0} doit comporter des informations WSDL +notfound.port.in.wsdl=Le port {0} n''est pas valide dans le service {1} dans le WSDL {2} +error.wsdl= Erreur lors de l''analyse du WSDL : {0}. +null.epr= EndpointReference est NULL diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=L'indirizzo in un EPR non pu\u00F2 essere nullo +null.address.service.endpoint=L'indirizzo in un EPR non pu\u00F2 essere nullo quando \u00E8 nullo serviceName o portName +null.service=serviceName non pu\u00F2 essere nullo quando \u00E8 specificato portName +null.portname=L'EPR non dispone di EndpointName nei metadati +null.wsdl= L'EPR non dispone dei metadati WSDL necessari per l'operazione corrente +notfound.service.in.wsdl= Servizio: {0} non trovato in WSDL: {1} +no.wsdl.no.port = Metadati WSDL non disponibili per la creazione del proxy. L''istanza di servizio o ServiceEndpointInterface {0} devono contenere le informazioni WSDL +notfound.port.in.wsdl=La porta: {0} non \u00E8 una porta valida nel servizio: {1} in WSDL: {2} +error.wsdl= Errore durante l''analisi di WSDL: {0} +null.epr= EndpointReference nullo diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=EPR\u306E\u30A2\u30C9\u30EC\u30B9\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093 +null.address.service.endpoint=serviceName\u307E\u305F\u306FportName\u304Cnull\u3067\u3042\u308B\u5834\u5408\u3001EPR\u306E\u30A2\u30C9\u30EC\u30B9\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093 +null.service=portName\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001serviceName\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093 +null.portname=EPR\u3067\u30E1\u30BF\u30C7\u30FC\u30BF\u306BEndpointName\u304C\u3042\u308A\u307E\u305B\u3093 +null.wsdl= EPR\u306B\u306F\u73FE\u5728\u306E\u64CD\u4F5C\u306B\u5FC5\u8981\u306AWSDL\u30E1\u30BF\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093 +notfound.service.in.wsdl= WSDL: {1}\u306B\u30B5\u30FC\u30D3\u30B9: {0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +no.wsdl.no.port = \u30D7\u30ED\u30AD\u30B7\u3092\u4F5C\u6210\u3059\u308B\u305F\u3081\u306EWSDL\u30E1\u30BF\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u30B5\u30FC\u30D3\u30B9\u30FB\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u307E\u305F\u306FServiceEndpointInterface {0}\u306BWSDL\u60C5\u5831\u304C\u5FC5\u8981\u3067\u3059 +notfound.port.in.wsdl=WSDL: {2}\u306E\u30B5\u30FC\u30D3\u30B9: {1}\u306E\u30DD\u30FC\u30C8: {0}\u306F\u6709\u52B9\u306A\u30DD\u30FC\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +error.wsdl= WSDL: {0}\u306E\u89E3\u6790\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F +null.epr= EndpointReference\u304Cnull\u3067\u3059 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=EPR\uC758 \uC8FC\uC18C\uB294 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +null.address.service.endpoint=serviceName \uB610\uB294 portName\uC774 \uB110\uC778 \uACBD\uC6B0 EPR\uC758 \uC8FC\uC18C\uB294 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +null.service=portName\uC774 \uC9C0\uC815\uB41C \uACBD\uC6B0 serviceName\uC740 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +null.portname=EPR\uC758 \uBA54\uD0C0 \uB370\uC774\uD130\uC5D0 EndpointName\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +null.wsdl= \uD604\uC7AC \uC791\uC5C5\uC5D0 \uD544\uC694\uD55C WSDL \uBA54\uD0C0 \uB370\uC774\uD130\uAC00 EPR\uC5D0 \uC5C6\uC2B5\uB2C8\uB2E4. +notfound.service.in.wsdl= {0} \uC11C\uBE44\uC2A4\uB97C WSDL\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {1} +no.wsdl.no.port = \uD504\uB85D\uC2DC \uC0DD\uC131\uC5D0 WSDL \uBA54\uD0C0 \uB370\uC774\uD130\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC11C\uBE44\uC2A4 \uC778\uC2A4\uD134\uC2A4 \uB610\uB294 ServiceEndpointInterface {0}\uC5D0 WSDL \uC815\uBCF4\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. +notfound.port.in.wsdl={0} \uD3EC\uD2B8\uAC00 WSDL\uC758 {1} \uC11C\uBE44\uC2A4\uC5D0 \uC801\uD569\uD55C \uD3EC\uD2B8\uAC00 \uC544\uB2D8: {2} +error.wsdl= WSDL\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} +null.epr= EndpointReference\uAC00 \uB110\uC785\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=O endere\u00E7o em um EPR n\u00E3o pode ser nulo +null.address.service.endpoint=O endere\u00E7o em um EPF n\u00E3o poder\u00E1 ser nulo quando serviceName ou portName for nulo +null.service=serviceName n\u00E3o poder\u00E1 ser nulo quando portName for especificado +null.portname=O EPF n\u00E3o tem EndpointName nos Metadados +null.wsdl= O EPR n\u00E3o tem os Metadados WSDL necess\u00E1rios \u00E0 opera\u00E7\u00E3o atual +notfound.service.in.wsdl= Servi\u00E7o: {0} n\u00E3o encontrado no WSDL: {1} +no.wsdl.no.port = Os Metadados WSDL n\u00E3o est\u00E3o dispon\u00EDveis para criar o proxy; a inst\u00E2ncia Service ou ServiceEndpointInterface {0} deve ter informa\u00E7\u00F5es do WSDL +notfound.port.in.wsdl=Porta: {0} n\u00E3o \u00E9 uma porta v\u00E1lida no Servi\u00E7o {1} no WSDL {2} +error.wsdl= Erro ao fazer parse do WSDL: {0} +null.epr= EndpointReference \u00E9 nulo diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=EPR \u4E2D\u7684\u5730\u5740\u4E0D\u80FD\u4E3A\u7A7A\u503C +null.address.service.endpoint=\u5F53 serviceName \u6216 portName \u4E3A\u7A7A\u503C\u65F6, EPR \u4E2D\u7684\u5730\u5740\u4E0D\u80FD\u4E3A\u7A7A\u503C +null.service=\u6307\u5B9A portName \u65F6, serviceName \u4E0D\u80FD\u4E3A\u7A7A\u503C +null.portname=EPR \u7684\u5143\u6570\u636E\u4E2D\u6CA1\u6709 EndpointName +null.wsdl= EPR \u6CA1\u6709\u5F53\u524D\u64CD\u4F5C\u6240\u9700\u7684 WSDL \u5143\u6570\u636E +notfound.service.in.wsdl= \u5728 WSDL {1}\u4E2D\u672A\u627E\u5230\u670D\u52A1{0} +no.wsdl.no.port = WSDL \u5143\u6570\u636E\u65E0\u6CD5\u7528\u4E8E\u521B\u5EFA\u4EE3\u7406, \u670D\u52A1\u5B9E\u4F8B\u6216 ServiceEndpointInterface {0}\u5E94\u5305\u542B WSDL \u4FE1\u606F +notfound.port.in.wsdl=\u7AEF\u53E3{0}\u4E0D\u662F WSDL {2}\u7684\u670D\u52A1{1}\u4E2D\u7684\u6709\u6548\u7AEF\u53E3 +error.wsdl= \u89E3\u6790 WSDL \u65F6\u51FA\u9519: {0} +null.epr= EndpointReference \u4E3A\u7A7A\u503C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/providerApi_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,35 @@ +# +# 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. +# + +null.address=EPR \u4E2D\u7684\u4F4D\u5740\u4E0D\u53EF\u70BA\u7A7A\u503C +null.address.service.endpoint=\u7576 serviceName \u6216 portName \u70BA\u7A7A\u503C\u6642, EPR \u4E2D\u7684\u4F4D\u5740\u4E0D\u53EF\u70BA\u7A7A\u503C +null.service=\u7576\u6307\u5B9A portName \u6642, serviceName \u4E0D\u53EF\u70BA\u7A7A\u503C +null.portname=EPR \u7684\u63CF\u8FF0\u8CC7\u6599\u4E2D\u6C92\u6709 EndpointName +null.wsdl= EPR \u6C92\u6709\u76EE\u524D\u4F5C\u696D\u6240\u9700\u7684 WSDL \u63CF\u8FF0\u8CC7\u6599 +notfound.service.in.wsdl= \u5728 WSDL: {1} \u4E2D\u627E\u4E0D\u5230\u670D\u52D9: {0} +no.wsdl.no.port = WSDL \u63CF\u8FF0\u8CC7\u6599\u7121\u6CD5\u7528\u65BC\u5EFA\u7ACB\u4EE3\u7406\u4E3B\u6A5F, \u670D\u52D9\u57F7\u884C\u8655\u7406\u6216 ServiceEndpointInterface {0} \u61C9\u5305\u542B WSDL \u8CC7\u8A0A +notfound.port.in.wsdl=WSDL: {2} \u4E2D\u4E4B\u670D\u52D9: {1} \u7684\u9023\u63A5\u57E0: {0} \u4E0D\u662F\u6709\u6548\u7684\u9023\u63A5\u57E0 +error.wsdl= \u5256\u6790 WSDL \u6642\u767C\u751F\u932F\u8AA4: {0} +null.epr= EndpointReference \u70BA\u7A7A\u503C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=Absenderfehler: {0} +sender.request.messageNotReady=Nachricht nicht zum Senden bereit +sender.response.cannotDecodeFaultDetail=Fault-Details k\u00F6nnen nicht decodiert werden +sender.request.illegalValueForContentNegotiation=Unzul\u00E4ssiger Wert f\u00FCr Contentnegotiationseigenschaft \\"{0}\\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=error de remitente: {0} +sender.request.messageNotReady=el mensaje no est\u00E1 preparado para ser enviado +sender.response.cannotDecodeFaultDetail=no se puede descodificar el detalle del fallo +sender.request.illegalValueForContentNegotiation=valor no v\u00E1lido para la propiedad de negociaci\u00F3n de contenido \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=erreur d''\u00E9metteur : {0} +sender.request.messageNotReady=le message n'est pas pr\u00EAt \u00E0 \u00EAtre envoy\u00E9 +sender.response.cannotDecodeFaultDetail=le d\u00E9tail par d\u00E9faut ne peut pas \u00EAtre d\u00E9cod\u00E9 +sender.request.illegalValueForContentNegotiation=valeur interdite pour la propri\u00E9t\u00E9 de n\u00E9gociation de contenu \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=errore del mittente: {0} +sender.request.messageNotReady=il messaggio non \u00E8 pronto per essere inviato +sender.response.cannotDecodeFaultDetail=impossibile decodificare i dettagli dell'errore +sender.request.illegalValueForContentNegotiation=valore non valido per la propriet\u00E0 di negoziazione del contenuto \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=\u9001\u4FE1\u5074\u30A8\u30E9\u30FC: {0} +sender.request.messageNotReady=\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u6E96\u5099\u304C\u3067\u304D\u3066\u3044\u307E\u305B\u3093 +sender.response.cannotDecodeFaultDetail=\u30D5\u30A9\u30EB\u30C8\u8A73\u7D30\u3092\u30C7\u30B3\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093 +sender.request.illegalValueForContentNegotiation=\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30CD\u30B4\u30B7\u30A8\u30FC\u30B7\u30E7\u30F3\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\"{0}\"\u306E\u5024\u304C\u4E0D\u6B63\u3067\u3059 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=\uBC1C\uC2E0\uC790 \uC624\uB958: {0} +sender.request.messageNotReady=\uBA54\uC2DC\uC9C0 \uC804\uC1A1 \uC900\uBE44\uAC00 \uC644\uB8CC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +sender.response.cannotDecodeFaultDetail=\uACB0\uD568 \uC138\uBD80 \uC815\uBCF4\uB97C \uB514\uCF54\uB529\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +sender.request.illegalValueForContentNegotiation=\uCF58\uD150\uCE20 \uD611\uC0C1 \uC18D\uC131 \"{0}\"\uC5D0 \uB300\uD55C \uAC12\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=erro do emissor: {0} +sender.request.messageNotReady=a mensagem n\u00E3o est\u00E1 pronta para ser enviada +sender.response.cannotDecodeFaultDetail=o detalhe da falha n\u00E3o pode ser decodificado +sender.request.illegalValueForContentNegotiation=valor inv\u00E1lido para a propriedade \"{0}\" de negocia\u00E7\u00E3o de conte\u00FAdo diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=\u53D1\u9001\u65B9\u9519\u8BEF: {0} +sender.request.messageNotReady=\u6D88\u606F\u5C1A\u672A\u5C31\u7EEA, \u65E0\u6CD5\u53D1\u9001 +sender.response.cannotDecodeFaultDetail=\u65E0\u6CD5\u89E3\u7801\u6545\u969C\u8BE6\u7EC6\u4FE1\u606F +sender.request.illegalValueForContentNegotiation=\u5185\u5BB9\u534F\u5546\u5C5E\u6027 \"{0}\" \u7684\u503C\u975E\u6CD5 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/sender_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,30 @@ +# +# 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. +# + +# Wrapped into an Exception. {0} - localizable exception message of another exception +sender.nestedError=\u5BC4\u4EF6\u8005\u932F\u8AA4: {0} +sender.request.messageNotReady=\u8A0A\u606F\u5C1A\u672A\u5099\u59A5, \u7121\u6CD5\u50B3\u9001 +sender.response.cannotDecodeFaultDetail=\u7121\u6CD5\u89E3\u78BC\u932F\u8AA4\u8A73\u7D30\u8CC7\u8A0A +sender.request.illegalValueForContentNegotiation=\u5167\u5BB9\u5354\u8B70\u7279\u6027 \"{0}\" \u7684\u503C\u7121\u6548 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=Fehler beim Decodieren von SOAP-Nachricht +server.rt.err=Serverlaufzeitfehler: {0} +soapencoder.err=Fehler beim Codieren von SOAP-Nachricht + +annotation.only.once=Nur eine Methode kann die Annotation \"{0}\" enthalten +not.zero.parameters=Methode \"{0}\" darf keine Argumente enthalten + +wrong.field.type=Ung\u00FCltiger Typ f\u00FCr Feld \"{0}\" +wrong.no.parameters=Ung\u00FCltige Anzahl Argumente f\u00FCr Methode \"{0}\" +wrong.parameter.type=Ung\u00FCltige Argumenttypen f\u00FCr Methode \"{0}\" + +can.not.generate.wsdl=WSDL f\u00FCr Binding \"{0}\" kann nicht generiert werden +generate.non.standard.wsdl=Nicht-Standard-WSDL f\u00FCr das angegebene Binding wird generiert +null.implementor=Implementor darf nicht null sein + +runtime.wsdl.patcher=Fehler beim Patchen des zu WSDL geh\u00F6rigen Dokuments + +# {0} - class name +not.implement.provider=\"{0}\" implementiert Provider nicht +# {0} - class name +provider.not.parameterized=\"{0}\" implementiert Provider, gibt jedoch den Typparameter nicht an +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" implementiert Provider, der Typparameter {1} ist jedoch ung\u00FCltig + +wsdl.required=WSDL ist erforderlich +service.name.required=Service-QName nicht gefunden +port.name.required=Port-QName nicht gefunden +wrong.tns.for.port=Port-Namespace {0} stimmt nicht mit Service-Namespace {1} \u00FCberein + +# {0} - probably URL/port of a server +already.http.server=Es ist bereits ein HTTP-Server vorhanden in: {0}# {0} - wahrscheinlich URL/Port eines Servers +already.https.server=Es ist bereits ein HTTPS-Server vorhanden in: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=Unterst\u00FCtzt Endpoint.publish({0}) nicht. Bekannte Kontexttypen sind {1} und {2} + +duplicate.primary.wsdl=Metadaten enthalten mehr als eine WSDL, die die Servicedefinition f\u00FCr den End Point enth\u00E4lt. WSDL={0} ist eine derartige WSDL. +duplicate.abstract.wsdl=Metadaten enthalten mehr als eine WSDL, die die PortType-Definition f\u00FCr den End Point enth\u00E4lt. WSDL={0} ist eine derartige WSDL. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=Klasse in Laufzeitdeskriptor nicht gefunden: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=Fehler beim Parsen von Laufzeitdeskriptor: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=unerwarteter Content in Laufzeitdeskriptor (Zeile {0}) +runtime.parser.invalidElement=ung\u00FCltiges Element \"{1}\" in Laufzeitdeskriptor (Zeile {0}) +runtime.parser.invalidAttributeValue=ung\u00FCltiger Wert f\u00FCr Attribut \"{2}\" von Element \"{1}\" in Laufzeitdeskriptor (Zeile {0}) +runtime.parser.invalidVersionNumber=nicht unterst\u00FCtzte Laufzeitdeskriptorversion: {2} +runtime.parser.missing.attribute=fehlendes Attribut \"{2}\" in Element \"{1}\" von Laufzeitdeskriptor (Zeile {0}) +runtime.parser.invalid.attribute.value=ung\u00FCltiger Attributwert \"{1}\" in Laufzeitdeskriptor (Zeile {0}) +runtime.parser.missing.attribute.no.line=fehlendes Attribut \"{2}\" in Element \"{1}\" von Laufzeitdeskriptor +runtime.parser.wrong.element=Element \"{1}\" ermittelt, \"{2}\" in Laufzeitdeskriptor erwartet (Zeile {0}) +runtime.parser.wsdl.not.found={0} wurde in der .war-Datei nicht gefunden. Verpacken Sie sie in der .war-Datei, oder korrigieren Sie sie in sun-jaxws.xml. +runtime.parser.wsdl=Ausnahme beim Parsen von WSDL: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=mehrere Bindings f\u00FCr Binding-ID {0} f\u00FCr Service {1} in WSDL {2} gefunden +runtime.parser.wsdl.noservice.in.wsdlmodel=Bei der Verarbeitung der WSDL {0} ist ein Fehler aufgetreten, und es wurden keine g\u00FCltigen Services gefunden. +runtime.parser.wsdl.incorrectservice=Binding konnte nicht aus WSDL!-Service abgerufen werden: {0} nicht in der WSDL {1} gefunden.\nM\u00F6glicherweise stimmt der Servicename nicht mit wsdl:service-Name der WSDL \u00FCberein. Folgende Ursachen sind m\u00F6glich:\n1. Servicename ist in Deployment-Deskriptor nicht vorhanden\n2. Der Servicename des Deployment-Deskriptors enth\u00E4lt einen Tippfehler.\n3. Die berechneten Namen aus @WebService stimmen nicht mit wsdl:service-Name \u00FCberein \nODER\n4. Beim Parsen der WSDL ist ein Fehler aufgetreten und der Service mit Name {0} wurde in WSDLModel nicht gefunden.\nEs wird empfohlen, dass Sie eine der folgenden Schritte ausf\u00FChren:\n1. F\u00FCgen Sie Eintr\u00E4ge f\u00FCr den Servicenamen in den Deployment-Deskriptor ein bzw. korrigieren Sie diese \n2. Geben Sie targetNamespace, serviceName in @WebService in der End Point-Klasse an + +runtime.parser.wsdl.incorrectserviceport=Binding konnte nicht aus WSDL!-Service abgerufen werden: {0} oder Port {1} wurde nicht in der WSDL gefunden {2}.\nM\u00F6glicherweise stimmen die Service- und Portnamen nicht mit den wsdl:service- und wsdl:port-Namen der WSDL \u00FCberein. Folgende Ursachen sind m\u00F6glich:\n1. Service- und Portnamen sind im Deployment-Deskriptor nicht vorhanden.\n2. Die Service- und Portnamen im Deployment-Deskriptor enthalten einen Tippfehler.\n3. Die berechneten Namen aus @WebService stimmen nicht mit den wsdl:service- und wsdl:port-Namen \u00FCberein.\nEs wird empfohlen, dass Sie einen der folgenden Schritte ausf\u00FChren:\n1. F\u00FCgen Sie Eintr\u00E4ge f\u00FCr die Service- und Portnamen in den Deployment-Deskriptor ein bzw. korrigieren Sie diese.\n2. Geben Sie targetNamespace, serviceName, portName in @WebService in der End Point-Klasse an + +stateful.cookie.header.required=Dies ist ein Stateful-Webservice und {0}-Header ist erforderlich. +stateful.cookie.header.incorrect=Ung\u00FCltiger/abgelaufener {0}-Header-Wert: {1} +stateful.invalid.webservice.context=Kein WebServiceContext aus JAX-WS RI: {0} +stateful.requres.addressing=Stateful-Webservice {0} erfordert die Unterst\u00FCtzung der WS-Adressierung, damit er aktiviert werden kann. M\u00F6glicherweise fehlt @Addressing + +no.current.packet=Dieser Thread verarbeitet aktuell keine Webserviceanforderung + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver={0} kann nicht instanziiert werden (wird in {1} in {2} angegeben) + +static.resource.injection.only=Injection von statischer Ressource {0} in nicht-statischer "{1}" ist nicht m\u00F6glich + +dd.mtom.conflict = Fehler in Deployment-Deskriptor: MTOM-Konfiguration in Binding {0} ist nicht mit enable-mtom-Attributwert {1} vereinbar + +# {0} - qname of an element +dispatch.cannotFindMethod=Verteilungsmethode f\u00FCr {0} kann nicht gefunden werden +non.unique.dispatch.qname=Nicht eindeutige Textteile. Gem\u00E4\u00DF BP 1.1 R2710 m\u00FCssen Vorg\u00E4nge in einem Port eindeutige Vorgangssignaturen enthalten, damit die Verteilung erfolgreich verl\u00E4uft. Methoden {0} haben denselben Anforderungstextblock {1}. Die Verteilung von Methoden verl\u00E4uft m\u00F6glicherweise nicht erfolgreich, die Laufzeitumgebung wird versuchen, die Verteilung mit SOAPAction vorzunehmen. Eine andere M\u00F6glichkeit besteht darin, AddressingFeature zu aktivieren, damit die Laufzeitumgebung WSDL-Vorg\u00E4nge eindeutig mit wsa:Action-Header identifizieren kann. + +unsupported.contentType=Nicht unterst\u00FCtzter Content-Type: {0} Unterst\u00FCtzte Content-Types sind: {1} +no.contentType=Die Anforderung hat keinen Content-Type. +unsupported.charset=Nicht unterst\u00FCtzter Zeichensatz "{0}" im Content-Type der empfangenen Nachricht +duplicate.portKnownHeader=Empfangene SOAP-Nachricht enth\u00E4lt doppelten Header: {0} f\u00FCr einen gebundenen Parameter + +runtimemodeler.invalidannotationOnImpl=Ung\u00FCltige Annotation: {0} bei End Point-Implementierungsklasse \\"{1}\\" - wird ignoriert. \\"{1}\\" ist mit @WebService-Annotation versehen (endpointInterface=\\"{2}\\"}, sie darf keine {0}-Annotation enthalten. Um das Problem zu beheben, setzen Sie diese Annotation in SEI {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=Error al descodificar el mensaje de SOAP +server.rt.err=Error en tiempo de ejecuci\u00F3n del servidor: {0} +soapencoder.err=Error al codificar el mensaje de SOAP + +annotation.only.once=S\u00F3lo un m\u00E9todo debe tener la anotaci\u00F3n \"{0}\" +not.zero.parameters=El m\u00E9todo \"{0}\" no deber\u00EDa tener ning\u00FAn argumento + +wrong.field.type=Tipo incorrecto para el campo \\"{0}\\" +wrong.no.parameters=N\u00FAmero de argumentos incorrecto para el m\u00E9todo \"{0}\". +wrong.parameter.type=Tipos de argumentos incorrectos para el m\u00E9todo \"{0}\" + +can.not.generate.wsdl=No se puede generar el WSDL para el enlace \"{0}\" +generate.non.standard.wsdl=Generando WSDL no est\u00E1ndar para el enlace especificado +null.implementor=El implantador no puede ser nulo + +runtime.wsdl.patcher=error al aplicar el parche al documento relacionado con el WSDL + +# {0} - class name +not.implement.provider=\"{0}\" no implanta el proveedor +# {0} - class name +provider.not.parameterized=\"{0}\" implanta el proveedor, pero no especifica el par\u00E1metro del tipo +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" implanta el proveedor, pero el par\u00E1metro de tipo {1} es incorrecto + +wsdl.required=el WSDL es necesario +service.name.required=No se ha encontrado el QName del servicio +port.name.required=No se ha encontrado el QName del puerto +wrong.tns.for.port=El espacio de nombres del puerto {0} no coincide con el espacio de nombres del servicio {1} + +# {0} - probably URL/port of a server +already.http.server=Ya hay un servidor HTTP en: {0}# {0}; probablemente es la URL/puerto de un servidor +already.https.server=Ya hay un servidor HTTPS en: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=No soporta Endpoint.publish({0}). Los tipos de contextos conocidos son {1} y {2} + +duplicate.primary.wsdl=Los metadatos tienen m\u00E1s de un WSDL que tiene una definici\u00F3n de servicio para el punto final. WSDL={0} es uno de esos WSDL. +duplicate.abstract.wsdl=Los metadatos tienen m\u00E1s de un WSDL que tiene una definici\u00F3n de PortType para el punto final. WSDL={0} es uno de esos WSDL. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=No se ha encontrado la clase en el descriptor de tiempo de ejecuci\u00F3n: {0}. +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=Error al analizar el descriptor de tiempo de ejecuci\u00F3n: {0}. +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=contenido inesperado en el descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea {0}) +runtime.parser.invalidElement=elemento no v\u00E1lido \"{1}\" en el descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea {0}) +runtime.parser.invalidAttributeValue=valor no v\u00E1lido para el atributo \"{2}\" del elemento \"{1}\" en el descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea {0}) +runtime.parser.invalidVersionNumber=versi\u00F3n del descriptor de tiempo de ejecuci\u00F3n no soportada: {2} +runtime.parser.missing.attribute=falta el atributo \"{2}\" en el elemento \"{1}\" del descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea {0}) +runtime.parser.invalid.attribute.value=valor de atributo no v\u00E1lido \"{1}\" en el descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea {0}) +runtime.parser.missing.attribute.no.line=falta el atributo \"{2}\" en el elemento \"{1}\" del descriptor de tiempo de ejecuci\u00F3n +runtime.parser.wrong.element=se ha encontrado el elemento \"{1}\", pero se esperaba \"{2}\" en el descriptor de tiempo de ejecuci\u00F3n (l\u00EDnea{0}) +runtime.parser.wsdl.not.found={0} no se ha encontrado en el archivo WAR. Empaqu\u00E9telo en el archivo WAR o corr\u00EDjalo en sun-jaxws.xml. +runtime.parser.wsdl=excepci\u00F3n durante el an\u00E1lisis de WSDL: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=se han encontrado varios enlaces para el identificador de enlace {0} del servicio {1} en el WSDL {2} +runtime.parser.wsdl.noservice.in.wsdlmodel=Se ha producido un error al procesar el WSDL {0} y no se ha encontrado ning\u00FAn servicio v\u00E1lido. +runtime.parser.wsdl.incorrectservice=no se ha podido obtener el enlace del WSDL. El servicio {0} no se ha encontrado en el WSDL {1}.\nEsto podr\u00EDa deberse a que el nombre del servicio no coincide con el nombre de wsdl:service del WSDL:\n1. el nombre de servicio no est\u00E1 all\u00ED en el descriptor de despliegue O \n2. Tambi\u00E9n puede haber un error tipogr\u00E1fico en el nombre de servicio del descriptor de despliegue O\n3. Los nombres calculados de @WebService no coinciden con el nombre de wsdl:service\nO\n1. Se ha producido un error al analizar el WSDL y el servicio con el nombre {0} no se ha encontrado en WSDLModel.\nSe sugiere lo siguiente:\n1. Agregar o corregir las entradas del nombre de servicio en el descriptor de despliegue O \n2. Especificar targetNamespace, serviceName en @WebService en la clase de punto final + +runtime.parser.wsdl.incorrectserviceport=no se ha podido obtener el enlace del WSDL. El servicio: {0} o el puerto {1} no se han encontrado en el WSDL {2}.\nEsto podr\u00EDa deberse a que los nombres del servicio y el puerto no coinciden con los nombres de wsdl:service y wsdl:port del WSDL:\n1. los nombres de servicio y de puerto no est\u00E1n all\u00ED en el descriptor de despliegue O\n2. Tambi\u00E9n puede haber un error tipogr\u00E1fico en los nombres de servicio y de puerto del descriptor de despliegue O\n3. Los nombres calculados de @WebService no coinciden con los nombres de wsdl:service y wsdl:port\nSe sugiere lo siguiente:\n1. Agregar o corregir las entradas de los nombres de servicio y de puerto en el descriptor de despliegue O \n2. Especificar targetNamespace, serviceName, portName en @WebService en la clase de punto final + +stateful.cookie.header.required=Esto es un servicio web con estado y se necesita la cabecera {0}. +stateful.cookie.header.incorrect=Valor de cabecera {0} no v\u00E1lido/caducado: {1} +stateful.invalid.webservice.context=No es un WebServiceContext de la implantaci\u00F3n de referencia de JAX-WS: {0} +stateful.requres.addressing=El servicio web con estado {0} necesita que est\u00E9 activado el soporte de WS-Addressing. Quiz\u00E1 le falta @Addressing + +no.current.packet=Este thread no est\u00E1 procesando actualmente ninguna solicitud de servicio web. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=No se ha podido instanciar {0} (que se especifica en {1} en {2}) + +static.resource.injection.only=El recurso est\u00E1tico {0} no se puede inyectar en un "{1}" no est\u00E1tico + +dd.mtom.conflict = Error en el descriptor de despliegue: la configuraci\u00F3n de MTOM en el enlace {0} entra en conflicto con el valor del atributo enable-mtom {1} + +# {0} - qname of an element +dispatch.cannotFindMethod=No se ha encontrado el m\u00E9todo de distribuci\u00F3n de {0} +non.unique.dispatch.qname=Partes de cuerpo no \u00FAnicas. En un puerto, las operaciones R2710 de BP 1.1 deben tener una firma de operaci\u00F3n \u00FAnica en la transmisi\u00F3n para que se distribuyan correctamente. Los m\u00E9todos {0} poseen el mismo bloque del cuerpo de solicitud {1}. Puede que la distribuci\u00F3n de m\u00E9todos falle, en cuyo caso el tiempo de ejecuci\u00F3n intentar\u00E1 realizar la distribuci\u00F3n utilizando la acci\u00F3n de SOAP. Otra opci\u00F3n es activar AddressingFeature para permitir que el tiempo de ejecuci\u00F3n identifique la operaci\u00F3n de WSDL de manera \u00FAnica utilizando la cabecera de wsa:Action. + +unsupported.contentType=Tipo de contenido no soportado: {0} Los soportados son: {1} +no.contentType=La solicitud no tiene un tipo de contenido +unsupported.charset=Juego de caracteres no soportado "{0}" en el tipo de contenido del mensaje recibido +duplicate.portKnownHeader=El mensaje SOAP recibido contiene una cabecera duplicada: {0} para un par\u00E1metro enlazado + +runtimemodeler.invalidannotationOnImpl=La anotaci\u00F3n no v\u00E1lida: {0} en la clase de implantaci\u00F3n de punto final \\"{1}\\" se ignorar\u00E1. \\"{1}\\" est\u00E1 anotado con @WebService(endpointInterface=\\"{2}\\"}; no se debe anotar con {0}; para corregirlo, coloque esta anotaci\u00F3n en la interfaz de punto final de servicio {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=Erreur lors du d\u00E9codage du message SOAP +server.rt.err=Erreur d''ex\u00E9cution du serveur : {0} +soapencoder.err=Erreur de l'encodage du message SOAP + +annotation.only.once=Une seule m\u00E9thode doit comporter l''annotation \"{0}\" +not.zero.parameters=La m\u00E9thode \"{0}\" ne doit comporter aucun argument + +wrong.field.type=Type incorrect pour le champ \"{0}\" +wrong.no.parameters=Nombre incorrect d''arguments pour la m\u00E9thode \"{0}\" +wrong.parameter.type=Types d''argument incorrects pour la m\u00E9thode \"{0}\" + +can.not.generate.wsdl=Impossible de g\u00E9n\u00E9rer le WSDL pour le binding \"{0}\" +generate.non.standard.wsdl=G\u00E9n\u00E9ration d'un WSDL non standard pour le binding indiqu\u00E9 +null.implementor=L'impl\u00E9mentateur ne peut pas \u00EAtre NULL + +runtime.wsdl.patcher=erreur lors de l'application de patches sur le document associ\u00E9 au WSDL + +# {0} - class name +not.implement.provider=\"{0}\" n''impl\u00E9mente pas le fournisseur +# {0} - class name +provider.not.parameterized=\"{0}\" impl\u00E9mente le fournisseur mais n''indique pas le param\u00E8tre de type +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" impl\u00E9mente le fournisseur mais son param\u00E8tre de type {1} est incorrect + +wsdl.required=le WSDL est obligatoire +service.name.required=Le QName de service est introuvable +port.name.required=Le QName de port est introuvable +wrong.tns.for.port=L''espace de noms de port {0} ne correspond \u00E0 aucun espace de noms de service {1} + +# {0} - probably URL/port of a server +already.http.server=Il existe d\u00E9j\u00E0 un serveur HTTP dans {0}# {0}, probablement l''URL/le port d''un serveur +already.https.server=Il existe d\u00E9j\u00E0 un serveur HTTP dans {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=Ne prend pas en charge Endpoint.publish({0}). Les types de contexte connus sont {1} et {2} + +duplicate.primary.wsdl=Les m\u00E9tadonn\u00E9es comportent plusieurs WSDL ayant une d\u00E9finition de service pour l''adresse. Le WSDL {0} est l''un d''entre eux. +duplicate.abstract.wsdl=Les m\u00E9tadonn\u00E9es comportent plusieurs WSDL ayant une d\u00E9finition PortType pour l''adresse. Le WSDL {0} est l''un d''entre eux + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=classe introuvable dans le descripteur d''ex\u00E9cution : {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=erreur lors de l''analyse du descripteur d''ex\u00E9cution : {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=contenu inattendu dans le descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.invalidElement=\u00E9l\u00E9ment \"{1}\" non valide dans le descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.invalidAttributeValue=valeur non valide pour l''attribut \"{2}\" de l''\u00E9l\u00E9ment \"{1}\" dans le descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.invalidVersionNumber=version de descripteur d''ex\u00E9cution non prise en charge : {2} +runtime.parser.missing.attribute=attribut \"{2}\" manquant dans l''\u00E9l\u00E9ment \"{1}\" du descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.invalid.attribute.value=valeur d''attribut \"{1}\" non valide dans le descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.missing.attribute.no.line=attribut \"{2}\" manquant dans l''\u00E9l\u00E9ment \"{1}\" du descripteur d''ex\u00E9cution +runtime.parser.wrong.element=\u00E9l\u00E9ment \"{1}\" trouv\u00E9, \"{2}\" attendu dans le descripteur d''ex\u00E9cution (ligne {0}) +runtime.parser.wsdl.not.found={0} est introuvable dans le fichier WAR. Packagez-le dans le fichier WAR ou corrigez-le dans sun-jaxws.xml. +runtime.parser.wsdl=exception lors de l''analyse du WSDL : {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=plusieurs bindings trouv\u00E9s dans l''ID de binding {0} pour le service {1} dans le WSDL {2} +runtime.parser.wsdl.noservice.in.wsdlmodel=Une erreur s''est produite lors du traitement du WSDL {0} et aucun service valide n''a \u00E9t\u00E9 trouv\u00E9. +runtime.parser.wsdl.incorrectservice=impossible d''obtenir le binding du service WSDL : {0} introuvable dans le WSDL {1}.\nCela peut \u00EAtre d\u00FB au fait que le nom de service ne correspond pas au nom wsdl:service du WSDL :\n1. Le nom de service ne figure pas dans le descripteur de d\u00E9ploiement. OU\n2. Le nom de service du descripteur de d\u00E9ploiement comporte une faute de frappe. OU\n3. Les noms calcul\u00E9s \u00E0 partir de @WebService ne correspondent pas au nom wsdl:service.\nOU\n4. Une erreur a \u00E9t\u00E9 d\u00E9tect\u00E9e lors de l''analyse du WSDL et le service portant le nom {0} est introuvable dans le WSDLModel.\nNous vous sugg\u00E9rons les solutions suivantes :\n1. Ajoutez/Corrigez les entr\u00E9es pour le nom de service dans le descripteur de d\u00E9ploiement OU \n2. Indiquez targetNamespace, serviceName dans @WebService sur la classe d''adresse + +runtime.parser.wsdl.incorrectserviceport=impossible d''obtenir le binding \u00E0 partir du service WSDL {0} ou le port {1} est introuvable dans le WSDL {2}.\nCela peut \u00EAtre d\u00FB au fait que les noms de service et de port ne correspondant pas aux noms wsdl:service et wsdl:port du WSDL :\n1. Les noms de service et de port ne figurent pas dans le descripteur de d\u00E9ploiement. OU\n2. Les noms de service et de port du descripteur de d\u00E9ploiement comportent une faute de frappe. OU\n3. Les noms calcul\u00E9s \u00E0 partir de @WebService ne correspondent pas aux noms wsdl:service et wsdl:port.\nNous vous sugg\u00E9rons les solutions suivantes :\n1. Ajoutez/Corrigez les entr\u00E9es pour les noms de service et de port dans le descripteur de d\u00E9ploiement. OU \n2. Indiquez targetNamespace, serviceName, portName dans @WebService sur la classe d''adresse. + +stateful.cookie.header.required=Il s''agit d''un service Web avec conservation de statut et l''en-t\u00EAte {0} est obligatoire. +stateful.cookie.header.incorrect=Valeur d''en-t\u00EAte {0} non valide/arriv\u00E9e \u00E0 expiration : {1} +stateful.invalid.webservice.context=N''est pas un \u00E9l\u00E9ment WebServiceContext de l''impl\u00E9mentation de r\u00E9f\u00E9rence JAX-WS : {0} +stateful.requres.addressing=Le service Web avec conservation de statut {0} exige l''activation de la prise en charge de WS-Addressing. Il manque peut-\u00EAtre @Addressing + +no.current.packet=Ce thread ne traite actuellement aucune demande de service Web. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=Impossible d''instancier {0} (indiqu\u00E9 dans {1} sur {2}) + +static.resource.injection.only=La ressource statique {0} ne peut pas \u00EAtre inject\u00E9e dans un \u00E9l\u00E9ment "{1}" non statique + +dd.mtom.conflict = Erreur dans le descripteur de d\u00E9ploiement : la configuration MTOM dans le binding {0} est en conflit avec la valeur d''attribut enable-mtom {1} + +# {0} - qname of an element +dispatch.cannotFindMethod=M\u00E9thode de r\u00E9partition introuvable pour {0} +non.unique.dispatch.qname=Parties du corps non uniques. Dans un port, les op\u00E9rations BP 1.1 R2710 doivent comporter une signature d''op\u00E9ration unique sur le wire pour une r\u00E9partition r\u00E9ussie. Les m\u00E9thodes {0} ont le m\u00EAme bloc de corps de demande {1}. La r\u00E9partition de m\u00E9thode peut \u00E9chouer, le runtime essaiera d''effectuer la r\u00E9partition \u00E0 l''aide de SOAPAction. Vous pouvez \u00E9galement activer AddressingFeature pour permettre au runtime d''identifier de mani\u00E8re unique l''op\u00E9ration WSDL \u00E0 l''aide de l''en-t\u00EAte wsa:Action. + +unsupported.contentType=Content-Type non pris en charge : {0}. Les \u00E9l\u00E9ments pris en charge sont : {1} +no.contentType=Content-Type manquant dans la demande +unsupported.charset=Jeu de caract\u00E8res "{0}" non pris en charge dans l''en-t\u00EAte Content-Type du message re\u00E7u +duplicate.portKnownHeader=Le message SOAP re\u00E7u contient un en-t\u00EAte en double {0} pour un param\u00E8tre li\u00E9 + +runtimemodeler.invalidannotationOnImpl=L''annotation non valide {0} sur la classe d''impl\u00E9mentation d''adresse \"{1}\" ne sera pas prise en compte. \"{1}\" est annot\u00E9 avec @WebService(endpointInterface = \"{2}\"}, il doit \u00EAtre annot\u00E9 avec {0} ; pour le corriger, placez cette annotation sur l''interface d''adresse de service {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=Errore durante la decodifica del messaggio SOAP +server.rt.err=errore in fase di esecuzione del server: {0} +soapencoder.err=Errore durante la codifica del messaggio SOAP + +annotation.only.once=Solo un metodo deve avere l''annotazione \"{0}\" +not.zero.parameters=Il metodo \"{0}\" non deve avere alcun argomento + +wrong.field.type=Tipo errato per il campo \"{0}\" +wrong.no.parameters=Numero errato di argomenti per il metodo \"{0}\" +wrong.parameter.type=Tipi di argomenti errati per il metodo \"{0}\" + +can.not.generate.wsdl=Impossibile generare WSDL per l''associazione \"{0}\" +generate.non.standard.wsdl=Generazione di WSDL non standard per l'associazione specificata +null.implementor=L'implementatore non pu\u00F2 essere nullo + +runtime.wsdl.patcher=errore durante l'applicazione di patch al documento relativo a WSDL + +# {0} - class name +not.implement.provider=\"{0}\" non implementa il provider +# {0} - class name +provider.not.parameterized=\"{0}\" implementa il provider ma non specifica il parametro del tipo +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" implementa il provider ma il relativo parametro del tipo {1} \u00E8 errato + +wsdl.required=WSDL \u00E8 obbligatorio +service.name.required=QName del servizio non trovato +port.name.required=QName della porta non trovato +wrong.tns.for.port=Lo spazio di nomi della porta {0} non corrisponde allo spazio di nomi del servizio {1} + +# {0} - probably URL/port of a server +already.http.server=Esiste gi\u00E0 un server HTTPS in: {0}# {0} - probabilmente l''URL o la porta di un server +already.https.server=Esiste gi\u00E0 un server HTTPS in: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=Non supporta Endpoint.publish({0}). I tipi di contesto conosciuti sono {1} e {2} + +duplicate.primary.wsdl=I metadati hanno pi\u00F9 WSDL contenenti la definizione di servizio per l''endpoint. WSDL={0} \u00E8 uno di tali WSDL. +duplicate.abstract.wsdl=I metadati hanno pi\u00F9 WSDL contenenti la definizione PortType per l''endpoint. WSDL={0} \u00E8 uno di tali WSDL. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=classe non trovata nel descrittore di runtime: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=errore durante l''analisi del descrittore di runtime: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=contenuto imprevisto nel descrittore di runtime (riga {0}) +runtime.parser.invalidElement=elemento non valido \"{1}\" nel descrittore di runtime (riga {0}) +runtime.parser.invalidAttributeValue=valore non valido per l''attributo \"{2}\" dell''elemento \"{1}\" nel descrittore di runtime (riga {0}) +runtime.parser.invalidVersionNumber=versione del descrittore di runtime non supportata: {2} +runtime.parser.missing.attribute=attributo mancante \"{2}\" nell''elemento \"{1}\" del descrittore di runtime (riga {0}) +runtime.parser.invalid.attribute.value=valore dell''attributo non valido \"{1}\" nel descrittore di runtime (riga {0}) +runtime.parser.missing.attribute.no.line=attributo mancante \"{2}\" nell''elemento \"{1}\" del descrittore di runtime +runtime.parser.wrong.element=trovato elemento \"{1}\", previsto \"{2}\", nel descrittore di runtime (riga {0}) +runtime.parser.wsdl.not.found={0} non trovato nel file WAR. Inserirlo all''interno di un package nel file WAR oppure correggerlo in sun-jaxws.xml. +runtime.parser.wsdl=eccezione durante l''analisi di WSDL: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=trovate pi\u00F9 associazioni per l''ID associazione {0} per il servizio {1} in WSDL {2} +runtime.parser.wsdl.noservice.in.wsdlmodel=Errore durante l''elaborazione di WSDL {0} e nessun servizio valido trovato. +runtime.parser.wsdl.incorrectservice=impossibile ottenere l''associazione da WSDL. Servizio: {0} non trovato in WSDL {1}.\nIl motivo potrebbe essere la mancata corrispondenza del nome servizio con il nome sdl:service di WSDL:\n1. Il nome servizio non \u00E8 presente nel descrittore di distribuzione O\n2. Nel nome servizio del descrittore di distribuzione \u00E8 presente un errore di battitura O\n3. I nomi calcolati da @WebService non corrispondono al nome wsdl:service\nO\n1. Si \u00E8 verificato un errore durante l''analisi di WSDL e il servizio con nome {0} non \u00E8 stato trovato in WSDLModel.\nSi suggerisce di eseguire le seguenti operazioni:\n1. Aggiungere/correggere le voci per il nome servizio nel descrittore di distribuzione O \n2. Specificare targetNamespace, serviceName in @WebService sulla classe dell''endpoint + +runtime.parser.wsdl.incorrectserviceport=impossibile ottenere l''associazione da WSDL. Servizio: {0} o porta {1} non trovati in WSDL {2}.\nIl motivo potrebbe essere la mancata corrispondenza dei nomi servizio e porta con i nomi wsdl:service e wsdl:port di WSDL:\n1. I nomi servizio e porta non sono presenti nel descrittore di distribuzione O\n2. Nei nomi servizio e porta del descrittore di distribuzione \u00E8 presente un errore di battitura O\n3. I nomi calcolati da @WebService non corrispondono ai nomi wsdl:service e wsdl:port\nSi suggerisce di eseguire le seguenti operazioni:\n1. Aggiungere/correggere le voci per i nomi servizio e porta nel descrittore di distribuzione O \n2. Specificare targetNamespace, serviceName, portName in @WebService sulla classe dell''endpoint + +stateful.cookie.header.required=Questo \u00E8 un servizio Web con conservazione dello stato ed \u00E8 obbligatoria l''intestazione {0}. +stateful.cookie.header.incorrect=Valore dell''intestazione {0} non valido/scaduto: {1} +stateful.invalid.webservice.context=Non un WebServiceContext da JAX-WS RI: {0} +stateful.requres.addressing=Il servizio Web con conservazione dello stato {0} richiede l''abilitazione del supporto WS-Addressing. \u00C8 possibile che manchi @Addressing + +no.current.packet=Al momento questo thread non sta elaborando alcuna richiesta del servizio Web. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=Impossibile creare un''istanza di {0} (specificata in {1} su {2}) + +static.resource.injection.only=Impossibile inserire la risorsa statica {0} in "{1}" non statico + +dd.mtom.conflict = Errore nel descrittore di distribuzione: la configurazione MTOM nell''associazione {0} \u00E8 in conflitto con il valore dell''attributo enable-mtom {1} + +# {0} - qname of an element +dispatch.cannotFindMethod=Impossibile trovare il metodo di spedizione per {0} +non.unique.dispatch.qname=Parti del corpo non univoche. In una porta, come per BP 1.1 R2710, le operazioni devono avere una firma dell''operazione univoca in rete affinch\u00E9 la spedizione riesca. I metodi {0} hanno lo stesso blocco del corpo della richiesta {1}. Se il metodo di spedizione non riesce, runtime prover\u00E0 a consegnare usando SOAPAction. Un''altra opzione \u00E8 di abilitare AddressingFeature per il runtime abilitato in modo che identifichi solo l''operazione WSDL usando l''intestazione wsa:Action. + +unsupported.contentType=Content-Type non supportato: {0}. I tipi supportati sono: {1} +no.contentType=La richiesta non ha un Content-Type +unsupported.charset=Set di caratteri non supportato "{0}" nel Content-Type del messaggio ricevuto +duplicate.portKnownHeader=Il messaggio SOAP ricevuto contiene un''intestazione duplicata: {0} per un parametro associato + +runtimemodeler.invalidannotationOnImpl=Annotazione non valida: {0} sulla classe di implementazione dell''endpoint \"{1}\" e pertanto verr\u00E0 ignorata. \"{1}\" \u00E8 annotato con @WebService(endpointInterface=\"{2}\"}, non deve essere annotato con {0}. Per correggerlo inserire questa annotazione su SEI {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u30C7\u30B3\u30FC\u30C9\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F +server.rt.err=\u30B5\u30FC\u30D0\u30FC\u5B9F\u884C\u6642\u30A8\u30E9\u30FC: {0} +soapencoder.err=SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u30A8\u30F3\u30B3\u30FC\u30C9\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F + +annotation.only.once=\u6CE8\u91C8\"{0}\"\u3092\u4ED8\u3051\u308B\u30E1\u30BD\u30C3\u30C9\u306F1\u3064\u306E\u307F\u3068\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +not.zero.parameters=\u30E1\u30BD\u30C3\u30C9\"{0}\"\u306B\u306F\u5F15\u6570\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 + +wrong.field.type=\u30D5\u30A3\u30FC\u30EB\u30C9\"{0}\"\u306E\u30BF\u30A4\u30D7\u304C\u4E0D\u6B63\u3067\u3059 +wrong.no.parameters=\u30E1\u30BD\u30C3\u30C9\"{0}\"\u306E\u5F15\u6570\u306E\u6570\u304C\u4E0D\u6B63\u3067\u3059 +wrong.parameter.type=\u30E1\u30BD\u30C3\u30C9\"{0}\"\u306E\u5F15\u6570\u30BF\u30A4\u30D7\u304C\u4E0D\u6B63\u3067\u3059 + +can.not.generate.wsdl=\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\"{0}\"\u7528\u306EWSDL\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093 +generate.non.standard.wsdl=\u6307\u5B9A\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u7528\u306E\u975E\u6A19\u6E96WSDL\u3092\u751F\u6210\u3057\u3066\u3044\u307E\u3059 +null.implementor=\u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u306Fnull\u306B\u3067\u304D\u307E\u305B\u3093 + +runtime.wsdl.patcher=WSDL\u95A2\u9023\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3078\u306E\u30D1\u30C3\u30C1\u9069\u7528\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F + +# {0} - class name +not.implement.provider=\"{0}\"\u306F\u30D7\u30ED\u30D0\u30A4\u30C0\u3092\u5B9F\u88C5\u3057\u3066\u3044\u307E\u305B\u3093 +# {0} - class name +provider.not.parameterized=\"{0}\"\u306F\u30D7\u30ED\u30D0\u30A4\u30C0\u3092\u5B9F\u88C5\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u30BF\u30A4\u30D7\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u6307\u5B9A\u3057\u3066\u3044\u307E\u305B\u3093 +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\"\u306F\u30D7\u30ED\u30D0\u30A4\u30C0\u3092\u5B9F\u88C5\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u30BF\u30A4\u30D7\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF{1}\u304C\u4E0D\u6B63\u3067\u3059 + +wsdl.required=WSDL\u306F\u5FC5\u9808\u3067\u3059 +service.name.required=\u30B5\u30FC\u30D3\u30B9\u306EQName\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +port.name.required=\u30DD\u30FC\u30C8\u306EQName\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +wrong.tns.for.port=\u30DD\u30FC\u30C8\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9{0}\u304C\u30B5\u30FC\u30D3\u30B9\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9{1}\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093 + +# {0} - probably URL/port of a server +already.http.server=\u6B21\u306E\u5834\u6240\u306B\u3059\u3067\u306BHTTP\u30B5\u30FC\u30D0\u30FC\u304C\u3042\u308A\u307E\u3059: {0}# {0} - \u901A\u5E38\u306F\u30B5\u30FC\u30D0\u30FC\u306EURL/\u30DD\u30FC\u30C8 +already.https.server=\u6B21\u306E\u5834\u6240\u306B\u3059\u3067\u306BHTTPS\u30B5\u30FC\u30D0\u30FC\u304C\u3042\u308A\u307E\u3059: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=Endpoint.publish({0})\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u4E0D\u660E\u306A\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30FB\u30BF\u30A4\u30D7\u306F{1}\u304A\u3088\u3073{2}\u3067\u3059 + +duplicate.primary.wsdl=\u30E1\u30BF\u30C7\u30FC\u30BF\u306B\u3001\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306E\u30B5\u30FC\u30D3\u30B9\u5B9A\u7FA9\u304C\u3042\u308B\u8907\u6570\u306EWSDL\u304C\u542B\u307E\u308C\u307E\u3059\u3002WSDL={0}\u306F\u305D\u306E\u3088\u3046\u306AWSDL\u306E\u4E00\u3064\u3067\u3059\u3002 +duplicate.abstract.wsdl=\u30E1\u30BF\u30C7\u30FC\u30BF\u306B\u3001\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306EPortType\u5B9A\u7FA9\u304C\u3042\u308B\u8907\u6570\u306EWSDL\u304C\u542B\u307E\u308C\u307E\u3059\u3002WSDL={0}\u306F\u305D\u306E\u3088\u3046\u306AWSDL\u306E\u4E00\u3064\u3067\u3059\u3002 + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u30AF\u30E9\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306E\u89E3\u6790\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u306B\u4E88\u671F\u3057\u306A\u3044\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u304C\u3042\u308A\u307E\u3059 +runtime.parser.invalidElement=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u3067\u8981\u7D20\"{1}\"\u304C\u7121\u52B9\u3067\u3059 +runtime.parser.invalidAttributeValue=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u3067\u8981\u7D20\"{1}\"\u306E\u5C5E\u6027\"{2}\"\u306E\u5024\u304C\u7121\u52B9\u3067\u3059 +runtime.parser.invalidVersionNumber=\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3\u3067\u3059: {2} +runtime.parser.missing.attribute=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u306E\u8981\u7D20\"{1}\"\u306B\u5C5E\u6027\"{2}\"\u304C\u3042\u308A\u307E\u305B\u3093 +runtime.parser.invalid.attribute.value=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u3067\u5C5E\u6027\u5024\"{1}\"\u304C\u7121\u52B9\u3067\u3059 +runtime.parser.missing.attribute.no.line=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306E\u8981\u7D20\"{1}\"\u306B\u5C5E\u6027\"{2}\"\u304C\u3042\u308A\u307E\u305B\u3093 +runtime.parser.wrong.element=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF(\u884C{0})\u306B\u8981\u7D20\"{1}\"\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u304C\u3001\"{2}\"\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 +runtime.parser.wsdl.not.found=WAR\u30D5\u30A1\u30A4\u30EB\u306B{0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u3053\u308C\u3092WAR\u30D5\u30A1\u30A4\u30EB\u306B\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3059\u308B\u304B\u3001sun-jaxws.xml\u3067\u4FEE\u6B63\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +runtime.parser.wsdl=WSDL\u306E\u89E3\u6790\u4E2D\u306B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=WSDL {2}\u306E\u30B5\u30FC\u30D3\u30B9{1}\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0ID {0}\u306B\u8907\u6570\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +runtime.parser.wsdl.noservice.in.wsdlmodel=WSDL {0}\u306E\u51E6\u7406\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u6709\u52B9\u306A\u30B5\u30FC\u30D3\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002 +runtime.parser.wsdl.incorrectservice=WSDL\u304B\u3089\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30B5\u30FC\u30D3\u30B9: {0}\u304CWSDL {1}\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\n\u30B5\u30FC\u30D3\u30B9\u540D\u304CWSDL\u306Ewsdl:service\u540D\u3068\u4E00\u81F4\u3057\u306A\u3044\u305F\u3081\u3067\u3042\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059: \n1. \u30B5\u30FC\u30D3\u30B9\u540D\u304C\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u3042\u308A\u307E\u305B\u3093\n2.\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306E\u30B5\u30FC\u30D3\u30B9\u540D\u306B\u5165\u529B\u30DF\u30B9\u304C\u3042\u308A\u307E\u3059\n3.@WebService\u304B\u3089\u7B97\u51FA\u3055\u308C\u305F\u540D\u524D\u304Cwsdl:service\u540D\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\n\u307E\u305F\u306F\n1.wsdl\u306E\u89E3\u6790\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u540D\u524D{0}\u306E\u30B5\u30FC\u30D3\u30B9\u304CWSDLModel\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\n\u6B21\u306E\u3068\u304A\u308A\u5B9F\u884C\u3059\u308B\u3053\u3068\u3092\u304A\u85A6\u3081\u3057\u307E\u3059:\n1.\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u30B5\u30FC\u30D3\u30B9\u540D\u306E\u30A8\u30F3\u30C8\u30EA\u3092\u8FFD\u52A0\u3059\u308B\u304B\u3001\u4FEE\u6B63\u3057\u307E\u3059\u3002\u307E\u305F\u306F\n2.\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30AF\u30E9\u30B9\u306E@WebService\u3067\u3001targetNamespace\u3001serviceName\u3092\u6307\u5B9A\u3057\u307E\u3059 + +runtime.parser.wsdl.incorrectserviceport=WSDL\u304B\u3089\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30B5\u30FC\u30D3\u30B9: {0}\u307E\u305F\u306F\u30DD\u30FC\u30C8{1}\u304CWSDL {2}\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\n\u30B5\u30FC\u30D3\u30B9\u540D\u304A\u3088\u3073\u30DD\u30FC\u30C8\u540D\u304CWSDL\u306Ewsdl:service\u540D\u304A\u3088\u3073wsdl:port\u540D\u3068\u4E00\u81F4\u3057\u306A\u3044\u305F\u3081\u3067\u3042\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059:\n1.\u30B5\u30FC\u30D3\u30B9\u540D\u304A\u3088\u3073\u30DD\u30FC\u30C8\u540D\u304C\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u3042\u308A\u307E\u305B\u3093\n2.\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306E\u30B5\u30FC\u30D3\u30B9\u540D\u304A\u3088\u3073\u30DD\u30FC\u30C8\u540D\u306B\u5165\u529B\u30DF\u30B9\u304C\u3042\u308A\u307E\u3059\n3.@WebService\u304B\u3089\u7B97\u51FA\u3055\u308C\u305F\u540D\u524D\u304Cwsdl:service\u540D\u304A\u3088\u3073wsdl:port\u540D\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\n\u6B21\u306E\u3068\u304A\u308A\u5B9F\u884C\u3059\u308B\u3053\u3068\u3092\u304A\u85A6\u3081\u3057\u307E\u3059:\n1.\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u30B5\u30FC\u30D3\u30B9\u540D\u304A\u3088\u3073\u30DD\u30FC\u30C8\u540D\u306E\u30A8\u30F3\u30C8\u30EA\u3092\u8FFD\u52A0\u3059\u308B\u304B\u3001\u4FEE\u6B63\u3057\u307E\u3059\u3002\u307E\u305F\u306F\n2.\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30AF\u30E9\u30B9\u306E@WebService\u3067\u3001targetNamespace\u3001serviceName\u3001portName\u3092\u6307\u5B9A\u3057\u307E\u3059 + +stateful.cookie.header.required=\u3053\u308C\u306F\u30B9\u30C6\u30FC\u30C8\u30D5\u30EBWeb\u30B5\u30FC\u30D3\u30B9\u3067\u3042\u308A\u3001{0}\u30D8\u30C3\u30C0\u30FC\u304C\u5FC5\u8981\u3067\u3059\u3002 +stateful.cookie.header.incorrect=\u7121\u52B9/\u671F\u9650\u5207\u308C{0}\u30D8\u30C3\u30C0\u30FC\u5024: {1} +stateful.invalid.webservice.context=JAX-WS RI\u306EWebServiceContext\u3067\u306F\u3042\u308A\u307E\u305B\u3093: {0} +stateful.requres.addressing=\u30B9\u30C6\u30FC\u30C8\u30D5\u30EBWeb\u30B5\u30FC\u30D3\u30B9{0}\u3067\u306F\u3001WS-Addressing\u306E\u30B5\u30DD\u30FC\u30C8\u3092\u6709\u52B9\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002@Addressing\u304C\u6B20\u843D\u3057\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 + +no.current.packet=\u3053\u306E\u30B9\u30EC\u30C3\u30C9\u3067\u306F\u3001\u73FE\u5728\u3044\u305A\u308C\u306EWeb\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u3082\u51E6\u7406\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver={0} ({2}\u306E{1}\u3067\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059)\u3092\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3067\u304D\u307E\u305B\u3093 + +static.resource.injection.only=\u9759\u7684\u30EA\u30BD\u30FC\u30B9{0}\u306F\u9759\u7684\u3067\u306A\u3044"{1}"\u306B\u6CE8\u5165\u3067\u304D\u307E\u305B\u3093 + +dd.mtom.conflict = \u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306E\u30A8\u30E9\u30FC: \u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0{0}\u306EMTOM\u69CB\u6210\u304Cenable-mtom\u306E\u5C5E\u6027\u5024{1}\u3068\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059 + +# {0} - qname of an element +dispatch.cannotFindMethod={0}\u306E\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u30FB\u30E1\u30BD\u30C3\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +non.unique.dispatch.qname=\u672C\u6587\u30D1\u30FC\u30C8\u304C\u4E00\u610F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30DD\u30FC\u30C8\u306B\u304A\u3044\u3066BP 1.1 R2710\u306E\u3068\u304A\u308A\u3001\u6B63\u5E38\u306B\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u3059\u308B\u305F\u3081\u306B\u64CD\u4F5C\u306B\u306F\u901A\u4FE1\u4E0A\u306B\u4E00\u610F\u306E\u64CD\u4F5C\u7F72\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002\u30E1\u30BD\u30C3\u30C9{0}\u306B\u540C\u3058\u30EA\u30AF\u30A8\u30B9\u30C8\u672C\u6587\u30D6\u30ED\u30C3\u30AF{1}\u304C\u3042\u308A\u307E\u3059\u3002\u30E1\u30BD\u30C3\u30C9\u306E\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u304C\u5931\u6557\u3057\u305F\u5834\u5408\u306F\u3001\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u3088\u3063\u3066SOAPAction\u3092\u4F7F\u7528\u3057\u305F\u30C7\u30A3\u30B9\u30D1\u30C3\u30C1\u304C\u8A66\u884C\u3055\u308C\u307E\u3059\u3002\u307E\u305F\u3001\u6709\u52B9\u5316\u3055\u308C\u305F\u30E9\u30F3\u30BF\u30A4\u30E0\u306B\u5BFE\u3057\u3066AddressingFeature\u3092\u6709\u52B9\u5316\u3057\u3001wsa:Action\u30D8\u30C3\u30C0\u30FC\u3092\u4F7F\u7528\u3057\u3066WSDL\u64CD\u4F5C\u3092\u4E00\u610F\u306B\u8B58\u5225\u3059\u308B\u65B9\u6CD5\u3082\u3042\u308A\u307E\u3059\u3002 + +unsupported.contentType=\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044Content-Type: {0} \u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u306E\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059: {1} +no.contentType=\u30EA\u30AF\u30A8\u30B9\u30C8\u306BContent-Type\u304C\u3042\u308A\u307E\u305B\u3093 +unsupported.charset=\u53D7\u3051\u53D6\u3063\u305F\u30E1\u30C3\u30BB\u30FC\u30B8\u306EContent-Type\u306B\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u6587\u5B57\u30BB\u30C3\u30C8"{0}"\u304C\u3042\u308A\u307E\u3059 +duplicate.portKnownHeader=\u53D7\u3051\u53D6\u3063\u305FSOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u3001\u30D0\u30A4\u30F3\u30C9\u3055\u308C\u305F\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u5BFE\u3059\u308B\u91CD\u8907\u3059\u308B\u30D8\u30C3\u30C0\u30FC: {0}\u304C\u542B\u307E\u308C\u307E\u3059 + +runtimemodeler.invalidannotationOnImpl=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u5B9F\u88C5\u30AF\u30E9\u30B9\"{1}\"\u306E\u7121\u52B9\u306A\u6CE8\u91C8: {0} - \u7121\u8996\u3055\u308C\u307E\u3059\u3002\"{1}\"\u306B\u306F@WebService(endpointInterface=\"{2}\"}\u306E\u6CE8\u91C8\u304C\u4ED8\u3044\u3066\u3044\u307E\u3059\u304C\u3001{0}\u306E\u6CE8\u91C8\u3092\u4ED8\u3051\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u4FEE\u6B63\u3059\u308B\u306B\u306F\u3001SEI {2}\u306B\u3053\u306E\u6CE8\u91C8\u3092\u7F6E\u304D\u307E\u3059\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=SOAP \uBA54\uC2DC\uC9C0\uB97C \uB514\uCF54\uB529\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +server.rt.err=\uC11C\uBC84 \uB7F0\uD0C0\uC784 \uC624\uB958: {0} +soapencoder.err=SOAP \uBA54\uC2DC\uC9C0\uB97C \uC778\uCF54\uB529\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. + +annotation.only.once=\uD558\uB098\uC758 \uBA54\uC18C\uB4DC\uC5D0\uB9CC \"{0}\" \uC8FC\uC11D\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. +not.zero.parameters=\"{0}\" \uBA54\uC18C\uB4DC\uC5D0\uB294 \uC778\uC218\uAC00 \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +wrong.field.type=\"{0}\" \uD544\uB4DC\uC5D0 \uB300\uD55C \uC720\uD615\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wrong.no.parameters=\"{0}\" \uBA54\uC18C\uB4DC\uC5D0 \uB300\uD55C \uC778\uC218 \uC218\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +wrong.parameter.type=\"{0}\" \uBA54\uC18C\uB4DC\uC5D0 \uB300\uD55C \uC778\uC218 \uC720\uD615\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +can.not.generate.wsdl=\"{0}\" \uBC14\uC778\uB529\uC5D0 \uB300\uD55C WSDL\uC744 \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +generate.non.standard.wsdl=\uC9C0\uC815\uB41C \uBC14\uC778\uB529\uC5D0 \uB300\uD55C \uBE44\uD45C\uC900 WSDL\uC744 \uC0DD\uC131\uD558\uB294 \uC911 +null.implementor=\uAD6C\uD604\uC790\uB294 \uB110\uC77C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +runtime.wsdl.patcher=WSDL \uAD00\uB828 \uBB38\uC11C\uC758 \uD328\uCE58\uB97C \uC801\uC6A9\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. + +# {0} - class name +not.implement.provider=\"{0}\"\uC774(\uAC00) \uC81C\uACF5\uC790\uB97C \uAD6C\uD604\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# {0} - class name +provider.not.parameterized=\"{0}\"\uC774(\uAC00) \uC81C\uACF5\uC790\uB97C \uAD6C\uD604\uD558\uC9C0\uB9CC \uC720\uD615 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC9C0\uC815\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\"\uC774(\uAC00) \uC81C\uACF5\uC790\uB97C \uAD6C\uD604\uD558\uC9C0\uB9CC \uD574\uB2F9 \uC720\uD615 \uB9E4\uAC1C\uBCC0\uC218 {1}\uC774(\uAC00) \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +wsdl.required=WSDL\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +service.name.required=\uC11C\uBE44\uC2A4 QName\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +port.name.required=\uD3EC\uD2B8 QName\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +wrong.tns.for.port=\uD3EC\uD2B8 \uB124\uC784\uC2A4\uD398\uC774\uC2A4 {0}\uC774(\uAC00) \uC11C\uBE44\uC2A4 \uB124\uC784\uC2A4\uD398\uC774\uC2A4 {1}\uACFC(\uC640) \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +# {0} - probably URL/port of a server +already.http.server={0}#\uC5D0 HTTP \uC11C\uBC84\uAC00 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4. {0}\uC740(\uB294) \uC11C\uBC84\uC758 URL/\uD3EC\uD2B8\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4. +already.https.server={0}\uC5D0 HTTPS \uC11C\uBC84\uAC00 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4. +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=Endpoint.publish({0})\uB97C \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD655\uC778\uB41C \uCEE8\uD14D\uC2A4\uD2B8 \uC720\uD615\uC740 {1} \uBC0F {2}\uC785\uB2C8\uB2E4. + +duplicate.primary.wsdl=\uBA54\uD0C0 \uB370\uC774\uD130\uC5D0 \uB05D\uC810\uC5D0 \uB300\uD55C \uC11C\uBE44\uC2A4 \uC815\uC758\uB97C \uD3EC\uD568\uD558\uB294 WSDL\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. WSDL={0}\uC774(\uAC00) \uD574\uB2F9 WSDL \uC911 \uD558\uB098\uC785\uB2C8\uB2E4. +duplicate.abstract.wsdl=\uBA54\uD0C0 \uB370\uC774\uD130\uC5D0 \uB05D\uC810\uC5D0 \uB300\uD55C PortType \uC815\uC758\uB97C \uD3EC\uD568\uD558\uB294 WSDL\uC774 \uB450 \uAC1C \uC774\uC0C1 \uC788\uC2B5\uB2C8\uB2E4. WSDL={0}\uC774(\uAC00) \uD574\uB2F9 WSDL \uC911 \uD558\uB098\uC785\uB2C8\uB2E4. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=\uD074\uB798\uC2A4\uB97C \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC5D0 \uC608\uC0C1\uCE58 \uC54A\uC740 \uCF58\uD150\uCE20\uAC00 \uC788\uC2B5\uB2C8\uB2E4. +runtime.parser.invalidElement=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC5D0 \uBD80\uC801\uD569\uD55C \uC694\uC18C \"{1}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +runtime.parser.invalidAttributeValue=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC5D0 \"{1}\" \uC694\uC18C\uC758 \"{2}\" \uC18D\uC131\uC5D0 \uB300\uD55C \uBD80\uC801\uD569\uD55C \uAC12\uC774 \uC788\uC2B5\uB2C8\uB2E4. +runtime.parser.invalidVersionNumber=\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790 \uBC84\uC804: {2} +runtime.parser.missing.attribute=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC758 \"{1}\" \uC694\uC18C\uC5D0 \"{2}\" \uC18D\uC131\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +runtime.parser.invalid.attribute.value=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC5D0 \uBD80\uC801\uD569\uD55C \uC18D\uC131\uAC12 \"{1}\"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +runtime.parser.missing.attribute.no.line=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC758 \"{1}\" \uC694\uC18C\uC5D0 \"{2}\" \uC18D\uC131\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +runtime.parser.wrong.element=\"{1}\" \uC694\uC18C\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC9C0\uB9CC \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790({0}\uD589)\uC5D0\uB294 \"{2}\"\uC774(\uAC00) \uD544\uC694\uD569\uB2C8\uB2E4. +runtime.parser.wsdl.not.found={0}\uC744(\uB97C) WAR \uD30C\uC77C\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. WAR \uD30C\uC77C\uC5D0\uC11C \uD328\uD0A4\uC9C0\uD654\uD558\uAC70\uB098 sun-jaxws.xml\uC5D0\uC11C \uC218\uC815\uD558\uC2ED\uC2DC\uC624. +runtime.parser.wsdl=WSDL \uAD6C\uBB38 \uBD84\uC11D \uC911 \uC608\uC678 \uC0AC\uD56D \uBC1C\uC0DD: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding={1} \uC11C\uBE44\uC2A4\uC758 \uBC14\uC778\uB529 ID {0}\uC5D0 \uB300\uD55C \uBC14\uC778\uB529\uC774 WSDL {2}\uC5D0\uC11C \uC5EC\uB7EC \uAC1C \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +runtime.parser.wsdl.noservice.in.wsdlmodel=WSDL {0}\uC744(\uB97C) \uCC98\uB9AC\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC73C\uBA70 \uC801\uD569\uD55C \uC11C\uBE44\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +runtime.parser.wsdl.incorrectservice=WSDL\uC5D0\uC11C \uBC14\uC778\uB529\uC744 \uAC00\uC838\uC62C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! {0} \uC11C\uBE44\uC2A4\uB97C WSDL {1}\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC11C\uBE44\uC2A4 \uC774\uB984\uC774 WSDL\uC758 wsdl:service name\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uAE30 \uB54C\uBB38\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n1. \uC11C\uBE44\uC2A4 \uC774\uB984\uC774 \uBC30\uCE58 \uAE30\uC220\uC790\uC5D0 \uC5C6\uC2B5\uB2C8\uB2E4.\n2. \uBC30\uCE58 \uAE30\uC220\uC790\uC758 \uC11C\uBE44\uC2A4 \uC774\uB984\uC5D0 \uCCA0\uC790 \uC624\uB958\uAC00 \uC788\uC2B5\uB2C8\uB2E4.\n3. @WebService\uC758 \uACC4\uC0B0\uB41C \uC774\uB984\uC774 wsdl:service name\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n\uB610\uB294\n1. WSDL\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC73C\uBA70 \uC774\uB984\uC774 {0}\uC778 \uC11C\uBE44\uC2A4\uB97C WSDLModel\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uB2E4\uC74C \uC791\uC5C5 \uC911 \uD558\uB098\uB97C \uC218\uD589\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4.\n1. \uBC30\uCE58 \uAE30\uC220\uC790\uC5D0\uC11C \uC11C\uBE44\uC2A4 \uC774\uB984\uC5D0 \uB300\uD55C \uD56D\uBAA9\uC744 \uCD94\uAC00/\uC218\uC815\uD569\uB2C8\uB2E4. \n2. \uB05D\uC810 \uD074\uB798\uC2A4\uC758 @WebService\uC5D0 targetNamespace, serviceName\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4. + +runtime.parser.wsdl.incorrectserviceport=WSDL\uC5D0\uC11C \uBC14\uC778\uB529\uC744 \uAC00\uC838\uC62C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! {0} \uC11C\uBE44\uC2A4 \uB610\uB294 {1} \uD3EC\uD2B8\uB97C WSDL {2}\uC5D0\uC11C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC11C\uBE44\uC2A4 \uBC0F \uD3EC\uD2B8 \uC774\uB984\uC774 WSDL\uC758 wsdl:service name \uBC0F wsdl:port name\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uAE30 \uB54C\uBB38\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n1. \uC11C\uBE44\uC2A4 \uBC0F \uD3EC\uD2B8 \uC774\uB984\uC774 \uBC30\uCE58 \uAE30\uC220\uC790\uC5D0 \uC5C6\uC2B5\uB2C8\uB2E4.\n2. \uBC30\uCE58 \uAE30\uC220\uC790\uC758 \uC11C\uBE44\uC2A4 \uBC0F \uD3EC\uD2B8 \uC774\uB984\uC5D0 \uCCA0\uC790 \uC624\uB958\uAC00 \uC788\uC2B5\uB2C8\uB2E4.\n3. @WebService\uC758 \uACC4\uC0B0\uB41C \uC774\uB984\uC774 wsdl:service name \uBC0F wsdl:port name\uACFC \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n\uB2E4\uC74C \uC791\uC5C5 \uC911 \uD558\uB098\uB97C \uC218\uD589\uD558\uB294 \uAC83\uC774 \uC88B\uC2B5\uB2C8\uB2E4.\n1. \uBC30\uCE58 \uAE30\uC220\uC790\uC5D0\uC11C \uC11C\uBE44\uC2A4 \uBC0F \uD3EC\uD2B8 \uC774\uB984\uC5D0 \uB300\uD55C \uD56D\uBAA9\uC744 \uCD94\uAC00/\uC218\uC815\uD569\uB2C8\uB2E4. \n2. \uB05D\uC810 \uD074\uB798\uC2A4\uC758 @WebService\uC5D0 targetNamespace, serviceName, portName\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4. + +stateful.cookie.header.required=Stateful \uC6F9 \uC11C\uBE44\uC2A4\uC774\uBA70 {0} \uD5E4\uB354\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +stateful.cookie.header.incorrect=\uBD80\uC801\uD569\uD558\uAC70\uB098 \uB9CC\uB8CC\uB41C {0} \uD5E4\uB354 \uAC12: {1} +stateful.invalid.webservice.context=JAX-WS RI\uC758 WebServiceContext\uAC00 \uC544\uB2D8: {0} +stateful.requres.addressing=Stateful \uC6F9 \uC11C\uBE44\uC2A4 {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uB824\uBA74 WS-Addressing \uC9C0\uC6D0\uC744 \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. @Addressing\uC774 \uB204\uB77D\uB41C \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. + +no.current.packet=\uC774 \uC2A4\uB808\uB4DC\uB294 \uD604\uC7AC \uC6F9 \uC11C\uBE44\uC2A4 \uC694\uCCAD\uC744 \uCC98\uB9AC\uD558\uACE0 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver={2}\uC758 {1}\uC5D0 \uC9C0\uC815\uB41C {0}\uC744(\uB97C) \uC778\uC2A4\uD134\uC2A4\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +static.resource.injection.only=\uC815\uC801 \uB9AC\uC18C\uC2A4 {0}\uC744(\uB97C) \uBE44\uC815\uC801 "{1}"\uC5D0 \uC0BD\uC785\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +dd.mtom.conflict = \uBC30\uCE58 \uAE30\uC220\uC790\uC5D0 \uC624\uB958 \uBC1C\uC0DD: {0} \uBC14\uC778\uB529\uC758 MTOM \uAD6C\uC131\uC774 enable-mtom \uC18D\uC131\uAC12 {1}\uACFC(\uC640) \uCDA9\uB3CC\uD569\uB2C8\uB2E4. + +# {0} - qname of an element +dispatch.cannotFindMethod={0}\uC5D0 \uB300\uD55C dispatch \uBA54\uC18C\uB4DC\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +non.unique.dispatch.qname=\uACE0\uC720\uD558\uC9C0 \uC54A\uC740 \uBCF8\uBB38 \uBD80\uBD84\uC785\uB2C8\uB2E4! \uC791\uC5C5 \uD560\uB2F9\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC218\uD589\uD558\uB824\uBA74 BP 1.1 R2710\uC5D0 \uB530\uB77C \uD3EC\uD2B8\uC5D0\uC11C \uC791\uC5C5\uC5D0 \uACE0\uC720\uD55C \uC791\uC5C5 \uC11C\uBA85\uC774 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. {0} \uBA54\uC18C\uB4DC\uC758 \uC694\uCCAD \uBCF8\uBB38 \uBE14\uB85D {1}\uC774(\uAC00) \uB3D9\uC77C\uD569\uB2C8\uB2E4. \uBA54\uC18C\uB4DC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2E4\uD328\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uB7F0\uD0C0\uC784\uC774 SOAPAction\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC791\uC5C5 \uD560\uB2F9\uC744 \uC2DC\uB3C4\uD569\uB2C8\uB2E4. \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uB41C \uB7F0\uD0C0\uC784\uC5D0 \uB300\uD574 AddressingFeature\uB97C \uC0AC\uC6A9\uC73C\uB85C \uC124\uC815\uD558\uC5EC wsa:Action \uD5E4\uB354\uB97C \uC0AC\uC6A9\uD558\uB294 WSDL \uC791\uC5C5\uC744 \uACE0\uC720\uD558\uAC8C \uC2DD\uBCC4\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. + +unsupported.contentType=\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 Content-Type: {0}. \uC9C0\uC6D0\uB418\uB294 Content-Type: {1} +no.contentType=\uC694\uCCAD\uC5D0 Content-Type\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +unsupported.charset=\uC218\uC2E0\uB41C \uBA54\uC2DC\uC9C0\uC758 Content-Type\uC5D0 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uBB38\uC790 \uC9D1\uD569 "{0}"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +duplicate.portKnownHeader=\uC218\uC2E0\uB41C SOAP \uBA54\uC2DC\uC9C0\uC5D0 \uD3EC\uD568\uB418\uC5B4 \uC788\uB294 \uBC14\uC778\uB4DC\uB41C \uB9E4\uAC1C\uBCC0\uC218\uC5D0 \uB300\uD55C {0} \uD5E4\uB354\uAC00 \uC911\uBCF5\uB429\uB2C8\uB2E4. + +runtimemodeler.invalidannotationOnImpl=\uB05D\uC810 \uAD6C\uD604 \uD074\uB798\uC2A4 \"{1}\"\uC758 \uBD80\uC801\uD569\uD55C \uC8FC\uC11D {0}\uC774(\uAC00) \uBB34\uC2DC\uB429\uB2C8\uB2E4. \"{1}\"\uC740(\uB294) @WebService(endpointInterface=\"{2}\")\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC5C8\uC73C\uBA70 {0}(\uC73C)\uB85C \uC8FC\uC11D \uCC98\uB9AC\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. \uC218\uC815\uD558\uB824\uBA74 SEI {2}\uC5D0\uC11C \uC774 \uC8FC\uC11D\uC744 \uC0BD\uC785\uD558\uC2ED\uC2DC\uC624. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=Erro na decodifica\u00E7\u00E3o da Mensagem SOAP +server.rt.err=Erro de Runtime do Servidor: {0} +soapencoder.err=Erro na codifica\u00E7\u00E3o da Mensagem SOAP + +annotation.only.once=S\u00F3 um m\u00E9todo deve ter a anota\u00E7\u00E3o \"{0}\" +not.zero.parameters=O m\u00E9todo \"{0}\" n\u00E3o deve ter argumentos + +wrong.field.type=Tipo incorreto de campo \"{0}\" +wrong.no.parameters=N\u00FAmero incorreto de argumentos para o m\u00E9todo \"{0}\" +wrong.parameter.type=Tipos de argumentos incorretos para o m\u00E9todo \"{0}\" + +can.not.generate.wsdl=N\u00E3o \u00E9 poss\u00EDvel gerar o WSDL para bind \\"{0}\\" +generate.non.standard.wsdl=Gerando WSDL n\u00E3o padr\u00E3o para o bind especificado +null.implementor=O implementador n\u00E3o pode ser nulo + +runtime.wsdl.patcher=erro ao fazer patch do documento relacionado ao WSDL + +# {0} - class name +not.implement.provider=\"{0}\" n\u00E3o implementa o Provedor +# {0} - class name +provider.not.parameterized=\"{0}\" implementa o Provedor mas n\u00E3o especifica o par\u00E2metro de tipo +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" implementa o Provedor mas seu par\u00E2metro de tipo {1} \u00E9 incorreto + +wsdl.required=wsdl \u00E9 obrigat\u00F3rio +service.name.required=QName de Servi\u00E7o n\u00E3o encontrado +port.name.required=QName da Porta n\u00E3o encontrado +wrong.tns.for.port=O namespace da porta {0} n\u00E3o corresponde ao namespace {1} do Servi\u00E7o + +# {0} - probably URL/port of a server +already.http.server=J\u00E1 existe um servidor HTTP em : {0}# {0} - provavelmente URL/porta de um servidor +already.https.server=J\u00E1 existe um servidor HTTPS em: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=N\u00E3o suporta Endpoint.publish({0}). Os tipos de contexto conhecidos s\u00E3o {1} e {2} + +duplicate.primary.wsdl=Os metadados t\u00EAm mais de um WSDL que tem defini\u00E7\u00E3o de Servi\u00E7o do ponto final. O WSDL={0} \u00E9 um desses WSDLs. +duplicate.abstract.wsdl=Os metadados t\u00EAm mais de um WSDL que tem defini\u00E7\u00E3o de Servi\u00E7o do ponto final. O WSDL={0} \u00E9 desses WSDLs. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=classe n\u00E3o encontrada no descritor de runtime: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=erro ao fazer parse do descritor de runtime: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=conte\u00FAdo inesperado no descritor de runtime (linha {0}) +runtime.parser.invalidElement=elemento inv\u00E1lido \\"{1}\\" no descritor de runtime (linha {0}) +runtime.parser.invalidAttributeValue=valor inv\u00E1lido para o atributo \\"{2}\\" do elemento \\"{1}\\" no descritor de runtime (linha {0}) +runtime.parser.invalidVersionNumber=vers\u00E3o do descritor de runtime n\u00E3o suportada: {2} +runtime.parser.missing.attribute=atributo \\"{2}\\" n\u00E3o encontrado no elemento \\"{1}\\" do descritor de runtime (linha {0}) +runtime.parser.invalid.attribute.value=valor do atributo inv\u00E1lido \\"{1}\\" no descritor de runtime (linha {0}) +runtime.parser.missing.attribute.no.line=atributo \\"{2}\\" n\u00E3o encontrado no elemento \\"{1}\\" do descritor de runtime +runtime.parser.wrong.element=elemento \\"{1}\\" encontrado, esperava \\"{2}\\" no descritor de runtime (linha {0}) +runtime.parser.wsdl.not.found={0} n\u00E3o encontrado no arquivo WAR. Empacote-o no arquivo WAR ou corrija-o no sun-jaxws.xml. +runtime.parser.wsdl=exce\u00E7\u00E3o durante o parse do WSDL: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=v\u00E1rios binds encontrados para o ID de binding {0} do servi\u00E7o {1} no WSDL {2} +runtime.parser.wsdl.noservice.in.wsdlmodel=Houve um erro no processamento do WSDL {0} e nenhum servi\u00E7o v\u00E1lido foi encontrado. +runtime.parser.wsdl.incorrectservice=n\u00E3o foi poss\u00EDvel obter bind do WSDL!: o servi\u00E7o {0} n\u00E3o foi encontrado no WSDL {1}.\nIsso pode ocorrer porque o nome do servi\u00E7o n\u00E3o corresponde ao wsdl:service name de WSDL:\n1. o nome do servi\u00E7o n\u00E3o est\u00E1 no descritor de implanta\u00E7\u00E3o OU\n2. H\u00E1 um erro de digita\u00E7\u00E3o no nome do servi\u00E7o do descritor de implanta\u00E7\u00E3o OU\n3. Os nomes calculados de @WebService n\u00E3o correspondem ao nome do wsdl:service\nOU\n1. H\u00E1 um erro ao fazer parse do wsdl e o Servi\u00E7o com o nome {0} n\u00E3o foi encontrado no WSDLModel.\nSugerimos o seguinte:\n1. Adicionar/corrigir entradas do nome de servi\u00E7o no descritor de implanta\u00E7\u00E3o OU \n2. Especificar targetNamespace, serviceName no @WebService na classe do ponto final + +runtime.parser.wsdl.incorrectserviceport=n\u00E3o foi poss\u00EDvel obter bind do WSDL!: o servi\u00E7o {0} ou a porta {1} n\u00E3o foi encontrado(a) no WSDL {2}.\nIsso pode ocorrer porque os nomes do servi\u00E7o e da porta n\u00E3o correspondem aos nomes de wsdl:service e wsdl:port de WSDL:\n1. os nomes do servi\u00E7o e da porta n\u00E3o est\u00E3o no descritor de implanta\u00E7\u00E3o OU\n2. H\u00E1 um erro de digita\u00E7\u00E3o no nome do servi\u00E7o e da porta do descritor de implanta\u00E7\u00E3o OU\n3. Os nomes calculados de @WebService n\u00E3o correspondem ao nome do wsdl:service e do wsdl:port\nSugerimos o seguinte:\n1. Adicionar/corrigir entradas de nome de servi\u00E7o e porta no descritor de implanta\u00E7\u00E3o OU \n2. Especificar targetNamespace, serviceName, portName no @WebService na classe do ponto final + +stateful.cookie.header.required=Este \u00E9 um web service com informa\u00E7\u00F5es de estado e o cabe\u00E7alho {0} \u00E9 necess\u00E1rio. +stateful.cookie.header.incorrect=Valor do cabe\u00E7alho {0} inv\u00E1lido/expirado: {1} +stateful.invalid.webservice.context=N\u00E3o \u00E9 uma WebServiceContext de JAX-WS RI: {0} +stateful.requres.addressing=Web service {0} com informa\u00E7\u00F5es de estado requer que o suporte de Endere\u00E7amento de WS seja ativado. Talvez esteja faltando @Addressing + +no.current.packet=Este thread n\u00E3o est\u00E1 processamento nenhuma solicita\u00E7\u00E3o de web servi\u00E7o no momento. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=N\u00E3o \u00E9 poss\u00EDvel instanciar {0} (que foi especificado em {1} na {2}) + +static.resource.injection.only=O recurso est\u00E1tico {0} n\u00E3o pode ser injetado para n\u00E3o est\u00E1tico "{1}" + +dd.mtom.conflict = Erro no Descritor de Implanta\u00E7\u00E3o: a Configura\u00E7\u00E3o de MTOM no bind {0} est\u00E1 em conflito com o valor do atributo enable-mtom {1} + +# {0} - qname of an element +dispatch.cannotFindMethod=N\u00E3o \u00E9 poss\u00EDvel localizar o m\u00E9todo de despacho para {0} +non.unique.dispatch.qname=Sem partes do corpo exclusivas! Em uma porta, conforme BP 1.1 R2710, as opera\u00E7\u00F5es devem ter assinatura de opera\u00E7\u00E3o exclusiva na conex\u00E3o para obter despacho com sucesso. Os m\u00E9todos {0} t\u00EAm o mesmo bloco do corpo da solicita\u00E7\u00E3o {1}. O m\u00E9todo de despacho pode falhar, o runtime tentar\u00E1 despachar usando SOAPAction. Outra op\u00E7\u00E3o \u00E9 ativar o AddressingFeature para o runtime ativado identificar exclusivamente a opera\u00E7\u00E3o do WSDL usando o cabe\u00E7alho wsa:Action. + +unsupported.contentType=Tipo de Conte\u00FAdo N\u00E3o Suportado: {0} Os tipos suportados s\u00E3o: {1} +no.contentType=A solicita\u00E7\u00E3o n\u00E3o tem um Tipo de Conte\u00FAdo +unsupported.charset=Conjunto de caracteres "{0}" n\u00E3o suportados no Tipo de Conte\u00FAdo da mensagem recebida +duplicate.portKnownHeader=A mensagem SOAP recebida cont\u00E9m cabe\u00E7alho duplicado: {0} para um par\u00E2metro associado + +runtimemodeler.invalidannotationOnImpl=Anota\u00E7\u00E3o inv\u00E1lida: {0} na classe de implementa\u00E7\u00E3o do ponto final \\"{1}\\" - ser\u00E1 ignorado(a). \\"{1}\\" est\u00E1 anotada com @WebService(endpointInterface=\\"{2}\\"}, ela n\u00E3o deve ser anotada com {0}, para corrig\u00ED-la, coloque esta anota\u00E7\u00E3o no SEI {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=\u89E3\u7801 SOAP \u6D88\u606F\u65F6\u51FA\u9519 +server.rt.err=\u670D\u52A1\u5668\u8FD0\u884C\u65F6\u9519\u8BEF: {0} +soapencoder.err=\u7F16\u7801 SOAP \u6D88\u606F\u65F6\u51FA\u9519 + +annotation.only.once=\u53EA\u80FD\u6709\u4E00\u4E2A\u65B9\u6CD5\u5177\u6709\u6CE8\u91CA \"{0}\" +not.zero.parameters=\u65B9\u6CD5 \"{0}\" \u4E0D\u5E94\u6709\u4EFB\u4F55\u53C2\u6570 + +wrong.field.type=\u5B57\u6BB5 \"{0}\" \u7684\u7C7B\u578B\u4E0D\u6B63\u786E +wrong.no.parameters=\u65B9\u6CD5 \"{0}\" \u7684\u53C2\u6570\u6570\u76EE\u4E0D\u6B63\u786E +wrong.parameter.type=\u65B9\u6CD5 \"{0}\" \u7684\u53C2\u6570\u7C7B\u578B\u4E0D\u6B63\u786E + +can.not.generate.wsdl=\u65E0\u6CD5\u4E3A\u7ED1\u5B9A \"{0}\" \u751F\u6210 WSDL +generate.non.standard.wsdl=\u4E3A\u6307\u5B9A\u7684\u7ED1\u5B9A\u751F\u6210\u975E\u6807\u51C6 WSDL +null.implementor=\u5B9E\u73B0\u65B9\u4E0D\u80FD\u4E3A\u7A7A\u503C + +runtime.wsdl.patcher=\u4E3A WSDL \u76F8\u5173\u6587\u6863\u6253\u8865\u4E01\u65F6\u51FA\u9519 + +# {0} - class name +not.implement.provider=\"{0}\" \u4E0D\u5B9E\u73B0\u63D0\u4F9B\u65B9 +# {0} - class name +provider.not.parameterized=\"{0}\" \u5B9E\u73B0\u63D0\u4F9B\u65B9, \u4F46\u672A\u6307\u5B9A\u7C7B\u578B\u53C2\u6570 +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" \u5B9E\u73B0\u63D0\u4F9B\u65B9, \u4F46\u5176\u7C7B\u578B\u53C2\u6570{1}\u4E0D\u6B63\u786E + +wsdl.required=wsdl \u662F\u5FC5\u9700\u7684 +service.name.required=\u672A\u627E\u5230\u670D\u52A1 QName +port.name.required=\u672A\u627E\u5230\u7AEF\u53E3 QName +wrong.tns.for.port=\u7AEF\u53E3\u540D\u79F0\u7A7A\u95F4{0}\u4E0E\u670D\u52A1\u540D\u79F0\u7A7A\u95F4{1}\u4E0D\u5339\u914D + +# {0} - probably URL/port of a server +already.http.server=\u4EE5\u4E0B\u4F4D\u7F6E\u5DF2\u6709\u4E00\u4E2A HTTP \u670D\u52A1\u5668: {0}# {0} - \u53EF\u80FD\u662F\u670D\u52A1\u5668\u7684 URL/\u7AEF\u53E3 +already.https.server=\u4EE5\u4E0B\u4F4D\u7F6E\u5DF2\u6709\u4E00\u4E2A HTTPS \u670D\u52A1\u5668: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=\u4E0D\u652F\u6301 Endpoint.publish({0})\u3002\u5DF2\u77E5\u4E0A\u4E0B\u6587\u7C7B\u578B\u4E3A{1}\u548C{2} + +duplicate.primary.wsdl=\u5143\u6570\u636E\u6709\u591A\u4E2A WSDL \u5305\u542B\u7AEF\u70B9\u7684\u670D\u52A1\u5B9A\u4E49\u3002WSDL={0}\u5C31\u662F\u5176\u4E2D\u4E00\u4E2A\u8FD9\u6837\u7684 WSDL\u3002 +duplicate.abstract.wsdl=\u5143\u6570\u636E\u6709\u591A\u4E2A WSDL \u5305\u542B\u7AEF\u70B9\u7684 PortType \u5B9A\u4E49\u3002WSDL={0}\u5C31\u662F\u5176\u4E2D\u4E00\u4E2A\u8FD9\u6837\u7684 WSDL\u3002 + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=\u5728\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u672A\u627E\u5230\u7C7B: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=\u89E3\u6790\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u65F6\u51FA\u9519: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u51FA\u73B0\u610F\u5916\u7684\u5185\u5BB9 (\u7B2C {0} \u884C) +runtime.parser.invalidElement=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u7684\u5143\u7D20 \"{1}\" \u65E0\u6548 (\u7B2C {0} \u884C) +runtime.parser.invalidAttributeValue=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u7684\u5143\u7D20 \"{1}\" \u7684\u5C5E\u6027 \"{2}\" \u7684\u503C\u65E0\u6548 (\u7B2C {0} \u884C) +runtime.parser.invalidVersionNumber=\u4E0D\u652F\u6301\u7684\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u7248\u672C: {2} +runtime.parser.missing.attribute=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u7684\u5143\u7D20 \"{1}\" \u4E2D\u7F3A\u5C11\u5C5E\u6027 \"{2}\" (\u7B2C {0} \u884C) +runtime.parser.invalid.attribute.value=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u7684\u5C5E\u6027\u503C \"{1}\" \u65E0\u6548 (\u7B2C {0} \u884C) +runtime.parser.missing.attribute.no.line=\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u7684\u5143\u7D20 \"{1}\" \u4E2D\u7F3A\u5C11\u5C5E\u6027 \"{2}\" +runtime.parser.wrong.element=\u5728\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u627E\u5230\u5143\u7D20 \"{1}\", \u5E94\u4E3A \"{2}\" (\u7B2C {0} \u884C) +runtime.parser.wsdl.not.found=\u5728 WAR \u6587\u4EF6\u4E2D\u672A\u627E\u5230{0}\u3002\u8BF7\u5C06\u5B83\u6253\u5305\u5728 WAR \u6587\u4EF6\u4E2D\u6216\u5728 sun-jaxws.xml \u4E2D\u66F4\u6B63\u5B83\u3002 +runtime.parser.wsdl=WSDL \u89E3\u6790\u671F\u95F4\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=\u9488\u5BF9 WSDL {2}\u4E2D\u7684\u670D\u52A1{1}\u7684\u7ED1\u5B9A ID {0}, \u627E\u5230\u591A\u4E2A\u7ED1\u5B9A +runtime.parser.wsdl.noservice.in.wsdlmodel=\u5904\u7406 WSDL {0}\u65F6\u51FA\u9519, \u627E\u4E0D\u5230\u6709\u6548\u7684\u670D\u52A1\u3002 +runtime.parser.wsdl.incorrectservice=\u65E0\u6CD5\u4ECE WSDL \u83B7\u53D6\u7ED1\u5B9A! \u5728 WSDL {1}\u4E2D\u672A\u627E\u5230\u670D\u52A1{0}\u3002\n\u8FD9\u53EF\u80FD\u662F\u56E0\u4E3A\u670D\u52A1\u540D\u4E0E WSDL \u7684 wsdl:service \u540D\u4E0D\u5339\u914D:\n1. \u670D\u52A1\u540D\u6CA1\u6709\u4F4D\u4E8E\u90E8\u7F72\u63CF\u8FF0\u7B26\u4E2D, \u6216\u8005\n2. \u90E8\u7F72\u63CF\u8FF0\u7B26\u7684\u670D\u52A1\u540D\u4E2D\u5B58\u5728\u62FC\u5199\u9519\u8BEF, \u6216\u8005\n3. \u4ECE @WebService \u8BA1\u7B97\u5F97\u51FA\u7684\u540D\u79F0\u4E0E wsdl:service \u540D\u4E0D\u5339\u914D\n\u6216\u8005\n1. \u89E3\u6790 wsdl \u65F6\u51FA\u9519, \u5728 WSDLModel \u4E2D\u627E\u4E0D\u5230\u540D\u4E3A{0}\u7684\u670D\u52A1\u3002\n\u5EFA\u8BAE\u6267\u884C\u4EE5\u4E0B\u64CD\u4F5C:\n1. \u5728\u90E8\u7F72\u63CF\u8FF0\u7B26\u4E2D\u6DFB\u52A0/\u66F4\u6B63\u670D\u52A1\u540D\u7684\u6761\u76EE, \u6216\u8005\n2. \u5728\u7AEF\u70B9\u7C7B\u4E0A\u7684 @WebService \u4E2D\u6307\u5B9A targetNamespace, serviceName + +runtime.parser.wsdl.incorrectserviceport=\u65E0\u6CD5\u4ECE WSDL \u83B7\u53D6\u7ED1\u5B9A! \u5728 WSDL {2}\u4E2D\u672A\u627E\u5230\u670D\u52A1{0}\u6216\u7AEF\u53E3 {1}\u3002\n\u8FD9\u53EF\u80FD\u662F\u56E0\u4E3A\u670D\u52A1\u540D\u548C\u7AEF\u53E3\u540D\u4E0E WSDL \u7684 wsdl:service \u540D\u548C wsdl:port \u540D\u4E0D\u5339\u914D:\n1. \u670D\u52A1\u540D\u548C\u7AEF\u53E3\u540D\u6CA1\u6709\u4F4D\u4E8E\u90E8\u7F72\u63CF\u8FF0\u7B26\u4E2D, \u6216\u8005\n2. \u90E8\u7F72\u63CF\u8FF0\u7B26\u7684\u670D\u52A1\u540D\u548C\u7AEF\u53E3\u540D\u4E2D\u5B58\u5728\u62FC\u5199\u9519\u8BEF, \u6216\u8005\n3. \u4ECE @WebService \u8BA1\u7B97\u5F97\u51FA\u7684\u540D\u79F0\u4E0E wsdl:service \u540D\u548C wsdl:port \u540D\u4E0D\u5339\u914D\n\u5EFA\u8BAE\u6267\u884C\u4EE5\u4E0B\u64CD\u4F5C:\n1. \u5728\u90E8\u7F72\u63CF\u8FF0\u7B26\u4E2D\u6DFB\u52A0/\u66F4\u6B63\u670D\u52A1\u540D\u548C\u7AEF\u53E3\u540D\u7684\u6761\u76EE, \u6216\u8005\n2. \u5728\u7AEF\u70B9\u7C7B\u4E0A\u7684 @WebService \u4E2D\u6307\u5B9A targetNamespace, serviceName, portName + +stateful.cookie.header.required=\u8FD9\u662F\u6709\u72B6\u6001\u7684 Web \u670D\u52A1, \u9700\u8981{0}\u6807\u5934\u3002 +stateful.cookie.header.incorrect={0}\u6807\u5934\u503C\u65E0\u6548/\u5DF2\u8FC7\u671F: {1} +stateful.invalid.webservice.context=\u4E0D\u662F\u6765\u81EA JAX-WS RI \u7684 WebServiceContext: {0} +stateful.requres.addressing=\u6709\u72B6\u6001\u7684 Web \u670D\u52A1{0}\u9700\u8981\u542F\u7528 WS-Addressing \u652F\u6301\u3002\u53EF\u80FD\u7F3A\u5C11 @Addressing + +no.current.packet=\u6B64\u7EBF\u7A0B\u5F53\u524D\u672A\u5904\u7406\u4EFB\u4F55 Web \u670D\u52A1\u8BF7\u6C42\u3002 + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=\u65E0\u6CD5\u5B9E\u4F8B\u5316{0} (\u5728{2}\u4E0A\u7684{1}\u4E2D\u6307\u5B9A) + +static.resource.injection.only=\u9759\u6001\u8D44\u6E90{0}\u65E0\u6CD5\u6CE8\u5165\u5230\u975E\u9759\u6001 "{1}" + +dd.mtom.conflict = \u90E8\u7F72\u63CF\u8FF0\u7B26\u4E2D\u51FA\u9519: \u7ED1\u5B9A{0}\u4E2D\u7684 MTOM \u914D\u7F6E\u4E0E enable-mtom \u5C5E\u6027\u503C{1}\u53D1\u751F\u51B2\u7A81 + +# {0} - qname of an element +dispatch.cannotFindMethod=\u627E\u4E0D\u5230{0}\u7684\u5206\u6D3E\u65B9\u6CD5 +non.unique.dispatch.qname=\u975E\u552F\u4E00\u4E3B\u4F53\u90E8\u5206! \u6839\u636E BP 1.1 R2710 \u89C4\u5B9A, \u5728\u7AEF\u53E3\u4E2D\u64CD\u4F5C\u5FC5\u987B\u5177\u6709\u552F\u4E00\u7684\u901A\u4FE1\u64CD\u4F5C\u7B7E\u540D\u624D\u80FD\u6210\u529F\u5206\u6D3E\u3002\u65B9\u6CD5{0}\u5177\u6709\u76F8\u540C\u7684\u8BF7\u6C42\u4E3B\u4F53\u5757{1}\u3002\u65B9\u6CD5\u5206\u6D3E\u53EF\u80FD\u5931\u8D25, \u8FD0\u884C\u65F6\u5C06\u5C1D\u8BD5\u4F7F\u7528 SOAPAction \u8FDB\u884C\u5206\u6D3E\u3002\u8FD8\u53EF\u4EE5\u542F\u7528 AddressingFeature \u4EE5\u5141\u8BB8\u8FD0\u884C\u65F6\u4F7F\u7528 wsa:Action \u6807\u5934\u552F\u4E00\u5730\u6807\u8BC6 WSDL \u64CD\u4F5C\u3002 + +unsupported.contentType=\u4E0D\u652F\u6301\u7684 Content-Type: {0}, \u652F\u6301\u7684 Content-Type \u4E3A: {1} +no.contentType=\u8BF7\u6C42\u6CA1\u6709 Content-Type +unsupported.charset=\u6536\u5230\u7684\u6D88\u606F\u7684 Content-Type \u4E2D\u5305\u542B\u4E0D\u652F\u6301\u7684\u5B57\u7B26\u96C6 "{0}" +duplicate.portKnownHeader=\u6536\u5230\u7684 SOAP \u6D88\u606F\u4E2D\u5305\u542B\u5BF9\u4E8E\u7ED1\u5B9A\u53C2\u6570\u91CD\u590D\u7684\u6807\u5934: {0} + +runtimemodeler.invalidannotationOnImpl=\u7AEF\u70B9\u5B9E\u73B0\u7C7B \"{1}\" \u4E0A\u7684\u6CE8\u91CA{0}\u65E0\u6548 - \u5C06\u5FFD\u7565\u6B64\u6CE8\u91CA\u3002\"{1}\" \u4F7F\u7528 @WebService(endpointInterface=\"{2}\"} \u8FDB\u884C\u6CE8\u91CA, \u5B83\u4E0D\u80FD\u4F7F\u7528{0}\u8FDB\u884C\u6CE8\u91CA, \u8981\u4FEE\u590D\u6B64\u95EE\u9898 - \u8BF7\u5C06\u6B64\u6CE8\u91CA\u653E\u5165 SEI {2}\u3002 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/server_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,115 @@ +# +# 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. +# + +soapdecoder.err=\u89E3\u78BC SOAP \u8A0A\u606F\u6642\u767C\u751F\u932F\u8AA4 +server.rt.err=\u4F3A\u670D\u5668\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u932F\u8AA4: {0} +soapencoder.err=\u7DE8\u78BC SOAP \u8A0A\u606F\u6642\u767C\u751F\u932F\u8AA4 + +annotation.only.once=\u50C5\u6709\u4E00\u500B\u65B9\u6CD5\u61C9\u5305\u542B\u8A3B\u89E3 \"{0}\" +not.zero.parameters=\u65B9\u6CD5 \"{0}\" \u4E0D\u61C9\u5305\u542B\u4EFB\u4F55\u5F15\u6578 + +wrong.field.type=\u6B04\u4F4D \"{0}\" \u7684\u985E\u578B\u4E0D\u6B63\u78BA +wrong.no.parameters=\u65B9\u6CD5 \"{0}\" \u7684\u5F15\u6578\u6578\u76EE\u4E0D\u6B63\u78BA +wrong.parameter.type=\u65B9\u6CD5 \"{0}\" \u7684\u5F15\u6578\u985E\u578B\u4E0D\u6B63\u78BA + +can.not.generate.wsdl=\u7121\u6CD5\u7522\u751F\u9023\u7D50 \"{0}\" \u7684 WSDL +generate.non.standard.wsdl=\u6B63\u5728\u70BA\u6307\u5B9A\u7684\u9023\u7D50\u7522\u751F\u975E\u6A19\u6E96\u7684 WSDL +null.implementor=\u5BE6\u4F5C\u9805\u4E0D\u53EF\u70BA\u7A7A\u503C + +runtime.wsdl.patcher=\u4FEE\u6B63 WSDL \u76F8\u95DC\u6587\u4EF6\u6642\u767C\u751F\u932F\u8AA4 + +# {0} - class name +not.implement.provider=\"{0}\" \u672A\u5BE6\u884C\u63D0\u4F9B\u8005 +# {0} - class name +provider.not.parameterized=\"{0}\" \u5BE6\u884C\u4E86\u63D0\u4F9B\u8005, \u4F46\u672A\u6307\u5B9A\u985E\u578B\u53C3\u6578 +# {0}, {1} - class name e.g.: "class foo.bar.ClassImpl" implements Provider but its type parameter interface foo.bar.Iface is incorrect +provider.invalid.parameterType=\"{0}\" \u5BE6\u884C\u4E86\u63D0\u4F9B\u8005, \u4F46\u5176\u985E\u578B\u53C3\u6578 {1} \u4E0D\u6B63\u78BA + +wsdl.required=\u9700\u8981 WSDL +service.name.required=\u627E\u4E0D\u5230\u670D\u52D9 QName +port.name.required=\u627E\u4E0D\u5230\u9023\u63A5\u57E0 QName +wrong.tns.for.port=\u9023\u63A5\u57E0\u547D\u540D\u7A7A\u9593 {0} \u8207\u670D\u52D9\u547D\u540D\u7A7A\u9593 {1} \u4E0D\u7B26 + +# {0} - probably URL/port of a server +already.http.server=\u4E0B\u5217\u4F4D\u7F6E\u5DF2\u7D93\u6709\u4E00\u500B HTTP \u4F3A\u670D\u5668: {0}# {0} - \u53EF\u80FD\u662F\u4F3A\u670D\u5668\u7684 URL/\u9023\u63A5\u57E0 +already.https.server=\u4E0B\u5217\u4F4D\u7F6E\u5DF2\u7D93\u6709\u4E00\u500B HTTPS \u4F3A\u670D\u5668: {0} +#not.HttpContext.type=Required com.sun.net.httpserver.HttpContext. Got : {0} + +not.know.HttpContext.type=\u4E0D\u652F\u63F4 Endpoint.publish({0}). \u5DF2\u77E5\u7684\u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u985E\u578B\u70BA {1} \u8207 {2} + +duplicate.primary.wsdl=\u63CF\u8FF0\u8CC7\u6599\u6709\u4E00\u500B\u4EE5\u4E0A\u7684 WSDL \u64C1\u6709\u7AEF\u9EDE\u7684 Service \u5B9A\u7FA9. WSDL={0} \u662F\u5176\u4E2D\u4E00\u500B\u9019\u985E WSDL. +duplicate.abstract.wsdl=\u63CF\u8FF0\u8CC7\u6599\u6709\u4E00\u500B\u4EE5\u4E0A\u7684 WSDL \u64C1\u6709\u7AEF\u9EDE\u7684 PortType \u5B9A\u7FA9. WSDL={0} \u662F\u5176\u4E2D\u4E00\u500B\u9019\u985E WSDL. + +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.classNotFound=\u5728\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u4E2D\u627E\u4E0D\u5230\u985E\u5225: {0} +# Wrapped into an Exception. Not concatenated with any other string. +runtime.parser.xmlReader=\u5256\u6790\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u6642\u767C\u751F\u932F\u8AA4: {0} +# Usage not found. TODO Remove +#runtime.parser.invalidReaderState=error parsing runtime descriptor: {0} +runtime.parser.unexpectedContent=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u4E2D\u6709\u672A\u9810\u671F\u7684\u5167\u5BB9 (\u884C {0}) +runtime.parser.invalidElement=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 (\u884C {0}) \u4E2D\u6709\u7121\u6548\u7684\u5143\u7D20 \"{1}\" +runtime.parser.invalidAttributeValue=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 (\u884C {0}) \u4E2D\u5143\u7D20 \"{1}\" \u7684\u5C6C\u6027\u503C \"{2}\" \u7121\u6548 +runtime.parser.invalidVersionNumber=\u4E0D\u652F\u63F4\u7684\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u7248\u672C: {2} +runtime.parser.missing.attribute=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 (\u884C {0}) \u7684\u5143\u7D20 \"{1}\" \u907A\u6F0F\u5C6C\u6027 \"{2}\" +runtime.parser.invalid.attribute.value=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 (\u884C {0}) \u4E2D\u6709\u7121\u6548\u7684\u5C6C\u6027\u503C \"{1}\" +runtime.parser.missing.attribute.no.line=\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u7684\u5143\u7D20 \"{1}\" \u907A\u6F0F\u5C6C\u6027 \"{2}\" +runtime.parser.wrong.element=\u5728\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 (\u884C {0}) \u4E2D\u767C\u73FE\u5143\u7D20 \"{1}\", \u9810\u671F\u70BA \"{2}\" +runtime.parser.wsdl.not.found=\u5728 WAR \u6A94\u6848\u4E2D\u627E\u4E0D\u5230 {0}. \u8ACB\u5C07\u5176\u5C01\u88DD\u65BC WAR \u6A94\u6848\u4E2D, \u6216\u5728 sun-jaxws.xml \u4E2D\u66F4\u6B63\u5B83. +runtime.parser.wsdl=\u5256\u6790 WSDL \u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1: {0} +runtime.saxparser.exception={0}\n{1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.noservice=can\'t apply binding! service {0} not found in the WSDL {1} +# Usage not found. TODO Remove +#runtime.parser.wsdl.nobinding=can\'t apply binding! no binding found for binding ID {0} for service {1} in WSDL {2} +runtime.parser.wsdl.multiplebinding=\u767C\u73FE WSDL {2} \u4E2D\u4E4B\u670D\u52D9 {1} \u7684\u9023\u7D50 ID {0} \u6709\u591A\u500B\u9023\u7D50 +runtime.parser.wsdl.noservice.in.wsdlmodel=\u8655\u7406 WSDL {0} \u6642\u767C\u751F\u932F\u8AA4, \u627E\u4E0D\u5230\u6709\u6548\u7684\u670D\u52D9. +runtime.parser.wsdl.incorrectservice=\u7121\u6CD5\u5F9E WSDL! \u670D\u52D9\u53D6\u5F97\u9023\u7D50: \u5728 WSDL {1} \u4E2D\u627E\u4E0D\u5230 {0}.\n\u53EF\u80FD\u662F\u56E0\u70BA\u670D\u52D9\u540D\u7A31\u8207 WSDL \u7684 wsdl:service \u540D\u7A31\u4E0D\u7B26:\n1. \u670D\u52D9\u540D\u7A31\u4E0D\u5728\u5EFA\u7F6E\u63CF\u8FF0\u5143\u4E2D, \u6216\n2. \u5EFA\u7F6E\u63CF\u8FF0\u5143\u7684\u670D\u52D9\u540D\u7A31\u53EF\u80FD\u8F38\u5165\u932F\u8AA4, \u6216\n3. \u5F9E @WebService \u8A08\u7B97\u7684\u540D\u7A31\u8207 wsdl:service \u540D\u7A31\u4E0D\u7B26\n\u6216\n4. \u5256\u6790 WSDL \u6642\u767C\u751F\u932F\u8AA4, \u800C\u4E14\u5728 WSDLModel \u4E2D\u627E\u4E0D\u5230\u540D\u7A31\u70BA {0} \u7684\u670D\u52D9.\n\u5EFA\u8B70\u57F7\u884C\u4E0B\u5217\u52D5\u4F5C:\n1. \u65B0\u589E/\u66F4\u6B63\u5EFA\u7F6E\u63CF\u8FF0\u5143\u4E2D\u7684\u670D\u52D9\u540D\u7A31\u9805\u76EE, \u6216 \n2. \u5728\u7AEF\u9EDE\u985E\u5225\u7684 @WebService \u4E2D\u6307\u5B9A targetNamespace\u3001serviceName + +runtime.parser.wsdl.incorrectserviceport=\u7121\u6CD5\u5F9E WSDL! \u670D\u52D9\u53D6\u5F97\u9023\u7D50: \u5728 WSDL {2} \u4E2D\u627E\u4E0D\u5230 {0} \u6216\u9023\u63A5\u57E0 {1}.\n\u53EF\u80FD\u662F\u56E0\u70BA\u670D\u52D9\u8207\u9023\u63A5\u57E0\u540D\u7A31\u8207 WSDL \u7684 wsdl:service \u548C wsdl:port \u540D\u7A31\u4E0D\u7B26:\n1. \u670D\u52D9\u8207\u9023\u63A5\u57E0\u540D\u7A31\u4E0D\u5728\u5EFA\u7F6E\u63CF\u8FF0\u5143\u4E2D, \u6216\n2. \u5EFA\u7F6E\u63CF\u8FF0\u5143\u7684\u670D\u52D9\u8207\u9023\u63A5\u57E0\u540D\u7A31\u53EF\u80FD\u8F38\u5165\u932F\u8AA4, \u6216\n3. \u5F9E @WebService \u8A08\u7B97\u7684\u540D\u7A31\u8207 wsdl:service \u548C wsdl:port \u540D\u7A31\u4E0D\u7B26\n\u5EFA\u8B70\u57F7\u884C\u4E0B\u5217\u52D5\u4F5C:\n1. \u65B0\u589E/\u66F4\u6B63\u5EFA\u7F6E\u63CF\u8FF0\u5143\u4E2D\u7684\u670D\u52D9\u8207\u9023\u63A5\u57E0\u540D\u7A31\u9805\u76EE, \u6216 \n2. \u5728\u7AEF\u9EDE\u985E\u5225\u7684 @WebService \u4E2D\u6307\u5B9A targetNamespace\u3001serviceName\u3001portName + +stateful.cookie.header.required=\u6B64\u70BA\u72C0\u614B\u6027 Web \u670D\u52D9, \u9700\u8981 {0} \u6A19\u982D. +stateful.cookie.header.incorrect=\u7121\u6548/\u904E\u671F\u7684 {0} \u6A19\u982D\u503C: {1} +stateful.invalid.webservice.context=\u4E0D\u662F JAX-WS RI \u4E2D\u7684 WebServiceContext: {0} +stateful.requres.addressing=\u72C0\u614B\u6027 Web \u670D\u52D9 {0} \u5FC5\u9808\u555F\u7528 Web \u670D\u52D9\u5B9A\u5740\u652F\u63F4. \u4E5F\u8A31\u60A8\u907A\u6F0F\u4E86 @Addressing + +no.current.packet=\u6B64\u7E6B\u7DDA\u76EE\u524D\u672A\u8655\u7406\u4EFB\u4F55 Web \u670D\u52D9\u8981\u6C42. + +# {0} - class name. {1} - annotation type class name, {2} - class name e.g.: Unable to instantiate class foo.Bar (which is specified in foo.Bar1 on class foo.Bar2) +failed.to.instantiate.instanceResolver=\u7121\u6CD5\u5EFA\u7ACB {0} (\u5176\u6307\u5B9A\u65BC {2} \u7684 {1} \u4E2D) + +static.resource.injection.only=\u975C\u614B\u8CC7\u6E90 {0} \u7121\u6CD5\u5F15\u5165\u975E\u975C\u614B\u7684 "{1}" + +dd.mtom.conflict = \u5EFA\u7F6E\u63CF\u8FF0\u5143\u4E2D\u767C\u751F\u932F\u8AA4: \u9023\u7D50 {0} \u4E2D\u7684 MTOM \u7D44\u614B\u8207 enable-mtom \u5C6C\u6027\u503C {1} \u885D\u7A81 + +# {0} - qname of an element +dispatch.cannotFindMethod=\u627E\u4E0D\u5230 {0} \u7684\u5206\u914D\u65B9\u6CD5 +non.unique.dispatch.qname=\u975E\u552F\u4E00\u7684\u4E3B\u9AD4\u90E8\u5206! \u4F9D\u64DA BP 1.1 R2710, \u9023\u63A5\u57E0\u4E2D\u7684\u4F5C\u696D\u65BC\u7DDA\u4E0A\u5FC5\u9808\u6709\u552F\u4E00\u7684\u4F5C\u696D\u7C3D\u7AE0, \u624D\u80FD\u6210\u529F\u9032\u884C\u5206\u914D. \u65B9\u6CD5 {0} \u6709\u76F8\u540C\u7684\u8981\u6C42\u4E3B\u9AD4\u5340\u584A {1}. \u65B9\u6CD5\u5206\u914D\u53EF\u80FD\u6703\u5931\u6557, \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u5C07\u5617\u8A66\u4F7F\u7528 SOAPAction \u9032\u884C\u5206\u914D. \u53E6\u4E00\u500B\u9078\u9805\u662F\u555F\u7528 AddressingFeature, \u4F7F\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u4F7F\u7528 wsa:Action \u6A19\u982D\u4F86\u552F\u4E00\u8B58\u5225 WSDL \u4F5C\u696D. + +unsupported.contentType=\u4E0D\u652F\u63F4\u7684 Content-Type: {0} \u652F\u63F4\u7684\u5167\u5BB9\u985E\u578B\u70BA: {1} +no.contentType=\u8981\u6C42\u6C92\u6709 Content-Type +unsupported.charset=\u5DF2\u63A5\u6536\u8A0A\u606F\u7684 Content-Type \u4E2D\u6709\u4E0D\u652F\u63F4\u7684\u5B57\u5143\u96C6 "{0}" +duplicate.portKnownHeader=\u5DF2\u63A5\u6536 SOAP \u8A0A\u606F\u7684\u9023\u7D50\u53C3\u6578\u5305\u542B\u91CD\u8907\u7684\u6A19\u982D: {0} + +runtimemodeler.invalidannotationOnImpl=\u7AEF\u9EDE\u5BE6\u884C\u985E\u5225 \"{1}\" \u4E2D\u7684\u8A3B\u89E3: {0} \u7121\u6548 - \u5C07\u88AB\u5FFD\u7565. \"{1}\" \u662F\u4F7F\u7528 @WebService(endpointInterface=\"{2}\"} \u52A0\u8A3B, \u4E0D\u5F97\u4F7F\u7528 {0} \u52A0\u8A3B, \u82E5\u8981\u4FEE\u6B63 - \u8ACB\u5C07\u6B64\u8A3B\u89E3\u653E\u7F6E\u65BC SEI {2}. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=SOAP-Nachricht konnte wegen folgender Ausnahme nicht erstellt werden: {0} +soap.msg.factory.create.err=SOAP-Nachrichten-Factory konnte wegen folgender Ausnahme nicht erstellt werden: {0} +soap.protocol.invalidFaultCode=Ung\u00FCltiger Fault-Code: {0} +soap.factory.create.err=SOAP-Factory konnte wegen folgender Ausnahme nicht erstellt werden: {0} +soap.fault.create.err=SOAP-Fault konnte wegen folgender Ausnahme nicht erstellt werden: {0} +soap.version.mismatch.err=SOAP-Nachricht konnte nicht erstellt werden. Envelope wird in Namespace {0} erwartet, es wurde jedoch {1} ermittelt diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=No se ha podido crear el mensaje SOAP debido a la excepci\u00F3n {0} +soap.msg.factory.create.err=No se ha podido crear la f\u00E1brica de mensajes SOAP debido a la excepci\u00F3n {0} +soap.protocol.invalidFaultCode=C\u00F3digo de fallo no v\u00E1lido: {0} +soap.factory.create.err=No se ha podido crear la f\u00E1brica SOAP debido a la excepci\u00F3n {0} +soap.fault.create.err=No se ha podido crear el fallo SOAP debido a la excepci\u00F3n {0} +soap.version.mismatch.err=No se ha podido crear el mensaje SOAP. Se esperaba Envelope en el espacio de nombres {0}, pero se ha obtenido {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=Impossible de cr\u00E9er le message SOAP en raison de l''exception : {0} +soap.msg.factory.create.err=Impossible de cr\u00E9er une fabrique de messages SOAP en raison de l''exception : {0} +soap.protocol.invalidFaultCode=Code d''erreur non valide : {0} +soap.factory.create.err=Impossible de cr\u00E9er une fabrique SOAP en raison de l''exception {0} +soap.fault.create.err=Impossible de cr\u00E9er l''erreur SOAP en raison de l''exception {0} +soap.version.mismatch.err=Impossible de cr\u00E9er le message SOAP. Attente de Envelope dans l''espace de noms {0}, mais {1} obtenu diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=Impossibile creare il messaggio SOAP a causa dell''eccezione: {0} +soap.msg.factory.create.err=Impossibile creare il message factory SOAP a causa dell''eccezione: {0} +soap.protocol.invalidFaultCode=Codice di errore non valido: {0} +soap.factory.create.err=Impossibile creare il factory SOAP a causa dell''eccezione: {0} +soap.fault.create.err=Impossibile creare l''errore SOAP a causa dell''eccezione: {0} +soap.version.mismatch.err=Impossibile creare il messaggio SOAP. Prevista envelope nello spazio di nomi {0} ma trovato {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=\u4F8B\u5916\u306B\u3088\u308A\u3001SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} +soap.msg.factory.create.err=\u4F8B\u5916\u306B\u3088\u308A\u3001SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D5\u30A1\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} +soap.protocol.invalidFaultCode=\u7121\u52B9\u306A\u30D5\u30A9\u30EB\u30C8\u30FB\u30B3\u30FC\u30C9: {0} +soap.factory.create.err=\u4F8B\u5916\u306B\u3088\u308A\u3001SOAP\u30D5\u30A1\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} +soap.fault.create.err=\u4F8B\u5916\u306B\u3088\u308A\u3001SOAP\u30D5\u30A9\u30EB\u30C8\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} +soap.version.mismatch.err=SOAP\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9{0}\u306B\u30A8\u30F3\u30D9\u30ED\u30FC\u30D7\u304C\u5FC5\u8981\u3067\u3059\u304C\u3001{1}\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=\uC608\uC678 \uC0AC\uD56D\uC73C\uB85C \uC778\uD574 SOAP \uBA54\uC2DC\uC9C0\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} +soap.msg.factory.create.err=\uC608\uC678 \uC0AC\uD56D\uC73C\uB85C \uC778\uD574 SOAP \uBA54\uC2DC\uC9C0 \uD329\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} +soap.protocol.invalidFaultCode=\uBD80\uC801\uD569\uD55C \uACB0\uD568 \uCF54\uB4DC: {0} +soap.factory.create.err=\uC608\uC678 \uC0AC\uD56D\uC73C\uB85C \uC778\uD574 SOAP \uD329\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} +soap.fault.create.err=\uC608\uC678 \uC0AC\uD56D\uC73C\uB85C \uC778\uD574 SOAP \uACB0\uD568\uC744 \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} +soap.version.mismatch.err=SOAP \uBA54\uC2DC\uC9C0\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. {0} \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uC5D0 Envelope\uAC00 \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC744(\uB97C) \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=N\u00E3o foi poss\u00EDvel criar a mensagem SOAP em decorr\u00EAncia da exce\u00E7\u00E3o: {0} +soap.msg.factory.create.err=N\u00E3o foi poss\u00EDvel criar a factory da mensagem SOAP em decorr\u00EAncia da exce\u00E7\u00E3o: {0} +soap.protocol.invalidFaultCode=C\u00F3digo de falha inv\u00E1lido: {0} +soap.factory.create.err=N\u00E3o foi poss\u00EDvel criar a factory de SOAP em decorr\u00EAncia da exce\u00E7\u00E3o: {0} +soap.fault.create.err=N\u00E3o foi poss\u00EDvel criar a Falha de SOAP em decorr\u00EAncia da exce\u00E7\u00E3o: {0} +soap.version.mismatch.err=N\u00E3o foi poss\u00EDvel criar a mensagem SOAP. Esperando Envelope no namespace {0}, mas obteve {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=\u7531\u4E8E\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF, \u65E0\u6CD5\u521B\u5EFA SOAP \u6D88\u606F: {0} +soap.msg.factory.create.err=\u7531\u4E8E\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF, \u65E0\u6CD5\u521B\u5EFA SOAP \u6D88\u606F\u5DE5\u5382: {0} +soap.protocol.invalidFaultCode=\u6545\u969C\u4EE3\u7801\u65E0\u6548: {0} +soap.factory.create.err=\u7531\u4E8E\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF, \u65E0\u6CD5\u521B\u5EFA SOAP \u5DE5\u5382: {0} +soap.fault.create.err=\u7531\u4E8E\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF, \u65E0\u6CD5\u521B\u5EFA SOAP \u6545\u969C: {0} +soap.version.mismatch.err=\u65E0\u6CD5\u521B\u5EFA SOAP \u6D88\u606F\u3002\u5E94\u4E3A\u540D\u79F0\u7A7A\u95F4{0}\u4E2D\u7684\u4FE1\u5C01, \u4F46\u5F97\u5230\u7684\u662F{1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/soap_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,31 @@ +# +# 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. +# + +soap.msg.create.err=\u56E0\u70BA\u7570\u5E38\u72C0\u6CC1, \u7121\u6CD5\u5EFA\u7ACB SOAP \u8A0A\u606F: {0} +soap.msg.factory.create.err=\u56E0\u70BA\u7570\u5E38\u72C0\u6CC1, \u7121\u6CD5\u5EFA\u7ACB SOAP \u8A0A\u606F\u8655\u7406\u7AD9: {0} +soap.protocol.invalidFaultCode=\u7121\u6548\u7684\u932F\u8AA4\u4EE3\u78BC: {0} +soap.factory.create.err=\u56E0\u70BA\u7570\u5E38\u72C0\u6CC1, \u7121\u6CD5\u5EFA\u7ACB SOAP \u8655\u7406\u7AD9: {0} +soap.fault.create.err=\u56E0\u70BA\u7570\u5E38\u72C0\u6CC1, \u7121\u6CD5\u5EFA\u7ACB SOAP \u932F\u8AA4: {0} +soap.version.mismatch.err=\u7121\u6CD5\u5EFA\u7ACB SOAP \u8A0A\u606F. \u9810\u671F\u5728\u547D\u540D\u7A7A\u9593 {0} \u4E2D\u70BA Envelope, \u4F46\u6536\u5230\u7684\u662F {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=Fehler beim XML-Parsen: {0} +streaming.parseException=Fehler beim XML-Parsen: {0} + +xmlreader.illegalStateEncountered=Interner Fehler bei XML-Reader: Unzul\u00E4ssiger Status ({0}) +xmlreader.unexpectedCharacterContent=Fehler bei XML-Reader: Unerwarteter Zeicheninhalt: \"{0}\" +xmlreader.ioException=Fehler bei XML-Reader: {0} +xmlreader.parseException=Fehler beim XML-Parsen: {0} +xmlreader.nestedError=Fehler bei XML-Reader: {0} + +xmlwriter.noPrefixForURI=Fehler bei XML-Writer: Kein Pr\u00E4fix f\u00FCr URI: \"{0}\" +xmlwriter.ioException=Fehler bei XML-Writer: {0} +xmlwriter.nestedError=Fehler bei XML-Writer: {0} +xmlreader.unexpectedState=Unerwarteter XML-Reader-Status. Erwartet: {0}, gefunden: {1} +xmlreader.unexpectedState.message=Unerwarteter XML-Reader-Status. Erwartet: {0}, gefunden: {1}. {2} +xmlreader.unexpectedState.tag=Unerwartetes Tag. Erwartet: {0}, gefunden: {1} + +xmlrecorder.recording.ended=keine weiteren aufgezeichneten Elemente verf\u00FCgbar + +stax.cantCreate=StAX-Reader oder -Writer kann nicht erstellt werden +staxreader.xmlstreamexception=Ausnahme bei XML-Stream Reader: {0} + +fastinfoset.decodingNotAccepted=Fast Infoset-Decodierung wird nicht akzeptiert +fastinfoset.noImplementation=Kompatible Implementierung von Fast Infoset kann in Classpath nicht gefunden werden + +sourcereader.invalidSource=Reader kann nicht aus Quelle \"{0}\" erstellt werden diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=error de an\u00E1lisis XML: {0} +streaming.parseException=error de an\u00E1lisis XML: {0} + +xmlreader.illegalStateEncountered=error interno del lector XML: Estado no v\u00E1lido ({0}) +xmlreader.unexpectedCharacterContent=error del lector XML: Contenido de caracteres inesperado: \"{0}\" +xmlreader.ioException=error del lector XML: {0} +xmlreader.parseException=error de an\u00E1lisis XML: {0} +xmlreader.nestedError=error del lector XML: {0} + +xmlwriter.noPrefixForURI=error del escritor XML: No hay ning\u00FAn prefijo para el URI: \"{0}\" +xmlwriter.ioException=error del escritor XML: {0} +xmlwriter.nestedError=error del escritor XML: {0} +xmlreader.unexpectedState=estado del lector XML inesperado. Se esperaba: {0}, pero se ha encontrado: {1} +xmlreader.unexpectedState.message=estado del lector de XML inesperado. Se esperaba: {0}, pero se ha encontrado: {1}. {2} +xmlreader.unexpectedState.tag=etiqueta XML inesperada. Se esperaba: {0}, pero se ha encontrado: {1} + +xmlrecorder.recording.ended=no hay disponibles m\u00E1s elementos registrados + +stax.cantCreate=No se ha podido crear el lector ni el escritor de StAX +staxreader.xmlstreamexception=Excepci\u00F3n del lector de flujo XML: {0} + +fastinfoset.decodingNotAccepted=No se acepta la descodificaci\u00F3n del juego de informaci\u00F3n r\u00E1pido +fastinfoset.noImplementation=No se ha encontrado la implantaci\u00F3n compatible del juego de informaci\u00F3n r\u00E1pido en la classpath + +sourcereader.invalidSource=No se ha podido crear el lector desde el origen \\"{0}\\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=erreur d''analyse XML : {0} +streaming.parseException=erreur d''analyse XML : {0} + +xmlreader.illegalStateEncountered=erreur interne du processus de lecture XML : \u00E9tat ({0}) non autoris\u00E9 +xmlreader.unexpectedCharacterContent=erreur interne du processus de lecture XML : contenu de caract\u00E8re inattendu : \"{0}\" +xmlreader.ioException=erreur du processus de lecture XML : {0} +xmlreader.parseException=erreur d''analyse XML : {0} +xmlreader.nestedError=erreur du processus de lecture XML : {0} + +xmlwriter.noPrefixForURI=erreur du processus d''\u00E9criture XML : aucun pr\u00E9fixe pour l''URI : \"{0}\" +xmlwriter.ioException=erreur du processus d''\u00E9criture XML : {0} +xmlwriter.nestedError=erreur du processus d''\u00E9criture XML : {0} +xmlreader.unexpectedState=\u00E9tat de processus de lecture XML inattendu ; attendu : {0}, obtenu : {1} +xmlreader.unexpectedState.message=\u00E9tat de processus de lecture XML inattendu ; attendu : {0}, obtenu : {1}. {2} +xmlreader.unexpectedState.tag=balise XML inattendue ; attendue : {0}, obtenue : {1} + +xmlrecorder.recording.ended=plus d'\u00E9l\u00E9ment enregistr\u00E9 disponible + +stax.cantCreate=Impossible de cr\u00E9er le processus de lecture ou le processus d'\u00E9criture StAX +staxreader.xmlstreamexception=Exception du processus de lecture du flux XML : {0} + +fastinfoset.decodingNotAccepted=Le d\u00E9codage Fast Infoset n'est pas accept\u00E9 +fastinfoset.noImplementation=Impossible de localiser l'impl\u00E9mentation compatible de Fast Infoset dans le classpath + +sourcereader.invalidSource=Impossible de cr\u00E9er un processus de lecture \u00E0 partir de la source \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=errore di analisi XML: {0} +streaming.parseException=errore di analisi XML: {0} + +xmlreader.illegalStateEncountered=errore interno del processo di lettura XML: stato non valido ({0}) +xmlreader.unexpectedCharacterContent=errore del processo di lettura XML: contenuto di caratteri imprevisto: \"{0}\" +xmlreader.ioException=errore del processo di lettura XML: {0} +xmlreader.parseException=errore di analisi XML: {0} +xmlreader.nestedError=errore del processo di lettura XML: {0} + +xmlwriter.noPrefixForURI=errore del processo di scrittura XML: nessun prefisso per l''URI: \"{0}\" +xmlwriter.ioException=errore del processo di scrittura XML: {0} +xmlwriter.nestedError=errore del processo di scrittura XML: {0} +xmlreader.unexpectedState=stato del processo di lettura XML imprevisto. Previsto: {0}, trovato: {1} +xmlreader.unexpectedState.message=stato del processo di lettura XML imprevisto. Previsto: {0}, trovato: {1}. {2} +xmlreader.unexpectedState.tag=tag XML imprevista. Prevista: {0}, trovata: {1} + +xmlrecorder.recording.ended=nessun altro elemento registrato disponibile + +stax.cantCreate=Impossibile creare il processo di lettura o di scrittura StAX +staxreader.xmlstreamexception=eccezione del processo di lettura del flusso XML: {0} + +fastinfoset.decodingNotAccepted=Decodifica Fast Infoset non accettata +fastinfoset.noImplementation=Impossibile individuare l'implementazione compatibile di Fast Infoset nel classpath + +sourcereader.invalidSource=Impossibile creare il processo di lettura dall''origine \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=XML\u89E3\u6790\u30A8\u30E9\u30FC: {0} +streaming.parseException=XML\u89E3\u6790\u30A8\u30E9\u30FC: {0} + +xmlreader.illegalStateEncountered=XML\u30EA\u30FC\u30C0\u30FC\u5185\u90E8\u30A8\u30E9\u30FC: \u4E0D\u6B63\u306A\u72B6\u614B({0}) +xmlreader.unexpectedCharacterContent=XML\u30EA\u30FC\u30C0\u30FC\u30FB\u30A8\u30E9\u30FC: \u4E88\u671F\u3057\u3066\u3044\u306A\u3044\u6587\u5B57\u30B3\u30F3\u30C6\u30F3\u30C4: \"{0}\" +xmlreader.ioException=XML\u30EA\u30FC\u30C0\u30FC\u30FB\u30A8\u30E9\u30FC: {0} +xmlreader.parseException=XML\u89E3\u6790\u30A8\u30E9\u30FC: {0} +xmlreader.nestedError=XML\u30EA\u30FC\u30C0\u30FC\u30FB\u30A8\u30E9\u30FC: {0} + +xmlwriter.noPrefixForURI=XML\u30E9\u30A4\u30BF\u30FC\u30FB\u30A8\u30E9\u30FC: URI: \"{0}\"\u306E\u63A5\u982D\u8F9E\u304C\u3042\u308A\u307E\u305B\u3093 +xmlwriter.ioException=XML\u30E9\u30A4\u30BF\u30FC\u30FB\u30A8\u30E9\u30FC: {0} +xmlwriter.nestedError=XML\u30E9\u30A4\u30BF\u30FC\u30FB\u30A8\u30E9\u30FC: {0} +xmlreader.unexpectedState=\u4E88\u671F\u3057\u3066\u3044\u306A\u3044XML\u30EA\u30FC\u30C0\u30FC\u306E\u72B6\u614B\u3002{0}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{1}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F +xmlreader.unexpectedState.message=\u4E88\u671F\u3057\u306A\u3044XML\u30EA\u30FC\u30C0\u30FC\u306E\u72B6\u614B\u3067\u3059\u3002{0}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{1}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002{2} +xmlreader.unexpectedState.tag=\u4E88\u671F\u3057\u306A\u3044XML\u30BF\u30B0\u3067\u3059\u3002{0}\u304C\u4E88\u671F\u3055\u308C\u307E\u3057\u305F\u304C\u3001{1}\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F + +xmlrecorder.recording.ended=\u8A18\u9332\u3055\u308C\u305F\u8981\u7D20\u306F\u3053\u308C\u4EE5\u4E0A\u3042\u308A\u307E\u305B\u3093 + +stax.cantCreate=StAX\u30EA\u30FC\u30C0\u30FC\u307E\u305F\u306F\u30E9\u30A4\u30BF\u30FC\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 +staxreader.xmlstreamexception=XML\u30B9\u30C8\u30EA\u30FC\u30E0\u30FB\u30EA\u30FC\u30C0\u30FC\u306E\u4F8B\u5916: {0} + +fastinfoset.decodingNotAccepted=Fast Infoset\u306B\u3088\u308B\u30C7\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u306F\u53D7\u3051\u5165\u308C\u3089\u308C\u307E\u305B\u3093 +fastinfoset.noImplementation=\u30AF\u30E9\u30B9\u30D1\u30B9\u306B\u3001Fast Infoset\u306E\u4E92\u63DB\u6027\u306E\u3042\u308B\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 + +sourcereader.invalidSource=\u30BD\u30FC\u30B9\"{0}\"\u304B\u3089\u30EA\u30FC\u30C0\u30FC\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=XML \uAD6C\uBB38 \uBD84\uC11D \uC624\uB958: {0} +streaming.parseException=XML \uAD6C\uBB38 \uBD84\uC11D \uC624\uB958: {0} + +xmlreader.illegalStateEncountered=XML \uC77D\uAE30 \uC7A5\uCE58 \uB0B4\uBD80 \uC624\uB958: \uC798\uBABB\uB41C \uC0C1\uD0DC({0}) +xmlreader.unexpectedCharacterContent=XML \uC77D\uAE30 \uC7A5\uCE58 \uC624\uB958: \uC608\uC0C1\uCE58 \uC54A\uC740 \uBB38\uC790 \uCF58\uD150\uCE20: \"{0}\" +xmlreader.ioException=XML \uC77D\uAE30 \uC7A5\uCE58 \uC624\uB958: {0} +xmlreader.parseException=XML \uAD6C\uBB38 \uBD84\uC11D \uC624\uB958: {0} +xmlreader.nestedError=XML \uC77D\uAE30 \uC7A5\uCE58 \uC624\uB958: {0} + +xmlwriter.noPrefixForURI=XML \uC4F0\uAE30 \uC7A5\uCE58 \uC624\uB958: URI\uC5D0 \uB300\uD55C \uC811\uB450\uC5B4 \uC5C6\uC74C: \"{0}\" +xmlwriter.ioException=XML \uC4F0\uAE30 \uC7A5\uCE58 \uC624\uB958: {0} +xmlwriter.nestedError=XML \uC4F0\uAE30 \uC7A5\uCE58 \uC624\uB958: {0} +xmlreader.unexpectedState=\uC608\uC0C1\uCE58 \uC54A\uC740 XML \uC77D\uAE30 \uC7A5\uCE58 \uC0C1\uD0DC\uC785\uB2C8\uB2E4. {0}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +xmlreader.unexpectedState.message=\uC608\uC0C1\uCE58 \uC54A\uC740 XML \uC77D\uAE30 \uC7A5\uCE58 \uC0C1\uD0DC\uC785\uB2C8\uB2E4. {0}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. {2} +xmlreader.unexpectedState.tag=\uC608\uC0C1\uCE58 \uC54A\uC740 XML \uD0DC\uADF8\uC785\uB2C8\uB2E4. {0}\uC774(\uAC00) \uD544\uC694\uD558\uC9C0\uB9CC {1}\uC774(\uAC00) \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +xmlrecorder.recording.ended=\uB354 \uC774\uC0C1 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uAE30\uB85D\uB41C \uC694\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. + +stax.cantCreate=StAX \uC77D\uAE30 \uC7A5\uCE58 \uB610\uB294 \uC4F0\uAE30 \uC7A5\uCE58\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +staxreader.xmlstreamexception=XML \uC2A4\uD2B8\uB9BC \uC77D\uAE30 \uC7A5\uCE58 \uC608\uC678 \uC0AC\uD56D: {0} + +fastinfoset.decodingNotAccepted=\uBE60\uB978 \uC815\uBCF4 \uC9D1\uD569 \uB514\uCF54\uB529\uC740 \uC2B9\uC778\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +fastinfoset.noImplementation=\uD074\uB798\uC2A4 \uACBD\uB85C\uC5D0\uC11C \uBE60\uB978 \uC815\uBCF4 \uC9D1\uD569\uC758 \uD638\uD658\uB418\uB294 \uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. + +sourcereader.invalidSource=\"{0}\" \uC18C\uC2A4\uC5D0\uC11C \uC77D\uAE30 \uC7A5\uCE58\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=erro de parse XML: {0} +streaming.parseException=erro de parse XML: {0} + +xmlreader.illegalStateEncountered=erro interno do leitor XML: estado inv\u00E1lido ({0}) +xmlreader.unexpectedCharacterContent=erro do leitor XML: conte\u00FAdo do caractere inesperado: \"{0}\" +xmlreader.ioException=erro do leitor XML: {0} +xmlreader.parseException=erro de parse XML: {0} +xmlreader.nestedError=erro do leitor XML: {0} + +xmlwriter.noPrefixForURI=erro do gravador XML: nenhum prefixo para o URI: \"{0}\" +xmlwriter.ioException=erro do gravador XML: {0} +xmlwriter.nestedError=erro do gravador XML: {0} +xmlreader.unexpectedState=estado do leitor XML inesperado: esperava {0} mas encontrou: {1} +xmlreader.unexpectedState.message=estado do leitor XML inesperado: esperava {0}, mas encontrou: {1}. {2} +xmlreader.unexpectedState.tag=tag XML inesperada: esperava {0}, mas encontrou: {1} + +xmlrecorder.recording.ended=n\u00E3o h\u00E1 mais elementos gravados dispon\u00EDveis + +stax.cantCreate=N\u00E3o \u00E9 poss\u00EDvel criar o leitor ou gravador StAX +staxreader.xmlstreamexception=exce\u00E7\u00E3o do leitor de fluxo XML: {0} + +fastinfoset.decodingNotAccepted=Decodifica\u00E7\u00E3o do Conjunto de informa\u00E7\u00F5es r\u00E1pidas n\u00E3o aceita +fastinfoset.noImplementation=N\u00E3o \u00E9 poss\u00EDvel localizar a implementa\u00E7\u00E3o compat\u00EDvel do Conjunto de informa\u00E7\u00F5es R\u00E1pidas no classpath + +sourcereader.invalidSource=N\u00E3o \u00E9 poss\u00EDvel criar o leitor de origem \"{0}\" diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=XML \u89E3\u6790\u9519\u8BEF: {0} +streaming.parseException=XML \u89E3\u6790\u9519\u8BEF: {0} + +xmlreader.illegalStateEncountered=XML \u8BFB\u8FDB\u7A0B\u5185\u90E8\u9519\u8BEF: \u975E\u6CD5\u7684\u72B6\u6001 ({0}) +xmlreader.unexpectedCharacterContent=XML \u8BFB\u8FDB\u7A0B\u9519\u8BEF: \u610F\u5916\u7684\u5B57\u7B26\u5185\u5BB9: \"{0}\" +xmlreader.ioException=XML \u8BFB\u8FDB\u7A0B\u9519\u8BEF: {0} +xmlreader.parseException=XML \u89E3\u6790\u9519\u8BEF: {0} +xmlreader.nestedError=XML \u8BFB\u8FDB\u7A0B\u9519\u8BEF: {0} + +xmlwriter.noPrefixForURI=XML \u5199\u8FDB\u7A0B\u9519\u8BEF: URI \u6CA1\u6709\u524D\u7F00: \"{0}\" +xmlwriter.ioException=XML \u5199\u8FDB\u7A0B\u9519\u8BEF: {0} +xmlwriter.nestedError=XML \u5199\u8FDB\u7A0B\u9519\u8BEF: {0} +xmlreader.unexpectedState=\u610F\u5916\u7684 XML \u8BFB\u8FDB\u7A0B\u72B6\u6001\u3002\u5E94\u4E3A: {0}, \u4F46\u627E\u5230\u7684\u662F: {1} +xmlreader.unexpectedState.message=\u610F\u5916\u7684 XML \u8BFB\u8FDB\u7A0B\u72B6\u6001\u3002\u5E94\u4E3A: {0}, \u4F46\u627E\u5230\u7684\u662F: {1}\u3002{2} +xmlreader.unexpectedState.tag=\u610F\u5916\u7684 XML \u6807\u8BB0\u3002\u5E94\u4E3A: {0}, \u4F46\u627E\u5230\u7684\u662F: {1} + +xmlrecorder.recording.ended=\u6CA1\u6709\u66F4\u591A\u7684\u8BB0\u5F55\u5143\u7D20\u53EF\u7528 + +stax.cantCreate=\u65E0\u6CD5\u521B\u5EFA StAX \u8BFB\u8FDB\u7A0B\u6216\u5199\u8FDB\u7A0B +staxreader.xmlstreamexception=XML \u6D41\u8BFB\u8FDB\u7A0B\u5F02\u5E38\u9519\u8BEF: {0} + +fastinfoset.decodingNotAccepted=\u4E0D\u63A5\u53D7\u5FEB\u901F\u4FE1\u606F\u96C6\u89E3\u7801 +fastinfoset.noImplementation=\u5728\u7C7B\u8DEF\u5F84\u4E2D\u627E\u4E0D\u5230\u5FEB\u901F\u4FE1\u606F\u96C6\u7684\u517C\u5BB9\u5B9E\u73B0 + +sourcereader.invalidSource=\u65E0\u6CD5\u4ECE\u6E90 \"{0}\" \u521B\u5EFA\u8BFB\u8FDB\u7A0B diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/streaming_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,50 @@ +# +# 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. +# + +streaming.ioException=XML \u5256\u6790\u932F\u8AA4: {0} +streaming.parseException=XML \u5256\u6790\u932F\u8AA4: {0} + +xmlreader.illegalStateEncountered=XML \u8B80\u53D6\u5668\u5167\u90E8\u932F\u8AA4: \u7121\u6548\u7684\u72C0\u614B ({0}) +xmlreader.unexpectedCharacterContent=XML \u8B80\u53D6\u5668\u932F\u8AA4: \u672A\u9810\u671F\u7684\u5B57\u5143\u5167\u5BB9: \"{0}\" +xmlreader.ioException=XML \u8B80\u53D6\u5668\u932F\u8AA4: {0} +xmlreader.parseException=XML \u5256\u6790\u932F\u8AA4: {0} +xmlreader.nestedError=XML \u8B80\u53D6\u5668\u932F\u8AA4: {0} + +xmlwriter.noPrefixForURI=XML \u5BEB\u5165\u5668\u932F\u8AA4: URI \"{0}\" \u6C92\u6709\u524D\u7F6E\u78BC +xmlwriter.ioException=XML \u5BEB\u5165\u5668\u932F\u8AA4: {0} +xmlwriter.nestedError=XML \u5BEB\u5165\u5668\u932F\u8AA4: {0} +xmlreader.unexpectedState=\u672A\u9810\u671F\u7684 XML \u8B80\u53D6\u5668\u72C0\u614B. \u9810\u671F: {0} \u4F46\u627E\u5230: {1} +xmlreader.unexpectedState.message=\u672A\u9810\u671F\u7684 XML \u8B80\u53D6\u5668\u72C0\u614B. \u9810\u671F\u70BA: {0} \u4F46\u627E\u5230: {1}. {2} +xmlreader.unexpectedState.tag=\u672A\u9810\u671F\u7684 XML \u6A19\u8A18. \u9810\u671F\u70BA: {0} \u4F46\u627E\u5230: {1} + +xmlrecorder.recording.ended=\u6C92\u6709\u66F4\u591A\u53EF\u7528\u7684\u8A18\u9304\u5143\u7D20 + +stax.cantCreate=\u7121\u6CD5\u5EFA\u7ACB StAX \u8B80\u53D6\u5668\u6216\u5BEB\u5165\u5668 +staxreader.xmlstreamexception=XML \u4E32\u6D41\u8B80\u53D6\u5668\u7570\u5E38\u72C0\u6CC1: {0} + +fastinfoset.decodingNotAccepted=\u4E0D\u63A5\u53D7 Fast Infoset \u89E3\u78BC +fastinfoset.noImplementation=\u5728\u985E\u5225\u8DEF\u5F91\u4E2D\u627E\u4E0D\u5230\u76F8\u5BB9\u7684 Fast Infoset \u5BE6\u884C + +sourcereader.invalidSource=\u7121\u6CD5\u5F9E\u4F86\u6E90 \"{0}\" \u5EFA\u7ACB\u8B80\u53D6\u5668 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/tubelineassembly.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/tubelineassembly.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,67 @@ +# +# Copyright (c) 2010, 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. +# + +# MASM00XX +# TODO: parametrize config file (jaxws-tubes-default.xml) name!!! +MASM0001_DEFAULT_CFG_FILE_NOT_FOUND = MASM0001: Default configuration file [ {0} ] was not found + +MASM0002_DEFAULT_CFG_FILE_LOCATED = MASM0002: Default [ {0} ] configuration file located at [ {1} ] + +MASM0003_DEFAULT_CFG_FILE_NOT_LOADED = MASM0003: Default [ {0} ] configuration file was not loaded + +MASM0004_NO_TUBELINES_SECTION_IN_DEFAULT_CFG_FILE = MASM0004: No section found in the default [ {0} ] configuration file + +MASM0005_NO_DEFAULT_TUBELINE_IN_DEFAULT_CFG_FILE = MASM0005: No default tubeline is defined in the default [ {0} ] configuration file + +MASM0006_APP_CFG_FILE_LOCATED = MASM0006: Application metro.xml configuration file located at [ {0} ] + +MASM0007_APP_CFG_FILE_NOT_FOUND = MASM0007: No application metro.xml configuration file found. + +MASM0008_INVALID_URI_REFERENCE = MASM0008: Invalid URI reference [ {0} ] + +MASM0009_CANNOT_FORM_VALID_URL = MASM0009: Cannot form a valid URL from the resource name "{0}". For more details see the nested exception. + +MASM0010_ERROR_READING_CFG_FILE_FROM_LOCATION = MASM0010: Unable to unmarshall metro config file from location [ {0} ] + +MASM0011_LOADING_RESOURCE = MASM0011: Trying to load [ {0} ] via parent resouce loader [ {1} ] + +MASM0012_LOADING_VIA_SERVLET_CONTEXT = MASM0012: Trying to load [ {0} ] via servlet context [ {1} ] + +MASM0013_ERROR_INVOKING_SERVLET_CONTEXT_METHOD = MASM0013: Unable to invoke {0} method on servlet context instance + +MASM0014_UNABLE_TO_LOAD_CLASS = MASM0014: Unable to load [ {0} ] class + +MASM0015_CLASS_DOES_NOT_IMPLEMENT_INTERFACE = MASM0015: Class [ {0} ] does not implement [ {1} ] interface + +MASM0016_UNABLE_TO_INSTANTIATE_TUBE_FACTORY = MASM0016: Unable to instantiate Tube factory class [ {0} ] + +MASM0017_UNABLE_TO_LOAD_TUBE_FACTORY_CLASS = MASM0017: Unable to load Tube factory class [ {0} ] + +# {0} - system property name (e.g.: "com.sun.metro.soap.dump"/"com.sun.metro.soap.dump.level"), {1} - boolean value (true/false) / string value "SEVERE"/"WARNING"/"INFO"/"CONFIG"/"FINE"/"FINER"/"FINEST" +MASM0018_MSG_LOGGING_SYSTEM_PROPERTY_SET_TO_VALUE = MASM0018: Message logging {0} system property detected to be set to value {1} + +MASM0019_MSG_LOGGING_SYSTEM_PROPERTY_ILLEGAL_VALUE = MASM0019: Illegal logging level value "{1}" stored in the {0} message logging system property. Using default logging level. + +MASM0020_ERROR_CREATING_URI_FROM_GENERATED_STRING = MASM0020: Unable to create a new URI instance for generated endpoint URI string [ {0} ] diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation=Eine WebService-Annotation ist in Klasse nicht vorhanden: {0} +util.handler.endpoint.interface.no.webservice="Die End Point-Schnittstelle: {0} hat keine WebService-Annotation" +util.handler.class.not.found="Klasse: {0} konnte nicht gefunden werden" +util.handler.cannot.combine.soapmessagehandlers=Sie m\u00FCssen die HandlerChain-Annotation verwenden und nicht SOAPMessageHandlers +util.parser.wrong.element=Element \\"{1}\\" ermittelt, \\"{2}\\" in Konfiguration der HandlerChain erwartet (Zeile {0}) +util.failed.to.find.handlerchain.file=HandlerChain-Datei {1} f\u00FCr Klasse {0} nicht gefunden +util.failed.to.parse.handlerchain.file=HandlerChain-Datei {1} f\u00FCr Klasse {0} konnte nicht geparst werden +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=\ in Zeile {0} von {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="No existe una anotaci\u00F3n de WebService en la clase: {0}" +util.handler.endpoint.interface.no.webservice="La interfaz de punto final: {0} no tiene una anotaci\u00F3n de WebService" +util.handler.class.not.found="No se ha encontrado la clase: {0}" +util.handler.cannot.combine.soapmessagehandlers=Debe utilizar la anotaci\u00F3n HandlerChain, no SOAPMessageHandlers +util.parser.wrong.element=se ha encontrado el elemento \"{1}\", pero se esperaba \"{2}\" en la configuraci\u00F3n de la cadena del manejador (l\u00EDnea {0}) +util.failed.to.find.handlerchain.file=No se ha encontrado el archivo de la cadena del manejador {1} para la clase {0} +util.failed.to.parse.handlerchain.file=No se ha podido analizar el archivo de la cadena del manejador {1} para la clase {0} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=en la l\u00EDnea {0} de {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="Aucune annotation de service Web ne figure sur la classe {0}" +util.handler.endpoint.interface.no.webservice="L''interface d''adresse {0} ne comporte aucune annotation WebService" +util.handler.class.not.found="La classe {0} est introuvable" +util.handler.cannot.combine.soapmessagehandlers=Vous devez utiliser l'annotation HanlderChain et non SOAPMessageHandlers +util.parser.wrong.element=\u00E9l\u00E9ment \"{1}\" trouv\u00E9, \"{2}\" attendu dans la configuration de cha\u00EEne de gestionnaires (ligne {0}) +util.failed.to.find.handlerchain.file=Fichier de cha\u00EEne de gestionnaires {1} introuvable pour la classe {0} +util.failed.to.parse.handlerchain.file=Impossible d''analyser le fichier de cha\u00EEne de gestionnaires {1} pour la classe {0} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=\u00E0 la ligne {0} sur {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="Annotazione WebService non presente sulla classe: {0}" +util.handler.endpoint.interface.no.webservice="L''interfaccia Endpoint: {0} non dispone dell''annotazione WebService" +util.handler.class.not.found="Impossibile trovare la classe: {0}" +util.handler.cannot.combine.soapmessagehandlers=\u00C8 necessario usare l'annotazione HandlerChain, non SOAPMessageHandlers +util.parser.wrong.element=trovato elemento \"{1}\", previsto \"{2}\", nella configurazione della catena di handler (riga {0}) +util.failed.to.find.handlerchain.file=Impossibile trovare il file della catena di handler {1} per la classe {0} +util.failed.to.parse.handlerchain.file=Impossibile analizzare il file della catena di handler {1} per la classe {0} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=alla riga {0} di {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="WebService\u6CE8\u91C8\u304C\u30AF\u30E9\u30B9: {0}\u306B\u5B58\u5728\u3057\u307E\u305B\u3093" +util.handler.endpoint.interface.no.webservice="\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u30FB\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9: {0}\u306BWebService\u6CE8\u91C8\u304C\u3042\u308A\u307E\u305B\u3093" +util.handler.class.not.found="\u30AF\u30E9\u30B9: {0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F" +util.handler.cannot.combine.soapmessagehandlers=SOAPMessageHandlers\u3067\u306F\u306A\u304FHanlderChain\u6CE8\u91C8\u3092\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +util.parser.wrong.element=\u30CF\u30F3\u30C9\u30E9\u30FB\u30C1\u30A7\u30FC\u30F3\u69CB\u6210(\u884C{0})\u306B\u8981\u7D20\"{1}\"\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u304C\u3001\"{2}\"\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 +util.failed.to.find.handlerchain.file=\u30AF\u30E9\u30B9{0}\u306E\u30CF\u30F3\u30C9\u30E9\u30FB\u30C1\u30A7\u30FC\u30F3\u30FB\u30D5\u30A1\u30A4\u30EB{1}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F +util.failed.to.parse.handlerchain.file=\u30AF\u30E9\u30B9{0}\u306E\u30CF\u30F3\u30C9\u30E9\u30FB\u30C1\u30A7\u30FC\u30F3\u30FB\u30D5\u30A1\u30A4\u30EB{1}\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location={1}\u306E\u884C{0} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="WebService \uC8FC\uC11D\uC774 \uD074\uB798\uC2A4\uC5D0 \uC5C6\uC74C: {0}" +util.handler.endpoint.interface.no.webservice="\uB05D\uC810 \uC778\uD130\uD398\uC774\uC2A4 {0}\uC5D0 WebService \uC8FC\uC11D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." +util.handler.class.not.found="{0} \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." +util.handler.cannot.combine.soapmessagehandlers=SOAPMessageHandlers\uAC00 \uC544\uB2CC HanlderChain \uC8FC\uC11D\uC744 \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. +util.parser.wrong.element=\"{1}\" \uC694\uC18C\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC9C0\uB9CC \uCC98\uB9AC\uAE30 \uCCB4\uC778 \uAD6C\uC131({0}\uD589)\uC5D0 \"{2}\"\uC774(\uAC00) \uD544\uC694\uD569\uB2C8\uB2E4. +util.failed.to.find.handlerchain.file={0} \uD074\uB798\uC2A4\uC5D0 \uB300\uD55C \uCC98\uB9AC\uAE30 \uCCB4\uC778 \uD30C\uC77C {1}\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +util.failed.to.parse.handlerchain.file={0} \uD074\uB798\uC2A4\uC5D0 \uB300\uD55C \uCC98\uB9AC\uAE30 \uCCB4\uC778 \uD30C\uC77C {1}\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location={1}\uC758 {0}\uD589 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="Uma anota\u00E7\u00E3o do WebService n\u00E3o est\u00E1 presente na classe: {0}" +util.handler.endpoint.interface.no.webservice="A Interface do Ponto Final: {0} n\u00E3o tem Anota\u00E7\u00E3o do WebService" +util.handler.class.not.found="N\u00E3o foi poss\u00EDvel encontrar a Classe: {0}" +util.handler.cannot.combine.soapmessagehandlers=Voc\u00EA de e usar a anota\u00E7\u00E3o HanlderChain, n\u00E3o a SOAPMessageHandlers +util.parser.wrong.element=elemento encontrado \\"{1}\\", esperava \\"{2}\\" na configura\u00E7\u00E3o da cadeia de handler (linha {0}) +util.failed.to.find.handlerchain.file=N\u00E3o foi poss\u00EDvel localizar o arquivo da cadeia de handler {1} para a classe {0} +util.failed.to.parse.handlerchain.file=N\u00E3o foi poss\u00EDvel fazer parse do arquivo da cadeia de handler {1} para a classe {0} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=na linha {0} de {1} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="\u7C7B\u4E0A\u4E0D\u5B58\u5728 Web \u670D\u52A1\u6CE8\u91CA: {0}" +util.handler.endpoint.interface.no.webservice="\u7AEF\u70B9\u63A5\u53E3{0}\u6CA1\u6709 Web \u670D\u52A1\u6CE8\u91CA" +util.handler.class.not.found="\u627E\u4E0D\u5230\u7C7B{0}" +util.handler.cannot.combine.soapmessagehandlers=\u5FC5\u987B\u4F7F\u7528 HanlderChain annotation, \u800C\u4E0D\u662F SOAPMessageHandlers +util.parser.wrong.element=\u5728\u5904\u7406\u7A0B\u5E8F\u94FE\u914D\u7F6E\u4E2D\u627E\u5230\u7684\u662F\u5143\u7D20 \"{1}\", \u5E94\u4E3A \"{2}\" (\u7B2C {0} \u884C) +util.failed.to.find.handlerchain.file=\u627E\u4E0D\u5230\u7C7B{0}\u7684\u5904\u7406\u7A0B\u5E8F\u94FE\u6587\u4EF6{1} +util.failed.to.parse.handlerchain.file=\u65E0\u6CD5\u89E3\u6790\u7C7B{0}\u7684\u5904\u7406\u7A0B\u5E8F\u94FE\u6587\u4EF6{1} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=\u4F4D\u4E8E{1}\u7684\u7B2C {0} \u884C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/util_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +# +# 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. +# + +util.handler.no.webservice.annotation="Web \u670D\u52D9\u8A3B\u89E3\u4E0D\u5B58\u5728\u4E0B\u5217\u985E\u5225\u4E2D: {0}" +util.handler.endpoint.interface.no.webservice="\u7AEF\u9EDE\u4ECB\u9762: {0} \u672A\u5305\u542B Web \u670D\u52D9\u8A3B\u89E3" +util.handler.class.not.found="\u627E\u4E0D\u5230\u985E\u5225: {0}" +util.handler.cannot.combine.soapmessagehandlers=\u60A8\u5FC5\u9808\u4F7F\u7528 HanlderChain \u8A3B\u89E3, \u800C\u975E SOAPMessageHandlers +util.parser.wrong.element=\u5728\u8655\u7406\u7A0B\u5F0F\u93C8\u7D44\u614B (\u884C {0}) \u4E2D\u767C\u73FE\u5143\u7D20 \"{1}\", \u9810\u671F\u70BA \"{2}\" +util.failed.to.find.handlerchain.file=\u627E\u4E0D\u5230\u985E\u5225 {0} \u7684\u8655\u7406\u7A0B\u5F0F\u93C8\u6A94\u6848 {1} +util.failed.to.parse.handlerchain.file=\u7121\u6CD5\u5256\u6790\u985E\u5225 {0} \u7684\u8655\u7406\u7A0B\u5F0F\u93C8\u6A94\u6848 {1} +# Concatenated with qname/exception message (qname + util.location, exception message). +util.location=\u5728 {1} \u7684\u7B2C {0} \u884C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=MEX-WSDL-Metadaten k\u00F6nnen nicht geparst werden, die systemId der MEX-Quelle ist null. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=Import von {0} verletzt BP 1.1 R2001. Es wird mit einer Warnung fortgefahren.\nR2001 Eine DESCRIPTION darf nur die WSDL-Anweisung \\"import\\" verwenden, um eine andere WSDL-Beschreibung zu importieren. +wsdl.portaddress.epraddress.not.match= Bei Port {0} stimmt das Serviceverzeichnis {1} nicht mit der Adresse {2} in der EndpointReference \u00FCberein diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=Los metadatos de WSDL de MEX no se pueden analizar. El identificador del sistema del origen MEX es nulo. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=La importaci\u00F3n de {0} es una violaci\u00F3n de BP 1.1 R2001. Se contin\u00FAa con una advertencia.\nR2001 DESCRIPTION s\u00F3lo debe utilizar la sentencia \\"import\\" de WSDL para importar otra descripci\u00F3n de WSDL. +wsdl.portaddress.epraddress.not.match= Para el puerto: {0}, la ubicaci\u00F3n del servicio {1} no coincide con la direcci\u00F3n {2} en la referencia del punto final diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=Les m\u00E9tadonn\u00E9es WSDL MEX ne peuvent pas \u00EAtre analys\u00E9es, l'\u00E9l\u00E9ment systemId est l'une des sources MEX NULL. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=L''import de {0} est une violation de BP 1.1 R2001. Poursuite de l''op\u00E9ration avec un avertissement. \nR2001 Une DESCRIPTION doit utiliser uniquement l''instruction \"import\" WSDL pour importer une autre description WSDL. +wsdl.portaddress.epraddress.not.match= Pour le port {0}, l''emplacement du service {1} ne correspond pas \u00E0 l''adresse {2} dans l''\u00E9l\u00E9ment EndpointReference diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=Impossibile analizzare i metadati WSDL MEX, l'ID sistema dell'origine MEX \u00E8 nullo. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=L''importazione di {0} \u00E8 una violazione di BP 1.1 R2001. Si continua con un''avvertenza.\nR2001 Una DESCRIPTION deve usare solo l''istruzione \"import\" WSDL per importare un''altra descrizione WSDL. +wsdl.portaddress.epraddress.not.match= Per Port: {0}, la posizione del servizio {1} non corrisponde all''indirizzo {2} in EndpointReference diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=MEX WSDL\u30E1\u30BF\u30C7\u30FC\u30BF\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093\u3002MEX\u30BD\u30FC\u30B9\u306EsystemId\u304Cnull\u3067\u3059\u3002 +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl={0}\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306F\u3001BP 1.1 R2001\u306B\u9055\u53CD\u3057\u3066\u3044\u307E\u3059\u3002\u8B66\u544A\u3042\u308A\u3067\u51E6\u7406\u3057\u3066\u3044\u307E\u3059\u3002\nR2001 \u5225\u306EWSDL\u8AAC\u660E\u3092\u30A4\u30F3\u30DD\u30FC\u30C8\u3059\u308B\u306B\u306F\u3001DESCRIPTION\u3067WSDL \"import\"\u6587\u306E\u307F\u3092\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 +wsdl.portaddress.epraddress.not.match= \u30DD\u30FC\u30C8: {0}\u306B\u3064\u3044\u3066\u3001\u30B5\u30FC\u30D3\u30B9\u306E\u5834\u6240{1}\u304CEndpointReference\u306E\u30A2\u30C9\u30EC\u30B9{2}\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=MEX WSDL \uBA54\uD0C0 \uB370\uC774\uD130\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. MEX \uC18C\uC2A4\uC758 systemId\uAC00 \uB110\uC785\uB2C8\uB2E4. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl={0} \uC784\uD3EC\uD2B8\uB294 BP 1.1 R2001\uC744 \uC704\uBC18\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. \uACBD\uACE0 \uC0C1\uD0DC\uC5D0\uC11C \uC791\uC5C5\uC744 \uC9C4\uD589\uD558\uACE0 \uC788\uC2B5\uB2C8\uB2E4.\nR2001 DESCRIPTION\uC740 WSDL \"import\" \uBB38\uC744 \uD1B5\uD574\uC11C\uB9CC \uB2E4\uB978 WSDL \uC124\uBA85\uC744 \uC784\uD3EC\uD2B8\uD574\uC57C \uD569\uB2C8\uB2E4. +wsdl.portaddress.epraddress.not.match= {0} \uD3EC\uD2B8\uC758 \uACBD\uC6B0 \uC11C\uBE44\uC2A4 \uC704\uCE58 {1}\uC774(\uAC00) EndpointReference\uC758 {2} \uC8FC\uC18C\uC640 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=N\u00E3o \u00E9 poss\u00EDvel fazer parse dos metadados MEX WSDL; o systemId da origem MEX \u00E9 nulo. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=A importa\u00E7\u00E3o de {0} \u00E9 a viola\u00E7\u00E3o de BP 1.1 R2001. Continuando com a advert\u00EAncia.\nR2001 A DESCRIPTION s\u00F3 deve usar a instru\u00E7\u00E3o \\"import\\" do WSDL para importar outra descri\u00E7\u00E3o do WSDL. +wsdl.portaddress.epraddress.not.match= Para a Porta: {0}, a localiza\u00E7\u00E3o de servi\u00E7o {1} n\u00E3o corresponde ao endere\u00E7o {2} na EndpointReference diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=\u65E0\u6CD5\u89E3\u6790 MEX WSDL \u5143\u6570\u636E, MEX \u6E90\u7684 systemId \u4E3A\u7A7A\u503C\u3002 +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=\u5BFC\u5165{0}\u8FDD\u53CD\u4E86 BP 1.1 R2001\u3002\u7EE7\u7EED\u64CD\u4F5C\u4F1A\u51FA\u73B0\u8B66\u544A\u3002\nR2001 DESCRIPTION \u53EA\u80FD\u4F7F\u7528 WSDL \"import\" \u8BED\u53E5\u5BFC\u5165\u5176\u4ED6 WSDL \u8BF4\u660E\u3002 +wsdl.portaddress.epraddress.not.match= \u5BF9\u4E8E\u7AEF\u53E3 {0}, \u670D\u52A1\u4F4D\u7F6E{1}\u4E0E EndpointReference \u4E2D\u7684\u5730\u5740 {2} \u4E0D\u5339\u914D diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsdlmodel_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,29 @@ +# +# 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. +# + +Mex.metadata.systemid.null=\u7121\u6CD5\u5256\u6790 MEX WSDL \u63CF\u8FF0\u8CC7\u6599, MEX \u4F86\u6E90\u7684 systemId \u70BA\u7A7A\u503C. +# R2001 is a standardized message so it should not be translated (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html). At least DESCRIPTION should remain the same. +wsdl.import.should.be.wsdl=\u532F\u5165 {0} \u6703\u9055\u53CD BP 1.1 R2001 \u898F\u5B9A. \u7E7C\u7E8C\u9032\u884C, \u4F46\u767C\u51FA\u8B66\u544A.\nR2001 DESCRIPTION \u5FC5\u9808\u53EA\u80FD\u4F7F\u7528 WSDL \"import\" \u6558\u8FF0\u53E5\u4F86\u532F\u5165\u53E6\u4E00\u500B WSDL \u63CF\u8FF0. +wsdl.portaddress.epraddress.not.match= \u5C0D\u65BC\u9023\u63A5\u57E0: {0}, \u670D\u52D9\u4F4D\u7F6E {1} \u8207 EndpointReference \u4E2D\u7684\u4F4D\u5740 {2} \u4E0D\u7B26 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=Laufzeitdeskriptor "{0}" fehlt + +listener.parsingFailed=WSSERVLET11: Laufzeitdeskriptor konnte nicht geparst werden: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser konnte sun-jaxws.xml-Laufzeitdeskriptor nicht parsen +WSSERVLET11.diag.check.1=Pr\u00FCfen Sie die sun-jaxws.xml-Datei auf Richtigkeit +WSSERVLET11.diag.cause.2=Der Laufzeit-Deployment-Deskriptor von sun-jaxws.xml fehlt m\u00F6glicherweise +WSSERVLET11.diag.check.2=Pr\u00FCfen Sie, ob die jaxrpc-ri.xml-Datei in der .war-Datei vorhanden ist + + +listener.info.initialize=WSSERVLET12: Initialisierung von JAX-WS-Kontext-Listener +WSSERVLET12.diag.cause.1=Hochfahren von Kontext-Listener +WSSERVLET12.diag.check.1=Normales Hochfahren des Webservice + +listener.info.destroy=WSSERVLET13: JAX-WS-Kontext-Listener endg\u00FCltig gel\u00F6scht +WSSERVLET13.diag.cause.1=Herunterfahren von Kontext-Listener +WSSERVLET13.diag.check.1=Normales Herunterfahren des Webservice + +servlet.info.initialize=WSSERVLET14: Initialisierung von JAX-WS-Servlet +WSSERVLET14.diag.cause.1=Webservices-Servlet wird hochgefahren. +WSSERVLET14.diag.check.1=Normales Webservice-Deployment. Deployment des Service abgeschlossen. + +servlet.info.destroy=WSSERVLET15: JAX-WS-Servlet endg\u00FCltig gel\u00F6scht +WSSERVLET15.diag.cause.1=Herunterfahren des Webservices-Servlets. +WSSERVLET15.diag.check.1=Normales Undeployment des Webservice. Undeployment abgeschlossen. + +servlet.warning.missingContextInformation=WSSERVLET16: Kontextinformationen fehlen +WSSERVLET16.diag.cause.1=Die Datei jaxrpc-ri.xml fehlt m\u00F6glicherweise in der .war-Datei +WSSERVLET16.diag.check.1=Extrahieren Sie die .war-Datei des Service; pr\u00FCfen Sie, ob die Datei jaxrpc-ri-runtime.xml vorhanden ist + + +servlet.warning.duplicateEndpointName=WSSERVLET17: Doppelter End Point-Name +WSSERVLET17.diag.cause.1=Es wurden mindestens zwei End Points mit demselben Namen im Laufzeitdeskriptor jaxrpc-ri.xml gefunden +WSSERVLET17.diag.check.1=Beachten Sie, dass dies Probleme beim Deployment des Service verursachen kann + + +servlet.info.emptyRequestMessage=WSSERVLET18: Leere Anforderungsnachricht erhalten +WSSERVLET18.diag.cause.1=Die von diesem Client gesendete Nachricht ist leer +WSSERVLET18.diag.check.1=Dies ist m\u00F6glicherweise Absicht. Wenn nicht, pr\u00FCfen Sie die Clientprogramme auf Fehler. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: Anforderung f\u00FCr End Point erhalten: {0} +WSSERVLET19.diag.cause.1=Clientanforderung f\u00FCr diesen End Point ist eingegangen +WSSERVLET19.diag.check.1=Nur Informationsmeldung. Normaler Betrieb. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: Kein Implementor f\u00FCr End Point: {0} +WSSERVLET20.diag.cause.1=Implementierung f\u00FCr diesen Service kann nicht gefunden werden +WSSERVLET20.diag.check.1=Dekomprimieren Sie die .war-Datei. Werden Tie- und Serializer-Klassen gefunden? + +servlet.trace.invokingImplementor=WSSERVLET21: Implementor wird aufgerufen: {0} +WSSERVLET21.diag.cause.1=Der Webservice wird aufgerufen +WSSERVLET21.diag.check.1=Normaler Webserviceaufruf. + +servlet.error.noEndpointSpecified=WSSERVLET22: Kein End Point angegeben +WSSERVLET22.diag.cause.1=Eine Anforderung wurde ohne End Point aufgerufen +WSSERVLET22.diag.check.1=Legen Sie den End Point mit der Eigenschaft stub.setTargetEndpoint fest + +servlet.error.noResponseMessage=WSSERVLET23: Keine Antwortnachricht +WSSERVLET23.diag.cause.1=Die Anforderung hat keine Antwort von dem Service generiert +WSSERVLET23.diag.check.1=Wenn eine Antwort erwartet wurde, pr\u00FCfen Sie, ob wirklich eine Anforderungsnachricht gesendet wurde +WSSERVLET23.diag.check.2=Die Anforderung hat m\u00F6glicherweise das falsche Format und wird vom Service akzeptiert, hat jedoch keine Antwort generiert + +servlet.trace.writingFaultResponse=WSSERVLET24: Fault-Antwort wird geschrieben +WSSERVLET24.diag.cause.1=SOAPFault-Nachricht wird an den Client zur\u00FCckgegeben. +WSSERVLET24.diag.check.1=Fault bei Tracing-Nachricht aufgezeichnet. + +servlet.trace.writingSuccessResponse=WSSERVLET25: Erfolgsantwort wird geschrieben +WSSERVLET25.diag.cause.1=SOAPMessage-Antwort wird an Client zur\u00FCckgegeben +WSSERVLET25.diag.check.1=Tracing-Nachricht, normale Antwort. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: Doppeltes URL-Muster in End Point: {0} +WSSERVLET26.diag.cause.1=Die End Point-URL ist ein Duplikat +WSSERVLET26.diag.check.1=Dies kann zu einem Problem f\u00FChren, entfernen Sie die doppelten End Points + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: Nicht unterst\u00FCtztes implizites URL-Muster in End Point: {0} +WSSERVLET27.diag.cause.1=Implizite URLs werden in diesem Release nicht unterst\u00FCtzt +WSSERVLET27.diag.check.1=Entfernen Sie die implizite URL + +servlet.faultstring.missingPort=WSSERVLET28: Portinformationen fehlen +WSSERVLET28.diag.cause.1=Ziel-End Point ist null +WSSERVLET28.diag.check.1=Legen Sie den Ziel-End Point mit der Eigenschaft stub.setTargetEndpoint fest + +servlet.faultstring.portNotFound=WSSERVLET29: Port nicht gefunden ({0}) +WSSERVLET29.diag.cause.1=Ein Port ist angegeben, es wird jedoch keine entsprechende Serviceimplementierung gefunden +WSSERVLET29.diag.check.1=Ist der Port g\u00FCltig? Dekomprimieren Sie die .war-Datei, und stellen Sie sicher, dass Tie und Serializer vorhanden sind + +servlet.faultstring.internalServerError=WSSERVLET30: Interner Serverfehler ({0}) +WSSERVLET30.diag.cause.1=Bei der Verarbeitung der Anforderung ist ein Serverfehler aufgetreten +WSSERVLET30.diag.check.1=Dies kann eine Reihe von Ursachen haben. Pr\u00FCfen Sie die Serverlogdatei auf Ausnahmen. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: Throwable beim Recovery einer fr\u00FCheren Ausnahme abgefangen: {0} +WSSERVLET51.diag.cause.1=Die Serviceverarbeitung der Anforderung hat eine Ausnahme generiert; beim Versuch, eine SOAPFaultMessage zur\u00FCckzugeben, wurde erneut ein Throwable generiert +WSSERVLET51.diag.check.1=Pr\u00FCfen Sie die server.xml-Logdatei auf Ausnahmeinformationen + +error.servlet.caughtThrowable=WSSERVLET49: Throwable abgefangen: {0} +WSSERVLET49.diag.cause.1=Die Serviceverarbeitung der Anforderung hat eine Ausnahme generiert; beim Versuch, eine SOAPFaultMessage zur\u00FCckzugeben, wurde erneut ein Throwable generiert +WSSERVLET49.diag.check.1=Pr\u00FCfen Sie die server.xml-Logdatei auf Ausnahmeinformationen + +error.servlet.caughtThrowableInInit=WSSERVLET50: Throwable bei Servlet-Initialisierung abgefangen: {0} +WSSERVLET50.diag.cause.1=Sun-jaxws.xml oder web.xml von WS-Laufzeitumgebung sind m\u00F6glicherweise nicht korrekt +WSSERVLET50.diag.check.1=Pr\u00FCfen Sie, ob sun-jaxws.xml und web.xml in der .war-Datei des Service korrekt sind +WSSERVLET50.diag.cause.2=Deployment-Deskriptoren des Application Servers sind m\u00F6glicherweise falsch +WSSERVLET50.diag.check.2=Pr\u00FCfen Sie, ob die Deployment-Deskriptoren des Application Servers in der .war-Datei des Service korrekt sind +WSSERVLET50.diag.cause.3=M\u00F6glicherweise liegen einige Probleme bei der Application Server-Initialisierung vor +WSSERVLET50.diag.check.3=Pr\u00FCfen Sie die server.xml-Datei im Domainverzeichnis auf Fehler + +publisher.info.applyingTransformation=WSSERVLET31: Transformation mit aktueller Adresse wird angewendet: {0} +WSSERVLET31.diag.cause.1=Transformation wird angewendet +WSSERVLET31.diag.check.1=Normaler Vorgang + +publisher.info.generatingWSDL=WSSERVLET32: WSDL f\u00FCr End Point wird generiert: {0} +WSSERVLET32.diag.cause.1=WSDL wird generiert +WSSERVLET32.diag.check.1=Normaler Vorgang. + +exception.cannotCreateTransformer=WSSERVLET33: Transformer kann nicht erstellt werden +WSSERVLET33.diag.cause.1=Bei der Ver\u00F6ffentlichung der Service-WSDL wird das HTTP-Verzeichnis mit dem bereitgestellten Verzeichnis/End Point mit der XSLT-Transformation gepatcht. Der Transformer zur Durchf\u00FChrung der Transformation konnte nicht erstellt werden. +WSSERVLET33.diag.check.1=M\u00F6glicherweise wird eine nicht kompatible Transformations-Engine verwendet. Stellen Sie sicher, dass Sie den richtigen Transformer und die richtige Version verwenden. +WSSERVLET33.diag.cause.2=Bei der Ver\u00F6ffentlichung der Service-WSDL wird das HTTP-Verzeichnis mit dem bereitgestellten Verzeichnis/End Point mit der XSLT-Transformation gepatcht. Der Transformer zur Durchf\u00FChrung der Transformation konnte nicht erstellt werden. +WSSERVLET33.diag.check.2=M\u00F6glicherweise wird die Transformations-Engine nicht unterst\u00FCtzt oder ist inkompatibel. Pr\u00FCfen Sie die Datei server.xml auf Ausnahmen. + + +exception.transformationFailed=WSSERVLET34: Transformation nicht erfolgreich: {0} +WSSERVLET34.diag.cause.1=Das Patching des Verzeichnisses in der WSDL war beim Transformationsversuch nicht erfolgreich. +WSSERVLET34.diag.check.1=Pr\u00FCfen Sie die Logdateien auf detailliertere Fehler/Ausnahmen + +exception.templateCreationFailed=WSSERVLET35: Konnte kein Vorlagenobjekt erstellen +WSSERVLET35.diag.cause.1=Eine XSLT-Stylesheet-Vorlage wird f\u00FCr das Patching des WSDL-Verzeichnisses mit der Transformation erstellt. Vorlage konnte nicht erstellt werden. +WSSERVLET35.diag.check.1=Eine Ausnahme wurde bei der Erstellung der Vorlage ausgel\u00F6st. F\u00FCr weitere Einzelheiten zeigen Sie die Ausnahme und den Stack Trace an. + +servlet.html.method=WSSERVLET63: Sie m\u00FCssen Post f\u00FCr diesen Anforderungstyp verwenden +WSSERVLET63.diag.cause.1=Webserviceanforderungen m\u00FCssen die HTTP-POST-Methode verwenden: WSI BP 1.0 +WSSERVLET63.diag.check.1=Stellen Sie sicher, dass der HTTP-Client POST-Anforderungen und keine GET-Anforderungen verwendet + + +servlet.faultstring.invalidContentType=WSSERVLET64: Ung\u00FCltiger Content-Type, text/xml erforderlich +WSSERVLET64.diag.cause.1=Webserviceanforderungen m\u00FCssen den Content-Type text/xml aufweisen: WSI BP 1.0 +WSSERVLET64.diag.check.1=Stellen Sie sicher, dass die Clientanforderung text/xml verwendet + +error.implementorFactory.newInstanceFailed=WSSERVLET43: Serviceimplementor f\u00FCr Port \\"{0}\\" konnte nicht instanziiert werden +WSSERVLET43.diag.cause.1=Instanziierung des Webservice nicht erfolgreich. +WSSERVLET43.diag.check.1=Stellen Sie sicher, dass der Webservice verf\u00FCgbar und \u00F6ffentlich ist. Pr\u00FCfen Sie die Ausnahme auf weitere Einzelheiten + +error.implementorFactory.servantInitFailed=WSSERVLET44: Serviceimplementor f\u00FCr Port \\"{0}\\" konnte nicht initialisiert werden +WSSERVLET44.diag.cause.1=Der Webservice wurde instanziiert, konnte jedoch nicht initialisiert werden +WSSERVLET44.diag.check.1=Pr\u00FCfen Sie die Ausnahme auf weitere Einzelheiten. Stellen Sie sicher, dass alle Konfigurationsdateien korrekt sind. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: Ung\u00FCltiger Header. SOAPAction erforderlich +WSSERVLET65.diag.cause.1=SOAP-Aktion ist erforderlich +WSSERVLET65.diag.check.1=F\u00FCgen Sie SOAPAction und den entsprechenden Wert hinzu + +# {0} - URI +servlet.no.address.available=Es ist keine Adresse f\u00FCr {0} verf\u00FCgbar + +servlet.html.title= Webservices +servlet.html.title2=

    Webservices

    +servlet.html.noInfoAvailable=

    Keine JAX-WS-Kontextinformationen verf\u00FCgbar.

    +servlet.html.columnHeader.portName=End Point +servlet.html.columnHeader.status=Status +servlet.html.columnHeader.information=Informationen +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    Servicename\\:{0}
    Portname\\:{1}
    +servlet.html.information.table=
    Adresse\:{0}
    WSDL\:{0}?wsdl
    Implementierungsklasse\:{1}
    +servlet.html.notFound=

    404 Nicht gefunden: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: Keine Konfiguration angegeben +error.implementorFactory.noInputStream=WSSERVLET37: Keine Konfiguration angegeben +error.implementorRegistry.unknownName=WSSERVLET38: Unbekannter Portname: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: Konfiguration kann nicht gelesen werden +error.implementorRegistry.classNotFound=WSSERVLET40: Klasse nicht gefunden: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: Konfigurationsinformationen sind unvollst\u00E4ndig +error.implementorRegistry.duplicateName=WSSERVLET42: Doppelter Portname: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: Datei nicht gefunden: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: Konfiguration kann nicht gelesen werden +error.servlet.init.config.parameter.missing=WSSERVLET47: Konfigurationsparameter kann nicht gefunden werden: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: Konfigurationsdatei: \"{0}\" nicht gefunden +# + +error.servlet.noImplementorForPort=WSSERVLET52: Kein Implementor f\u00FCr Port registriert: {0} +error.servlet.noPortSpecified=WSSERVLET53: Kein Port in HTTP-POST-Anforderungs-URL angegeben +error.servlet.noResponseWasProduced=WSSERVLET54: Es wurde keine Antwort erzeugt (interner Fehler) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: Leere Anforderungsnachricht erhalten +info.servlet.initializing=WSSERVLET56: JAX-WS-Servlet: init +info.servlet.destroying=WSSERVLET57: JAX-WS-Servlet: destroy +# +trace.servlet.requestForPortNamed=WSSERVLET58: Anforderung f\u00FCr Port erhalten: {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: Anforderung wird an Implementor \u00FCbergeben: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: Antwort von Implementor erhalten: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: Fault-Antwort wird geschrieben +trace.servlet.writingSuccessResponse=WSSERVLET62: Erfolgsantwort wird geschrieben +# +html.nonRootPage.title= Webservice +html.nonRootPage.body1=

    Ein Webservice ist bei dieser URL installiert.

    +html.nonRootPage.body2=

    Ung\u00FCltiger Anforderungs-URI.

    Pr\u00FCfen Sie die Deployment-Informationen.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Webservice +html.wsdlPage.noWsdl=

    Es ist kein WSDL-Dokument zur Ver\u00F6ffentlichung verf\u00FCgbar.

    Pr\u00FCfen Sie die Deployment-Informationen.

    +html.rootPage.title= Webservice +html.rootPage.body1=

    Ein Webservice ist bei dieser URL installiert.

    +html.rootPage.body2a=

    Er unterst\u00FCtzt die folgenden Ports: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    Dieser End Point ist nicht richtig konfiguriert. Pr\u00FCfen Sie Verzeichnis und Content der Konfigurationsdatei.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=Falta el descriptor en tiempo de ejecuci\u00F3n"{0}" + +listener.parsingFailed=WSSERVLET11: Fallo al analizar el descriptor en tiempo de ejecuci\u00F3n: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser no ha podido analizar el descriptor en tiempo de ejecuci\u00F3n sun-jaxws.xml +WSSERVLET11.diag.check.1=Compruebe el archivo sun-jaxws.xml para asegurarse de que es correcto +WSSERVLET11.diag.cause.2=Puede que falte el descriptor de despliegue en tiempo de ejecuci\u00F3n sun-jaxws.xml +WSSERVLET11.diag.check.2=Compruebe el archivo jaxrpc-ri.xml para asegurarse de que se encuentra en el archivo war + + +listener.info.initialize=WSSERVLET12: inicializando el listener de contexto de JAX-WS +WSSERVLET12.diag.cause.1=Iniciando listener de contexto +WSSERVLET12.diag.check.1=Inicio de servicio web normal + +listener.info.destroy=WSSERVLET13: el listener de contexto de JAX-WS se ha destruido +WSSERVLET13.diag.cause.1=Cierre de listener de contexto +WSSERVLET13.diag.check.1=Cierre de servicio web normal + +servlet.info.initialize=WSSERVLET14: inicializando el servlet de JAX-WS +WSSERVLET14.diag.cause.1=Iniciando el servlet de servicios web. +WSSERVLET14.diag.check.1=Despliegue de servicio web normal. Se ha completado el despliegue del servicio. + +servlet.info.destroy=WSSERVLET15: el servlet de JAX-WS se ha destruido +WSSERVLET15.diag.cause.1=El servlet de servicios web se ha cerrado. +WSSERVLET15.diag.check.1=Anulaci\u00F3n de despliegue normal del servicio web. Se ha completado la anulaci\u00F3n del despliegue. + +servlet.warning.missingContextInformation=WSSERVLET16: falta informaci\u00F3n de contexto +WSSERVLET16.diag.cause.1=Puede que falte el archivo jaxrpc-ri.xml en el archivo war +WSSERVLET16.diag.check.1=Extraiga el archivo jar del archivo war del servicio para comprobar si est\u00E1 el archivo jaxrpc-ri-runtime.xml + + +servlet.warning.duplicateEndpointName=WSSERVLET17: nombre de punto final duplicado +WSSERVLET17.diag.cause.1=Se han encontrado dos o m\u00E1s puntos finales con el mismo nombre en el descriptor de tiempo de ejecuci\u00F3n jaxrpc-ri.xml +WSSERVLET17.diag.check.1=Tenga en cuenta que esto podr\u00EDa producir problemas con el despliegue del servicio + + +servlet.info.emptyRequestMessage=WSSERVLET18: se ha obtenido un mensaje de solicitud vac\u00EDo +WSSERVLET18.diag.cause.1=El mensaje que ha enviado el cliente est\u00E1 vac\u00EDo +WSSERVLET18.diag.check.1=Podr\u00EDa ser o no intencionado. En caso de que no lo sea, examine el programa del cliente para buscar errores. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: Se ha obtenido la solicitud para el punto final: {0} +WSSERVLET19.diag.cause.1=Ha llegado la solicitud del cliente para este punto final +WSSERVLET19.diag.check.1=S\u00F3lo mensaje informativo. Funcionamiento normal. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: No hay ning\u00FAn implantador para el punto final: {0} +WSSERVLET20.diag.cause.1=No se ha encontrado la implantaci\u00F3n de este servicio +WSSERVLET20.diag.check.1=Descomprima el archivo war. \u00BFEncuentra las clases del serializador y de uni\u00F3n? + +servlet.trace.invokingImplementor=WSSERVLET21: Llamando al implantador: {0} +WSSERVLET21.diag.cause.1=Se est\u00E1 llamando al servicio web +WSSERVLET21.diag.check.1=Llamada normal al servicio web. + +servlet.error.noEndpointSpecified=WSSERVLET22: no se ha especificado un punto final +WSSERVLET22.diag.cause.1=Se ha llamado a una solicitud sin ning\u00FAn punto final +WSSERVLET22.diag.check.1=Defina el punto final con la propiedad stub.setTargetEndpoint + +servlet.error.noResponseMessage=WSSERVLET23: no hay ning\u00FAn mensaje de respuesta +WSSERVLET23.diag.cause.1=La solicitud no ha generado ninguna respuesta del servicio +WSSERVLET23.diag.check.1=Si se esperaba una respuesta, compruebe si realmente se ha enviado un mensaje de solicitud +WSSERVLET23.diag.check.2=Puede que la solicitud tenga un formato incorrecto y que la haya aceptado el servicio, pero no se haya generado una respuesta + +servlet.trace.writingFaultResponse=WSSERVLET24: escribiendo respuesta a fallo +WSSERVLET24.diag.cause.1=Se est\u00E1 devolviendo al cliente el mensaje SOAPFault. +WSSERVLET24.diag.check.1=Se ha registrado el fallo del mensaje de rastreo. + +servlet.trace.writingSuccessResponse=WSSERVLET25: escribiendo respuesta correcta +WSSERVLET25.diag.cause.1=Se est\u00E1 devolviendo la respuesta SOAPMessage al cliente +WSSERVLET25.diag.check.1=Rastreando mensaje; respuesta normal. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: Patr\u00F3n de URL duplicado en punto final: {0} +WSSERVLET26.diag.cause.1=La URL de punto final es un duplicado +WSSERVLET26.diag.check.1=Podr\u00EDa producir un problema. Elimine los puntos finales duplicados + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: Patr\u00F3n de URL impl\u00EDcitas no soportado en el punto final: {0} +WSSERVLET27.diag.cause.1=Las URL impl\u00EDcitas no est\u00E1n soportadas en esta versi\u00F3n +WSSERVLET27.diag.check.1=Elimine la URL impl\u00EDcita + +servlet.faultstring.missingPort=WSSERVLET28: falta la informaci\u00F3n de puerto +WSSERVLET28.diag.cause.1=El punto final de destino es nulo +WSSERVLET28.diag.check.1=Defina el punto final de destino con la propiedad stub.setTargetEndpoint(). + +servlet.faultstring.portNotFound=WSSERVLET29: no se ha encontrado el puerto ({0}) +WSSERVLET29.diag.cause.1=Se ha especificado un puerto, pero no se ha encontrado una implantaci\u00F3n del servicio correspondiente +WSSERVLET29.diag.check.1=\u00BFEl puerto es v\u00E1lido? Descomprima el archivo war y aseg\u00FArese de que la uni\u00F3n y los serializadores se encuentran en \u00E9l + +servlet.faultstring.internalServerError=WSSERVLET30: error de servidor interno ({0}) +WSSERVLET30.diag.cause.1=Se ha producido un error del servidor al procesar la solicitud +WSSERVLET30.diag.check.1=Se puede deber a varias causas. Compruebe si hay excepciones en el archivo log del servidor. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: Devoluci\u00F3n resuelta al recuperarse de una excepci\u00F3n anterior: {0} +WSSERVLET51.diag.cause.1=El procesamiento del servicio de la solicitud ha generado una excepci\u00F3n. Al intentar devolver un SOAPPFaultMessage, se ha generado de nuevo una devoluci\u00F3n +WSSERVLET51.diag.check.1=Compruebe en el archivo log server.xml la informaci\u00F3n de la excepci\u00F3n + +error.servlet.caughtThrowable=WSSERVLET49: Devoluci\u00F3n resuelta: {0} +WSSERVLET49.diag.cause.1=El procesamiento del servicio de la solicitud ha generado una excepci\u00F3n. Al intentar devolver un SOAPFaultMessage, se ha generado de nuevo una devoluci\u00F3n +WSSERVLET49.diag.check.1=Compruebe en el archivo log server.xml la informaci\u00F3n de la excepci\u00F3n + +error.servlet.caughtThrowableInInit=WSSERVLET50: Devoluci\u00F3n resuelta durante la inicializaci\u00F3n del servlet: {0} +WSSERVLET50.diag.cause.1=Puede que sun-jaxws.xml o web.xml en tiempo de ejecuci\u00F3n de WS sean incorrectos +WSSERVLET50.diag.check.1=Verifique que sun-jaxws.xml y web.xml son correctos en el archivo war del servicio +WSSERVLET50.diag.cause.2=Puede que los descriptores de despliegue del servidor de aplicaciones sean incorrectos +WSSERVLET50.diag.check.2=Verifique que los descriptores de despliegue del servidor de aplicaciones sean correctos en el archivo war del servicio +WSSERVLET50.diag.cause.3=Puede que haya algunos problemas de inicializaci\u00F3n del servidor de aplicaciones +WSSERVLET50.diag.check.3=Compruebe el archivo server.xml en el directorio del dominio para ver si hay fallos + +publisher.info.applyingTransformation=WSSERVLET31: Aplicando la transformaci\u00F3n con la direcci\u00F3n real: {0} +WSSERVLET31.diag.cause.1=Se est\u00E1 aplicando la transformaci\u00F3n +WSSERVLET31.diag.check.1=Funcionamiento normal + +publisher.info.generatingWSDL=WSSERVLET32: Generando WSDL para punto final: {0} +WSSERVLET32.diag.cause.1=Se est\u00E1 generando el WSDL +WSSERVLET32.diag.check.1=Funcionamiento normal. + +exception.cannotCreateTransformer=WSSERVLET33: no se puede crear el transformador +WSSERVLET33.diag.cause.1=Cuando se publica el WSDL de servicio, se aplica un parche a la ubicaci\u00F3n http con la ubicaci\u00F3n/punto final desplegados utilizando la transformaci\u00F3n XSLT. No se ha podido crear el transformador para realizar la transformaci\u00F3n. +WSSERVLET33.diag.check.1=Puede que se est\u00E9 utilizando un motor de transformaci\u00F3n que no es compatible. Aseg\u00FArese de que est\u00E1 utilizando el transformador y la versi\u00F3n correctos. +WSSERVLET33.diag.cause.2=Cuando se publica el WSDL de servicio, se aplica un parche a la ubicaci\u00F3n http con la ubicaci\u00F3n/punto final desplegados utilizando la transformaci\u00F3n XSLT. No se ha podido crear el transformador para realizar la transformaci\u00F3n. +WSSERVLET33.diag.check.2=Puede que haya un motor de transformaci\u00F3n que no est\u00E1 soportado o es incompatible. Compruebe el archivo server.xml para ver si hay excepciones. + + +exception.transformationFailed=WSSERVLET34: Fallo en la transformaci\u00F3n: {0} +WSSERVLET34.diag.cause.1=Ha fallado la aplicaci\u00F3n de parches de ubicaci\u00F3n en el WSDL al intentar realizar la transformaci\u00F3n. +WSSERVLET34.diag.check.1=Consulte el archivo log para obtener excepciones/errores m\u00E1s detallados. + +exception.templateCreationFailed=WSSERVLET35: fallo al crear un objeto de plantilla +WSSERVLET35.diag.cause.1=Se ha creado una plantilla de hoja de estilo XSLT para la aplicaci\u00F3n de parches de ubicaci\u00F3n del WSDL utilizando la transformaci\u00F3n. Fallo de creaci\u00F3n de la plantilla. +WSSERVLET35.diag.check.1=Se ha devuelto una excepci\u00F3n durante la creaci\u00F3n de la plantilla. Consulte la excepci\u00F3n y el rastreo de pila para obtener m\u00E1s detalles. + +servlet.html.method=WSSERVLET63: debe utilizar Post para este tipo de solicitud +WSSERVLET63.diag.cause.1=Las solicitudes de servicios web deben utilizar el m\u00E9todo HTTP POST: WSI BP 1.0 +WSSERVLET63.diag.check.1=Aseg\u00FArese de que el cliente HTTP est\u00E1 utilizando solicitudes POST, no GET + + +servlet.faultstring.invalidContentType=WSSERVLET64: tipo de contenido no v\u00E1lido; se necesita text/xml +WSSERVLET64.diag.cause.1=Las solicitudes de servicios web deben tener el tipo de contenido text/xml: WSI BP 1.0 +WSSERVLET64.diag.check.1=Aseg\u00FArese de que la solicitud del cliente est\u00E1 utilizando text/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43: fallo al instanciar el implantador del servicio para el puerto \\"{0}\\" +WSSERVLET43.diag.cause.1=Fallo en la instanciaci\u00F3n del servicio web. +WSSERVLET43.diag.check.1=Aseg\u00FArese de que el servicio web est\u00E1 disponible y es p\u00FAblico. Examine la excepci\u00F3n para obtener m\u00E1s detalles. + +error.implementorFactory.servantInitFailed=WSSERVLET44: fallo al inicializar el implantador del servicio para el puerto \"{0}\" +WSSERVLET44.diag.cause.1=El servicio web se ha instanciado, pero no se ha podido inicializar +WSSERVLET44.diag.check.1=Revise la excepci\u00F3n para obtener m\u00E1s detalles. Aseg\u00FArese de que todos los archivos de configuraci\u00F3n son correctos. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: cabecera no v\u00E1lida. Se necesita una acci\u00F3n de SOAP +WSSERVLET65.diag.cause.1=Se necesita una acci\u00F3n de SOAP +WSSERVLET65.diag.check.1=Agregue una acci\u00F3n de SOAP y el valor adecuado + +# {0} - URI +servlet.no.address.available=No hay disponible ninguna direcci\u00F3n para {0} + +servlet.html.title= Servicios Web +servlet.html.title2=

    Servicios web

    +servlet.html.noInfoAvailable=

    No hay disponible ninguna informaci\u00F3n de contexto JAX-WS.

    +servlet.html.columnHeader.portName=Punto Final +servlet.html.columnHeader.status=Estado +servlet.html.columnHeader.information=Informaci\u00F3n +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    Nombre de Servicio\\:{0}
    Nombre de Puerto\\:{1}
    +servlet.html.information.table=
    Direcci\u00F3n\\:{0}
    WSDL\\:{0}?wsdl
    Clase de Implantaci\u00F3n\\:{1}
    +servlet.html.notFound=

    404 no se ha encontrado: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: no se ha especificado ninguna configuraci\u00F3n +error.implementorFactory.noInputStream=WSSERVLET37: no se ha especificado ninguna configuraci\u00F3n +error.implementorRegistry.unknownName=WSSERVLET38: Nombre de puerto desconocido: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: no se puede leer la configuraci\u00F3n +error.implementorRegistry.classNotFound=WSSERVLET40: No se ha encontrado la clase: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: la informaci\u00F3n de configuraci\u00F3n est\u00E1 incompleta +error.implementorRegistry.duplicateName=WSSERVLET42: Nombre de puerto duplicado: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: No se ha encontrado el archivo: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: no se puede leer la configuraci\u00F3n +error.servlet.init.config.parameter.missing=WSSERVLET47: No se ha encontrado el par\u00E1metro de configuraci\u00F3n: \\"{0}\\" +error.servlet.init.config.fileNotFound=WSSERVLET48: no se ha encontrado el archivo de configuraci\u00F3n \"{0}\" +# + +error.servlet.noImplementorForPort=WSSERVLET52: No se ha registrado ning\u00FAn implantador para el puerto: {0} +error.servlet.noPortSpecified=WSSERVLET53: no se ha especificado ning\u00FAn puerto en la URL de la solicitud POST de HTTP +error.servlet.noResponseWasProduced=WSSERVLET54: no se ha producido ninguna respuesta (error interno) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: se ha obtenido un mensaje de solicitud vac\u00EDo +info.servlet.initializing=WSSERVLET56: Servlet JAX-WS: inicializar +info.servlet.destroying=WSSERVLET57: Servlet JAX-WS: destruir +# +trace.servlet.requestForPortNamed=WSSERVLET58: se ha obtenido una solicitud para el puerto {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: Entregando solicitud al implantador: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: Se ha obtenido respuesta del implantador: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: escribiendo respuesta con fallos +trace.servlet.writingSuccessResponse=WSSERVLET62: escribiendo respuesta correcta +# +html.nonRootPage.title= Servicio Web +html.nonRootPage.body1=

    Hay instalado un servicio web en esta URL.

    +html.nonRootPage.body2=

    URI de solicitud no v\u00E1lido.

    Revise su informaci\u00F3n de despliegue.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Servicio Web +html.wsdlPage.noWsdl=

    No hay disponible ning\u00FAn documento WSDL para la publicaci\u00F3n.

    Revise la informaci\u00F3n de despliegue.

    +html.rootPage.title= Servicio Web +html.rootPage.body1=

    Hay instalado un servicio web en esta URL.

    +html.rootPage.body2a=

    Soporta los puertos siguientes: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    Este punto final est\u00E1 configurado de manera incorrecta. Compruebe la ubicaci\u00F3n y el contenido del archivo de configuraci\u00F3n.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=Le descripteur d''ex\u00E9cution "{0}" est manquant + +listener.parsingFailed=WSSERVLET11 : \u00E9chec de l''analyse du descripteur d''ex\u00E9cution : {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser n'a pas pu analyser le descripteur d'ex\u00E9cution sun-jaxws.xml +WSSERVLET11.diag.check.1=V\u00E9rifiez le fichier sun-jaxws.xml pour vous assurer qu'il est correct +WSSERVLET11.diag.cause.2=Le descripteur de d\u00E9ploiement d'ex\u00E9cution sun-jaxws.xml est peut-\u00EAtre manquant +WSSERVLET11.diag.check.2=V\u00E9rifiez le fichier jaxrpc-ri.xml pour vous assurer qu'il figure dans le fichier WAR + + +listener.info.initialize=WSSERVLET12 : initialisation du processus d'\u00E9coute de contexte JAX-WS +WSSERVLET12.diag.cause.1=D\u00E9marrage du processus d'\u00E9coute de contexte +WSSERVLET12.diag.check.1=D\u00E9marrage de service Web normal + +listener.info.destroy=WSSERVLET13 : processus d'\u00E9coute de contexte JAX-WS d\u00E9truit +WSSERVLET13.diag.cause.1=Arr\u00EAt du processus d'\u00E9coute de contexte +WSSERVLET13.diag.check.1=Arr\u00EAt du service Web normal + +servlet.info.initialize=WSSERVLET14 : initialisation du servlet JAX-WS +WSSERVLET14.diag.cause.1=D\u00E9marrage du servlet des services Web. +WSSERVLET14.diag.check.1=D\u00E9ploiement du service Web normal. D\u00E9ploiement du service termin\u00E9. + +servlet.info.destroy=WSSERVLET15 : servlet AX-WS d\u00E9truit +WSSERVLET15.diag.cause.1=Arr\u00EAt du servlet des services Web. +WSSERVLET15.diag.check.1=Annulation du d\u00E9ploiement du service Web normal. Annulation du d\u00E9ploiement termin\u00E9e. + +servlet.warning.missingContextInformation=WSSERVLET16 : informations de contexte manquantes +WSSERVLET16.diag.cause.1=Le fichier jaxrpc-ri.xml est peut-\u00EAtre manquant dans le fichier WAR +WSSERVLET16.diag.check.1=D\u00E9compressez le fichier WAR de service ; v\u00E9rifiez que le fichier jaxrpc-ri-runtime.xml est pr\u00E9sent + + +servlet.warning.duplicateEndpointName=WSSERVLET17 : nom d'adresse en double +WSSERVLET17.diag.cause.1=Au moins deux adresses portant le m\u00EAme nom ont \u00E9t\u00E9 trouv\u00E9es dans le descripteur d'ex\u00E9cution jaxrpc-ri.xml +WSSERVLET17.diag.check.1=Cela peut entra\u00EEner des probl\u00E8mes avec le d\u00E9ploiement de service + + +servlet.info.emptyRequestMessage=WSSERVLET18 : message de demande vide obtenu +WSSERVLET18.diag.cause.1=Le message envoy\u00E9 par le client est vide +WSSERVLET18.diag.check.1=Cela peut \u00EAtre intentionnel ou non. Si cela ne l'est pas, recherchez les erreurs dans le programme client. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19 : demande pour l''adresse {0} obtenue +WSSERVLET19.diag.cause.1=La demande client pour cette adresse est arriv\u00E9e +WSSERVLET19.diag.check.1=Message d'information uniquement. Fonctionnement normal. + +servlet.error.noImplementorForEndpoint=WSSERVLET20 : aucun impl\u00E9mentateur pour l''adresse : {0} +WSSERVLET20.diag.cause.1=L'impl\u00E9mentation de ce service est introuvable +WSSERVLET20.diag.check.1=D\u00E9compressez le fichier WAR, les classes de liaison et de serializer ont-elles \u00E9t\u00E9 trouv\u00E9es ? + +servlet.trace.invokingImplementor=WSSERVLET21 : appel de l''impl\u00E9mentateur : {0} +WSSERVLET21.diag.cause.1=Le service Web est en cours d'appel +WSSERVLET21.diag.check.1=Appel de service Web normal. + +servlet.error.noEndpointSpecified=WSSERVLET22 : aucune adresse indiqu\u00E9e +WSSERVLET22.diag.cause.1=Une demande a \u00E9t\u00E9 appel\u00E9e sans adresse +WSSERVLET22.diag.check.1=D\u00E9finir l'adresse avec la propri\u00E9t\u00E9 stub.setTargetEndpoint + +servlet.error.noResponseMessage=WSSERVLET23 : aucun message de r\u00E9ponse +WSSERVLET23.diag.cause.1=La demande n'a g\u00E9n\u00E9r\u00E9 aucune r\u00E9ponse de la part du service +WSSERVLET23.diag.check.1=Si une r\u00E9ponse \u00E9tait attendue, v\u00E9rifiez qu'un message de demande a bien \u00E9t\u00E9 envoy\u00E9 +WSSERVLET23.diag.check.2=La demande peut \u00EAtre incorrecte et avoir \u00E9t\u00E9 accept\u00E9e par le service, mais elle n'a g\u00E9n\u00E9r\u00E9 aucune r\u00E9ponse + +servlet.trace.writingFaultResponse=WSSERVLET24 : \u00E9criture d'une r\u00E9ponse d'erreur +WSSERVLET24.diag.cause.1=Le message SOAPFault est en cours de renvoi au client. +WSSERVLET24.diag.check.1=Erreur de message de trace enregistr\u00E9e. + +servlet.trace.writingSuccessResponse=WSSERVLET25 : \u00E9criture d'une r\u00E9ponse de succ\u00E8s +WSSERVLET25.diag.cause.1=La r\u00E9ponse SOAPMessage est en cours de renvoi au client +WSSERVLET25.diag.check.1=Message de trace, r\u00E9ponse normale. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26 : mod\u00E8le d''URL en double dans l''adresse : {0} +WSSERVLET26.diag.cause.1=L'URL endpoint est en double +WSSERVLET26.diag.check.1=Cela peut poser probl\u00E8me, enlevez les adresses en double + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27 : mod\u00E8le d''URL implicite non pris en charge dans l''adresse : {0} +WSSERVLET27.diag.cause.1=Les URL implicites ne sont pas prises en charge dans cette version +WSSERVLET27.diag.check.1=Enlever l'URL implicite + +servlet.faultstring.missingPort=WSSERVLET28 : informations sur le port manquantes +WSSERVLET28.diag.cause.1=L'adresse cible est NULL +WSSERVLET28.diag.check.1=D\u00E9finissez l'adresse cible avec la propri\u00E9t\u00E9 stub.setTargetEndpoint(). + +servlet.faultstring.portNotFound=WSSERVLET29 : port introuvable ({0}) +WSSERVLET29.diag.cause.1=Un port est indiqu\u00E9, mais une impl\u00E9mentation de service correspondante est introuvable +WSSERVLET29.diag.check.1=Le port est-il valide ? D\u00E9compressez le fichier WAR et assurez-vous que la liaison et les serializers sont pr\u00E9sents + +servlet.faultstring.internalServerError=WSSERVLET30 : erreur de serveur interne ({0}) +WSSERVLET30.diag.cause.1=Une erreur de serveur s'est produite lors du traitement de la demande +WSSERVLET30.diag.check.1=Cela peut avoir plusieurs causes. Pour conna\u00EEtre les exceptions, consultez le fichier journal du serveur. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51 : objet Throwable d\u00E9tect\u00E9 lors de la r\u00E9cup\u00E9ration \u00E0 partir d''une exception pr\u00E9c\u00E9dente : {0} +WSSERVLET51.diag.cause.1=Le traitement de service de la demande a g\u00E9n\u00E9r\u00E9 une exception ; lors de la tentative de renvoi d'un message SOAPPFaultMessage, un objet Throwable a encore \u00E9t\u00E9 g\u00E9n\u00E9r\u00E9 +WSSERVLET51.diag.check.1=Pour plus d'informations sur l'exception, consultez le fichier journal server.xml + +error.servlet.caughtThrowable=WSSERVLET49 : objet Throwable d\u00E9tect\u00E9 : {0} +WSSERVLET49.diag.cause.1=Le traitement de service de la demande a g\u00E9n\u00E9r\u00E9 une exception ; lors de la tentative de renvoi d'un message SOAPFaultMessage, un objet Throwable a encore \u00E9t\u00E9 g\u00E9n\u00E9r\u00E9 +WSSERVLET49.diag.check.1=Pour plus d'informations sur l'exception, consultez le fichier journal server.xml + +error.servlet.caughtThrowableInInit=WSSERVLET50 : objet Throwable d\u00E9tect\u00E9 lors de l''initialisation du servlet : {0} +WSSERVLET50.diag.cause.1=Le fichier sun-jaxws.xml ou web.xml d'ex\u00E9cution WS est peut-\u00EAtre incorrect +WSSERVLET50.diag.check.1=V\u00E9rifiez que sun-jaxws.xml et web.xml sont corrects dans le fichier WAR de service +WSSERVLET50.diag.cause.2=Les descripteurs de d\u00E9ploiement du serveur d'applications sont peut-\u00EAtre incorrects +WSSERVLET50.diag.check.2=V\u00E9rifiez que les descripteurs de d\u00E9ploiement du serveur d'applications sont corrects dans le fichier WAR du service +WSSERVLET50.diag.cause.3=Des probl\u00E8mes d'initialisation du serveur d'applications peuvent se produire +WSSERVLET50.diag.check.3=Pour conna\u00EEtre les \u00E9checs, consultez le fichier server.xml dans le r\u00E9pertoire de domaines + +publisher.info.applyingTransformation=WSSERVLET31 : application de la transformation avec l''adresse r\u00E9elle : {0} +WSSERVLET31.diag.cause.1=Transformation en cours d'application +WSSERVLET31.diag.check.1=Fonctionnement normal + +publisher.info.generatingWSDL=WSSERVLET32 : g\u00E9n\u00E9ration du WSDL pour l''adresse : {0} +WSSERVLET32.diag.cause.1=WSDL en cours de g\u00E9n\u00E9ration +WSSERVLET32.diag.check.1=Fonctionnement normal. + +exception.cannotCreateTransformer=WSSERVLET33 : impossible de cr\u00E9er le transformateur +WSSERVLET33.diag.cause.1=Lors de la publication du WSDL de service, des patches sont appliqu\u00E9s \u00E0 l'emplacement http avec l'emplacement/adresse d\u00E9ploy\u00E9 \u00E0 l'aide de la transformation XSLT. Le transformateur n'a pas pu \u00EAtre cr\u00E9\u00E9 pour effectuer la transformation. +WSSERVLET33.diag.check.1=Un moteur de transformation non compatible est peut-\u00EAtre en cours d'utilisation. Assurez-vous que vous utilisez le transformateur et la version corrects. +WSSERVLET33.diag.cause.2=Lors de la publication du WSDL de service, des patches sont appliqu\u00E9s \u00E0 l'emplacement http avec l'emplacement/adresse d\u00E9ploy\u00E9 \u00E0 l'aide de la transformation XSLT. Le transformateur n'a pas pu \u00EAtre cr\u00E9\u00E9 pour effectuer la transformation. +WSSERVLET33.diag.check.2=Un moteur de transformation non pris en charge ou non compatible est peut-\u00EAtre utilis\u00E9. Pour conna\u00EEtre les exceptions, consultez le fichier server.xml. + + +exception.transformationFailed=WSSERVLET34 : \u00E9chec de la transformation : {0} +WSSERVLET34.diag.cause.1=L'application de patches \u00E0 l'emplacement sur le WSDL a \u00E9chou\u00E9 lors de la tentative de transformation. +WSSERVLET34.diag.check.1=Pour plus de d\u00E9tails sur les erreurs/exceptions, consultez les fichiers journaux. + +exception.templateCreationFailed=WSSERVLET35 : \u00E9chec de la cr\u00E9ation d'un objet de mod\u00E8le +WSSERVLET35.diag.cause.1=Un mod\u00E8le de feuille de style XSLT est cr\u00E9\u00E9 pour l'application de patches \u00E0 l'emplacement WSDL \u00E0 l'aide de la transformation. Echec de la cr\u00E9ation du mod\u00E8le. +WSSERVLET35.diag.check.1=Une exception a \u00E9t\u00E9 g\u00E9n\u00E9r\u00E9e lors de la cr\u00E9ation du mod\u00E8le. Pour plus de d\u00E9tails, consultez l'exception et la trace de pile. + +servlet.html.method=WSSERVLET63 : vous devez utiliser POST pour ce type de demande +WSSERVLET63.diag.cause.1=Les demandes de service Web doivent utiliser la m\u00E9thode HTTP POST : WSI BP 1.0 +WSSERVLET63.diag.check.1=Assurez-vous que le client HTTP utilise les demandes POST, et non les demandes GET + + +servlet.faultstring.invalidContentType=WSSERVLET64 : Content-Type non valide, text/xml requis +WSSERVLET64.diag.cause.1=Le type de contenu des demandes de service Web doit \u00EAtre text/xml : WSI BP 1.0 +WSSERVLET64.diag.check.1=Assurez-vous que la demande client utilise text/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43 : \u00E9chec de l''instanciation d''un impl\u00E9mentateur de service pour le port \"{0}\" +WSSERVLET43.diag.cause.1=Echec de l'instanciation du service Web. +WSSERVLET43.diag.check.1=Assurez-vous que le service Web est disponible et public. Pour plus de d\u00E9tails, examinez l'exception + +error.implementorFactory.servantInitFailed=WSSERVLET44 : \u00E9chec de l''initialisation de l''impl\u00E9mentateur de service pour le port \"{0}\" +WSSERVLET44.diag.cause.1=Le service Web a \u00E9t\u00E9 instanci\u00E9 ; cependant, il n'a pas pu \u00EAtre initialis\u00E9 +WSSERVLET44.diag.check.1=Pour plus de d\u00E9tails, v\u00E9rifiez l'exception. Assurez-vous que tous les fichiers de configuration sont corrects. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65 : en-t\u00EAte SOAPAction non valide requis +WSSERVLET65.diag.cause.1=L'action SOAP est obligatoire +WSSERVLET65.diag.check.1=Ajouter SOAPAction et la valeur appropri\u00E9e + +# {0} - URI +servlet.no.address.available=Aucune adresse n''est disponible pour {0} + +servlet.html.title= Services Web +servlet.html.title2=

    Services Web

    +servlet.html.noInfoAvailable=

    Aucune information de contexte JAX-WS disponible.

    +servlet.html.columnHeader.portName=Adresse +servlet.html.columnHeader.status=Statut +servlet.html.columnHeader.information=Informations +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    Nom de service \:{0}
    Nom de port \:{1}
    +servlet.html.information.table=
    Adresse \:{0}
    WSDL\:{0}?wsdl
    Classe d''impl\u00E9mentation \:{1}
    +servlet.html.notFound=

    404 Introuvable : {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36 : aucune configuration sp\u00E9cifi\u00E9e +error.implementorFactory.noInputStream=WSSERVLET37 : aucune configuration sp\u00E9cifi\u00E9e +error.implementorRegistry.unknownName=WSSERVLET38 : nom de port {0} inconnu +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39 : impossible de lire la configuration +error.implementorRegistry.classNotFound=WSSERVLET40 : classe introuvable : {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41 : les informations de configuration sont incompl\u00E8tes +error.implementorRegistry.duplicateName=WSSERVLET42 : nom de port en double : {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45 : fichier introuvable : {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46 : impossible de lire la configuration +error.servlet.init.config.parameter.missing=WSSERVLET47 : param\u00E8tre de configuration \"{0}\" introuvable +error.servlet.init.config.fileNotFound=WSSERVLET48 : fichier de configuration \"{0}\" introuvable +# + +error.servlet.noImplementorForPort=WSSERVLET52 : aucun impl\u00E9mentateur inscrit pour le port : {0} +error.servlet.noPortSpecified=WSSERVLET53 : aucun port indiqu\u00E9 dans l'URL de demande HTTP POST +error.servlet.noResponseWasProduced=WSSERVLET54 : aucune r\u00E9ponse n'a \u00E9t\u00E9 produite (erreur interne) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55 : message de demande vide obtenu +info.servlet.initializing=WSSERVLET56 : servlet JAX-WS : initialisation +info.servlet.destroying=WSSERVLET57 : servlet JAX-WS : destruction +# +trace.servlet.requestForPortNamed=WSSERVLET58 : demande obtenue pour le port : {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59 : gestion de la demande sur l''impl\u00E9mentateur : {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60 : r\u00E9ponse de l''impl\u00E9mentateur obtenue : {0} +trace.servlet.writingFaultResponse=WSSERVLET61 : \u00E9criture de la r\u00E9ponse d'erreur +trace.servlet.writingSuccessResponse=WSSERVLET62 : \u00E9criture de la r\u00E9ponse de succ\u00E8s +# +html.nonRootPage.title= Service Web +html.nonRootPage.body1=

    Un service Web est install\u00E9 \u00E0 cette URL.

    +html.nonRootPage.body2=

    URI de demande non valide.

    V\u00E9rifiez les informations de d\u00E9ploiement.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Service Web +html.wsdlPage.noWsdl=

    Aucun document WSDL disponible pour publication.

    V\u00E9rifiez les informations de d\u00E9ploiement.

    +html.rootPage.title= Service Web +html.rootPage.body1=

    Un service Web est install\u00E9 \u00E0 cette URL.

    +html.rootPage.body2a=

    Il prend en charge les ports suivants : +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    Cette adresse n'est pas configur\u00E9e correctement. V\u00E9rifiez l'emplacement et le contenu du fichier de configuration.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=Descrittore di runtime "{0}" mancante + +listener.parsingFailed=WSSERVLET11: analisi del descrittore di runtime non riuscita: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser non \u00E8 riuscito ad analizzare il descrittore di runtime sun-jaxws.xml runtime +WSSERVLET11.diag.check.1=Controllare il file sun-jaxws.xml per assicurarsi che sia corretto +WSSERVLET11.diag.cause.2=\u00C8 possibile che manchi il descrittore di distribuzione di runtime sun-jaxws.xml +WSSERVLET11.diag.check.2=Controllare il file jaxrpc-ri.xml per assicurarsi che sia presente nel file war + + +listener.info.initialize=WSSERVLET12: inizializzazione del listener del contesto JAX-WS +WSSERVLET12.diag.cause.1=Avvio del listener del contesto +WSSERVLET12.diag.check.1=Normale avvio del servizio Web + +listener.info.destroy=WSSERVLET13: listener del contesto JAX-WS eliminato +WSSERVLET13.diag.cause.1=Chiusura del listener del contesto +WSSERVLET13.diag.check.1=Normale chiusura del servizio Web + +servlet.info.initialize=WSSERVLET14: inizializzazione del servlet JAX-WS +WSSERVLET14.diag.cause.1=Avvio del servlet dei servizi Web. +WSSERVLET14.diag.check.1=Normale distribuzione del servizio Web. Distribuzione del servizio completata. + +servlet.info.destroy=WSSERVLET15: servlet JAX-WS eliminato +WSSERVLET15.diag.cause.1=Chiusura del servlet dei servizi Web. +WSSERVLET15.diag.check.1=Normale annullamento della distribuzione del servizio Web. Annullamento della distribuzione completata. + +servlet.warning.missingContextInformation=WSSERVLET16: informazioni mancanti sul contesto +WSSERVLET16.diag.cause.1=\u00C8 possibile che nel file war manchi il file jaxrpc-ri.xml +WSSERVLET16.diag.check.1=Estrarre il file war di servizio. Controllare che sia presente il file jaxrpc-ri-runtime.xml + + +servlet.warning.duplicateEndpointName=WSSERVLET17: nome endpoint duplicato +WSSERVLET17.diag.cause.1=Nel descrittore di runtime jaxrpc-ri.xml sono stati trovati due o pi\u00F9 endpoint con lo stesso nome +WSSERVLET17.diag.check.1=Tenere presente che questo potrebbe causare problemi con la distribuzione del servizio + + +servlet.info.emptyRequestMessage=WSSERVLET18: ricevuto messaggio di richiesta vuoto +WSSERVLET18.diag.cause.1=Il messaggio inviato dal client \u00E8 vuoto +WSSERVLET18.diag.check.1=Potrebbe essere intenzionale o meno. In quest'ultimo caso, esaminare il programma client per gli errori. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: ricevuta richiesta per l''endpoint: {0} +WSSERVLET19.diag.cause.1=\u00C8 arrivata la richiesta del client per questo endpoint +WSSERVLET19.diag.check.1=Messaggio solo informativo. Funzionamento normale. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: nessun implementatore per l''endpoint: {0} +WSSERVLET20.diag.cause.1=Impossibile trovare l'implementazione per questo servizio +WSSERVLET20.diag.check.1=Estrarre il file war e controllare se sono presenti le classi di collegamento e del serializzatore. + +servlet.trace.invokingImplementor=WSSERVLET21: richiamo dell''implementatore: {0} +WSSERVLET21.diag.cause.1=\u00C8 in corso il richiamo del servizio Web +WSSERVLET21.diag.check.1=Normale richiamo del servizio Web. + +servlet.error.noEndpointSpecified=WSSERVLET22: nessun endpoint specificato +WSSERVLET22.diag.cause.1=\u00C8 stata richiamata una richiesta senza endpoint +WSSERVLET22.diag.check.1=Impostare l'endpoint con la propriet\u00E0 stub.setTargetEndpoint + +servlet.error.noResponseMessage=WSSERVLET23: nessun messaggio di risposta +WSSERVLET23.diag.cause.1=La richiesta non ha generato alcuna risposta dal servizio +WSSERVLET23.diag.check.1=Se era prevista una risposta, controllare che sia stato effettivamente inviato un messaggio di richiesta +WSSERVLET23.diag.check.2=\u00C8 possibile che la richiesta abbia un formato non valido e che sia stata accettata dal servizio e che perci\u00F2 non sia stata generata una risposta + +servlet.trace.writingFaultResponse=WSSERVLET24: scrittura della risposta di errore +WSSERVLET24.diag.cause.1=\u00C8 in corso la restituzione del messaggio SOAPFault al client. +WSSERVLET24.diag.check.1=Trace dell'errore del messaggio registrato. + +servlet.trace.writingSuccessResponse=WSSERVLET24: scrittura della risposta di operazione riuscita +WSSERVLET25.diag.cause.1=\u00C8 in corso la restituzione della risposta SOAPMessage al client +WSSERVLET25.diag.check.1=Trace del messaggio, risposta normale. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: pattern dell''URL duplicato nell''endpoint: {0} +WSSERVLET26.diag.cause.1=L'URL dell'endpoint \u00E8 un duplicato +WSSERVLET26.diag.check.1=Questo potrebbe causare problemi. Rimuovere gli endpoint duplicati. + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: pattern dell''URL implicito non supportato nell''endpoint: {0} +WSSERVLET27.diag.cause.1=Gli URL impliciti non sono supportati in questa release +WSSERVLET27.diag.check.1=Rimuovere l'URL implicito + +servlet.faultstring.missingPort=WSSERVLET28: Informazioni mancanti sulla porta +WSSERVLET28.diag.cause.1=L'endpoint di destinazione \u00E8 nullo +WSSERVLET28.diag.check.1=Impostare l'endpoint di destinazione con la propriet\u00E0 stub.setTargetEndpoint(). + +servlet.faultstring.portNotFound=WSSERVLET29: Porta non trovata ({0}) +WSSERVLET29.diag.cause.1=\u00C8 specificata una porta ma non \u00E8 stata trovata un'implementazione del servizio corrispondente +WSSERVLET29.diag.check.1=Verificare che la porta sia valida. Estrarre il file war e assicurarsi che siano presenti il collegamento e i serializzatori + +servlet.faultstring.internalServerError=WSSERVLET30: Errore interno del server ({0}) +WSSERVLET30.diag.cause.1=Si \u00E8 verificato un errore del server durante l'elaborazione della richiesta +WSSERVLET30.diag.check.1=Ci\u00F2 potrebbe essere dovuto a numerosi motivi. Controllare il file di log del server per le eccezioni. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: rilevato Throwable durante il recupero da un''eccezione precedente: {0} +WSSERVLET51.diag.cause.1=L'elaborazione del servizio della richiesta ha generato un'eccezione. Durante il tentativo di restituzione di un SOAPPFaultMessage \u00E8 stato generato un nuovo Throwable. +WSSERVLET51.diag.check.1=Controllare il file di log server.xml per informazioni sull'eccezione + +error.servlet.caughtThrowable=WSSERVLET49: rilevato Throwable: {0} +WSSERVLET49.diag.cause.1=L'elaborazione del servizio della richiesta ha generato un'eccezione. Durante il tentativo di restituzione di un SOAPFaultMessage \u00E8 stato generato un nuovo Throwable. +WSSERVLET49.diag.check.1=Controllare il file di log server.xml per informazioni sull'eccezione + +error.servlet.caughtThrowableInInit=WSSERVLET51: rilevato Throwable durante l''inizializzazione del servlet: {0} +WSSERVLET50.diag.cause.1=\u00C8 possibile che sun-jaxws.xml o web.xml del runtime WS siano errati +WSSERVLET50.diag.check.1=Verificare che sun-jaxws.xml e web.xml siano corretti nel file war del servizio +WSSERVLET50.diag.cause.2=\u00C8 possibile che i descrittori di distribuzione dell'Application Server siano errati +WSSERVLET50.diag.check.2=Verificare che i descrittori di distribuzione dell'Application Server siano corretti nel file war del servizio +WSSERVLET50.diag.cause.3=Potrebbero esserci dei problemi di inizializzazione dell'Application Server +WSSERVLET50.diag.check.3=Controllare il file server.xml nella directory del dominio per gli errori + +publisher.info.applyingTransformation=WSSERVLET31: la trasformazione viene applicata con l''indirizzo effettivo: {0} +WSSERVLET31.diag.cause.1=\u00C8 in corso l'applicazione della trasformazione +WSSERVLET31.diag.check.1=Funzionamento normale + +publisher.info.generatingWSDL=WSSERVLET32: generazione di WSDL per l''endpoint: {0} +WSSERVLET32.diag.cause.1=\u00C8 in corso la generazione di WSDL +WSSERVLET32.diag.check.1=Funzionamento normale. + +exception.cannotCreateTransformer=WSSERVLET33: impossibile creare il trasformatore +WSSERVLET33.diag.cause.1=Durante la pubblicazione del WSDL del servizio, alla posizione http vengono applicate patch con la posizione/endpoint distribuiti usando la trasformazione XSLT. Impossibile creare il trasformatore per eseguire la trasformazione. +WSSERVLET33.diag.check.1=\u00C8 possibile che sia in uso un motore di trasformazione non compatibile. Assicurarsi che vengano usati il trasformatore e la versione corretti. +WSSERVLET33.diag.cause.2=Durante la pubblicazione del WSDL del servizio, alla posizione http vengono applicate patch con la posizione/endpoint distribuiti usando la trasformazione XSLT. Impossibile creare il trasformatore per eseguire la trasformazione. +WSSERVLET33.diag.check.2=\u00C8 possibile che sia presente un motore di trasformazione non supportato o compatibile. Controllare il file server.xml per le eccezioni. + + +exception.transformationFailed=WSSERVLET34: trasformazione non riuscita: {0} +WSSERVLET34.diag.cause.1=L'applicazione di patch alla posizione sul WSDL non \u00E8 riuscita durante il tentativo di trasformazione. +WSSERVLET34.diag.check.1=Per ulteriori dettagli sugli errori/eccezioni, consultare i file di log. + +exception.templateCreationFailed=WSSERVLET35: creazione di un oggetto modello non riuscita +WSSERVLET35.diag.cause.1=Viene creato un modello di foglio di stile XSLT per l'applicazione di patch alla posizione WSDL usando la trasformazione. Creazione del modello non riuscita. +WSSERVLET35.diag.check.1=\u00C8 stata restituita un'eccezione durante la creazione del modello. Visualizzare l'eccezione e lo stack trace per ulteriori dettagli. + +servlet.html.method=WSSERVLET63: per questo tipo di richiesta \u00E8 necessario usare POST +WSSERVLET63.diag.cause.1=Le richieste del servizio Web devono usare il metodo HTTP POST: WSI BP 1.0 +WSSERVLET63.diag.check.1=Assicurarsi che il client HTTP stia usando le richieste POST e non le richieste GET + + +servlet.faultstring.invalidContentType=WSSERVLET64: Content-Type non valido. \u00C8 richiesto text/xml +WSSERVLET64.diag.cause.1=Le richieste del servizio Web devono essere un tipo di contenuto text/xml: WSI BP 1.0 +WSSERVLET64.diag.check.1=Accertarsi che la richiesta del client usi text/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43: creazione dell''istanza dell''implementatore del servizio per la porta \"{0}\" non riuscita +WSSERVLET43.diag.cause.1=Creazione dell'istanza del servizio Web non riuscita. +WSSERVLET43.diag.check.1=Assicurarsi che il servizio Web sia disponibile e pubblico. Esaminare l'eccezione per ulteriori dettagli. + +error.implementorFactory.servantInitFailed=WSSERVLET44: inizializzazione dell''implementatore del servizio per la porta \"{0}\" non riuscita +WSSERVLET44.diag.cause.1=\u00C8 stata creata un'istanza del servizio ma non \u00E8 stato possibile inizializzarlo. +WSSERVLET44.diag.check.1=Controllare l'eccezione per ulteriori dettagli. Assicurarsi che tutti i file di configurazione siano corretti. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: SOAPAction dell'intestazione non valida richiesta +WSSERVLET65.diag.cause.1=SOAPAction richiesta +WSSERVLET65.diag.check.1=Aggiungere SOAPAction e il valore appropriato + +# {0} - URI +servlet.no.address.available=Nessun indirizzo disponibile per {0} + +servlet.html.title= Servizi Web +servlet.html.title2=

    Servizi Web

    +servlet.html.noInfoAvailable=

    Non sono disponibili informazioni sul contesto JAX-WS.

    +servlet.html.columnHeader.portName=Endpoint +servlet.html.columnHeader.status=Stato +servlet.html.columnHeader.information=Informazioni +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    Nome servizio\:{0}
    Nome porta\:{1}
    +servlet.html.information.table=
    Indirizzo\:{0}
    WSDL\:{0}?wsdl
    Classe di implementazione\:{1}
    +servlet.html.notFound=

    404 Non trovato: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: nessuna configurazione specificata +error.implementorFactory.noInputStream=WSSERVLET37: nessuna configurazione specificata +error.implementorRegistry.unknownName=WSSERVLET38: nome porta sconosciuto: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: impossibile leggere la configurazione +error.implementorRegistry.classNotFound=WSSERVLET40: classe non trovata: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: le informazioni di configurazione sono incomplete +error.implementorRegistry.duplicateName=WSSERVLET42: nome porta duplicato: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: file non trovato: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: impossibile leggere la configurazione +error.servlet.init.config.parameter.missing=WSSERVLET47: impossibile trovare il parametro di configurazione: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: file di configurazione: \"{0}\" non trovato +# + +error.servlet.noImplementorForPort=WSSERVLET52: nessun implementatore registrato per la porta: {0} +error.servlet.noPortSpecified=WSSERVLET53: nessuna porta specificata nell'URL della richiesta POST HTTP +error.servlet.noResponseWasProduced=WSSERVLET54: nessuna risposta prodotta (errore interno) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: ricevuto messaggio di richiesta vuoto +info.servlet.initializing=WSSERVLET56: servlet JAX-WS: inizializzazione +info.servlet.destroying=WSSERVLET57: servlet JAX-WS: eliminazione +# +trace.servlet.requestForPortNamed=WSSERVLET58: ricevuta richiesta per la porta: {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: passaggio della richiesta all''implementatore: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: ricevuta risposta dall''implementatore: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: scrittura della risposta di errore +trace.servlet.writingSuccessResponse=WSSERVLET62: scrittura della risposta di operazione riuscita +# +html.nonRootPage.title= Servizio Web +html.nonRootPage.body1=

    In questo URL \u00E8 installato un servizio Web.

    +html.nonRootPage.body2=

    URI richiesta non valido.

    Controllare le informazioni sulla distribuzione.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Servizio Web +html.wsdlPage.noWsdl=

    Nessun documento WSDL disponibile per la pubblicazione.

    Controllare le informazioni sulla distribuzione.

    +html.rootPage.title= Servizio Web +html.rootPage.body1=

    In questo URL \u00E8 installato un servizio Web.

    +html.rootPage.body2a=

    Supporta le seguenti porte: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    Questo endpoint \u00E8 configurato in modo errato. Controllare la posizione e il contenuto del file di configurazione.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF"{0}"\u304C\u3042\u308A\u307E\u305B\u3093 + +listener.parsingFailed=WSSERVLET11: \u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF: {0}\u306E\u89E3\u6790\u306B\u5931\u6557\u3057\u307E\u3057\u305F +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser\u306Fsun-jaxws.xml\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +WSSERVLET11.diag.check.1=sun-jaxws.xml\u30D5\u30A1\u30A4\u30EB\u3092\u30C1\u30A7\u30C3\u30AF\u3057\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u6B63\u3057\u3044\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 +WSSERVLET11.diag.cause.2=sun-jaxws.xml\u5B9F\u884C\u6642\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u304C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +WSSERVLET11.diag.check.2=jaxrpc-ri.xml\u30D5\u30A1\u30A4\u30EB\u3092\u30C1\u30A7\u30C3\u30AF\u3057\u3001\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u304CWAR\u30D5\u30A1\u30A4\u30EB\u306B\u5B58\u5728\u3059\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + + +listener.info.initialize=WSSERVLET12: JAX-WS\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30FB\u30EA\u30B9\u30CA\u30FC\u3092\u521D\u671F\u5316\u3057\u3066\u3044\u307E\u3059 +WSSERVLET12.diag.cause.1=\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30FB\u30EA\u30B9\u30CA\u30FC\u3092\u8D77\u52D5\u3057\u3066\u3044\u307E\u3059 +WSSERVLET12.diag.check.1=\u901A\u5E38\u306EWeb\u30B5\u30FC\u30D3\u30B9\u3092\u8D77\u52D5\u3057\u3066\u3044\u307E\u3059 + +listener.info.destroy=WSSERVLET13: JAX-WS\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30FB\u30EA\u30B9\u30CA\u30FC\u3092\u7834\u68C4\u3057\u307E\u3057\u305F +WSSERVLET13.diag.cause.1=\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30FB\u30EA\u30B9\u30CA\u30FC\u3092\u505C\u6B62\u3057\u307E\u3057\u305F +WSSERVLET13.diag.check.1=\u901A\u5E38\u306EWeb\u30B5\u30FC\u30D3\u30B9\u3092\u505C\u6B62\u3057\u307E\u3057\u305F + +servlet.info.initialize=WSSERVLET14: JAX-WS\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8\u3092\u521D\u671F\u5316\u3057\u3066\u3044\u307E\u3059 +WSSERVLET14.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u30FB\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8\u3092\u8D77\u52D5\u3057\u3066\u3044\u307E\u3059\u3002 +WSSERVLET14.diag.check.1=\u901A\u5E38\u306EWeb\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u3067\u3059\u3002\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002 + +servlet.info.destroy=WSSERVLET15: JAX-WS\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8\u3092\u7834\u68C4\u3057\u307E\u3057\u305F +WSSERVLET15.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u30FB\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8\u3092\u505C\u6B62\u3057\u307E\u3057\u305F\u3002 +WSSERVLET15.diag.check.1=\u901A\u5E38\u306EWeb\u30B5\u30FC\u30D3\u30B9\u306E\u30A2\u30F3\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u3067\u3059\u3002\u30A2\u30F3\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002 + +servlet.warning.missingContextInformation=WSSERVLET16: \u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u60C5\u5831\u304C\u3042\u308A\u307E\u305B\u3093 +WSSERVLET16.diag.cause.1=WAR\u30D5\u30A1\u30A4\u30EB\u306Bjaxrpc-ri.xml\u30D5\u30A1\u30A4\u30EB\u304C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +WSSERVLET16.diag.check.1=\u30B5\u30FC\u30D3\u30B9WAR\u30D5\u30A1\u30A4\u30EB\u3092\u89E3\u51CD\u3057\u3001jaxrpc-ri-runtime.xml\u30D5\u30A1\u30A4\u30EB\u304C\u5B58\u5728\u3059\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + + +servlet.warning.duplicateEndpointName=WSSERVLET17: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u540D\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059 +WSSERVLET17.diag.cause.1=\u540C\u3058\u540D\u524D\u306E2\u3064\u4EE5\u4E0A\u306E\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304Cjaxrpc-ri.xml\u5B9F\u884C\u6642\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u306B\u898B\u3064\u304B\u308A\u307E\u3057\u305F +WSSERVLET17.diag.check.1=\u3053\u308C\u306B\u3088\u308A\u30B5\u30FC\u30D3\u30B9\u30FB\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u3067\u554F\u984C\u304C\u767A\u751F\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 + + +servlet.info.emptyRequestMessage=WSSERVLET18: \u7A7A\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F +WSSERVLET18.diag.cause.1=\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u3088\u308A\u9001\u4FE1\u3055\u308C\u305F\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u7A7A\u3067\u3059 +WSSERVLET18.diag.check.1=\u3053\u308C\u306F\u610F\u56F3\u7684\u306A\u5834\u5408\u3082\u3042\u308A\u307E\u3059\u3002\u610F\u56F3\u7684\u3067\u306A\u3044\u5834\u5408\u3001\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u30FB\u30D7\u30ED\u30B0\u30E9\u30E0\u306B\u30A8\u30E9\u30FC\u304C\u306A\u3044\u304B\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8: {0}\u306B\u5BFE\u3059\u308B\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F +WSSERVLET19.diag.cause.1=\u3053\u306E\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306B\u5BFE\u3059\u308B\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u5230\u7740\u3057\u307E\u3057\u305F +WSSERVLET19.diag.check.1=\u5358\u306A\u308B\u60C5\u5831\u30E1\u30C3\u30BB\u30FC\u30B8\u3067\u3059\u3002\u901A\u5E38\u306E\u64CD\u4F5C\u3067\u3059\u3002 + +servlet.error.noImplementorForEndpoint=WSSERVLET20: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8: {0}\u306E\u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 +WSSERVLET20.diag.cause.1=\u3053\u306E\u30B5\u30FC\u30D3\u30B9\u306E\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +WSSERVLET20.diag.check.1=WAR\u3092\u89E3\u51CD\u3057\u307E\u3059\u3002tie\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30B7\u30EA\u30A2\u30E9\u30A4\u30B6\u30FB\u30AF\u30E9\u30B9\u306F\u898B\u3064\u304B\u308A\u307E\u3059\u304B\u3002 + +servlet.trace.invokingImplementor=WSSERVLET21: \u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u3092\u547C\u3073\u51FA\u3057\u3066\u3044\u307E\u3059: {0} +WSSERVLET21.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u3092\u547C\u3073\u51FA\u3057\u3066\u3044\u307E\u3059 +WSSERVLET21.diag.check.1=\u901A\u5E38\u306EWeb\u30B5\u30FC\u30D3\u30B9\u306E\u547C\u51FA\u3057\u3067\u3059\u3002 + +servlet.error.noEndpointSpecified=WSSERVLET22: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +WSSERVLET22.diag.cause.1=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306A\u3057\u3067\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u547C\u3073\u51FA\u3055\u308C\u307E\u3057\u305F +WSSERVLET22.diag.check.1=stub.setTargetEndpoint\u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u3088\u308A\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044 + +servlet.error.noResponseMessage=WSSERVLET23: \u30EC\u30B9\u30DD\u30F3\u30B9\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u3042\u308A\u307E\u305B\u3093 +WSSERVLET23.diag.cause.1=\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u3088\u308A\u30B5\u30FC\u30D3\u30B9\u304B\u3089\u30EC\u30B9\u30DD\u30F3\u30B9\u304C\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F +WSSERVLET23.diag.check.1=\u30EC\u30B9\u30DD\u30F3\u30B9\u304C\u4E88\u671F\u3055\u308C\u305F\u5834\u5408\u3001\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u5B9F\u969B\u306B\u9001\u4FE1\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 +WSSERVLET23.diag.check.2=\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u6B63\u3057\u304F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u30B5\u30FC\u30D3\u30B9\u306B\u3088\u308A\u53D7\u5165\u308C\u53EF\u80FD\u3067\u3059\u304C\u3001\u30EC\u30B9\u30DD\u30F3\u30B9\u306F\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F + +servlet.trace.writingFaultResponse=WSSERVLET24: \u30D5\u30A9\u30EB\u30C8\u30FB\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u66F8\u304D\u8FBC\u3093\u3067\u3044\u307E\u3059 +WSSERVLET24.diag.cause.1=SOAPFault\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u8FD4\u3057\u3066\u3044\u307E\u3059\u3002 +WSSERVLET24.diag.check.1=\u30C8\u30EC\u30FC\u30B9\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30D5\u30A9\u30EB\u30C8\u304C\u8A18\u9332\u3055\u308C\u307E\u3057\u305F\u3002 + +servlet.trace.writingSuccessResponse=WSSERVLET25: \u6B63\u5E38\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u66F8\u304D\u8FBC\u3093\u3067\u3044\u307E\u3059 +WSSERVLET25.diag.cause.1=SOAPMessage\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u8FD4\u3057\u3066\u3044\u307E\u3059 +WSSERVLET25.diag.check.1=\u30C8\u30EC\u30FC\u30B9\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3001\u901A\u5E38\u306E\u30EC\u30B9\u30DD\u30F3\u30B9\u3002 + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306B\u91CD\u8907\u3057\u305FURL\u30D1\u30BF\u30FC\u30F3\u304C\u3042\u308A\u307E\u3059: {0} +WSSERVLET26.diag.cause.1=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8URL\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059 +WSSERVLET26.diag.check.1=\u3053\u308C\u306B\u3088\u308A\u554F\u984C\u304C\u767A\u751F\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u91CD\u8907\u3057\u305F\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044 + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8: {0}\u3067\u306F\u6697\u9ED9\u7684\u306AURL\u30D1\u30BF\u30FC\u30F3\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +WSSERVLET27.diag.cause.1=\u3053\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u306F\u6697\u9ED9\u7684\u306AURL\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +WSSERVLET27.diag.check.1=\u6697\u9ED9\u7684\u306AURL\u3092\u524A\u9664\u3057\u307E\u3059 + +servlet.faultstring.missingPort=WSSERVLET28: \u30DD\u30FC\u30C8\u60C5\u5831\u304C\u3042\u308A\u307E\u305B\u3093 +WSSERVLET28.diag.cause.1=\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304Cnull\u3067\u3059 +WSSERVLET28.diag.check.1=stub.setTargetEndpoint()\u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u3088\u308A\u30BF\u30FC\u30B2\u30C3\u30C8\u30FB\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +servlet.faultstring.portNotFound=WSSERVLET29: \u30DD\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093({0}) +WSSERVLET29.diag.cause.1=\u30DD\u30FC\u30C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u304C\u3001\u5BFE\u5FDC\u3059\u308B\u30B5\u30FC\u30D3\u30B9\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +WSSERVLET29.diag.check.1=\u30DD\u30FC\u30C8\u306F\u6709\u52B9\u3067\u3059\u304B\u3002WAR\u30D5\u30A1\u30A4\u30EB\u3092\u89E3\u51CD\u3057\u3001tie\u304A\u3088\u3073\u30B7\u30EA\u30A2\u30E9\u30A4\u30B6\u304C\u5B58\u5728\u3059\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + +servlet.faultstring.internalServerError=WSSERVLET30: \u5185\u90E8\u30B5\u30FC\u30D0\u30FC\u30FB\u30A8\u30E9\u30FC({0}) +WSSERVLET30.diag.cause.1=\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u51E6\u7406\u4E2D\u306B\u30B5\u30FC\u30D0\u30FC\u30FB\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F +WSSERVLET30.diag.check.1=\u3053\u308C\u306B\u306F\u591A\u304F\u306E\u539F\u56E0\u304C\u8003\u3048\u3089\u308C\u307E\u3059\u3002\u30B5\u30FC\u30D0\u30FC\u30FB\u30ED\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3067\u4F8B\u5916\u306E\u6709\u7121\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: \u524D\u306E\u4F8B\u5916\u304B\u3089\u306E\u56DE\u5FA9\u4E2D\u306Bthrowable\u3092\u6355\u6349\u3057\u307E\u3057\u305F: {0} +WSSERVLET51.diag.cause.1=\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30B5\u30FC\u30D3\u30B9\u51E6\u7406\u3067\u4F8B\u5916\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F\u3002SOAPPFaultMessage\u3092\u8FD4\u3059\u51E6\u7406\u306E\u8A66\u884C\u4E2D\u306Bthrowable\u304C\u518D\u5EA6\u751F\u6210\u3055\u308C\u307E\u3057\u305F +WSSERVLET51.diag.check.1=server.xml\u30ED\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3067\u4F8B\u5916\u60C5\u5831\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + +error.servlet.caughtThrowable=WSSERVLET49: throwable\u3092\u6355\u6349\u3057\u307E\u3057\u305F: {0} +WSSERVLET49.diag.cause.1=\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30B5\u30FC\u30D3\u30B9\u51E6\u7406\u3067\u4F8B\u5916\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F\u3002SOAPFaultMessage\u3092\u8FD4\u3059\u51E6\u7406\u306E\u8A66\u884C\u4E2D\u306Bthrowable\u304C\u518D\u5EA6\u751F\u6210\u3055\u308C\u307E\u3057\u305F +WSSERVLET49.diag.check.1=server.xml\u30ED\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3067\u4F8B\u5916\u60C5\u5831\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + +error.servlet.caughtThrowableInInit=WSSERVLET50: \u30B5\u30FC\u30D6\u30EC\u30C3\u30C8\u306E\u521D\u671F\u5316\u4E2D\u306Bthrowable\u3092\u6355\u6349\u3057\u307E\u3057\u305F: {0} +WSSERVLET50.diag.cause.1=WS\u30E9\u30F3\u30BF\u30A4\u30E0sun-jaxws.xml\u307E\u305F\u306Fweb.xml\u304C\u6B63\u3057\u304F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +WSSERVLET50.diag.check.1=\u30B5\u30FC\u30D3\u30B9WAR\u30D5\u30A1\u30A4\u30EB\u3067sun-jaxws.xml\u304A\u3088\u3073web.xml\u304C\u6B63\u3057\u3044\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 +WSSERVLET50.diag.cause.2=\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u306E\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u304C\u6B63\u3057\u304F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +WSSERVLET50.diag.check.2=\u30B5\u30FC\u30D3\u30B9WAR\u30D5\u30A1\u30A4\u30EB\u3067\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u306E\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u30FB\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30BF\u304C\u6B63\u3057\u3044\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 +WSSERVLET50.diag.cause.3=\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u306E\u521D\u671F\u5316\u306E\u554F\u984C\u304C\u767A\u751F\u3057\u305F\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +WSSERVLET50.diag.check.3=\u30C9\u30E1\u30A4\u30F3\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306Eserver.xml\u30D5\u30A1\u30A4\u30EB\u306B\u554F\u984C\u304C\u306A\u3044\u304B\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + +publisher.info.applyingTransformation=WSSERVLET31: \u5B9F\u969B\u306E\u30A2\u30C9\u30EC\u30B9\u3067\u5909\u63DB\u3092\u9069\u7528\u3057\u3066\u3044\u307E\u3059: {0} +WSSERVLET31.diag.cause.1=\u5909\u63DB\u3092\u9069\u7528\u3057\u3066\u3044\u307E\u3059 +WSSERVLET31.diag.check.1=\u901A\u5E38\u306E\u64CD\u4F5C + +publisher.info.generatingWSDL=WSSERVLET32: \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8: {0}\u306B\u3064\u3044\u3066WSDL\u3092\u751F\u6210\u3057\u3066\u3044\u307E\u3059 +WSSERVLET32.diag.cause.1=WSDL\u3092\u751F\u6210\u3057\u3066\u3044\u307E\u3059 +WSSERVLET32.diag.check.1=\u901A\u5E38\u306E\u64CD\u4F5C\u3067\u3059\u3002 + +exception.cannotCreateTransformer=WSSERVLET33: \u30C8\u30E9\u30F3\u30B9\u30D5\u30A9\u30FC\u30DE\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 +WSSERVLET33.diag.cause.1=\u30B5\u30FC\u30D3\u30B9WSDL\u3092\u30D1\u30D6\u30EA\u30C3\u30B7\u30E5\u3059\u308B\u969B\u306B\u3001XSLT\u5909\u63DB\u3092\u4F7F\u7528\u3057\u3066HTTP\u306E\u5834\u6240\u306B\u30C7\u30D7\u30ED\u30A4\u6E08\u306E\u5834\u6240/\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304C\u30D1\u30C3\u30C1\u3055\u308C\u307E\u3059\u3002\u5909\u63DB\u3092\u884C\u3046\u305F\u3081\u306E\u30C8\u30E9\u30F3\u30B9\u30D5\u30A9\u30FC\u30DE\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 +WSSERVLET33.diag.check.1=\u4E92\u63DB\u6027\u306E\u306A\u3044\u5909\u63DB\u30A8\u30F3\u30B8\u30F3\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u6B63\u3057\u3044\u30C8\u30E9\u30F3\u30B9\u30D5\u30A9\u30FC\u30DE\u304A\u3088\u3073\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +WSSERVLET33.diag.cause.2=\u30B5\u30FC\u30D3\u30B9WSDL\u3092\u30D1\u30D6\u30EA\u30C3\u30B7\u30E5\u3059\u308B\u969B\u306B\u3001XSLT\u5909\u63DB\u3092\u4F7F\u7528\u3057\u3066HTTP\u306E\u5834\u6240\u306B\u30C7\u30D7\u30ED\u30A4\u6E08\u306E\u5834\u6240/\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304C\u30D1\u30C3\u30C1\u3055\u308C\u307E\u3059\u3002\u5909\u63DB\u3092\u884C\u3046\u305F\u3081\u306E\u30C8\u30E9\u30F3\u30B9\u30D5\u30A9\u30FC\u30DE\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 +WSSERVLET33.diag.check.2=\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u304B\u4E92\u63DB\u6027\u306E\u306A\u3044\u5909\u63DB\u30A8\u30F3\u30B8\u30F3\u304C\u5B58\u5728\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002server.xml\u30D5\u30A1\u30A4\u30EB\u3067\u4F8B\u5916\u306E\u6709\u7121\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + + +exception.transformationFailed=WSSERVLET34: \u5909\u63DB\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {0} +WSSERVLET34.diag.cause.1=\u5909\u63DB\u306E\u8A66\u884C\u4E2D\u306B\u3001WSDL\u3067\u306E\u5834\u6240\u306E\u30D1\u30C3\u30C1\u9069\u7528\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSSERVLET34.diag.check.1=\u30A8\u30E9\u30FC/\u4F8B\u5916\u306E\u8A73\u7D30\u306F\u3001\u30ED\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +exception.templateCreationFailed=WSSERVLET35: \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30FB\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F +WSSERVLET35.diag.cause.1=\u5909\u63DB\u3092\u4F7F\u7528\u3057\u305FWSDL\u306E\u5834\u6240\u306E\u30D1\u30C3\u30C1\u9069\u7528\u3067\u306F\u3001XSLT\u30B9\u30BF\u30A4\u30EB\u30B7\u30FC\u30C8\u30FB\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u304C\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSSERVLET35.diag.check.1=\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u4F5C\u6210\u4E2D\u306B\u4F8B\u5916\u304C\u30B9\u30ED\u30FC\u3055\u308C\u307E\u3057\u305F\u3002\u8A73\u7D30\u306F\u3001\u4F8B\u5916\u304A\u3088\u3073\u30B9\u30BF\u30C3\u30AF\u30FB\u30C8\u30EC\u30FC\u30B9\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +servlet.html.method=WSSERVLET63: \u3053\u306E\u30BF\u30A4\u30D7\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u306FPOST\u3092\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +WSSERVLET63.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u306FHTTP POST\u30E1\u30BD\u30C3\u30C9\u3092\u4F7F\u7528\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: WSI BP 1.0 +WSSERVLET63.diag.check.1=HTTP\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u304C(GET\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u306F\u306A\u304F)POST\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + + +servlet.faultstring.invalidContentType=WSSERVLET64: \u7121\u52B9\u306AContent-Type\u3067\u3059\u3002text/xml\u304C\u5FC5\u8981\u3067\u3059 +WSSERVLET64.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30BF\u30A4\u30D7\u306Ftext/xml\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: WSI BP 1.0 +WSSERVLET64.diag.check.1=\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u3067text/xml\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044 + +error.implementorFactory.newInstanceFailed=WSSERVLET43: \u30DD\u30FC\u30C8\"{0}\"\u306E\u30B5\u30FC\u30D3\u30B9\u30FB\u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u306B\u5931\u6557\u3057\u307E\u3057\u305F +WSSERVLET43.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 +WSSERVLET43.diag.check.1=Web\u30B5\u30FC\u30D3\u30B9\u304C\u4F7F\u7528\u53EF\u80FD\u304B\u3064\u30D1\u30D6\u30EA\u30C3\u30AF\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u8A73\u7D30\u306F\u4F8B\u5916\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044 + +error.implementorFactory.servantInitFailed=WSSERVLET44: \u30DD\u30FC\u30C8\"{0}\"\u306E\u30B5\u30FC\u30D3\u30B9\u30FB\u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u306E\u521D\u671F\u5316\u306B\u5931\u6557\u3057\u307E\u3057\u305F +WSSERVLET44.diag.cause.1=Web\u30B5\u30FC\u30D3\u30B9\u306F\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3055\u308C\u307E\u3057\u305F\u304C\u3001\u521D\u671F\u5316\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +WSSERVLET44.diag.check.1=\u8A73\u7D30\u306F\u4F8B\u5916\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u69CB\u6210\u30D5\u30A1\u30A4\u30EB\u304C\u3059\u3079\u3066\u6B63\u3057\u3044\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: \u5FC5\u9808\u306E\u30D8\u30C3\u30C0\u30FCSOAPAction\u304C\u7121\u52B9\u3067\u3059 +WSSERVLET65.diag.cause.1=SOAP\u30A2\u30AF\u30B7\u30E7\u30F3\u306F\u5FC5\u9808\u3067\u3059 +WSSERVLET65.diag.check.1=SOAPAction\u304A\u3088\u3073\u9069\u5207\u306A\u5024\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044 + +# {0} - URI +servlet.no.address.available={0}\u306B\u4F7F\u7528\u3067\u304D\u308B\u30A2\u30C9\u30EC\u30B9\u304C\u3042\u308A\u307E\u305B\u3093 + +servlet.html.title= Web\u30B5\u30FC\u30D3\u30B9 +servlet.html.title2=

    Web\u30B5\u30FC\u30D3\u30B9

    +servlet.html.noInfoAvailable=

    JAX-WS\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u60C5\u5831\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002

    +servlet.html.columnHeader.portName=\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8 +servlet.html.columnHeader.status=\u30B9\u30C6\u30FC\u30BF\u30B9 +servlet.html.columnHeader.information=\u60C5\u5831 +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    \u30B5\u30FC\u30D3\u30B9\u540D\:{0}
    \u30DD\u30FC\u30C8\u540D\:{1}
    +servlet.html.information.table=
    \u30A2\u30C9\u30EC\u30B9\:{0}
    WSDL\:{0}?wsdl
    \u5B9F\u88C5\u30AF\u30E9\u30B9\:{1}
    +servlet.html.notFound=

    404\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: \u69CB\u6210\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +error.implementorFactory.noInputStream=WSSERVLET37: \u69CB\u6210\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +error.implementorRegistry.unknownName=WSSERVLET38: \u4E0D\u660E\u306A\u30DD\u30FC\u30C8\u540D: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: \u69CB\u6210\u3092\u8AAD\u307F\u53D6\u308C\u307E\u305B\u3093 +error.implementorRegistry.classNotFound=WSSERVLET40: \u30AF\u30E9\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: \u69CB\u6210\u60C5\u5831\u304C\u4E0D\u5341\u5206\u3067\u3059 +error.implementorRegistry.duplicateName=WSSERVLET42: \u91CD\u8907\u3057\u305F\u30DD\u30FC\u30C8\u540D: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: \u69CB\u6210\u3092\u8AAD\u307F\u53D6\u308C\u307E\u305B\u3093 +error.servlet.init.config.parameter.missing=WSSERVLET47: \u69CB\u6210\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: \u69CB\u6210\u30D5\u30A1\u30A4\u30EB: \"{0}\"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 +# + +error.servlet.noImplementorForPort=WSSERVLET52: \u30DD\u30FC\u30C8: {0}\u306B\u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF\u304C\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +error.servlet.noPortSpecified=WSSERVLET53: HTTP POST\u30EA\u30AF\u30A8\u30B9\u30C8URL\u306B\u30DD\u30FC\u30C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +error.servlet.noResponseWasProduced=WSSERVLET54: \u30EC\u30B9\u30DD\u30F3\u30B9\u304C\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F(\u5185\u90E8\u30A8\u30E9\u30FC) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: \u7A7A\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u30FB\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F +info.servlet.initializing=WSSERVLET56: JAX-WS\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8: \u521D\u671F\u5316 +info.servlet.destroying=WSSERVLET57: JAX-WS\u30B5\u30FC\u30D6\u30EC\u30C3\u30C8: \u7834\u68C4 +# +trace.servlet.requestForPortNamed=WSSERVLET58: \u30DD\u30FC\u30C8: {0}\u306B\u5BFE\u3059\u308B\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: \u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF: {0}\u306B\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u6E21\u3057\u3066\u3044\u307E\u3059 +trace.servlet.gotResponseFromImplementor=WSSERVLET60: \u30A4\u30F3\u30D7\u30EA\u30E1\u30F3\u30BF: {0}\u304B\u3089\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u53D6\u5F97\u3057\u307E\u3057\u305F +trace.servlet.writingFaultResponse=WSSERVLET61: \u30D5\u30A9\u30EB\u30C8\u30FB\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u66F8\u304D\u8FBC\u3093\u3067\u3044\u307E\u3059 +trace.servlet.writingSuccessResponse=WSSERVLET62: \u6B63\u5E38\u30EC\u30B9\u30DD\u30F3\u30B9\u3092\u66F8\u304D\u8FBC\u3093\u3067\u3044\u307E\u3059 +# +html.nonRootPage.title= Web\u30B5\u30FC\u30D3\u30B9 +html.nonRootPage.body1=

    Web\u30B5\u30FC\u30D3\u30B9\u306F\u3053\u306EURL\u3067\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u307E\u3059\u3002

    +html.nonRootPage.body2=

    \u7121\u52B9\u306A\u30EA\u30AF\u30A8\u30B9\u30C8URI\u3067\u3059\u3002

    \u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u60C5\u5831\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Web\u30B5\u30FC\u30D3\u30B9 +html.wsdlPage.noWsdl=

    \u30D1\u30D6\u30EA\u30C3\u30B7\u30E5\u306B\u4F7F\u7528\u3067\u304D\u308BWSDL\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u3002

    \u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\u60C5\u5831\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002

    +html.rootPage.title= Web\u30B5\u30FC\u30D3\u30B9 +html.rootPage.body1=

    Web\u30B5\u30FC\u30D3\u30B9\u306F\u3053\u306EURL\u3067\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u307E\u3059\u3002

    +html.rootPage.body2a=

    \u6B21\u306E\u30DD\u30FC\u30C8\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u3059: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    \u3053\u306E\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306F\u6B63\u3057\u304F\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u69CB\u6210\u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240\u304A\u3088\u3073\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=\uB7F0\uD0C0\uC784 \uAE30\uC220\uC790 "{0}"\uC774(\uAC00) \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +listener.parsingFailed=WSSERVLET11: \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC758 \uAD6C\uBB38 \uBD84\uC11D \uC2E4\uD328: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser\uAC00 sun-jaxws.xml \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET11.diag.check.1=sun-jaxws.xml \uD30C\uC77C\uC5D0\uC11C \uC62C\uBC14\uB978\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSSERVLET11.diag.cause.2=sun-jaxws.xml \uB7F0\uD0C0\uC784 \uBC30\uCE58 \uAE30\uC220\uC790\uAC00 \uB204\uB77D\uB41C \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. +WSSERVLET11.diag.check.2=jaxrpc-ri.xml \uD30C\uC77C\uC5D0\uC11C war \uD30C\uC77C\uC5D0 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + + +listener.info.initialize=WSSERVLET12: JAX-WS \uCEE8\uD14D\uC2A4\uD2B8 \uB9AC\uC2A4\uB108\uB97C \uCD08\uAE30\uD654\uD558\uB294 \uC911 +WSSERVLET12.diag.cause.1=\uCEE8\uD14D\uC2A4\uD2B8 \uB9AC\uC2A4\uB108\uB97C \uC2DC\uC791\uD558\uB294 \uC911 +WSSERVLET12.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC6F9 \uC11C\uBE44\uC2A4 \uC2DC\uC791 + +listener.info.destroy=WSSERVLET13: JAX-WS \uCEE8\uD14D\uC2A4\uD2B8 \uB9AC\uC2A4\uB108\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET13.diag.cause.1=\uCEE8\uD14D\uC2A4\uD2B8 \uB9AC\uC2A4\uB108 \uC885\uB8CC +WSSERVLET13.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC6F9 \uC11C\uBE44\uC2A4 \uC885\uB8CC + +servlet.info.initialize=WSSERVLET14: JAX-WS \uC11C\uBE14\uB9BF\uC744 \uCD08\uAE30\uD654\uD558\uB294 \uC911 +WSSERVLET14.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4 \uC11C\uBE14\uB9BF\uC744 \uC2DC\uC791\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. +WSSERVLET14.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC6F9 \uC11C\uBE44\uC2A4 \uBC30\uCE58\uC785\uB2C8\uB2E4. \uC11C\uBE44\uC2A4 \uBC30\uCE58\uAC00 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +servlet.info.destroy=WSSERVLET15: JAX-WS \uC11C\uBE14\uB9BF\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET15.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4 \uC11C\uBE14\uB9BF\uC774 \uC885\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET15.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC6F9 \uC11C\uBE44\uC2A4 \uBC30\uCE58 \uD574\uC81C\uC785\uB2C8\uB2E4. \uBC30\uCE58 \uD574\uC81C\uAC00 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +servlet.warning.missingContextInformation=WSSERVLET16: \uCEE8\uD14D\uC2A4\uD2B8 \uC815\uBCF4\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET16.diag.cause.1=war \uD30C\uC77C\uC5D0 jaxrpc-ri.xml \uD30C\uC77C\uC774 \uB204\uB77D\uB41C \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. +WSSERVLET16.diag.check.1=\uC11C\uBE44\uC2A4 war \uD30C\uC77C\uC758 \uC555\uCD95\uC744 \uD478\uC2ED\uC2DC\uC624. jaxrpc-ri-runtime.xml \uD30C\uC77C\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + + +servlet.warning.duplicateEndpointName=WSSERVLET17: \uB05D\uC810 \uC774\uB984\uC774 \uC911\uBCF5\uB429\uB2C8\uB2E4. +WSSERVLET17.diag.cause.1=\uB3D9\uC77C\uD55C \uC774\uB984\uC744 \uC0AC\uC6A9\uD558\uB294 \uB450 \uAC1C \uC774\uC0C1\uC758 \uB05D\uC810\uC774 jaxrpc-ri.xml \uB7F0\uD0C0\uC784 \uAE30\uC220\uC790\uC5D0\uC11C \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET17.diag.check.1=\uC774\uB85C \uC778\uD574 \uC11C\uBE44\uC2A4 \uBC30\uCE58 \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. + + +servlet.info.emptyRequestMessage=WSSERVLET18: \uBE48 \uC694\uCCAD \uBA54\uC2DC\uC9C0\uB97C \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4. +WSSERVLET18.diag.cause.1=\uD074\uB77C\uC774\uC5B8\uD2B8\uAC00 \uC804\uC1A1\uD55C \uBA54\uC2DC\uC9C0\uAC00 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +WSSERVLET18.diag.check.1=\uC758\uB3C4\uC801\uC778 \uAC83\uC77C \uC218\uB3C4 \uC788\uACE0, \uC758\uB3C4\uC801\uC778 \uAC83\uC774 \uC544\uB2D0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC758\uB3C4\uC801\uC778 \uAC83\uC774 \uC544\uB2D0 \uACBD\uC6B0 \uD074\uB77C\uC774\uC5B8\uD2B8 \uD504\uB85C\uADF8\uB7A8\uC5D0\uC11C \uC624\uB958\uB97C \uAC80\uC0AC\uD558\uC2ED\uC2DC\uC624. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: \uB05D\uC810\uC5D0 \uB300\uD55C \uC694\uCCAD\uC744 \uAC00\uC838\uC634: {0} +WSSERVLET19.diag.cause.1=\uC774 \uB05D\uC810\uC5D0 \uB300\uD55C \uD074\uB77C\uC774\uC5B8\uD2B8 \uC694\uCCAD\uC774 \uB3C4\uCC29\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET19.diag.check.1=\uB2E8\uC21C\uD55C \uC815\uBCF4 \uBA54\uC2DC\uC9C0\uC785\uB2C8\uB2E4. \uC815\uC0C1\uC801\uC778 \uC791\uC5C5\uC785\uB2C8\uB2E4. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: \uB05D\uC810\uC5D0 \uB300\uD55C \uAD6C\uD604\uC790\uAC00 \uC5C6\uC74C: {0} +WSSERVLET20.diag.cause.1=\uC774 \uC11C\uBE44\uC2A4\uC5D0 \uB300\uD55C \uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET20.diag.check.1=war\uC758 \uC555\uCD95\uC744 \uD478\uC2ED\uC2DC\uC624. tie \uBC0F serializer \uD074\uB798\uC2A4\uAC00 \uBC1C\uACAC\uB418\uC5C8\uC2B5\uB2C8\uAE4C? + +servlet.trace.invokingImplementor=WSSERVLET21: \uAD6C\uD604\uC790\uB97C \uD638\uCD9C\uD558\uB294 \uC911: {0} +WSSERVLET21.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4\uB97C \uD638\uCD9C\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. +WSSERVLET21.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC6F9 \uC11C\uBE44\uC2A4 \uD638\uCD9C\uC785\uB2C8\uB2E4. + +servlet.error.noEndpointSpecified=WSSERVLET22: \uC9C0\uC815\uB41C \uB05D\uC810\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET22.diag.cause.1=\uC694\uCCAD\uC774 \uB05D\uC810 \uC5C6\uC774 \uD638\uCD9C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET22.diag.check.1=stub.setTargetEndpoint \uC18D\uC131\uC73C\uB85C \uB05D\uC810\uC744 \uC124\uC815\uD558\uC2ED\uC2DC\uC624. + +servlet.error.noResponseMessage=WSSERVLET23: \uC751\uB2F5 \uBA54\uC2DC\uC9C0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET23.diag.cause.1=\uC694\uCCAD\uC774 \uC11C\uBE44\uC2A4\uB85C\uBD80\uD130 \uC751\uB2F5\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +WSSERVLET23.diag.check.1=\uC751\uB2F5\uC774 \uD544\uC694\uD55C \uACBD\uC6B0 \uC694\uCCAD \uBA54\uC2DC\uC9C0\uAC00 \uC2E4\uC81C\uB85C \uC804\uC1A1\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSSERVLET23.diag.check.2=\uD615\uC2DD\uC774 \uC798\uBABB\uB418\uC5C8\uC744 \uC218 \uC788\uB294 \uC694\uCCAD\uC744 \uC11C\uBE44\uC2A4\uAC00 \uC2B9\uC778\uD588\uC73C\uBA70 \uC751\uB2F5\uC774 \uC0DD\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. + +servlet.trace.writingFaultResponse=WSSERVLET24: \uACB0\uD568 \uC751\uB2F5\uC744 \uC4F0\uB294 \uC911 +WSSERVLET24.diag.cause.1=SOAPFault \uBA54\uC2DC\uC9C0\uB97C \uD074\uB77C\uC774\uC5B8\uD2B8\uB85C \uBC18\uD658\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. +WSSERVLET24.diag.check.1=\uBA54\uC2DC\uC9C0 \uCD94\uC801 \uACB0\uD568\uC774 \uAE30\uB85D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +servlet.trace.writingSuccessResponse=WSSERVLET25: \uC131\uACF5 \uC751\uB2F5\uC744 \uC4F0\uB294 \uC911 +WSSERVLET25.diag.cause.1=SOAPMessage \uC751\uB2F5\uC744 \uD074\uB77C\uC774\uC5B8\uD2B8\uB85C \uBC18\uD658\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. +WSSERVLET25.diag.check.1=\uBA54\uC2DC\uC9C0\uB97C \uCD94\uC801\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. \uC815\uC0C1\uC801\uC778 \uC751\uB2F5\uC785\uB2C8\uB2E4. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: \uB05D\uC810\uC5D0 \uC911\uBCF5 URL \uD328\uD134\uC774 \uC788\uC74C: {0} +WSSERVLET26.diag.cause.1=\uB05D\uC810 URL\uC774 \uC911\uBCF5\uB429\uB2C8\uB2E4. +WSSERVLET26.diag.check.1=\uC774\uB85C \uC778\uD574 \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC911\uBCF5 \uB05D\uC810\uC744 \uC81C\uAC70\uD558\uC2ED\uC2DC\uC624. + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: \uB05D\uC810\uC5D0 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC554\uC2DC\uC801 URL \uD328\uD134\uC774 \uC788\uC74C: {0} +WSSERVLET27.diag.cause.1=\uC774 \uB9B4\uB9AC\uC2A4\uC5D0\uC11C\uB294 \uC554\uC2DC\uC801 URL\uC774 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +WSSERVLET27.diag.check.1=\uC554\uC2DC\uC801 URL\uC744 \uC81C\uAC70\uD558\uC2ED\uC2DC\uC624. + +servlet.faultstring.missingPort=WSSERVLET28: \uD3EC\uD2B8 \uC815\uBCF4\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET28.diag.cause.1=\uB300\uC0C1 \uB05D\uC810\uC774 \uB110\uC785\uB2C8\uB2E4. +WSSERVLET28.diag.check.1=stub.setTargetEndpoint() \uC18D\uC131\uC73C\uB85C \uB300\uC0C1 \uB05D\uC810\uC744 \uC124\uC815\uD558\uC2ED\uC2DC\uC624. + +servlet.faultstring.portNotFound=WSSERVLET29: \uD3EC\uD2B8\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4({0}). +WSSERVLET29.diag.cause.1=\uD3EC\uD2B8\uAC00 \uC9C0\uC815\uB418\uC5C8\uC9C0\uB9CC \uD574\uB2F9 \uC11C\uBE44\uC2A4 \uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET29.diag.check.1=\uD3EC\uD2B8\uAC00 \uC801\uD569\uD569\uB2C8\uAE4C? war \uD30C\uC77C\uC758 \uC555\uCD95\uC744 \uD480\uACE0 tie \uBC0F serializer\uAC00 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +servlet.faultstring.internalServerError=WSSERVLET30: \uB0B4\uBD80 \uC11C\uBC84 \uC624\uB958({0}) +WSSERVLET30.diag.cause.1=\uC694\uCCAD\uC744 \uCC98\uB9AC\uD558\uB294 \uC911 \uC11C\uBC84 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET30.diag.check.1=\uC808 \uC218\uB85C \uC778\uD55C \uAC83\uC77C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uC678 \uC0AC\uD56D\uC740 \uC11C\uBC84 \uB85C\uADF8 \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: \uC774\uC804 \uC608\uC678 \uC0AC\uD56D\uC5D0\uC11C \uBCF5\uAD6C\uD558\uB294 \uC911 throwable\uC744 \uAC10\uC9C0\uD568: {0} +WSSERVLET51.diag.cause.1=\uC694\uCCAD\uC758 \uC11C\uBE44\uC2A4 \uCC98\uB9AC\uB85C \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. SOAPPFaultMessage\uB97C \uBC18\uD658\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 throwable\uC774 \uB2E4\uC2DC \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET51.diag.check.1=\uC608\uC678 \uC0AC\uD56D \uC815\uBCF4\uB294 server.xml \uB85C\uADF8 \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +error.servlet.caughtThrowable=WSSERVLET49: throwable\uC744 \uAC10\uC9C0\uD568: {0} +WSSERVLET49.diag.cause.1=\uC694\uCCAD\uC758 \uC11C\uBE44\uC2A4 \uCC98\uB9AC\uB85C \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. SOAPFaultMessage\uB97C \uBC18\uD658\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 throwable\uC774 \uB2E4\uC2DC \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +WSSERVLET49.diag.check.1=\uC608\uC678 \uC0AC\uD56D \uC815\uBCF4\uB294 server.xml \uB85C\uADF8 \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +error.servlet.caughtThrowableInInit=WSSERVLET50: \uC11C\uBE14\uB9BF \uCD08\uAE30\uD654 \uC911 throwable\uC744 \uAC10\uC9C0\uD568: {0} +WSSERVLET50.diag.cause.1=WS \uB7F0\uD0C0\uC784 sun-jaxws.xml \uB610\uB294 web.xml\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC740 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. +WSSERVLET50.diag.check.1=\uC11C\uBE44\uC2A4 war \uD30C\uC77C\uC5D0\uC11C sun-jaxws.xml \uBC0F web.xml\uC774 \uC62C\uBC14\uB978\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSSERVLET50.diag.cause.2=\uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC11C\uBC84 \uBC30\uCE58 \uAE30\uC220\uC790\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC740 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. +WSSERVLET50.diag.check.2=\uC11C\uBE44\uC2A4 war \uD30C\uC77C\uC5D0\uC11C \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC11C\uBC84 \uBC30\uCE58 \uAE30\uC220\uC790\uAC00 \uC62C\uBC14\uB978\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSSERVLET50.diag.cause.3=\uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC11C\uBC84 \uCD08\uAE30\uD654 \uBB38\uC81C\uAC00 \uC788\uB294 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. +WSSERVLET50.diag.check.3=\uC624\uB958\uB294 \uB3C4\uBA54\uC778 \uB514\uB809\uD1A0\uB9AC\uC758 server.xml \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +publisher.info.applyingTransformation=WSSERVLET31: \uC2E4\uC81C \uC8FC\uC18C\uB85C \uBCC0\uD658\uC744 \uC801\uC6A9\uD558\uB294 \uC911: {0} +WSSERVLET31.diag.cause.1=\uBCC0\uD658\uC744 \uC801\uC6A9\uD558\uB294 \uC911 +WSSERVLET31.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC791\uC5C5 + +publisher.info.generatingWSDL=WSSERVLET32: \uB05D\uC810\uC5D0 \uB300\uD55C WSDL\uC744 \uC0DD\uC131\uD558\uB294 \uC911: {0} +WSSERVLET32.diag.cause.1=WSDL\uC744 \uC0DD\uC131\uD558\uB294 \uC911 +WSSERVLET32.diag.check.1=\uC815\uC0C1\uC801\uC778 \uC791\uC5C5\uC785\uB2C8\uB2E4. + +exception.cannotCreateTransformer=WSSERVLET33: \uBCC0\uD658\uAE30\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET33.diag.cause.1=\uC11C\uBE44\uC2A4 WSDL\uC744 \uAC8C\uC2DC\uD560 \uB54C XSLT \uBCC0\uD658\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBC30\uCE58\uB41C \uC704\uCE58/\uB05D\uC810\uACFC \uD568\uAED8 HTTP \uC704\uCE58\uC5D0 \uD328\uCE58\uAC00 \uC801\uC6A9\uB429\uB2C8\uB2E4. \uBCC0\uD658 \uC218\uD589\uC5D0 \uD544\uC694\uD55C \uBCC0\uD658\uAE30\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET33.diag.check.1=\uD638\uD658\uB418\uC9C0 \uC54A\uB294 \uBCC0\uD658 \uC5D4\uC9C4\uC744 \uC0AC\uC6A9\uD558\uACE0 \uC788\uB294 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. \uC62C\uBC14\uB978 \uBCC0\uD658\uAE30\uC640 \uBC84\uC804\uC744 \uC0AC\uC6A9 \uC911\uC778\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. +WSSERVLET33.diag.cause.2=\uC11C\uBE44\uC2A4 WSDL\uC744 \uAC8C\uC2DC\uD560 \uB54C XSLT \uBCC0\uD658\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBC30\uCE58\uB41C \uC704\uCE58/\uB05D\uC810\uACFC \uD568\uAED8 HTTP \uC704\uCE58\uC5D0 \uD328\uCE58\uAC00 \uC801\uC6A9\uB429\uB2C8\uB2E4. \uBCC0\uD658 \uC218\uD589\uC5D0 \uD544\uC694\uD55C \uBCC0\uD658\uAE30\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET33.diag.check.2=\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uAC70\uB098 \uD638\uD658\uB418\uC9C0 \uC54A\uB294 \uBCC0\uD658 \uC5D4\uC9C4\uC774 \uC788\uB294 \uAC83 \uAC19\uC2B5\uB2C8\uB2E4. \uC608\uC678 \uC0AC\uD56D\uC740 server.xml \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + + +exception.transformationFailed=WSSERVLET34: \uBCC0\uD658 \uC2E4\uD328: {0} +WSSERVLET34.diag.cause.1=\uBCC0\uD658\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 WSDL\uC5D0\uC11C \uC704\uCE58 \uD328\uCE58 \uC801\uC6A9\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET34.diag.check.1=\uC790\uC138\uD55C \uC624\uB958/\uC608\uC678 \uC0AC\uD56D\uC740 \uB85C\uADF8 \uD30C\uC77C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +exception.templateCreationFailed=WSSERVLET35: \uD15C\uD50C\uB9AC\uD2B8 \uAC1D\uCCB4 \uC0DD\uC131\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET35.diag.cause.1=\uBCC0\uD658\uC744 \uD1B5\uD55C WSDL \uC704\uCE58 \uD328\uCE58 \uC801\uC6A9\uC744 \uC704\uD574 XSLT \uC2A4\uD0C0\uC77C\uC2DC\uD2B8 \uD15C\uD50C\uB9AC\uD2B8\uAC00 \uC0DD\uC131\uB429\uB2C8\uB2E4. \uD15C\uD50C\uB9AC\uD2B8 \uC0DD\uC131\uC744 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET35.diag.check.1=\uD15C\uD50C\uB9AC\uD2B8 \uC0DD\uC131 \uC911 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uC608\uC678 \uC0AC\uD56D \uBC0F \uC2A4\uD0DD \uCD94\uC801\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +servlet.html.method=WSSERVLET63: \uC774 \uC720\uD615\uC758 \uC694\uCCAD\uC5D0 Post\uB97C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. +WSSERVLET63.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4 \uC694\uCCAD\uC740 HTTP POST \uBA54\uC18C\uB4DC\uB97C \uC0AC\uC6A9\uD574\uC57C \uD568: WSI BP 1.0 +WSSERVLET63.diag.check.1=HTTP \uD074\uB77C\uC774\uC5B8\uD2B8\uAC00 GET \uC694\uCCAD\uC774 \uC544\uB2CC POST \uC694\uCCAD\uC744 \uC0AC\uC6A9 \uC911\uC778\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + + +servlet.faultstring.invalidContentType=WSSERVLET64: Content-Type\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. text/xml\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +WSSERVLET64.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4 \uC694\uCCAD\uC758 \uCF58\uD150\uCE20 \uC720\uD615\uC740 text/xml\uC774\uC5B4\uC57C \uD568: WSI BP 1.0 +WSSERVLET64.diag.check.1=\uD074\uB77C\uC774\uC5B8\uD2B8 \uC694\uCCAD\uC774 text/xml\uC744 \uC0AC\uC6A9 \uC911\uC778\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +error.implementorFactory.newInstanceFailed=WSSERVLET43: \"{0}\" \uD3EC\uD2B8\uC5D0 \uB300\uD55C \uC11C\uBE44\uC2A4 \uAD6C\uD604\uC790 \uC778\uC2A4\uD134\uC2A4\uD654\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET43.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4 \uC778\uC2A4\uD134\uC2A4\uD654\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET43.diag.check.1=\uC6F9 \uC11C\uBE44\uC2A4\uAC00 \uC0AC\uC6A9 \uAC00\uB2A5\uD558\uBA70 \uACF5\uC6A9\uC778\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uC608\uC678 \uC0AC\uD56D\uC744 \uAC80\uC0AC\uD558\uC2ED\uC2DC\uC624. + +error.implementorFactory.servantInitFailed=WSSERVLET44: \"{0}\" \uD3EC\uD2B8\uC5D0 \uB300\uD55C \uC11C\uBE44\uC2A4 \uAD6C\uD604\uC790 \uCD08\uAE30\uD654\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. +WSSERVLET44.diag.cause.1=\uC6F9 \uC11C\uBE44\uC2A4\uAC00 \uC778\uC2A4\uD134\uC2A4\uD654\uB418\uC5C8\uC9C0\uB9CC \uCD08\uAE30\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +WSSERVLET44.diag.check.1=\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uC608\uC678 \uC0AC\uD56D\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. \uAD6C\uC131 \uD30C\uC77C\uC774 \uBAA8\uB450 \uC62C\uBC14\uB978\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: \uD5E4\uB354\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. SOAPAction\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +WSSERVLET65.diag.cause.1=SOAP Action\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +WSSERVLET65.diag.check.1=SOAPAction \uBC0F \uC801\uD569\uD55C \uAC12\uC744 \uCD94\uAC00\uD558\uC2ED\uC2DC\uC624. + +# {0} - URI +servlet.no.address.available={0}\uC5D0 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC8FC\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. + +servlet.html.title= \uC6F9 \uC11C\uBE44\uC2A4 +servlet.html.title2=

    \uC6F9 \uC11C\uBE44\uC2A4

    +servlet.html.noInfoAvailable=

    \uC0AC\uC6A9 \uAC00\uB2A5\uD55C JAX-WS \uCEE8\uD14D\uC2A4\uD2B8 \uC815\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.

    +servlet.html.columnHeader.portName=\uB05D\uC810 +servlet.html.columnHeader.status=\uC0C1\uD0DC +servlet.html.columnHeader.information=\uC815\uBCF4 +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    \uC11C\uBE44\uC2A4 \uC774\uB984\:{0}
    \uD3EC\uD2B8 \uC774\uB984\:{1}
    +servlet.html.information.table=
    \uC8FC\uC18C\:{0}
    WSDL\:{0}?wsdl
    \uAD6C\uD604 \uD074\uB798\uC2A4\:{1}
    +servlet.html.notFound=

    404 \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: \uC9C0\uC815\uB41C \uAD6C\uC131\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +error.implementorFactory.noInputStream=WSSERVLET37: \uC9C0\uC815\uB41C \uAD6C\uC131\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. +error.implementorRegistry.unknownName=WSSERVLET38: \uC54C \uC218 \uC5C6\uB294 \uD3EC\uD2B8 \uC774\uB984: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: \uAD6C\uC131\uC744 \uC77D\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +error.implementorRegistry.classNotFound=WSSERVLET40: \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: \uAD6C\uC131 \uC815\uBCF4\uAC00 \uBD88\uC644\uC804\uD569\uB2C8\uB2E4. +error.implementorRegistry.duplicateName=WSSERVLET42: \uC911\uBCF5 \uD3EC\uD2B8 \uC774\uB984: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: \uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: \uAD6C\uC131\uC744 \uC77D\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +error.servlet.init.config.parameter.missing=WSSERVLET47: \uAD6C\uC131 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: \uAD6C\uC131 \uD30C\uC77C \"{0}\"\uC744(\uB97C) \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# + +error.servlet.noImplementorForPort=WSSERVLET52: \uD3EC\uD2B8\uC5D0 \uB300\uD574 \uB4F1\uB85D\uB41C \uAD6C\uD604\uC790\uAC00 \uC5C6\uC74C: {0} +error.servlet.noPortSpecified=WSSERVLET53: HTTP POST \uC694\uCCAD URL\uC5D0 \uC9C0\uC815\uB41C \uD3EC\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. +error.servlet.noResponseWasProduced=WSSERVLET54: \uC0DD\uC131\uB41C \uC751\uB2F5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4(\uB0B4\uBD80 \uC624\uB958). +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: \uBE48 \uC694\uCCAD \uBA54\uC2DC\uC9C0\uB97C \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4. +info.servlet.initializing=WSSERVLET56: JAX-WS \uC11C\uBE14\uB9BF: \uCD08\uAE30\uD654 +info.servlet.destroying=WSSERVLET57: JAX-WS \uC11C\uBE14\uB9BF: \uC0AD\uC81C +# +trace.servlet.requestForPortNamed=WSSERVLET58: \uD3EC\uD2B8\uC5D0 \uB300\uD55C \uC694\uCCAD\uC744 \uAC00\uC838\uC634: {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: \uAD6C\uD604\uC790\uB85C \uC694\uCCAD\uC744 \uC804\uC1A1\uD558\uB294 \uC911: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: \uAD6C\uD604\uC790\uC5D0\uC11C \uC751\uB2F5\uC744 \uAC00\uC838\uC634: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: \uACB0\uD568 \uC751\uB2F5\uC744 \uC4F0\uB294 \uC911 +trace.servlet.writingSuccessResponse=WSSERVLET62: \uC131\uACF5 \uC751\uB2F5\uC744 \uC4F0\uB294 \uC911 +# +html.nonRootPage.title= \uC6F9 \uC11C\uBE44\uC2A4 +html.nonRootPage.body1=

    \uC774 URL\uC5D0 \uC6F9 \uC11C\uBE44\uC2A4\uAC00 \uC124\uCE58\uB418\uC5C8\uC2B5\uB2C8\uB2E4.

    +html.nonRootPage.body2=

    \uC694\uCCAD URI\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4.

    \uBC30\uCE58 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= \uC6F9 \uC11C\uBE44\uC2A4 +html.wsdlPage.noWsdl=

    \uAC8C\uC2DC\uC5D0 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C WSDL \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.

    \uBC30\uCE58 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624.

    +html.rootPage.title= \uC6F9 \uC11C\uBE44\uC2A4 +html.rootPage.body1=

    \uC774 URL\uC5D0 \uC6F9 \uC11C\uBE44\uC2A4\uAC00 \uC124\uCE58\uB418\uC5C8\uC2B5\uB2C8\uB2E4.

    +html.rootPage.body2a=

    \uC9C0\uC6D0\uD558\uB294 \uD3EC\uD2B8: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    \uC774 \uB05D\uC810\uC740 \uC81C\uB300\uB85C \uAD6C\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uAD6C\uC131 \uD30C\uC77C\uC758 \uC704\uCE58 \uBC0F \uCF58\uD150\uCE20\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=O descritor de runtime "{0}" n\u00E3o foi encontrado + +listener.parsingFailed=WSSERVLET11: falha ao fazer parse do descritor de runtime: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser n\u00E3o conseguiu fazer parse do descritor de runtime sun-jaxws.xml +WSSERVLET11.diag.check.1=Verifique o arquivo sun-jaxws.xml para certificar-se de que ele est\u00E1 correto +WSSERVLET11.diag.cause.2=Pode ser que o descritor de implanta\u00E7\u00E3o de runtime sun-jaxws.xml esteja faltando +WSSERVLET11.diag.check.2=Verifique o arquivo jaxrpc-ri.xml para certificar-se de que ele est\u00E1 presente no arquivo war + + +listener.info.initialize=WSSERVLET12: inicializa\u00E7\u00E3o do listener de contexto de JAX-WS +WSSERVLET12.diag.cause.1=Iniciando listener de contexto +WSSERVLET12.diag.check.1=Inicializa\u00E7\u00E3o do web service normal + +listener.info.destroy=WSSERVLET13: listener de contexto de JAX-WS destru\u00EDdo +WSSERVLET13.diag.cause.1=Shutdown do listener de contexto +WSSERVLET13.diag.check.1=Shutdown do web service normal + +servlet.info.initialize=WSSERVLET14: Inicializando servlet de JAX-WS +WSSERVLET14.diag.cause.1=Inicializando servlet de Web Services. +WSSERVLET14.diag.check.1=Implanta\u00E7\u00E3o de Web Service Normal. Implanta\u00E7\u00E3o do servi\u00E7o conclu\u00EDda. + +servlet.info.destroy=WSSERVLET15: servlet de JAX-WS destru\u00EDdo +WSSERVLET15.diag.cause.1=Shutdown do servlet do Web Services. +WSSERVLET15.diag.check.1=Cancelamento da implanta\u00E7\u00E3o do Web service normal. Cancelamento da implanta\u00E7\u00E3o conclu\u00EDdo. + +servlet.warning.missingContextInformation=WSSERVLET16: informa\u00E7\u00F5es de contexto n\u00E3o encontradas +WSSERVLET16.diag.cause.1=O arquivo jaxrpc-ri.xml talvez n\u00E3o tenha sido encontrado no arquivo war +WSSERVLET16.diag.check.1=Cancele o jar o arquivo war de servi\u00E7o; verifique se o arquivo jaxrpc-ri-runtime.xml est\u00E1 presente + + +servlet.warning.duplicateEndpointName=WSSERVLET17: nome do ponto final duplicado +WSSERVLET17.diag.cause.1=Dois ou mais pontos finais com o mesmo nome encontrados no descritor de runtime de jaxrpc-ri.xml +WSSERVLET17.diag.check.1=Observe que isso pode causar problemas com a implanta\u00E7\u00E3o de servi\u00E7o + + +servlet.info.emptyRequestMessage=WSSERVLET18: obteve mensagem de solicita\u00E7\u00E3o vazia +WSSERVLET18.diag.cause.1=A mensagem enviada pelo cliente est\u00E1 vazia +WSSERVLET18.diag.check.1=Isso pode ou n\u00E3o ser intencional. Se n\u00E3o for, examine o programa de cliente para obter erros. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: obteve solicita\u00E7\u00E3o para ponto final: {0} +WSSERVLET19.diag.cause.1=Chegou a solicita\u00E7\u00E3o do cliente para este ponto final +WSSERVLET19.diag.check.1=S\u00F3 mensagem informativa. Opera\u00E7\u00E3o normal. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: nenhum implementador para o ponto final: {0} +WSSERVLET20.diag.cause.1=A implementa\u00E7\u00E3o deste servi\u00E7o n\u00E3o pode ser encontrada +WSSERVLET20.diag.check.1=Descompacte o war, as classes de liga\u00E7\u00E3o e do serializador foram encontradas? + +servlet.trace.invokingImplementor=WSSERVLET21: chamando o implementador: {0} +WSSERVLET21.diag.cause.1=O Web service est\u00E1 sendo chamado +WSSERVLET21.diag.check.1=Chamada de web service normal. + +servlet.error.noEndpointSpecified=WSSERVLET22: nenhum ponto final especificado +WSSERVLET22.diag.cause.1=Uma solicita\u00E7\u00E3o foi chamada sem ponto final +WSSERVLET22.diag.check.1=Definir ponto final com a propriedade stub.setTargetEndpoint + +servlet.error.noResponseMessage=WSSERVLET23: nenhuma mensagem de resposta +WSSERVLET23.diag.cause.1=A solicita\u00E7\u00E3o foi gerada sem resposta do servi\u00E7o +WSSERVLET23.diag.check.1=Se uma resposta era esperada, verifique se uma mensagem de solicita\u00E7\u00E3o foi realmente enviada +WSSERVLET23.diag.check.2=A solicita\u00E7\u00E3o pode estar incorreta e pode ser aceita pelo servi\u00E7o. N\u00E3o foi gerada uma resposta. + +servlet.trace.writingFaultResponse=WSSERVLET24: gravando resposta com falha +WSSERVLET24.diag.cause.1=A mensagem SOAPFault est\u00E1 sendo retornada ao cliente. +WSSERVLET24.diag.check.1=Rastreando falha de mensagem gravada. + +servlet.trace.writingSuccessResponse=WSSERVLET25: gravando resposta com sucesso +WSSERVLET25.diag.cause.1=A resposta de SOAPMessage est\u00E1 sendo retornada ao cliente +WSSERVLET25.diag.check.1=Rastreando mensagem, resposta normal. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: padr\u00E3o de URL duplicado no ponto final: {0} +WSSERVLET26.diag.cause.1=O URL do ponto final \u00E9 duplicado +WSSERVLET26.diag.check.1=Isso pode causar um problema. Remova pontos finais duplicados. + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: padr\u00E3o de URL impl\u00EDcito n\u00E3o suportado no ponto final: {0} +WSSERVLET27.diag.cause.1=URLS impl\u00EDcito n\u00E3o suportado nesta release +WSSERVLET27.diag.check.1=Remova o URL impl\u00EDcito + +servlet.faultstring.missingPort=WSSERVLET28: informa\u00E7\u00F5es de porta n\u00E3o encontradas +WSSERVLET28.diag.cause.1=O ponto final do alvo \u00E9 nulo +WSSERVLET28.diag.check.1=Defina o ponto final do alvo com a propriedade stub.setTargetEndpoint() + +servlet.faultstring.portNotFound=WSSERVLET29: Porta n\u00E3o encontrada ({0}) +WSSERVLET29.diag.cause.1=Uma porta foi especificada, mas uma implementa\u00E7\u00E3o de servi\u00E7o correspondente n\u00E3o foi encontrada +WSSERVLET29.diag.check.1=A porta \u00E9 v\u00E1lida? Descompacte o arquivo war e certifique-se de que a liga\u00E7\u00E3o e os serializadores est\u00E3o presentes + +servlet.faultstring.internalServerError=WSSERVLET30: erro de servidor interno ({0}) +WSSERVLET30.diag.cause.1=Houve um erro do servidor ao processar a solicita\u00E7\u00E3o +WSSERVLET30.diag.check.1=Isso pode ter ocorrido em decorr\u00EAncia de v\u00E1rias causas. Verifique o arquivo de log do servidor para obter exce\u00E7\u00F5es. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: exce\u00E7\u00E3o detectada ao recuperar-se de uma exce\u00E7\u00E3o anterior: {0} +WSSERVLET51.diag.cause.1=O processamento de servi\u00E7o da solicita\u00E7\u00E3o gerou uma exce\u00E7\u00E3o; ao tentar retornar um SOAPPFaultMessage uma exce\u00E7\u00E3o foi gerada novamente +WSSERVLET51.diag.check.1=Verifique o arquivo de log server.xml para obter informa\u00E7\u00F5es de exce\u00E7\u00E3o + +error.servlet.caughtThrowable=WSSERVLET49: exce\u00E7\u00E3o detectada: {0} +WSSERVLET49.diag.cause.1=O processamento de servi\u00E7o da solicita\u00E7\u00E3o gerou uma exce\u00E7\u00E3o; ao tentar retornar um SOAPFaultMessage uma exce\u00E7\u00E3o foi gerada novamente +WSSERVLET49.diag.check.1=Verifique o arquivo de log server.xml para obter informa\u00E7\u00F5es de exce\u00E7\u00E3o + +error.servlet.caughtThrowableInInit=WSSERVLET50: exce\u00E7\u00E3o detectada durante a inicializa\u00E7\u00E3o do servlet: {0} +WSSERVLET50.diag.cause.1=sun-jaxws.xml ou web.xml de runtime de WS podem estar incorretos +WSSERVLET50.diag.check.1=Verifique se sun-jaxws.xml e web.xml est\u00E3o corretos no arquivo war de servi\u00E7o +WSSERVLET50.diag.cause.2=Os descritores de implanta\u00E7\u00E3o do servidor de aplica\u00E7\u00F5es pode estar incorreto +WSSERVLET50.diag.check.2=Verifique se os descritores de implanta\u00E7\u00E3o do servidor de Aplica\u00E7\u00F5es est\u00E3o corretos no arquivo war de servi\u00E7o +WSSERVLET50.diag.cause.3=Podem haver alguns problemas na inicializa\u00E7\u00E3o do Servidor de Aplica\u00E7\u00F5es +WSSERVLET50.diag.check.3=Verifique o arquivo server.xml no diret\u00F3rio de dom\u00EDnio para obter falhas + +publisher.info.applyingTransformation=WSSERVLET31: aplicando transforma\u00E7\u00E3o com o endere\u00E7o real: {0} +WSSERVLET31.diag.cause.1=Transforma\u00E7\u00E3o sendo aplicada +WSSERVLET31.diag.check.1=Opera\u00E7\u00E3o normal + +publisher.info.generatingWSDL=WSSERVLET32: gerando WSDL para ponto final: {0} +WSSERVLET32.diag.cause.1=WSDL sendo gerado +WSSERVLET32.diag.check.1=Opera\u00E7\u00E3o Normal. + +exception.cannotCreateTransformer=WSSERVLET33: n\u00E3o \u00E9 poss\u00EDvel criar o transformador +WSSERVLET33.diag.cause.1=Ao publicar o wsdl de servi\u00E7o, a localiza\u00E7\u00E3o http \u00E9 submetida a patch com a localiza\u00E7\u00E3o/ponto final implantada usando a transforma\u00E7\u00E3o XSLT. O transformador n\u00E3o p\u00F4de ser criado para fazer a transforma\u00E7\u00E3o. +WSSERVLET33.diag.check.1=Pode ser que um mecanismo de transforma\u00E7\u00E3o que est\u00E1 sendo usado n\u00E3o \u00E9 compat\u00EDvel. Certifique-se de que voc\u00EA est\u00E1 usando o transformador e a vers\u00E3o corretos. +WSSERVLET33.diag.cause.2=Ao publicar o wsdl de servi\u00E7o, a localiza\u00E7\u00E3o http \u00E9 submetida a patch com a localiza\u00E7\u00E3o/ponto final implantada usando a transforma\u00E7\u00E3o XSLT. O transformador n\u00E3o p\u00F4de ser criado para fazer a transforma\u00E7\u00E3o. +WSSERVLET33.diag.check.2=Pode ser que um mecanismo de transforma\u00E7\u00E3o n\u00E3o seja suportado ou n\u00E3o seja compat\u00EDvel. Verifique o arquivo xml do servidor para obter exce\u00E7\u00F5es. + + +exception.transformationFailed=WSSERVLET34: falha na transforma\u00E7\u00E3o : {0} +WSSERVLET34.diag.cause.1=O patch da localiza\u00E7\u00E3o no wsdl falhou ao tentar transformar. +WSSERVLET34.diag.check.1=Verifique o(s) arquivo(s) de log para obter erros/exce\u00E7\u00F5es mais detalhados. + +exception.templateCreationFailed=WSSERVLET35: falha ao criar um objeto do modelo +WSSERVLET35.diag.cause.1=Um modelo de planilha de estilo XSLT \u00E9 criado para o patch de local wsdl usando a transforma\u00E7\u00E3o. Falha na cria\u00E7\u00E3o do modelo. +WSSERVLET35.diag.check.1=Uma exce\u00E7\u00E3o foi gerada durante a cria\u00E7\u00E3o do modelo. Exiba a exce\u00E7\u00E3o e o rastreamento de pilha para obter mais detalhes. + +servlet.html.method=WSSERVLET63: deve usar Post para este tipo de solicita\u00E7\u00E3o +WSSERVLET63.diag.cause.1=As solicita\u00E7\u00F5es de web service devem usar o m\u00E9todo HTTP POST: WSI BP 1.0 +WSSERVLET63.diag.check.1=Certifique-se de que seu cliente HTTP est\u00E1 usando solicita\u00E7\u00F5es POST, n\u00E3o solicita\u00E7\u00F5es GET + + +servlet.faultstring.invalidContentType=WSSERVLET64: Tipo de Conte\u00FAdo Inv\u00E1lido, texto/xml obrigat\u00F3rio +WSSERVLET64.diag.cause.1=As solicita\u00E7\u00F5es de web service devem ser um tipo de conte\u00FAdo texto/xml: WSI BP 1.0 +WSSERVLET64.diag.check.1=Certifique-se de que a solicita\u00E7\u00E3o do cliente est\u00E1 usando texto/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43: falha ao instanciar o implementador de servi\u00E7o da porta \"{0}\" +WSSERVLET43.diag.cause.1=Falha na instancia\u00E7\u00E3o do web service. +WSSERVLET43.diag.check.1=Certifique-se de que o web service est\u00E1 dispon\u00EDvel e \u00E9 p\u00FAblico. Examine a exce\u00E7\u00E3o para obter mais detalhes + +error.implementorFactory.servantInitFailed=WSSERVLET44: falha ao inicializar o implementador de servi\u00E7o da porta \"{0}\" +WSSERVLET44.diag.cause.1=O web service foi instanciado, no entanto, n\u00E3o p\u00F4de ser inicializado +WSSERVLET44.diag.check.1=Verifique a exce\u00E7\u00E3o para obter mais detalhes. Certifique-se de que os arquivos de configura\u00E7\u00E3o est\u00E3o corretos. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: SOAPAction de Cabe\u00E7alho inv\u00E1lido obrigat\u00F3rio +WSSERVLET65.diag.cause.1=A\u00E7\u00E3o SOAP obrigat\u00F3ria +WSSERVLET65.diag.check.1=Adicione SOAPAction e o valor apropriado + +# {0} - URI +servlet.no.address.available=Nenhum endere\u00E7o dispon\u00EDvel para {0} + +servlet.html.title= Web Services +servlet.html.title2=

    Web Services

    +servlet.html.noInfoAvailable=

    Nenhuma informa\u00E7\u00E3o de contexto de JAX-WS dispon\u00EDvel.

    +servlet.html.columnHeader.portName=Ponto Final +servlet.html.columnHeader.status=Status +servlet.html.columnHeader.information=Informa\u00E7\u00F5es +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    Nome do Servi\u00E7o\:{0}
    Port Name\:{1}
    +servlet.html.information.table=
    Endere\u00E7o\:{0}
    WSDL\:{0}?wsdl
    Classe de implementa\u00E7\u00E3o\:{1}
    +servlet.html.notFound=

    404 N\u00E3o Encontrado: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: nenhuma configura\u00E7\u00E3o especificada +error.implementorFactory.noInputStream=WSSERVLET37: nenhuma configura\u00E7\u00E3o especificada +error.implementorRegistry.unknownName=WSSERVLET38: nome da porta desconhecido: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: n\u00E3o \u00E9 poss\u00EDvel ler a configura\u00E7\u00E3o +error.implementorRegistry.classNotFound=WSSERVLET40: classe n\u00E3o encontrada: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: informa\u00E7\u00F5es de configura\u00E7\u00E3o incompletas +error.implementorRegistry.duplicateName=WSSERVLET42: nome da porta duplicado: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: arquivo n\u00E3o encontrado: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: n\u00E3o \u00E9 poss\u00EDvel ler a configura\u00E7\u00E3o +error.servlet.init.config.parameter.missing=WSSERVLET47: n\u00E3o \u00E9 poss\u00EDvel localizar o par\u00E2metro de configura\u00E7\u00E3o: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: arquivo de configura\u00E7\u00E3o: \"{0}\" n\u00E3o encontrado +# + +error.servlet.noImplementorForPort=WSSERVLET52: nenhum implementador registrado para a porta: {0} +error.servlet.noPortSpecified=WSSERVLET53: nenhuma porta especificada no URL de solicita\u00E7\u00E3o HTTP POST +error.servlet.noResponseWasProduced=WSSERVLET54: nenhuma resposta produzida (erro interno) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: obteve mensagem de solicita\u00E7\u00E3o vazia +info.servlet.initializing=WSSERVLET56: servlet de JAX-WS: inicializar +info.servlet.destroying=WSSERVLET57: servlet de JAX-WS: destruir +# +trace.servlet.requestForPortNamed=WSSERVLET58: obteve solicita\u00E7\u00E3o da porta: {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: tratando solicita\u00E7\u00E3o para implementador: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: obteve resposta do implementador: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: grava\u00E7\u00E3o de resposta com falha +trace.servlet.writingSuccessResponse=WSSERVLET62: grava\u00E7\u00E3o de resposta com sucesso +# +html.nonRootPage.title= Web Service +html.nonRootPage.body1=

    Um Web Service foi instalado neste URL.

    +html.nonRootPage.body2=

    URI de solicita\u00E7\u00E3o inv\u00E1lido.

    Verifique suas informa\u00E7\u00F5es de implanta\u00E7\u00E3o.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Web Service +html.wsdlPage.noWsdl=

    Nenhum documento do WSDL dispon\u00EDvel para publica\u00E7\u00E3o.

    Verifique suas informa\u00E7\u00F5es de implanta\u00E7\u00E3o.

    +html.rootPage.title= Web Service +html.rootPage.body1=

    Um Web Service foi instalado neste URL.

    +html.rootPage.body2a=

    Ele suporta as seguintes portas: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    Este ponto final foi configurado incorretamente. Verifique a localiza\u00E7\u00E3o e o conte\u00FAdo do arquivo de configura\u00E7\u00E3o.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=\u7F3A\u5C11\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26 "{0}" + +listener.parsingFailed=WSSERVLET11: \u65E0\u6CD5\u89E3\u6790\u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser \u65E0\u6CD5\u89E3\u6790 sun-jaxws.xml \u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26 +WSSERVLET11.diag.check.1=\u8BF7\u68C0\u67E5 sun-jaxws.xml \u6587\u4EF6\u4EE5\u786E\u4FDD\u5176\u6B63\u786E\u65E0\u8BEF +WSSERVLET11.diag.cause.2=\u53EF\u80FD\u7F3A\u5C11 sun-jaxws.xml \u8FD0\u884C\u65F6\u90E8\u7F72\u63CF\u8FF0\u7B26 +WSSERVLET11.diag.check.2=\u8BF7\u68C0\u67E5 jaxrpc-ri.xml \u6587\u4EF6\u4EE5\u786E\u4FDD\u5B83\u5B58\u5728\u4E8E war \u6587\u4EF6\u4E2D + + +listener.info.initialize=WSSERVLET12: JAX-WS \u4E0A\u4E0B\u6587\u76D1\u542C\u7A0B\u5E8F\u6B63\u5728\u521D\u59CB\u5316 +WSSERVLET12.diag.cause.1=\u4E0A\u4E0B\u6587\u76D1\u542C\u7A0B\u5E8F\u6B63\u5728\u542F\u52A8 +WSSERVLET12.diag.check.1=Web \u670D\u52A1\u6B63\u5E38\u542F\u52A8 + +listener.info.destroy=WSSERVLET13: JAX-WS \u4E0A\u4E0B\u6587\u76D1\u542C\u7A0B\u5E8F\u5DF2\u9500\u6BC1 +WSSERVLET13.diag.cause.1=\u4E0A\u4E0B\u6587\u76D1\u542C\u7A0B\u5E8F\u5DF2\u5173\u95ED +WSSERVLET13.diag.check.1=Web \u670D\u52A1\u6B63\u5E38\u5173\u95ED + +servlet.info.initialize=WSSERVLET14: JAX-WS servlet \u6B63\u5728\u521D\u59CB\u5316 +WSSERVLET14.diag.cause.1=Web \u670D\u52A1 servlet \u6B63\u5728\u542F\u52A8\u3002 +WSSERVLET14.diag.check.1=Web \u670D\u52A1\u6B63\u5E38\u90E8\u7F72\u3002\u670D\u52A1\u90E8\u7F72\u5B8C\u6210\u3002 + +servlet.info.destroy=WSSERVLET15: JAX-WS servlet \u5DF2\u9500\u6BC1 +WSSERVLET15.diag.cause.1=Web \u670D\u52A1 servlet \u5DF2\u5173\u95ED\u3002 +WSSERVLET15.diag.check.1=Web \u670D\u52A1\u6B63\u5E38\u53D6\u6D88\u90E8\u7F72\u3002\u53D6\u6D88\u90E8\u7F72\u5B8C\u6210\u3002 + +servlet.warning.missingContextInformation=WSSERVLET16: \u7F3A\u5C11\u4E0A\u4E0B\u6587\u4FE1\u606F +WSSERVLET16.diag.cause.1=war \u6587\u4EF6\u4E2D\u53EF\u80FD\u7F3A\u5C11 jaxrpc-ri.xml \u6587\u4EF6 +WSSERVLET16.diag.check.1=\u89E3\u538B\u7F29\u670D\u52A1 war \u6587\u4EF6; \u68C0\u67E5 jaxrpc-ri-runtime.xml \u6587\u4EF6\u662F\u5426\u5B58\u5728 + + +servlet.warning.duplicateEndpointName=WSSERVLET17: \u7AEF\u70B9\u540D\u79F0\u91CD\u590D +WSSERVLET17.diag.cause.1=\u5728 jaxrpc-ri.xml \u8FD0\u884C\u65F6\u63CF\u8FF0\u7B26\u4E2D\u627E\u5230\u540C\u540D\u7684\u4E24\u4E2A\u6216\u66F4\u591A\u7AEF\u70B9 +WSSERVLET17.diag.check.1=\u8BF7\u6CE8\u610F, \u8FD9\u53EF\u80FD\u4F1A\u5BFC\u81F4\u670D\u52A1\u90E8\u7F72\u51FA\u73B0\u95EE\u9898 + + +servlet.info.emptyRequestMessage=WSSERVLET18: \u6536\u5230\u7A7A\u8BF7\u6C42\u6D88\u606F +WSSERVLET18.diag.cause.1=\u5BA2\u6237\u673A\u53D1\u9001\u7684\u6D88\u606F\u4E3A\u7A7A +WSSERVLET18.diag.check.1=\u8FD9\u53EF\u80FD\u662F\u4E5F\u53EF\u80FD\u4E0D\u662F\u6709\u610F\u7684\u3002\u5982\u679C\u4E0D\u662F\u6709\u610F\u7684, \u8BF7\u68C0\u67E5\u5BA2\u6237\u673A\u7A0B\u5E8F\u662F\u5426\u51FA\u9519\u3002 + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: \u6536\u5230\u7AEF\u70B9\u8BF7\u6C42: {0} +WSSERVLET19.diag.cause.1=\u6B64\u7AEF\u70B9\u7684\u5BA2\u6237\u673A\u8BF7\u6C42\u5DF2\u5230\u8FBE +WSSERVLET19.diag.check.1=\u4EC5\u4FE1\u606F\u6027\u6D88\u606F\u3002\u6B63\u5E38\u64CD\u4F5C\u3002 + +servlet.error.noImplementorForEndpoint=WSSERVLET20: \u6CA1\u6709\u7AEF\u70B9\u7684\u5B9E\u73B0\u65B9: {0} +WSSERVLET20.diag.cause.1=\u627E\u4E0D\u5230\u6B64\u670D\u52A1\u7684\u5B9E\u73B0 +WSSERVLET20.diag.check.1=\u89E3\u538B\u7F29 war, \u662F\u5426\u627E\u5230\u8054\u63A5\u548C\u4E32\u884C\u5668\u7C7B? + +servlet.trace.invokingImplementor=WSSERVLET21: \u8C03\u7528\u5B9E\u73B0\u65B9: {0} +WSSERVLET21.diag.cause.1=\u6B63\u5728\u8C03\u7528 Web \u670D\u52A1 +WSSERVLET21.diag.check.1=Web \u670D\u52A1\u6B63\u5E38\u8C03\u7528\u3002 + +servlet.error.noEndpointSpecified=WSSERVLET22: \u672A\u6307\u5B9A\u7AEF\u70B9 +WSSERVLET22.diag.cause.1=\u5728\u6CA1\u6709\u7AEF\u70B9\u7684\u60C5\u51B5\u4E0B\u8C03\u7528\u4E86\u8BF7\u6C42 +WSSERVLET22.diag.check.1=\u4F7F\u7528 stub.setTargetEndpoint \u5C5E\u6027\u8BBE\u7F6E\u7AEF\u70B9 + +servlet.error.noResponseMessage=WSSERVLET23: \u65E0\u54CD\u5E94\u6D88\u606F +WSSERVLET23.diag.cause.1=\u8BF7\u6C42\u672A\u4ECE\u670D\u52A1\u751F\u6210\u54CD\u5E94 +WSSERVLET23.diag.check.1=\u5982\u679C\u9700\u8981\u54CD\u5E94, \u8BF7\u68C0\u67E5\u662F\u5426\u786E\u5B9E\u53D1\u9001\u4E86\u8BF7\u6C42\u6D88\u606F +WSSERVLET23.diag.check.2=\u8BE5\u8BF7\u6C42\u7684\u683C\u5F0F\u53EF\u80FD\u4E0D\u6B63\u786E, \u670D\u52A1\u5DF2\u63A5\u53D7\u8BE5\u8BF7\u6C42, \u4F46\u672A\u751F\u6210\u54CD\u5E94 + +servlet.trace.writingFaultResponse=WSSERVLET24: \u5199\u5165\u6545\u969C\u54CD\u5E94 +WSSERVLET24.diag.cause.1=\u6B63\u5728\u5C06 SOAPFault \u6D88\u606F\u8FD4\u56DE\u7ED9\u5BA2\u6237\u673A\u3002 +WSSERVLET24.diag.check.1=\u5DF2\u8BB0\u5F55\u8DDF\u8E2A\u6D88\u606F\u6545\u969C\u3002 + +servlet.trace.writingSuccessResponse=WSSERVLET25: \u5199\u5165\u6210\u529F\u54CD\u5E94 +WSSERVLET25.diag.cause.1=\u6B63\u5728\u5C06 SOAPMessage \u6D88\u606F\u8FD4\u56DE\u7ED9\u5BA2\u6237\u673A +WSSERVLET25.diag.check.1=\u8DDF\u8E2A\u6D88\u606F, \u6B63\u5E38\u54CD\u5E94\u3002 + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: \u7AEF\u70B9\u4E2D\u7684 URL \u6A21\u5F0F\u91CD\u590D: {0} +WSSERVLET26.diag.cause.1=\u7AEF\u70B9 URL \u91CD\u590D +WSSERVLET26.diag.check.1=\u8FD9\u53EF\u80FD\u4F1A\u4EA7\u751F\u95EE\u9898, \u8BF7\u5220\u9664\u91CD\u590D\u7684\u7AEF\u70B9 + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: \u7AEF\u70B9\u4E2D\u5305\u542B\u4E0D\u652F\u6301\u7684\u9690\u5F0F URL \u6A21\u5F0F: {0} +WSSERVLET27.diag.cause.1=\u6B64\u53D1\u884C\u7248\u4E2D\u4E0D\u652F\u6301\u9690\u5F0F URL +WSSERVLET27.diag.check.1=\u5220\u9664\u9690\u5F0F URL + +servlet.faultstring.missingPort=WSSERVLET28: \u7F3A\u5C11\u7AEF\u53E3\u4FE1\u606F +WSSERVLET28.diag.cause.1=\u76EE\u6807\u7AEF\u70B9\u4E3A\u7A7A\u503C +WSSERVLET28.diag.check.1=\u4F7F\u7528 stub.setTargetEndpoint() \u5C5E\u6027\u8BBE\u7F6E\u76EE\u6807\u7AEF\u70B9\u3002 + +servlet.faultstring.portNotFound=WSSERVLET29: \u672A\u627E\u5230\u7AEF\u53E3 ({0}) +WSSERVLET29.diag.cause.1=\u6307\u5B9A\u4E86\u7AEF\u53E3, \u4F46\u672A\u627E\u5230\u76F8\u5E94\u7684\u670D\u52A1\u5B9E\u73B0 +WSSERVLET29.diag.check.1=\u8BE5\u7AEF\u53E3\u662F\u5426\u6709\u6548? \u8BF7\u89E3\u538B\u7F29 war \u6587\u4EF6\u5E76\u786E\u4FDD\u8054\u63A5\u548C\u4E32\u884C\u5668\u5B58\u5728 + +servlet.faultstring.internalServerError=WSSERVLET30: \u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF ({0}) +WSSERVLET30.diag.cause.1=\u5904\u7406\u8BF7\u6C42\u65F6\u51FA\u73B0\u670D\u52A1\u5668\u9519\u8BEF +WSSERVLET30.diag.check.1=\u8FD9\u6709\u8BB8\u591A\u539F\u56E0\u3002\u6709\u5173\u5F02\u5E38\u9519\u8BEF, \u8BF7\u67E5\u770B\u670D\u52A1\u5668\u65E5\u5FD7\u6587\u4EF6\u3002 + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: \u4ECE\u5148\u524D\u7684\u5F02\u5E38\u9519\u8BEF\u6062\u590D\u65F6\u6355\u83B7\u5230\u53EF\u629B\u51FA\u7684\u5F02\u5E38\u9519\u8BEF: {0} +WSSERVLET51.diag.cause.1=\u8BF7\u6C42\u7684\u670D\u52A1\u5904\u7406\u4EA7\u751F\u4E86\u5F02\u5E38\u9519\u8BEF; \u5C1D\u8BD5\u8FD4\u56DE SOAPPFaultMessage \u65F6, \u518D\u6B21\u4EA7\u751F\u4E86\u53EF\u629B\u51FA\u7684\u5F02\u5E38\u9519\u8BEF +WSSERVLET51.diag.check.1=\u6709\u5173\u5F02\u5E38\u9519\u8BEF\u4FE1\u606F, \u8BF7\u67E5\u770B server.xml \u65E5\u5FD7\u6587\u4EF6 + +error.servlet.caughtThrowable=WSSERVLET49: \u6355\u83B7\u5230\u53EF\u629B\u51FA\u7684\u5F02\u5E38\u9519\u8BEF: {0} +WSSERVLET49.diag.cause.1=\u8BF7\u6C42\u7684\u670D\u52A1\u5904\u7406\u4EA7\u751F\u4E86\u5F02\u5E38\u9519\u8BEF; \u5C1D\u8BD5\u8FD4\u56DE SOAPFaultMessage \u65F6, \u518D\u6B21\u4EA7\u751F\u4E86\u53EF\u629B\u51FA\u7684\u5F02\u5E38\u9519\u8BEF +WSSERVLET49.diag.check.1=\u6709\u5173\u5F02\u5E38\u9519\u8BEF\u4FE1\u606F, \u8BF7\u67E5\u770B server.xml \u65E5\u5FD7\u6587\u4EF6 + +error.servlet.caughtThrowableInInit=WSSERVLET50: servlet \u521D\u59CB\u5316\u671F\u95F4\u6355\u83B7\u5230\u53EF\u629B\u51FA\u7684\u5F02\u5E38\u9519\u8BEF: {0} +WSSERVLET50.diag.cause.1=WS \u8FD0\u884C\u65F6 sun-jaxws.xml \u6216 web.xml \u53EF\u80FD\u4E0D\u6B63\u786E +WSSERVLET50.diag.check.1=\u786E\u4FDD\u670D\u52A1 war \u6587\u4EF6\u4E2D\u7684 sun-jaxws.xml \u548C web.xml \u6B63\u786E +WSSERVLET50.diag.cause.2=\u5E94\u7528\u7A0B\u5E8F\u670D\u52A1\u5668\u90E8\u7F72\u63CF\u8FF0\u7B26\u53EF\u80FD\u4E0D\u6B63\u786E +WSSERVLET50.diag.check.2=\u786E\u4FDD\u670D\u52A1 war \u6587\u4EF6\u4E2D\u7684\u5E94\u7528\u7A0B\u5E8F\u670D\u52A1\u5668\u90E8\u7F72\u63CF\u8FF0\u7B26\u6B63\u786E +WSSERVLET50.diag.cause.3=\u53EF\u80FD\u5B58\u5728\u67D0\u4E9B\u5E94\u7528\u7A0B\u5E8F\u670D\u52A1\u5668\u521D\u59CB\u5316\u95EE\u9898 +WSSERVLET50.diag.check.3=\u6709\u5173\u6545\u969C, \u8BF7\u67E5\u770B\u57DF\u76EE\u5F55\u4E2D\u7684 server.xml \u6587\u4EF6 + +publisher.info.applyingTransformation=WSSERVLET31: \u4F7F\u7528\u5B9E\u9645\u5730\u5740\u5E94\u7528\u8F6C\u6362: {0} +WSSERVLET31.diag.cause.1=\u6B63\u5728\u5E94\u7528\u8F6C\u6362 +WSSERVLET31.diag.check.1=\u6B63\u5E38\u64CD\u4F5C + +publisher.info.generatingWSDL=WSSERVLET32: \u4E3A\u7AEF\u70B9\u751F\u6210 WSDL: {0} +WSSERVLET32.diag.cause.1=\u6B63\u5728\u751F\u6210 WSDL +WSSERVLET32.diag.check.1=\u6B63\u5E38\u64CD\u4F5C\u3002 + +exception.cannotCreateTransformer=WSSERVLET33: \u65E0\u6CD5\u521B\u5EFA\u8F6C\u6362\u5668 +WSSERVLET33.diag.cause.1=\u53D1\u5E03\u670D\u52A1 wsdl \u65F6, \u5C06\u5728 XSLT \u8F6C\u6362\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u5DF2\u90E8\u7F72\u7684\u4F4D\u7F6E/\u7AEF\u70B9\u5BF9 http \u4F4D\u7F6E\u6253\u8865\u4E01\u3002\u65E0\u6CD5\u521B\u5EFA\u8F6C\u6362\u5668\u6765\u6267\u884C\u6B64\u8F6C\u6362\u3002 +WSSERVLET33.diag.check.1=\u6240\u4F7F\u7528\u7684\u8F6C\u6362\u5F15\u64CE\u53EF\u80FD\u4E0D\u517C\u5BB9\u3002\u8BF7\u786E\u4FDD\u4F7F\u7528\u7684\u662F\u6B63\u786E\u7684\u8F6C\u6362\u5668\u548C\u7248\u672C\u3002 +WSSERVLET33.diag.cause.2=\u53D1\u5E03\u670D\u52A1 wsdl \u65F6, \u5C06\u5728 XSLT \u8F6C\u6362\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u5DF2\u90E8\u7F72\u7684\u4F4D\u7F6E/\u7AEF\u70B9\u5BF9 http \u4F4D\u7F6E\u6253\u8865\u4E01\u3002\u65E0\u6CD5\u521B\u5EFA\u8F6C\u6362\u5668\u6765\u6267\u884C\u6B64\u8F6C\u6362\u3002 +WSSERVLET33.diag.check.2=\u8F6C\u6362\u5F15\u64CE\u53EF\u80FD\u4E0D\u53D7\u652F\u6301\u6216\u4E0D\u517C\u5BB9\u3002\u6709\u5173\u5F02\u5E38\u9519\u8BEF, \u8BF7\u67E5\u770B server.xml \u6587\u4EF6\u3002 + + +exception.transformationFailed=WSSERVLET34: \u8F6C\u6362\u5931\u8D25: {0} +WSSERVLET34.diag.cause.1=\u5728\u5C1D\u8BD5\u8F6C\u6362\u65F6, \u672A\u80FD\u5BF9 wsdl \u8FDB\u884C\u4F4D\u7F6E\u6253\u8865\u4E01\u3002 +WSSERVLET34.diag.check.1=\u6709\u5173\u8BE6\u7EC6\u9519\u8BEF/\u5F02\u5E38\u9519\u8BEF, \u8BF7\u67E5\u770B\u65E5\u5FD7\u6587\u4EF6\u3002 + +exception.templateCreationFailed=WSSERVLET35: \u65E0\u6CD5\u521B\u5EFA\u6A21\u677F\u5BF9\u8C61 +WSSERVLET35.diag.cause.1=\u4F7F\u7528\u8F6C\u6362\u4E3A wsdl \u4F4D\u7F6E\u6253\u8865\u4E01\u521B\u5EFA XSLT \u6837\u5F0F\u8868\u6A21\u677F\u3002\u672A\u80FD\u521B\u5EFA\u6A21\u677F\u3002 +WSSERVLET35.diag.check.1=\u521B\u5EFA\u6A21\u677F\u671F\u95F4\u629B\u51FA\u5F02\u5E38\u9519\u8BEF\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u67E5\u770B\u5F02\u5E38\u9519\u8BEF\u548C\u5806\u6808\u8DDF\u8E2A\u3002 + +servlet.html.method=WSSERVLET63: \u5FC5\u987B\u5BF9\u6B64\u7C7B\u578B\u7684\u8BF7\u6C42\u4F7F\u7528 Post +WSSERVLET63.diag.cause.1=Web \u670D\u52A1\u8BF7\u6C42\u5FC5\u987B\u4F7F\u7528 HTTP POST \u65B9\u6CD5: WSI BP 1.0 +WSSERVLET63.diag.check.1=\u786E\u4FDD HTTP \u5BA2\u6237\u673A\u4F7F\u7528\u7684\u662F POST \u8BF7\u6C42, \u800C\u4E0D\u662F GET \u8BF7\u6C42 + + +servlet.faultstring.invalidContentType=WSSERVLET64: Content-Type \u65E0\u6548, \u9700\u8981 text/xml +WSSERVLET64.diag.cause.1=Web \u670D\u52A1\u8BF7\u6C42\u5FC5\u987B\u662F\u5185\u5BB9\u7C7B\u578B text/xml: WSI BP 1.0 +WSSERVLET64.diag.check.1=\u786E\u4FDD\u5BA2\u6237\u673A\u8BF7\u6C42\u4F7F\u7528\u7684\u662F text/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43: \u65E0\u6CD5\u5B9E\u4F8B\u5316\u7AEF\u53E3 \"{0}\" \u7684\u670D\u52A1\u5B9E\u73B0\u65B9 +WSSERVLET43.diag.cause.1=Web \u670D\u52A1\u5B9E\u4F8B\u5316\u5931\u8D25\u3002 +WSSERVLET43.diag.check.1=\u786E\u4FDD Web \u670D\u52A1\u662F\u53EF\u7528\u548C\u516C\u5171\u7684\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u67E5\u770B\u5F02\u5E38\u9519\u8BEF + +error.implementorFactory.servantInitFailed=WSSERVLET44: \u65E0\u6CD5\u521D\u59CB\u5316\u7AEF\u53E3 \"{0}\" \u7684\u670D\u52A1\u5B9E\u73B0\u65B9 +WSSERVLET44.diag.cause.1=Web \u670D\u52A1\u5DF2\u5B9E\u4F8B\u5316, \u4F46\u65E0\u6CD5\u521D\u59CB\u5316 +WSSERVLET44.diag.check.1=\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u67E5\u770B\u5F02\u5E38\u9519\u8BEF\u3002\u786E\u4FDD\u6240\u6709\u914D\u7F6E\u6587\u4EF6\u90FD\u6B63\u786E\u3002 + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: \u6240\u9700\u7684\u6807\u5934 SOAPAction \u65E0\u6548 +WSSERVLET65.diag.cause.1=\u9700\u8981 SOAP \u64CD\u4F5C +WSSERVLET65.diag.check.1=\u6DFB\u52A0 SOAPAction \u53CA\u9002\u5F53\u7684\u503C + +# {0} - URI +servlet.no.address.available=\u6CA1\u6709\u53EF\u7528\u4E8E{0}\u7684\u5730\u5740 + +servlet.html.title= Web \u670D\u52A1 +servlet.html.title2=

    Web \u670D\u52A1

    +servlet.html.noInfoAvailable=

    \u6CA1\u6709\u53EF\u7528\u7684 JAX-WS \u4E0A\u4E0B\u6587\u4FE1\u606F\u3002

    +servlet.html.columnHeader.portName=\u7AEF\u70B9 +servlet.html.columnHeader.status=\u72B6\u6001 +servlet.html.columnHeader.information=\u4FE1\u606F +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    \u670D\u52A1\u540D\:{0}
    \u7AEF\u53E3\u540D\:{1}
    +servlet.html.information.table=
    \u5730\u5740\:{0}
    WSDL\:{0}?wsdl
    \u5B9E\u73B0\u7C7B\:{1}
    +servlet.html.notFound=

    404 \u672A\u627E\u5230: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: \u672A\u6307\u5B9A\u914D\u7F6E +error.implementorFactory.noInputStream=WSSERVLET37: \u672A\u6307\u5B9A\u914D\u7F6E +error.implementorRegistry.unknownName=WSSERVLET38: \u672A\u77E5\u7AEF\u53E3\u540D: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: \u65E0\u6CD5\u8BFB\u53D6\u914D\u7F6E +error.implementorRegistry.classNotFound=WSSERVLET40: \u672A\u627E\u5230\u7C7B: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: \u914D\u7F6E\u4FE1\u606F\u4E0D\u5B8C\u6574 +error.implementorRegistry.duplicateName=WSSERVLET42: \u7AEF\u53E3\u540D\u91CD\u590D: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: \u672A\u627E\u5230\u6587\u4EF6: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: \u65E0\u6CD5\u8BFB\u53D6\u914D\u7F6E +error.servlet.init.config.parameter.missing=WSSERVLET47: \u627E\u4E0D\u5230\u914D\u7F6E\u53C2\u6570: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: \u672A\u627E\u5230\u914D\u7F6E\u6587\u4EF6: \"{0}\" +# + +error.servlet.noImplementorForPort=WSSERVLET52: \u6CA1\u6709\u4E3A\u7AEF\u53E3\u6CE8\u518C\u5B9E\u73B0\u65B9: {0} +error.servlet.noPortSpecified=WSSERVLET53: \u672A\u5728 HTTP POST \u8BF7\u6C42 URL \u4E2D\u6307\u5B9A\u7AEF\u53E3 +error.servlet.noResponseWasProduced=WSSERVLET54: \u672A\u751F\u6210\u54CD\u5E94 (\u5185\u90E8\u9519\u8BEF) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: \u6536\u5230\u7A7A\u8BF7\u6C42\u6D88\u606F +info.servlet.initializing=WSSERVLET56: JAX-WS servlet: \u521D\u59CB\u5316 +info.servlet.destroying=WSSERVLET57: JAX-WS servlet: \u9500\u6BC1 +# +trace.servlet.requestForPortNamed=WSSERVLET58: \u6536\u5230\u7AEF\u53E3\u7684\u8BF7\u6C42: {0} +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: \u5C06\u8BF7\u6C42\u8F6C\u4EA4\u7ED9\u5B9E\u73B0\u65B9: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: \u4ECE\u5B9E\u73B0\u65B9\u6536\u5230\u54CD\u5E94: {0} +trace.servlet.writingFaultResponse=WSSERVLET61: \u5199\u5165\u6545\u969C\u54CD\u5E94 +trace.servlet.writingSuccessResponse=WSSERVLET62: \u5199\u5165\u6210\u529F\u54CD\u5E94 +# +html.nonRootPage.title= Web \u670D\u52A1 +html.nonRootPage.body1=

    Web \u670D\u52A1\u5B89\u88C5\u5728\u6B64 URL \u4E2D\u3002

    +html.nonRootPage.body2=

    \u8BF7\u6C42 URI \u65E0\u6548\u3002

    \u8BF7\u67E5\u770B\u90E8\u7F72\u4FE1\u606F\u3002

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Web \u670D\u52A1 +html.wsdlPage.noWsdl=

    \u6CA1\u6709\u53EF\u4F9B\u53D1\u5E03\u7684 WSDL \u6587\u6863\u3002

    \u8BF7\u67E5\u770B\u90E8\u7F72\u4FE1\u606F\u3002

    +html.rootPage.title= Web \u670D\u52A1 +html.rootPage.body1=

    Web \u670D\u52A1\u5B89\u88C5\u5728\u6B64 URL \u4E2D\u3002

    +html.rootPage.body2a=

    \u5B83\u652F\u6301\u4EE5\u4E0B\u7AEF\u53E3: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    \u6B64\u7AEF\u70B9\u7684\u914D\u7F6E\u4E0D\u6B63\u786E\u3002\u8BF7\u67E5\u770B\u914D\u7F6E\u6587\u4EF6\u7684\u4F4D\u7F6E\u548C\u5185\u5BB9\u3002

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/wsservlet_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,243 @@ +# +# Copyright (c) 2005, 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. +# + +no.sunjaxws.xml=\u907A\u6F0F\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 "{0}" + +listener.parsingFailed=WSSERVLET11: \u7121\u6CD5\u5256\u6790\u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143: {0} +JAXRPCSERVLET11.diag.cause.1=WSRuntimeInfoParser \u7121\u6CD5\u5256\u6790 sun-jaxws.xml \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143 +WSSERVLET11.diag.check.1=\u8ACB\u6AA2\u67E5 sun-jaxws.xml \u6A94\u6848, \u78BA\u5B9A\u8A72\u6A94\u6848\u6B63\u78BA +WSSERVLET11.diag.cause.2=\u53EF\u80FD\u907A\u6F0F sun-jaxws.xml \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u5EFA\u7F6E\u63CF\u8FF0\u5143 +WSSERVLET11.diag.check.2=\u8ACB\u6AA2\u67E5 jaxrpc-ri.xml \u6A94\u6848, \u78BA\u8A8D\u5176\u5B58\u5728 WAR \u6A94\u6848\u4E2D + + +listener.info.initialize=WSSERVLET12: \u6B63\u5728\u8D77\u59CB JAX-WS \u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u76E3\u807D\u5668 +WSSERVLET12.diag.cause.1=\u6B63\u5728\u555F\u52D5\u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u76E3\u807D\u5668 +WSSERVLET12.diag.check.1=\u4E00\u822C Web \u670D\u52D9\u555F\u52D5 + +listener.info.destroy=WSSERVLET13: \u5DF2\u6BC0\u68C4 JAX-WS \u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u76E3\u807D\u5668 +WSSERVLET13.diag.cause.1=\u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u76E3\u807D\u5668\u95DC\u9589 +WSSERVLET13.diag.check.1=\u4E00\u822C Web \u670D\u52D9\u95DC\u9589 + +servlet.info.initialize=WSSERVLET14: \u6B63\u5728\u8D77\u59CB JAX-WS Servlet +WSSERVLET14.diag.cause.1=Web \u670D\u52D9 Servlet \u6B63\u5728\u555F\u52D5. +WSSERVLET14.diag.check.1=\u4E00\u822C Web \u670D\u52D9\u5EFA\u7F6E. \u670D\u52D9\u5EFA\u7F6E\u5B8C\u6210. + +servlet.info.destroy=WSSERVLET15: \u5DF2\u6BC0\u68C4 JAX-WS Servlet +WSSERVLET15.diag.cause.1=Web \u670D\u52D9 Servlet \u95DC\u9589. +WSSERVLET15.diag.check.1=\u4E00\u822C Web \u670D\u52D9\u53D6\u6D88\u5EFA\u7F6E. \u53D6\u6D88\u5EFA\u7F6E\u5B8C\u6210. + +servlet.warning.missingContextInformation=WSSERVLET16: \u907A\u6F0F\u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u8CC7\u8A0A +WSSERVLET16.diag.cause.1=WAR \u6A94\u6848\u4E2D\u53EF\u80FD\u907A\u6F0F jaxrpc-ri.xml \u6A94\u6848 +WSSERVLET16.diag.check.1=\u89E3\u58D3\u7E2E\u670D\u52D9 WAR \u6A94\u6848; \u67E5\u770B jaxrpc-ri-runtime.xml \u6A94\u6848\u662F\u5426\u5B58\u5728 + + +servlet.warning.duplicateEndpointName=WSSERVLET17: \u7AEF\u9EDE\u540D\u7A31\u91CD\u8907 +WSSERVLET17.diag.cause.1=\u5728 jaxrpc-ri.xml \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C\u63CF\u8FF0\u5143\u4E2D\u767C\u73FE\u5169\u500B\u6216\u66F4\u591A\u7AEF\u9EDE\u5177\u6709\u76F8\u540C\u7684\u540D\u7A31 +WSSERVLET17.diag.check.1=\u8ACB\u6CE8\u610F, \u9019\u53EF\u80FD\u6703\u5C0E\u81F4\u670D\u52D9\u5EFA\u7F6E\u767C\u751F\u554F\u984C + + +servlet.info.emptyRequestMessage=WSSERVLET18: \u6536\u5230\u7A7A\u767D\u7684\u8981\u6C42\u8A0A\u606F +WSSERVLET18.diag.cause.1=\u5F9E\u5C6C\u7AEF\u50B3\u9001\u7684\u8A0A\u606F\u70BA\u7A7A\u767D +WSSERVLET18.diag.check.1=\u9019\u53EF\u80FD\u6709\u7279\u5225\u76EE\u7684. \u82E5\u4E0D\u662F, \u8ACB\u6AA2\u67E5\u5F9E\u5C6C\u7AEF\u7A0B\u5F0F\u662F\u5426\u767C\u751F\u932F\u8AA4. + +servlet.trace.gotRequestForEndpoint=WSSERVLET19: \u6536\u5230\u7AEF\u9EDE: {0} \u7684\u8981\u6C42 +WSSERVLET19.diag.cause.1=\u6B64\u7AEF\u9EDE\u7684\u5F9E\u5C6C\u7AEF\u8981\u6C42\u5DF2\u5230\u9054 +WSSERVLET19.diag.check.1=\u50C5\u63D0\u4F9B\u8CC7\u8A0A\u8A0A\u606F. \u6B63\u5E38\u4F5C\u696D. + +servlet.error.noImplementorForEndpoint=WSSERVLET20: \u7AEF\u9EDE: {0} \u6C92\u6709\u5BE6\u4F5C\u9805 +WSSERVLET20.diag.cause.1=\u627E\u4E0D\u5230\u6B64\u670D\u52D9\u7684\u5BE6\u884C +WSSERVLET20.diag.check.1=\u8ACB\u89E3\u58D3\u7E2E WAR, \u662F\u5426\u627E\u5230 Tie \u8207 Serializer \u985E\u5225? + +servlet.trace.invokingImplementor=WSSERVLET21: \u6B63\u5728\u547C\u53EB\u5BE6\u4F5C\u9805: {0} +WSSERVLET21.diag.cause.1=\u6B63\u5728\u547C\u53EB\u6B64 Web \u670D\u52D9 +WSSERVLET21.diag.check.1=\u4E00\u822C Web \u670D\u52D9\u547C\u53EB. + +servlet.error.noEndpointSpecified=WSSERVLET22: \u672A\u6307\u5B9A\u7AEF\u9EDE +WSSERVLET22.diag.cause.1=\u5DF2\u547C\u53EB\u8981\u6C42, \u4F46\u6C92\u6709\u7AEF\u9EDE +WSSERVLET22.diag.check.1=\u8ACB\u4F7F\u7528 stub.setTargetEndpoint \u7279\u6027\u8A2D\u5B9A\u7AEF\u9EDE + +servlet.error.noResponseMessage=WSSERVLET23: \u6C92\u6709\u56DE\u61C9\u8A0A\u606F +WSSERVLET23.diag.cause.1=\u8981\u6C42\u672A\u7522\u751F\u4F86\u81EA\u670D\u52D9\u7684\u56DE\u61C9 +WSSERVLET23.diag.check.1=\u82E5\u9810\u671F\u61C9\u6709\u56DE\u61C9, \u8ACB\u6AA2\u67E5\u662F\u5426\u771F\u7684\u50B3\u9001\u4E86\u8981\u6C42\u8A0A\u606F +WSSERVLET23.diag.check.2=\u8981\u6C42\u7684\u683C\u5F0F\u53EF\u80FD\u932F\u8AA4, \u4E26\u4E14\u670D\u52D9\u5DF2\u63A5\u53D7\u8981\u6C42, \u4F46\u4E26\u672A\u7522\u751F\u56DE\u61C9 + +servlet.trace.writingFaultResponse=WSSERVLET24: \u6B63\u5728\u5BEB\u5165\u932F\u8AA4\u56DE\u61C9 +WSSERVLET24.diag.cause.1=\u6B63\u5728\u5C07 SOAPFault \u8A0A\u606F\u50B3\u56DE\u5F9E\u5C6C\u7AEF. +WSSERVLET24.diag.check.1=\u5DF2\u8A18\u9304\u8FFD\u8E64\u8A0A\u606F\u932F\u8AA4. + +servlet.trace.writingSuccessResponse=WSSERVLET25: \u6B63\u5728\u5BEB\u5165\u6210\u529F\u56DE\u61C9 +WSSERVLET25.diag.cause.1=\u6B63\u5728\u5C07 SOAPMessage \u56DE\u61C9\u50B3\u56DE\u5F9E\u5C6C\u7AEF +WSSERVLET25.diag.check.1=\u8FFD\u8E64\u8A0A\u606F, \u4E00\u822C\u56DE\u61C9. + +servlet.warning.duplicateEndpointUrlPattern=WSSERVLET26: \u7AEF\u9EDE : {0} \u4E2D\u6709\u91CD\u8907\u7684 URL \u6A23\u5F0F +WSSERVLET26.diag.cause.1=\u7AEF\u9EDE URL \u91CD\u8907 +WSSERVLET26.diag.check.1=\u9019\u6A23\u53EF\u80FD\u6703\u5C0E\u81F4\u554F\u984C, \u8ACB\u79FB\u9664\u91CD\u8907\u7684\u7AEF\u9EDE + +servlet.warning.ignoringImplicitUrlPattern=WSSERVLET27: \u7AEF\u9EDE: {0} \u4E2D\u6709\u4E0D\u652F\u63F4\u7684\u96B1\u542B URL \u6A23\u5F0F +WSSERVLET27.diag.cause.1=\u6B64\u7248\u672C\u4E0D\u652F\u63F4\u96B1\u542B\u7684 URL +WSSERVLET27.diag.check.1=\u8ACB\u79FB\u9664\u96B1\u542B\u7684 URL + +servlet.faultstring.missingPort=WSSERVLET28: \u907A\u6F0F\u9023\u63A5\u57E0\u8CC7\u8A0A +WSSERVLET28.diag.cause.1=\u76EE\u6A19\u7AEF\u9EDE\u70BA\u7A7A\u503C +WSSERVLET28.diag.check.1=\u8ACB\u4F7F\u7528 stub.setTargetEndpoint() \u7279\u6027\u8A2D\u5B9A\u76EE\u6A19\u7AEF\u9EDE + +servlet.faultstring.portNotFound=WSSERVLET29: \u627E\u4E0D\u5230\u9023\u63A5\u57E0 ({0}) +WSSERVLET29.diag.cause.1=\u5DF2\u6307\u5B9A\u9023\u63A5\u57E0, \u4F46\u627E\u4E0D\u5230\u5C0D\u61C9\u7684\u670D\u52D9\u5BE6\u884C +WSSERVLET29.diag.check.1=\u9023\u63A5\u57E0\u662F\u5426\u6709\u6548? \u8ACB\u89E3\u58D3\u7E2E WAR \u6A94\u6848, \u4E26\u78BA\u8A8D Tie \u8207 Serializer \u5B58\u5728 + +servlet.faultstring.internalServerError=WSSERVLET30: \u5167\u90E8\u4F3A\u670D\u5668\u932F\u8AA4 ({0}) +WSSERVLET30.diag.cause.1=\u8655\u7406\u8981\u6C42\u6642\u767C\u751F\u4F3A\u670D\u5668\u932F\u8AA4 +WSSERVLET30.diag.check.1=\u9019\u53EF\u80FD\u662F\u56E0\u70BA\u67D0\u4E9B\u539F\u56E0\u6240\u5C0E\u81F4. \u8ACB\u67E5\u770B\u4F3A\u670D\u5668\u65E5\u8A8C\u6A94\u662F\u5426\u6709\u7570\u5E38\u72C0\u6CC1. + +error.servlet.caughtThrowableWhileRecovering=WSSERVLET51: \u5F9E\u5148\u524D\u7684\u7570\u5E38\u72C0\u6CC1: {0} \u5FA9\u539F\u6642\u767C\u51FA Throwable +WSSERVLET51.diag.cause.1=\u8981\u6C42\u7684\u670D\u52D9\u8655\u7406\u7522\u751F\u7570\u5E38\u72C0\u6CC1; \u5617\u8A66\u50B3\u56DE SOAPPFaultMessage \u6642, \u53C8\u518D\u5EA6\u7522\u751F Throwable +WSSERVLET51.diag.check.1=\u8ACB\u67E5\u770B server.xml \u65E5\u8A8C\u6A94\u662F\u5426\u6709\u7570\u5E38\u72C0\u6CC1\u8CC7\u8A0A + +error.servlet.caughtThrowable=WSSERVLET49: \u767C\u751F Throwable: {0} +WSSERVLET49.diag.cause.1=\u8981\u6C42\u7684\u670D\u52D9\u8655\u7406\u7522\u751F\u7570\u5E38\u72C0\u6CC1; \u5617\u8A66\u50B3\u56DE SOAPFaultMessage \u6642, \u53C8\u518D\u5EA6\u7522\u751F Throwable +WSSERVLET49.diag.check.1=\u8ACB\u67E5\u770B server.xml \u65E5\u8A8C\u6A94\u662F\u5426\u6709\u7570\u5E38\u72C0\u6CC1\u8CC7\u8A0A + +error.servlet.caughtThrowableInInit=WSSERVLET50: \u521D\u59CB\u5316 Servlet \u6642\u767C\u751F Throwable: {0} +WSSERVLET50.diag.cause.1=WS \u7A0B\u5F0F\u5BE6\u969B\u57F7\u884C sun-jaxws.xml \u6216 web.xml \u53EF\u80FD\u4E0D\u6B63\u78BA +WSSERVLET50.diag.check.1=\u8ACB\u78BA\u8A8D\u670D\u52D9 WAR \u6A94\u6848\u4E2D\u7684 sun-jaxws.xml \u53CA web.xml \u662F\u5426\u6B63\u78BA +WSSERVLET50.diag.cause.2=\u61C9\u7528\u7A0B\u5F0F\u4F3A\u670D\u5668\u5EFA\u7F6E\u63CF\u8FF0\u5143\u53EF\u80FD\u4E0D\u6B63\u78BA +WSSERVLET50.diag.check.2=\u8ACB\u78BA\u8A8D\u670D\u52D9 WAR \u6A94\u6848\u4E2D\u7684\u61C9\u7528\u7A0B\u5F0F\u4F3A\u670D\u5668\u5EFA\u7F6E\u63CF\u8FF0\u5143\u662F\u5426\u6B63\u78BA +WSSERVLET50.diag.cause.3=\u53EF\u80FD\u767C\u751F\u67D0\u4E9B\u61C9\u7528\u7A0B\u5F0F\u4F3A\u670D\u5668\u521D\u59CB\u5316\u554F\u984C +WSSERVLET50.diag.check.3=\u8ACB\u6AA2\u67E5\u7DB2\u57DF\u76EE\u9304\u4E2D\u7684 server.xml \u6A94\u6848\u662F\u5426\u767C\u751F\u932F\u8AA4 + +publisher.info.applyingTransformation=WSSERVLET31: \u6B63\u5728\u4F7F\u7528\u5BE6\u969B\u4F4D\u5740: {0} \u5957\u7528\u8F49\u63DB +WSSERVLET31.diag.cause.1=\u6B63\u5728\u5957\u7528\u8F49\u63DB +WSSERVLET31.diag.check.1=\u6B63\u5E38\u4F5C\u696D + +publisher.info.generatingWSDL=WSSERVLET32: \u6B63\u5728\u7522\u751F\u7AEF\u9EDE: {0} \u7684 WSDL +WSSERVLET32.diag.cause.1=\u6B63\u5728\u7522\u751F WSDL +WSSERVLET32.diag.check.1=\u6B63\u5E38\u4F5C\u696D. + +exception.cannotCreateTransformer=WSSERVLET33: \u7121\u6CD5\u5EFA\u7ACB\u8F49\u63DB\u5668 +WSSERVLET33.diag.cause.1=\u767C\u4F48\u670D\u52D9 WSDL \u6642, \u6703\u4F7F\u7528 XSLT \u8F49\u63DB, \u4EE5\u5EFA\u7F6E\u7684\u4F4D\u7F6E/\u7AEF\u9EDE\u4F86\u4FEE\u6B63 http \u4F4D\u7F6E. \u7121\u6CD5\u5EFA\u7ACB\u8F49\u63DB\u5668\u4EE5\u9032\u884C\u8F49\u63DB. +WSSERVLET33.diag.check.1=\u53EF\u80FD\u662F\u4F7F\u7528\u4E2D\u7684\u8F49\u63DB\u5F15\u64CE\u4E0D\u76F8\u5BB9. \u8ACB\u78BA\u5B9A\u60A8\u4F7F\u7528\u6B63\u78BA\u7684\u8F49\u63DB\u5668\u8207\u7248\u672C. +WSSERVLET33.diag.cause.2=\u767C\u4F48\u670D\u52D9 WSDL \u6642, \u6703\u4F7F\u7528 XSLT \u8F49\u63DB, \u4EE5\u5EFA\u7F6E\u7684\u4F4D\u7F6E/\u7AEF\u9EDE\u4F86\u4FEE\u6B63 http \u4F4D\u7F6E. \u7121\u6CD5\u5EFA\u7ACB\u8F49\u63DB\u5668\u4EE5\u9032\u884C\u8F49\u63DB. +WSSERVLET33.diag.check.2=\u8F49\u63DB\u5668\u5F15\u64CE\u53EF\u80FD\u4E0D\u652F\u63F4\u6216\u4E0D\u76F8\u5BB9. \u8ACB\u67E5\u770B server.xml \u6A94\u6848\u662F\u5426\u6709\u7570\u5E38\u72C0\u6CC1. + + +exception.transformationFailed=WSSERVLET34: \u8F49\u63DB\u5931\u6557 : {0} +WSSERVLET34.diag.cause.1=\u5617\u8A66\u8F49\u63DB\u6642, WSDL \u7684\u4F4D\u7F6E\u4FEE\u6B63\u5931\u6557. +WSSERVLET34.diag.check.1=\u8ACB\u67E5\u770B\u65E5\u8A8C\u6A94, \u77AD\u89E3\u8A73\u7D30\u7684\u932F\u8AA4/\u7570\u5E38\u72C0\u6CC1. + +exception.templateCreationFailed=WSSERVLET35: \u7121\u6CD5\u5EFA\u7ACB\u6A23\u677F\u7269\u4EF6 +WSSERVLET35.diag.cause.1=\u4F7F\u7528\u8F49\u63DB\u6642, \u6703\u5EFA\u7ACB XSLT \u6A23\u5F0F\u8868\u6A23\u677F\u4EE5\u7528\u65BC WSDL \u4F4D\u7F6E\u4FEE\u6B63. \u6A23\u677F\u5EFA\u7ACB\u5931\u6557. +WSSERVLET35.diag.check.1=\u5EFA\u7ACB\u6A23\u677F\u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1. \u8ACB\u6AA2\u8996\u7570\u5E38\u72C0\u6CC1\u8207\u5806\u758A\u8FFD\u8E64\u4EE5\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A. + +servlet.html.method=WSSERVLET63: \u6B64\u985E\u578B\u7684\u8981\u6C42\u5FC5\u9808\u4F7F\u7528 Post +WSSERVLET63.diag.cause.1=Web \u670D\u52D9\u8981\u6C42\u5FC5\u9808\u4F7F\u7528 HTTP POST \u65B9\u6CD5: WSI BP 1.0 +WSSERVLET63.diag.check.1=\u8ACB\u78BA\u5B9A\u60A8\u7684 HTTP \u5F9E\u5C6C\u7AEF\u4F7F\u7528 POST \u8981\u6C42, \u800C\u975E GET \u8981\u6C42 + + +servlet.faultstring.invalidContentType=WSSERVLET64: \u7121\u6548\u7684 Content-Type, \u9700\u8981 text/xml +WSSERVLET64.diag.cause.1=Web \u670D\u52D9\u8981\u6C42\u5FC5\u9808\u662F\u5167\u5BB9\u985E\u578B text/xml: WSI BP 1.0 +WSSERVLET64.diag.check.1=\u8ACB\u78BA\u5B9A\u5F9E\u5C6C\u7AEF\u8981\u6C42\u4F7F\u7528\u7684\u662F text/xml + +error.implementorFactory.newInstanceFailed=WSSERVLET43: \u7121\u6CD5\u70BA\u9023\u63A5\u57E0 \"{0}\" \u5EFA\u7ACB\u670D\u52D9\u5BE6\u4F5C\u9805 +WSSERVLET43.diag.cause.1=Web \u670D\u52D9\u5EFA\u7ACB\u5931\u6557. +WSSERVLET43.diag.check.1=\u8ACB\u78BA\u5B9A Web \u670D\u52D9\u53EF\u4EE5\u4F7F\u7528\u4E14\u70BA\u516C\u7528. \u8ACB\u6AA2\u67E5\u7570\u5E38\u72C0\u6CC1, \u4EE5\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A + +error.implementorFactory.servantInitFailed=WSSERVLET44: \u7121\u6CD5\u8D77\u59CB\u9023\u63A5\u57E0 \"{0}\" \u7684\u670D\u52D9\u5BE6\u4F5C\u9805 +WSSERVLET44.diag.cause.1=Web \u670D\u52D9\u5DF2\u5EFA\u7ACB, \u4F46\u7121\u6CD5\u8D77\u59CB +WSSERVLET44.diag.check.1=\u8ACB\u6AA2\u67E5\u7570\u5E38\u72C0\u6CC1, \u4EE5\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A. \u8ACB\u78BA\u5B9A\u6240\u6709\u7D44\u614B\u6A94\u90FD\u6B63\u78BA. + +#not used by anything currently +servlet.faultstring.invalidSOAPAction=WSSERVLET65: \u6A19\u982D\u7121\u6548. \u9700\u8981 SOAPAction +WSSERVLET65.diag.cause.1=\u9700\u8981 SOAP \u52D5\u4F5C +WSSERVLET65.diag.check.1=\u8ACB\u65B0\u589E SOAPAction \u8207\u9069\u7576\u7684\u503C + +# {0} - URI +servlet.no.address.available={0} \u6C92\u6709\u53EF\u7528\u7684\u4F4D\u5740 + +servlet.html.title= Web \u670D\u52D9 +servlet.html.title2=

    Web \u670D\u52D9

    +servlet.html.noInfoAvailable=

    \u6C92\u6709\u53EF\u7528\u7684 JAX-WS \u76F8\u95DC\u8CC7\u8A0A\u74B0\u5883\u8CC7\u8A0A.

    +servlet.html.columnHeader.portName=\u7AEF\u9EDE +servlet.html.columnHeader.status=\u72C0\u614B +servlet.html.columnHeader.information=\u8CC7\u8A0A +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.active=ACTIVE +# This is a status code and should not be translated (if you have to, translate it using capital letters). +servlet.html.status.error=ERROR +servlet.html.endpoint.table=
    \u670D\u52D9\u540D\u7A31\:{0}
    \u9023\u63A5\u57E0\u540D\u7A31\:{1}
    +servlet.html.information.table=
    \u4F4D\u5740\:{0}
    WSDL\:{0}?wsdl
    \u5BE6\u884C\u985E\u5225\:{1}
    +servlet.html.notFound=

    404 \u627E\u4E0D\u5230: {0}

    + + +# +# +# all the following properties are used by the http/ea package +# these properties are not longer used as http/ea is no longer used +# +error.implementorFactory.noConfiguration=WSSERVLET36: \u672A\u6307\u5B9A\u7D44\u614B +error.implementorFactory.noInputStream=WSSERVLET37: \u672A\u6307\u5B9A\u7D44\u614B +error.implementorRegistry.unknownName=WSSERVLET38: \u4E0D\u660E\u7684\u9023\u63A5\u57E0\u540D\u7A31: {0} +error.implementorRegistry.cannotReadConfiguration=WSSERVLET39: \u7121\u6CD5\u8B80\u53D6\u7D44\u614B +error.implementorRegistry.classNotFound=WSSERVLET40: \u627E\u4E0D\u5230\u985E\u5225: {0} +error.implementorRegistry.incompleteInformation=WSSERVLET41: \u7D44\u614B\u8CC7\u8A0A\u4E0D\u5B8C\u6574 +error.implementorRegistry.duplicateName=WSSERVLET42: \u91CD\u8907\u7684\u9023\u63A5\u57E0\u540D\u7A31: {0} + +error.implementorRegistry.fileNotFound=WSSERVLET45: \u627E\u4E0D\u5230\u6A94\u6848: {0} +error.wsdlPublisher.cannotReadConfiguration=WSSERVLET46: \u7121\u6CD5\u8B80\u53D6\u7D44\u614B +error.servlet.init.config.parameter.missing=WSSERVLET47: \u627E\u4E0D\u5230\u7D44\u614B\u53C3\u6578: \"{0}\" +error.servlet.init.config.fileNotFound=WSSERVLET48: \u627E\u4E0D\u5230\u7D44\u614B\u6A94: \"{0}\" +# + +error.servlet.noImplementorForPort=WSSERVLET52: \u6C92\u6709\u70BA\u9023\u63A5\u57E0: {0} \u8A3B\u518A\u5BE6\u4F5C\u9805 +error.servlet.noPortSpecified=WSSERVLET53: \u672A\u5728 HTTP POST \u8981\u6C42 URL \u4E2D\u6307\u5B9A\u9023\u63A5\u57E0 +error.servlet.noResponseWasProduced=WSSERVLET54: \u672A\u7522\u751F\u56DE\u61C9 (\u5167\u90E8\u932F\u8AA4) +# +info.servlet.gotEmptyRequestMessage=WSSERVLET55: \u6536\u5230\u7A7A\u767D\u7684\u8981\u6C42\u8A0A\u606F +info.servlet.initializing=WSSERVLET56: JAX-WS Servlet: \u8D77\u59CB +info.servlet.destroying=WSSERVLET57: JAX-WS Servlet: \u6BC0\u68C4 +# +trace.servlet.requestForPortNamed=WSSERVLET58: \u6536\u5230\u9023\u63A5\u57E0: {0} \u7684\u8981\u6C42 +trace.servlet.handingRequestOverToImplementor=WSSERVLET59: \u6B63\u5728\u5C07\u8981\u6C42\u79FB\u4EA4\u7D66\u5BE6\u4F5C\u9805: {0} +trace.servlet.gotResponseFromImplementor=WSSERVLET60: \u6536\u5230\u5BE6\u4F5C\u9805: {0} \u7684\u56DE\u61C9 +trace.servlet.writingFaultResponse=WSSERVLET61: \u6B63\u5728\u5BEB\u5165\u932F\u8AA4\u56DE\u61C9 +trace.servlet.writingSuccessResponse=WSSERVLET62: \u6B63\u5728\u5BEB\u5165\u6210\u529F\u56DE\u61C9 +# +html.nonRootPage.title= Web \u670D\u52D9 +html.nonRootPage.body1=

    \u6B64 URL \u5DF2\u5B89\u88DD Web \u670D\u52D9.

    +html.nonRootPage.body2=

    \u7121\u6548\u7684\u8981\u6C42 URI.

    \u8ACB\u6AA2\u67E5\u60A8\u7684\u5EFA\u7F6E\u8CC7\u8A0A.

    +# Usage not found. TODO Remove +#html.nonRootPage.body3a=

    Please refer to this page for information about the deployed services.

    +html.wsdlPage.title= Web \u670D\u52D9 +html.wsdlPage.noWsdl=

    \u6C92\u6709\u53EF\u767C\u4F48\u7684 WSDL \u6587\u4EF6.

    \u8ACB\u6AA2\u67E5\u60A8\u7684\u5EFA\u7F6E\u8CC7\u8A0A.

    +html.rootPage.title= Web \u670D\u52D9 +html.rootPage.body1=

    \u6B64 URL \u5DF2\u5B89\u88DD Web \u670D\u52D9.

    +html.rootPage.body2a=

    \u5B83\u652F\u63F4\u4E0B\u5217\u9023\u63A5\u57E0: +html.rootPage.body2b=

    +# Usage not found. TODO Remove +#html.rootPage.body3a=

    A WSDL description of these ports is available here.

    +html.rootPage.body4=

    \u6B64\u7AEF\u9EDE\u7684\u8A2D\u5B9A\u4E0D\u6B63\u78BA. \u8ACB\u6AA2\u67E5\u7D44\u614B\u6A94\u7684\u4F4D\u7F6E\u8207\u5167\u5BB9.

    diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=Ung\u00FCltiges Argument. MimeHeaders=null +xml.no.Content-Type=MimeHeaders enth\u00E4lt Content-Type Header nicht +xml.unknown.Content-Type=Nicht erkannter Content-Type +xml.cannot.internalize.message=XMLMessage kann nicht erstellt werden +xml.root.part.invalid.Content-Type= Ung\u00FCltiger Content-Type f\u00FCr Root-Teil: {0} +xml.get.source.err=Quelle konnte nicht zur\u00FCckgegeben werden +xml.set.payload.err=Payload konnte in XMLMessage nicht festgelegt werden +xml.get.ds.err=DataSource konnte nicht abgerufen werden +xml.content-type.mustbe.multipart=Content-Type muss Multipart/Related mit type=text/xml sein +xml.invalid.content-type=Ung\u00FCltiger Content-Type: {0} +xml.Content-Type.parse.err=Fehler beim Parsen von MimeHeaders f\u00FCr Content-Type diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=Argumento no v\u00E1lido. MimeHeaders=null +xml.no.Content-Type=MimeHeaders no contiene la cabecera Content-Type +xml.unknown.Content-Type=Tipo de contenido no reconocido +xml.cannot.internalize.message=No se puede crear el mensaje XML +xml.root.part.invalid.Content-Type= Tipo de contenido err\u00F3neo para la parte ra\u00EDz: {0} +xml.get.source.err=No se ha podido devolver el origen +xml.set.payload.err=No se ha podido definir la carga \u00FAtil en el mensaje XML +xml.get.ds.err=No se ha podido obtener el origen de datos +xml.content-type.mustbe.multipart=Content-Type tiene que ser Multipart/Related y type=text/xml +xml.invalid.content-type=Tipo de contenido no v\u00E1lido: {0} +xml.Content-Type.parse.err=Error al analizar MimeHeaders para Content-Type diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=Argument non valide. MimeHeaders = NULL +xml.no.Content-Type=MimeHeaders ne contient aucun en-t\u00EAte Content-Type +xml.unknown.Content-Type=Content-Type non reconnu +xml.cannot.internalize.message=Impossible de cr\u00E9er XMLMessage +xml.root.part.invalid.Content-Type= Content-Type incorrect pour la partie racine : {0} +xml.get.source.err=Impossible de renvoyer la source +xml.set.payload.err=Impossible de d\u00E9finir les donn\u00E9es trait\u00E9es dans XMLMessage +xml.get.ds.err=Impossible d'obtenir DataSource +xml.content-type.mustbe.multipart=Content-Type doit \u00EAtre Multipart/Related et avec le type=text/xml +xml.invalid.content-type=Content-Type non valide : {0} +xml.Content-Type.parse.err=Erreur lors de l'analyse de MimeHeaders pour Content-Type diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=Argomento non valido. MimeHeaders=null +xml.no.Content-Type=MimeHeaders non contiene l'intestazione Content-Type +xml.unknown.Content-Type=Content-Type non riconosciuto +xml.cannot.internalize.message=Impossibile creare XMLMessage +xml.root.part.invalid.Content-Type= Content-Type non valido per Root Part: {0} +xml.get.source.err=Impossibile restituire Source +xml.set.payload.err=Impossibile impostare Payload in XMLMessage +xml.get.ds.err=Impossibile ottenere DataSource +xml.content-type.mustbe.multipart=Content-Type deve essere Multipart/Related e con type=text/xml +xml.invalid.content-type=Content-Type non valido: {0} +xml.Content-Type.parse.err=Errore durante l'analisi di MimeHeaders per Content-Type diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=\u7121\u52B9\u306A\u5F15\u6570\u3067\u3059\u3002MimeHeaders=null +xml.no.Content-Type=MimeHeaders\u306BContent-Type\u30D8\u30C3\u30C0\u30FC\u304C\u542B\u307E\u308C\u307E\u305B\u3093 +xml.unknown.Content-Type=\u8A8D\u8B58\u3067\u304D\u306A\u3044Content-Type +xml.cannot.internalize.message=XMLMessage\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093 +xml.root.part.invalid.Content-Type= \u30EB\u30FC\u30C8\u30FB\u30D1\u30FC\u30C8: {0}\u306EContent-Type\u304C\u4E0D\u6B63\u3067\u3059 +xml.get.source.err=\u30BD\u30FC\u30B9\u3092\u8FD4\u3059\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +xml.set.payload.err=XMLMessage\u3067\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +xml.get.ds.err=DataSource\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F +xml.content-type.mustbe.multipart=Content-Type\u306FMultipart/Related\u3067\u3042\u308A\u3001type=text/xml\u304C\u542B\u307E\u308C\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +xml.invalid.content-type=\u7121\u52B9\u306AContent-Type: {0} +xml.Content-Type.parse.err=Content-Type\u306EMimeHeaders\u306E\u89E3\u6790\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=\uC778\uC218\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. MimeHeaders\uAC00 \uB110\uC785\uB2C8\uB2E4. +xml.no.Content-Type=MimeHeaders\uC5D0 Content-Type \uD5E4\uB354\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +xml.unknown.Content-Type=\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 Content-Type +xml.cannot.internalize.message=XMLMessage\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +xml.root.part.invalid.Content-Type= \uB8E8\uD2B8 \uBD80\uBD84\uC5D0 \uB300\uD574 \uC798\uBABB\uB41C Content-Type: {0} +xml.get.source.err=\uC18C\uC2A4\uB97C \uBC18\uD658\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +xml.set.payload.err=XMLMessage\uC5D0\uC11C \uD398\uC774\uB85C\uB4DC\uB97C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +xml.get.ds.err=DataSource\uB97C \uAC00\uC838\uC62C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +xml.content-type.mustbe.multipart=Content-Type\uC740 Multipart/Related\uC5EC\uC57C \uD558\uBA70 \uC720\uD615\uC774 text/xml\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +xml.invalid.content-type=\uBD80\uC801\uD569\uD55C Content-Type: {0} +xml.Content-Type.parse.err=Content-Type\uC5D0 \uB300\uD55C MimeHeaders\uC758 \uAD6C\uBB38\uC744 \uBD84\uC11D\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=Argumento inv\u00E1lido. MimeHeaders=nulo +xml.no.Content-Type=MimeHeaders n\u00E3o cont\u00E9m o cabe\u00E7alho do Tipo do Cabe\u00E7alho +xml.unknown.Content-Type=Tipo de Conte\u00FAdo N\u00E3o reconhecido +xml.cannot.internalize.message=N\u00E3o \u00E9 poss\u00EDvel criar XMLMessage +xml.root.part.invalid.Content-Type= Tipo de Conte\u00FAdo Inv\u00E1lido para a Parte da Raiz : {0} +xml.get.source.err=N\u00E3o foi poss\u00EDvel retornar a Origem +xml.set.payload.err=N\u00E3o foi poss\u00EDvel o Payload na XMLMessage +xml.get.ds.err=N\u00E3o foi poss\u00EDvel obter DataSource +xml.content-type.mustbe.multipart=O Tipo de Conte\u00FAdo precisa ser de V\u00E1rias Partes/Relacionado com tipo=texto/xml +xml.invalid.content-type=Tipo de Conte\u00FAdo Inv\u00E1lido: {0} +xml.Content-Type.parse.err=Erro ao fazer parse de MimeHeaders para o Tipo de Conte\u00FAdo diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=\u53C2\u6570\u65E0\u6548\u3002MimeHeaders=null +xml.no.Content-Type=MimeHeaders \u4E0D\u5305\u542B Content-Type \u6807\u5934 +xml.unknown.Content-Type=\u65E0\u6CD5\u8BC6\u522B\u7684 Content-Type +xml.cannot.internalize.message=\u65E0\u6CD5\u521B\u5EFA XMLMessage +xml.root.part.invalid.Content-Type= \u6839\u90E8\u5206\u7684 Content-Type \u9519\u8BEF: {0} +xml.get.source.err=\u65E0\u6CD5\u8FD4\u56DE\u6E90 +xml.set.payload.err=\u65E0\u6CD5\u5728 XMLMessage \u4E2D\u8BBE\u7F6E\u6709\u6548\u8D1F\u8F7D +xml.get.ds.err=\u65E0\u6CD5\u83B7\u53D6\u6570\u636E\u6E90 +xml.content-type.mustbe.multipart=Content-Type \u5FC5\u987B\u662F\u201C\u591A\u90E8\u5206/\u76F8\u5173\u201D\u5E76\u5E26\u6709 type=text/xml +xml.invalid.content-type=Content-Type \u65E0\u6548: {0} +xml.Content-Type.parse.err=\u89E3\u6790 Content-Type \u7684 MimeHeaders \u65F6\u51FA\u9519 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/resources/xmlmessage_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,36 @@ +# +# 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. +# + +xml.null.headers=\u5F15\u6578\u7121\u6548. MimeHeaders=null +xml.no.Content-Type=MimeHeaders \u672A\u5305\u542B Content-Type \u6A19\u982D +xml.unknown.Content-Type=\u7121\u6CD5\u8FA8\u8B58\u7684 Content-Type +xml.cannot.internalize.message=\u7121\u6CD5\u5EFA\u7ACB XMLMessage +xml.root.part.invalid.Content-Type= \u6839\u76EE\u9304\u90E8\u5206\u7684 Content-Type \u932F\u8AA4 : {0} +xml.get.source.err=\u7121\u6CD5\u50B3\u56DE\u4F86\u6E90 +xml.set.payload.err=\u7121\u6CD5\u5728 XMLMessage \u4E2D\u8A2D\u5B9A\u6709\u6548\u8CA0\u8F09 (Payload) +xml.get.ds.err=\u7121\u6CD5\u53D6\u5F97\u8CC7\u6599\u4F86\u6E90 +xml.content-type.mustbe.multipart=Content-Type \u5FC5\u9808\u662F Multipart/Related \u548C type=text/xml +xml.invalid.content-type=Content-Type \u7121\u6548: {0} +xml.Content-Type.parse.err=\u5256\u6790 Content-Type \u7684 MimeHeaders \u6642\u767C\u751F\u932F\u8AA4 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/MetroConfig.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/MetroConfig.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,185 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + * + * The root element in Metro configuration file. + * + * + *

    Java class for metro element declaration. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <element name="metro">
    + *   <complexType>
    + *     <complexContent>
    + *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *         <sequence>
    + *           <element ref="{http://java.sun.com/xml/ns/metro/config}tubelines" minOccurs="0"/>
    + *           <any/>
    + *         </sequence>
    + *         <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/metro/config}metroConfigVersionSType" />
    + *       </restriction>
    + *     </complexContent>
    + *   </complexType>
    + * </element>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tubelines", + "any" +}) +@XmlRootElement(name = "metro") +public class MetroConfig { + + protected Tubelines tubelines; + @XmlAnyElement(lax = true) + protected List any; + @XmlAttribute(required = true) + protected String version; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the tubelines property. + * + * @return + * possible object is + * {@link Tubelines } + * + */ + public Tubelines getTubelines() { + return tubelines; + } + + /** + * Sets the value of the tubelines property. + * + * @param value + * allowed object is + * {@link Tubelines } + * + */ + public void setTubelines(Tubelines value) { + this.tubelines = value; + } + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/ObjectFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/ObjectFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,145 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.sun.xml.internal.ws.runtime.config package. + *

    An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Tubelines_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubelines"); + private final static QName _TubelineMapping_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubeline-mapping"); + private final static QName _Tubeline_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubeline"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.internal.ws.runtime.config + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link TubeFactoryConfig } + * + */ + public TubeFactoryConfig createTubeFactoryConfig() { + return new TubeFactoryConfig(); + } + + /** + * Create an instance of {@link TubeFactoryList } + * + */ + public TubeFactoryList createTubeFactoryList() { + return new TubeFactoryList(); + } + + /** + * Create an instance of {@link TubelineDefinition } + * + */ + public TubelineDefinition createTubelineDefinition() { + return new TubelineDefinition(); + } + + /** + * Create an instance of {@link Tubelines } + * + */ + public Tubelines createTubelines() { + return new Tubelines(); + } + + /** + * Create an instance of {@link MetroConfig } + * + */ + public MetroConfig createMetroConfig() { + return new MetroConfig(); + } + + /** + * Create an instance of {@link TubelineMapping } + * + */ + public TubelineMapping createTubelineMapping() { + return new TubelineMapping(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Tubelines }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubelines") + public JAXBElement createTubelines(Tubelines value) { + return new JAXBElement(_Tubelines_QNAME, Tubelines.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TubelineMapping }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubeline-mapping") + public JAXBElement createTubelineMapping(TubelineMapping value) { + return new JAXBElement(_TubelineMapping_QNAME, TubelineMapping.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TubelineDefinition }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubeline") + public JAXBElement createTubeline(TubelineDefinition value) { + return new JAXBElement(_Tubeline_QNAME, TubelineDefinition.class, null, value); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubeFactoryConfig.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubeFactoryConfig.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,151 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + *

    Java class for tubeFactoryCType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <complexType name="tubeFactoryCType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <any/>
    + *       </sequence>
    + *       <attribute name="className" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "tubeFactoryCType", propOrder = { + "any" +}) +public class TubeFactoryConfig { + + @XmlAnyElement(lax = true) + protected List any; + @XmlAttribute(required = true) + protected String className; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets the value of the className property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassName() { + return className; + } + + /** + * Sets the value of the className property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassName(String value) { + this.className = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubeFactoryList.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubeFactoryList.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,157 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + *

    Java class for tubeFactoryListCType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <complexType name="tubeFactoryListCType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <element name="tube-factory" type="{http://java.sun.com/xml/ns/metro/config}tubeFactoryCType" maxOccurs="unbounded"/>
    + *         <any/>
    + *       </sequence>
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "tubeFactoryListCType", propOrder = { + "tubeFactoryConfigs", + "any" +}) +public class TubeFactoryList { + + @XmlElement(name = "tube-factory", required = true) + protected List tubeFactoryConfigs; + @XmlAnyElement(lax = true) + protected List any; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the tubeFactoryConfigs property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the tubeFactoryConfigs property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getTubeFactoryConfigs().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link TubeFactoryConfig } + * + * + */ + public List getTubeFactoryConfigs() { + if (tubeFactoryConfigs == null) { + tubeFactoryConfigs = new ArrayList(); + } + return this.tubeFactoryConfigs; + } + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineDefinition.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineDefinition.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,212 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + *

    Java class for tubelineDefinitionCType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <complexType name="tubelineDefinitionCType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <element name="client-side" type="{http://java.sun.com/xml/ns/metro/config}tubeFactoryListCType" minOccurs="0"/>
    + *         <element name="endpoint-side" type="{http://java.sun.com/xml/ns/metro/config}tubeFactoryListCType" minOccurs="0"/>
    + *         <any/>
    + *       </sequence>
    + *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}ID" />
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "tubelineDefinitionCType", propOrder = { + "clientSide", + "endpointSide", + "any" +}) +public class TubelineDefinition { + + @XmlElement(name = "client-side") + protected TubeFactoryList clientSide; + @XmlElement(name = "endpoint-side") + protected TubeFactoryList endpointSide; + @XmlAnyElement(lax = true) + protected List any; + @XmlAttribute + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String name; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the clientSide property. + * + * @return + * possible object is + * {@link TubeFactoryList } + * + */ + public TubeFactoryList getClientSide() { + return clientSide; + } + + /** + * Sets the value of the clientSide property. + * + * @param value + * allowed object is + * {@link TubeFactoryList } + * + */ + public void setClientSide(TubeFactoryList value) { + this.clientSide = value; + } + + /** + * Gets the value of the endpointSide property. + * + * @return + * possible object is + * {@link TubeFactoryList } + * + */ + public TubeFactoryList getEndpointSide() { + return endpointSide; + } + + /** + * Sets the value of the endpointSide property. + * + * @param value + * allowed object is + * {@link TubeFactoryList } + * + */ + public void setEndpointSide(TubeFactoryList value) { + this.endpointSide = value; + } + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineFeature.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,63 @@ +/* + * 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.runtime.config; + +import com.sun.xml.internal.ws.api.FeatureConstructor; +import com.sun.org.glassfish.gmbal.ManagedAttribute; +import com.sun.org.glassfish.gmbal.ManagedData; + +import javax.xml.ws.WebServiceFeature; +import java.util.List; + +/** + * WebServiceFeature for the Tubeline {@link javax.xml.ws.WebServiceFeature} + * + * @author Fabian Ritzmann + */ +@ManagedData +public class TubelineFeature extends WebServiceFeature { + + public static final String ID = "com.sun.xml.internal.ws.runtime.config.TubelineFeature"; + + @FeatureConstructor({ + "enabled" + }) + public TubelineFeature(boolean enabled) { + super.enabled = enabled; + } + + @Override + @ManagedAttribute + public String getID() { + return ID; + } + + // TODO implement + List getTubeFactories() { + return null; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineFeatureReader.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineFeatureReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,125 @@ +/* + * 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.runtime.config; + +import com.sun.istack.internal.logging.Logger; +import com.sun.xml.internal.ws.config.metro.dev.FeatureReader; +import com.sun.xml.internal.ws.config.metro.util.ParserUtil; + +import javax.xml.namespace.QName; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamConstants; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.events.Attribute; +import javax.xml.stream.events.EndElement; +import javax.xml.stream.events.StartElement; +import javax.xml.stream.events.XMLEvent; +import javax.xml.ws.WebServiceException; +import java.util.Iterator; + +/** + * + * @author Fabian Ritzmann + */ +public class TubelineFeatureReader implements FeatureReader { + + private static final Logger LOGGER = Logger.getLogger(TubelineFeatureReader.class); + private static final QName NAME_ATTRIBUTE_NAME = new QName("name"); + + // TODO implement + public TubelineFeature parse(XMLEventReader reader) throws WebServiceException { + try { + final StartElement element = reader.nextEvent().asStartElement(); + boolean attributeEnabled = true; + final Iterator iterator = element.getAttributes(); + while (iterator.hasNext()) { + final Attribute nextAttribute = (Attribute) iterator.next(); + final QName attributeName = nextAttribute.getName(); + if (ENABLED_ATTRIBUTE_NAME.equals(attributeName)) { + attributeEnabled = ParserUtil.parseBooleanValue(nextAttribute.getValue()); + } else if (NAME_ATTRIBUTE_NAME.equals(attributeName)) { + // TODO use name attribute + } else { + // TODO logging message + throw LOGGER.logSevereException(new WebServiceException("Unexpected attribute")); + } + } + return parseFactories(attributeEnabled, element, reader); + } catch (XMLStreamException e) { + throw LOGGER.logSevereException(new WebServiceException("Failed to unmarshal XML document", e)); + } + } + + private TubelineFeature parseFactories(final boolean enabled, final StartElement element, final XMLEventReader reader) + throws WebServiceException { + int elementRead = 0; + loop: + while (reader.hasNext()) { + try { + final XMLEvent event = reader.nextEvent(); + switch (event.getEventType()) { + case XMLStreamConstants.COMMENT: + break; // skipping the comments and start document events + case XMLStreamConstants.CHARACTERS: + if (event.asCharacters().isWhiteSpace()) { + break; + } + else { + // TODO: logging message + throw LOGGER.logSevereException(new WebServiceException("No character data allowed, was " + event.asCharacters())); + } + case XMLStreamConstants.START_ELEMENT: + // TODO implement + elementRead++; + break; + case XMLStreamConstants.END_ELEMENT: + elementRead--; + if (elementRead < 0) { + final EndElement endElement = event.asEndElement(); + if (!element.getName().equals(endElement.getName())) { + // TODO logging message + throw LOGGER.logSevereException(new WebServiceException("End element does not match " + endElement)); + } + break loop; + } + else { + break; + } + default: + // TODO logging message + throw LOGGER.logSevereException(new WebServiceException("Unexpected event, was " + event)); + } + } catch (XMLStreamException e) { + // TODO logging message + throw LOGGER.logSevereException(new WebServiceException("Failed to unmarshal XML document", e)); + } + } + + // TODO implement + return new TubelineFeature(enabled); + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineMapping.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineMapping.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,182 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + *

    Java class for tubelineMappingCType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <complexType name="tubelineMappingCType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <element name="endpoint-ref" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
    + *         <element name="tubeline-ref" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
    + *         <any/>
    + *       </sequence>
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "tubelineMappingCType", propOrder = { + "endpointRef", + "tubelineRef", + "any" +}) +public class TubelineMapping { + + @XmlElement(name = "endpoint-ref", required = true) + @XmlSchemaType(name = "anyURI") + protected String endpointRef; + @XmlElement(name = "tubeline-ref", required = true) + @XmlSchemaType(name = "anyURI") + protected String tubelineRef; + @XmlAnyElement(lax = true) + protected List any; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the endpointRef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEndpointRef() { + return endpointRef; + } + + /** + * Sets the value of the endpointRef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEndpointRef(String value) { + this.endpointRef = value; + } + + /** + * Gets the value of the tubelineRef property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTubelineRef() { + return tubelineRef; + } + + /** + * Sets the value of the tubelineRef property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTubelineRef(String value) { + this.tubelineRef = value; + } + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/Tubelines.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/Tubelines.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,218 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + + +package com.sun.xml.internal.ws.runtime.config; + +import org.w3c.dom.Element; + +import javax.xml.bind.annotation.*; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + + +/** + *

    Java class for tubelinesConfigCType complex type. + * + *

    The following schema fragment specifies the expected content contained within this class. + * + *

    + * <complexType name="tubelinesConfigCType">
    + *   <complexContent>
    + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    + *       <sequence>
    + *         <element ref="{http://java.sun.com/xml/ns/metro/config}tubeline-mapping" maxOccurs="unbounded" minOccurs="0"/>
    + *         <element ref="{http://java.sun.com/xml/ns/metro/config}tubeline" maxOccurs="unbounded" minOccurs="0"/>
    + *         <any/>
    + *       </sequence>
    + *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
    + *     </restriction>
    + *   </complexContent>
    + * </complexType>
    + * 
    + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "tubelinesConfigCType", propOrder = { + "tubelineMappings", + "tubelineDefinitions", + "any" +}) +public class Tubelines { + + @XmlElement(name = "tubeline-mapping") + protected List tubelineMappings; + @XmlElement(name = "tubeline") + protected List tubelineDefinitions; + @XmlAnyElement(lax = true) + protected List any; + @XmlAttribute(name = "default") + @XmlSchemaType(name = "anyURI") + protected String _default; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); + + /** + * Gets the value of the tubelineMappings property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the tubelineMappings property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getTubelineMappings().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link TubelineMapping } + * + * + */ + public List getTubelineMappings() { + if (tubelineMappings == null) { + tubelineMappings = new ArrayList(); + } + return this.tubelineMappings; + } + + /** + * Gets the value of the tubelineDefinitions property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the tubelineDefinitions property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getTubelineDefinitions().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link TubelineDefinition } + * + * + */ + public List getTubelineDefinitions() { + if (tubelineDefinitions == null) { + tubelineDefinitions = new ArrayList(); + } + return this.tubelineDefinitions; + } + + /** + * Gets the value of the any property. + * + *

    + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

    + * For example, to add a new item, do as follows: + *

    +     *    getAny().add(newItem);
    +     * 
    + * + * + *

    + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets the value of the default property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDefault() { + return _default; + } + + /** + * Sets the value of the default property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDefault(String value) { + this._default = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

    + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/package-info.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,34 @@ +/* + * Copyright (c) 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. + */ + +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2008.11.17 at 11:49:55 AM CET +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://java.sun.com/xml/ns/metro/config", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.sun.xml.internal.ws.runtime.config; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractMultiInstanceResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractMultiInstanceResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractMultiInstanceResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractWebServiceContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractWebServiceContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/AbstractWebServiceContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,6 +28,7 @@ import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.api.server.WSWebServiceContext; +import com.sun.xml.internal.ws.server.provider.AsyncProviderInvokerTube; import com.sun.istack.internal.NotNull; import org.w3c.dom.Element; @@ -41,7 +42,8 @@ * {@link Packet} and concrete implementations provide it via * {@link #getRequestPacket()}. * - * @see InvokerTube, AsyncProviderInvokerTube + * @see InvokerTube, + * @see AsyncProviderInvokerTube * * @author Jitendra Kotamraju */ @@ -91,7 +93,7 @@ if(endpoint.getServiceDefinition() != null) { wsdlAddress = packet.webServiceContextDelegate.getWSDLAddress(packet,endpoint); } - return clazz.cast(((WSEndpointImpl)endpoint).getEndpointReference(clazz,address,wsdlAddress, referenceParameters)); + return clazz.cast(endpoint.getEndpointReference(clazz,address,wsdlAddress, referenceParameters)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,9 +26,9 @@ package com.sun.xml.internal.ws.server; import com.sun.istack.internal.NotNull; -import com.sun.xml.internal.ws.api.server.AbstractInstanceResolver; import com.sun.xml.internal.ws.api.server.ResourceInjector; import com.sun.xml.internal.ws.api.server.WSWebServiceContext; +import com.sun.xml.internal.ws.util.InjectionPlan; import javax.xml.ws.WebServiceContext; @@ -40,7 +40,7 @@ */ public final class DefaultResourceInjector extends ResourceInjector { public void inject(@NotNull WSWebServiceContext context, @NotNull Object instance) { - AbstractInstanceResolver.buildInjectionPlan( + InjectionPlan.buildInjectionPlan( instance.getClass(),WebServiceContext.class,false).inject(instance,context); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/DraconianValidationErrorHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DraconianValidationErrorHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DraconianValidationErrorHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointAwareTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointAwareTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointAwareTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -27,17 +27,27 @@ import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.stream.buffer.MutableXMLStreamBuffer; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.policy.PolicyResolverFactory; -import com.sun.xml.internal.ws.api.policy.PolicyResolver; +import com.sun.xml.internal.ws.api.WSFeatureList; +import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; +import com.sun.xml.internal.ws.api.databinding.DatabindingFactory; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.databinding.WSDLGenInfo; -import com.sun.xml.internal.ws.api.databinding.DatabindingFactory; -import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.api.pipe.Tube; -import com.sun.xml.internal.ws.api.server.*; +import com.sun.xml.internal.ws.api.policy.PolicyResolver; +import com.sun.xml.internal.ws.api.policy.PolicyResolverFactory; +import com.sun.xml.internal.ws.api.server.AsyncProvider; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ContainerResolver; +import com.sun.xml.internal.ws.api.server.InstanceResolver; +import com.sun.xml.internal.ws.api.server.Invoker; +import com.sun.xml.internal.ws.api.server.SDDocument; +import com.sun.xml.internal.ws.api.server.SDDocumentSource; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension; import com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver; import com.sun.xml.internal.ws.api.wsdl.parser.XMLEntityResolver.Parser; @@ -46,11 +56,14 @@ import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import com.sun.xml.internal.ws.binding.WebServiceFeatureList; import com.sun.xml.internal.ws.model.AbstractSEIModelImpl; +import com.sun.xml.internal.ws.model.ReflectAnnotationReader; import com.sun.xml.internal.ws.model.RuntimeModeler; import com.sun.xml.internal.ws.model.SOAPSEIModel; import com.sun.xml.internal.ws.model.wsdl.WSDLModelImpl; import com.sun.xml.internal.ws.model.wsdl.WSDLPortImpl; import com.sun.xml.internal.ws.model.wsdl.WSDLServiceImpl; +import com.sun.xml.internal.ws.policy.PolicyMap; +import com.sun.xml.internal.ws.policy.jaxws.PolicyUtil; import com.sun.xml.internal.ws.resources.ServerMessages; import com.sun.xml.internal.ws.server.provider.ProviderInvokerTube; import com.sun.xml.internal.ws.server.sei.SEIInvokerTube; @@ -58,20 +71,20 @@ import com.sun.xml.internal.ws.util.HandlerAnnotationProcessor; import com.sun.xml.internal.ws.util.ServiceConfigurationError; import com.sun.xml.internal.ws.util.ServiceFinder; +import com.sun.xml.internal.ws.util.xml.XmlUtil; import com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser; -import com.sun.xml.internal.ws.wsdl.writer.WSDLGenerator; -import com.sun.xml.internal.ws.policy.PolicyMap; -import com.sun.xml.internal.ws.policy.jaxws.PolicyUtil; import org.xml.sax.EntityResolver; +import org.xml.sax.InputSource; import org.xml.sax.SAXException; import javax.jws.WebService; import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamReader; import javax.xml.ws.Provider; import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; import javax.xml.ws.WebServiceProvider; -import javax.xml.ws.WebServiceFeature; import javax.xml.ws.soap.SOAPBinding; import java.io.IOException; import java.net.URL; @@ -165,8 +178,10 @@ if(implType ==null) throw new IllegalArgumentException(); + MetadataReader metadataReader = getExternalMetadatReader(implType, binding); + if (isStandard) { - verifyImplementorClass(implType); + verifyImplementorClass(implType, metadataReader); } if (invoker == null) { @@ -184,10 +199,10 @@ container = ContainerResolver.getInstance().getContainer(); if(serviceName==null) - serviceName = getDefaultServiceName(implType); + serviceName = getDefaultServiceName(implType, metadataReader); if(portName==null) - portName = getDefaultPortName(serviceName,implType); + portName = getDefaultPortName(serviceName,implType, metadataReader); {// error check String serviceNS = serviceName.getNamespaceURI(); @@ -207,21 +222,21 @@ QName portTypeName = null; if (isStandard && implType.getAnnotation(WebServiceProvider.class)==null) { - portTypeName = RuntimeModeler.getPortTypeName(implType); + portTypeName = RuntimeModeler.getPortTypeName(implType, metadataReader); } // Categorises the documents as WSDL, Schema etc List docList = categoriseMetadata(md, serviceName, portTypeName); // Finds the primary WSDL and makes sure that metadata doesn't have // two concrete or abstract WSDLs - SDDocumentImpl primaryDoc = findPrimary(docList); + SDDocumentImpl primaryDoc = primaryWsdl != null ? SDDocumentImpl.create(primaryWsdl,serviceName,portTypeName) : findPrimary(docList); EndpointAwareTube terminal; WSDLPortImpl wsdlPort = null; AbstractSEIModelImpl seiModel = null; // create WSDL model if (primaryDoc != null) { - wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container); + wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container, resolver); } WebServiceFeatureList features=((BindingImpl)binding).getFeatures(); @@ -247,7 +262,7 @@ configFtrs = PolicyUtil.getPortScopedFeatures(policyMap,serviceName,portName); } features.mergeFeatures(configFtrs, true); - terminal = createProviderInvokerTube(implType,binding,invoker); + terminal = createProviderInvokerTube(implType, binding, invoker, container); } else { // Create runtime model for non Provider endpoints seiModel = createSEIModel(wsdlPort, implType, serviceName, portName, binding); @@ -260,7 +275,7 @@ if (primaryDoc == null) { primaryDoc = generateWSDL(binding, seiModel, docList, container, implType); // create WSDL model - wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container); + wsdlPort = getWSDLPort(primaryDoc, docList, serviceName, portName, container, resolver); seiModel.freeze(wsdlPort); } policyMap = wsdlPort.getOwner().getParent().getPolicyMap(); @@ -277,8 +292,9 @@ } // Selects only required metadata for this endpoint from the passed-in metadata if (primaryDoc != null) { - docList = findMetadataClosure(primaryDoc, docList); + docList = findMetadataClosure(primaryDoc, docList, resolver); } + ServiceDefinitionImpl serviceDefiniton = (primaryDoc != null) ? new ServiceDefinitionImpl(docList, primaryDoc) : null; return create(serviceName, portName, binding, container, seiModel, wsdlPort, implType, serviceDefiniton, @@ -298,10 +314,10 @@ return new SEIInvokerTube(seiModel,invoker,binding); } - protected EndpointAwareTube createProviderInvokerTube(Class implType, WSBinding binding, Invoker invoker) { - return ProviderInvokerTube.create(implType, binding, invoker); + protected EndpointAwareTube createProviderInvokerTube(final Class implType, final WSBinding binding, + final Invoker invoker, final Container container) { + return ProviderInvokerTube.create(implType, binding, invoker, container); } - /** * Goes through the original metadata documents and collects the required ones. * This done traversing from primary WSDL and its imports until it builds a @@ -311,7 +327,7 @@ * @param docList complete metadata * @return new metadata that doesn't contain extraneous documnets. */ - private static List findMetadataClosure(SDDocumentImpl primaryDoc, List docList) { + private static List findMetadataClosure(SDDocumentImpl primaryDoc, List docList, EntityResolver resolver) { // create a map for old metadata Map oldMap = new HashMap(); for(SDDocumentImpl doc : docList) { @@ -328,10 +344,24 @@ SDDocumentImpl doc = oldMap.get(url); if (doc == null) { // old metadata doesn't have this imported doc, may be external - continue; + if (resolver != null) { + try { + InputSource source = resolver.resolveEntity(null, url); + if (source != null) { + MutableXMLStreamBuffer xsb = new MutableXMLStreamBuffer(); + XMLStreamReader reader = XmlUtil.newXMLInputFactory(true).createXMLStreamReader(source.getByteStream()); + xsb.createFromXMLStreamReader(reader); + + SDDocumentSource sdocSource = SDDocumentImpl.create(new URL(url), xsb); + doc = SDDocumentImpl.create(sdocSource, null, null); + } + } catch (Exception ex) { + ex.printStackTrace(); + } + } } // Check if new metadata already contains this doc - if (!newMap.containsKey(url)) { + if (doc != null && !newMap.containsKey(url)) { newMap.put(url, doc); remaining.addAll(doc.getImports()); } @@ -366,8 +396,29 @@ * If it has both @WebService and @WebServiceProvider annotations */ public static boolean verifyImplementorClass(Class clz) { - WebServiceProvider wsProvider = clz.getAnnotation(WebServiceProvider.class); - WebService ws = clz.getAnnotation(WebService.class); + return verifyImplementorClass(clz, null); + } + + /** + * Verifies if the endpoint implementor class has @WebService or @WebServiceProvider + * annotation; passing MetadataReader instance allows to read annotations from + * xml descriptor instead of class's annotations + * + * @return + * true if it is a Provider or AsyncProvider endpoint + * false otherwise + * @throws java.lang.IllegalArgumentException + * If it doesn't have any one of @WebService or @WebServiceProvider + * If it has both @WebService and @WebServiceProvider annotations + */ + public static boolean verifyImplementorClass(Class clz, MetadataReader metadataReader) { + + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } + + WebServiceProvider wsProvider = metadataReader.getAnnotation(WebServiceProvider.class, clz); + WebService ws = metadataReader.getAnnotation(WebService.class, clz); if (wsProvider == null && ws == null) { throw new IllegalArgumentException(clz +" has neither @WebService nor @WebServiceProvider annotation"); } @@ -415,10 +466,22 @@ // config.getMappingInfo().setBindingID(binding.getBindingId()); config.setClassLoader(implType.getClassLoader()); config.getMappingInfo().setPortName(portName); + + config.setMetadataReader(getExternalMetadatReader(implType, binding)); + com.sun.xml.internal.ws.db.DatabindingImpl rt = (com.sun.xml.internal.ws.db.DatabindingImpl)fac.createRuntime(config); return (AbstractSEIModelImpl) rt.getModel(); } + public static MetadataReader getExternalMetadatReader(Class implType, WSBinding binding) { + com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature ef = binding.getFeature( + com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature.class); + // TODO-Miran: would it be necessary to disable secure xml processing? + if (ef != null) + return ef.getMetadataReader(implType.getClassLoader(), false); + return null; + } + /** *Set the mtom enable setting from wsdl model (mtom policy assertion) on to @link WSBinding} if DD has * not already set it on BindingID. Also check conflicts. @@ -443,18 +506,29 @@ * @return non-null service name */ public static @NotNull QName getDefaultServiceName(Class implType) { - return getDefaultServiceName(implType, true); + return getDefaultServiceName(implType, null); + } + + public static @NotNull QName getDefaultServiceName(Class implType, MetadataReader metadataReader) { + return getDefaultServiceName(implType, true, metadataReader); } public static @NotNull QName getDefaultServiceName(Class implType, boolean isStandard) { + return getDefaultServiceName(implType, isStandard, null); + } + + public static @NotNull QName getDefaultServiceName(Class implType, boolean isStandard, MetadataReader metadataReader) { + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } QName serviceName; - WebServiceProvider wsProvider = implType.getAnnotation(WebServiceProvider.class); + WebServiceProvider wsProvider = metadataReader.getAnnotation(WebServiceProvider.class, implType); if (wsProvider!=null) { String tns = wsProvider.targetNamespace(); String local = wsProvider.serviceName(); serviceName = new QName(tns, local); } else { - serviceName = RuntimeModeler.getServiceName(implType, isStandard); + serviceName = RuntimeModeler.getServiceName(implType, metadataReader, isStandard); } assert serviceName != null; return serviceName; @@ -467,18 +541,29 @@ * @return non-null port name */ public static @NotNull QName getDefaultPortName(QName serviceName, Class implType) { - return getDefaultPortName(serviceName, implType, true); + return getDefaultPortName(serviceName, implType, null); + } + + public static @NotNull QName getDefaultPortName(QName serviceName, Class implType, MetadataReader metadataReader) { + return getDefaultPortName(serviceName, implType, true, metadataReader); } public static @NotNull QName getDefaultPortName(QName serviceName, Class implType, boolean isStandard) { + return getDefaultPortName(serviceName, implType, isStandard, null); + } + + public static @NotNull QName getDefaultPortName(QName serviceName, Class implType, boolean isStandard, MetadataReader metadataReader) { + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } QName portName; - WebServiceProvider wsProvider = implType.getAnnotation(WebServiceProvider.class); + WebServiceProvider wsProvider = metadataReader.getAnnotation(WebServiceProvider.class, implType); if (wsProvider!=null) { String tns = wsProvider.targetNamespace(); String local = wsProvider.portName(); portName = new QName(tns, local); } else { - portName = RuntimeModeler.getPortName(implType, serviceName.getNamespaceURI(), isStandard); + portName = RuntimeModeler.getPortName(implType, metadataReader, serviceName.getNamespaceURI(), isStandard); } assert portName != null; return portName; @@ -494,19 +579,39 @@ * @return wsdl if there is wsdlLocation, else null */ public static @Nullable String getWsdlLocation(Class implType) { - String wsdl; - WebService ws = implType.getAnnotation(WebService.class); + return getWsdlLocation(implType, new ReflectAnnotationReader()); + } + + /** + * Returns the wsdl from @WebService, or @WebServiceProvider annotation using + * wsdlLocation element. + * + * @param implType + * endpoint implementation class + * make sure that you called {@link #verifyImplementorClass} on it. + * @return wsdl if there is wsdlLocation, else null + */ + public static @Nullable String getWsdlLocation(Class implType, MetadataReader metadataReader) { + + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } + + WebService ws = metadataReader.getAnnotation(WebService.class, implType); if (ws != null) { - wsdl = ws.wsdlLocation(); + return nullIfEmpty(ws.wsdlLocation()); } else { WebServiceProvider wsProvider = implType.getAnnotation(WebServiceProvider.class); assert wsProvider != null; - wsdl = wsProvider.wsdlLocation(); + return nullIfEmpty(wsProvider.wsdlLocation()); } - if (wsdl.length() < 1) { - wsdl = null; + } + + private static String nullIfEmpty(String string) { + if (string.length() < 1) { + string = null; } - return wsdl; + return string; } /** @@ -532,6 +637,7 @@ wsdlGenInfo.setContainer(container); wsdlGenInfo.setExtensions(ServiceFinder.find(WSDLGeneratorExtension.class).toArray()); wsdlGenInfo.setInlineSchemas(false); + wsdlGenInfo.setSecureXmlProcessingDisabled(isSecureXmlProcessingDisabled(binding.getFeatures())); seiModel.getDatabinding().generateWSDL(wsdlGenInfo); // WSDLGenerator wsdlGen = new WSDLGenerator(seiModel, wsdlResolver, binding, container, implType, false, // ServiceFinder.find(WSDLGeneratorExtension.class).toArray()); @@ -539,6 +645,11 @@ return wsdlResolver.updateDocs(); } + private static boolean isSecureXmlProcessingDisabled(WSFeatureList featureList) { + // TODO-Miran: would it be necessary to disable secure xml processing? + return false; + } + /** * Builds {@link SDDocumentImpl} from {@link SDDocumentSource}. */ @@ -619,12 +730,13 @@ * @return non-null wsdl port object */ private static @NotNull WSDLPortImpl getWSDLPort(SDDocumentSource primaryWsdl, List metadata, - @NotNull QName serviceName, @NotNull QName portName, Container container) { + @NotNull QName serviceName, @NotNull QName portName, Container container, + EntityResolver resolver) { URL wsdlUrl = primaryWsdl.getSystemId(); try { // TODO: delegate to another entity resolver WSDLModelImpl wsdlDoc = RuntimeWSDLParser.parse( - new Parser(primaryWsdl), new EntityResolverImpl(metadata), + new Parser(primaryWsdl), new EntityResolverImpl(metadata, resolver), false, container, ServiceFinder.find(WSDLParserExtension.class).toArray()); if(wsdlDoc.getServices().size() == 0) { throw new ServerRtException(ServerMessages.localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(wsdlUrl)); @@ -654,11 +766,13 @@ */ private static final class EntityResolverImpl implements XMLEntityResolver { private Map metadata = new HashMap(); + private EntityResolver resolver; - public EntityResolverImpl(List metadata) { + public EntityResolverImpl(List metadata, EntityResolver resolver) { for (SDDocumentSource doc : metadata) { this.metadata.put(doc.getSystemId().toExternalForm(),doc); } + this.resolver = resolver; } public Parser resolveEntity (String publicId, String systemId) throws IOException, XMLStreamException { @@ -667,6 +781,17 @@ if (doc != null) return new Parser(doc); } + if (resolver != null) { + try { + InputSource source = resolver.resolveEntity(publicId, systemId); + if (source != null) { + Parser p = new Parser(null, XMLStreamReaderFactory.create(source, true)); + return p; + } + } catch (SAXException e) { + throw new XMLStreamException(e); + } + } return null; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointMessageContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointMessageContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/EndpointMessageContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -51,7 +51,6 @@ * * @author Jitendra Kotamraju */ -@SuppressWarnings({"SuspiciousMethodCalls"}) public final class EndpointMessageContextImpl extends AbstractMap implements MessageContext { /** @@ -69,6 +68,7 @@ } @Override + @SuppressWarnings("element-type-mismatch") public Object get(Object key) { if (packet.supports(key)) { return packet.get(key); // strongly typed @@ -113,6 +113,7 @@ } @Override + @SuppressWarnings("element-type-mismatch") public Object remove(Object key) { if (packet.supports(key)) { return packet.remove(key); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/InvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/InvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/InvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorBase.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,14 +26,11 @@ package com.sun.xml.internal.ws.server; import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.config.management.policy.ManagedClientAssertion; import com.sun.xml.internal.ws.api.config.management.policy.ManagedServiceAssertion; import com.sun.xml.internal.ws.api.config.management.policy.ManagementAssertion.Setting; -import com.sun.xml.internal.ws.api.server.BoundEndpoint; import com.sun.xml.internal.ws.api.server.Container; -import com.sun.xml.internal.ws.api.server.Module; import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.client.Stub; import com.sun.org.glassfish.external.amx.AMXGlassfish; @@ -45,16 +42,11 @@ import com.sun.org.glassfish.gmbal.ManagedObjectManagerFactory; import java.io.IOException; import java.lang.reflect.*; -import java.net.URL; -import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; -import javax.management.ObjectName; -import javax.xml.namespace.QName; // BEGIN IMPORTS FOR RewritingMOM import java.util.ResourceBundle ; -import java.io.Closeable ; import java.lang.reflect.AnnotatedElement ; import java.lang.annotation.Annotation ; import javax.management.ObjectName ; @@ -276,7 +268,7 @@ ObjectName ignoredName = mom.getObjectName(mom.getRoot()); // The name is null when the MOM is a NOOP. if (ignoredName != null) { - logger.log(Level.INFO, "Metro monitoring rootname successfully set to: " + ignoredName); + logger.log(Level.INFO, "Metro monitoring rootname successfully set to: {0}", ignoredName); } return mom; } @@ -300,19 +292,6 @@ } } - public static void closeMOM(ManagedObjectManager mom) { - try { - final ObjectName name = mom.getObjectName(mom.getRoot()); - // The name is null when the MOM is a NOOP. - if (name != null) { - logger.log(Level.INFO, "Closing Metro monitoring root: " + name); - } - mom.close(); - } catch (java.io.IOException e) { - logger.log(Level.WARNING, "Ignoring error when closing Managed Object Manager", e); - } - } - private static Setting clientMonitoring = Setting.NOT_SET; private static Setting endpointMonitoring = Setting.NOT_SET; private static int typelibDebug = -1; @@ -382,7 +361,6 @@ private final ManagedObjectManager mom; private final static String gmbalQuotingCharsRegex = "\n|\\|\"|\\*|\\?|:|=|,"; - private final static String jmxQuotingCharsRegex = ",|=|:|\""; private final static String replacementChar = "-"; RewritingMOM(final ManagedObjectManager mom) { this.mom = mom; } @@ -393,42 +371,42 @@ // The interface - public void suspendJMXRegistration() { mom.suspendJMXRegistration(); } - public void resumeJMXRegistration() { mom.resumeJMXRegistration(); } - public GmbalMBean createRoot() { return mom.createRoot(); } - public GmbalMBean createRoot(Object root) { return mom.createRoot(root); } - public GmbalMBean createRoot(Object root, String name) { + @Override public void suspendJMXRegistration() { mom.suspendJMXRegistration(); } + @Override public void resumeJMXRegistration() { mom.resumeJMXRegistration(); } + @Override public GmbalMBean createRoot() { return mom.createRoot(); } + @Override public GmbalMBean createRoot(Object root) { return mom.createRoot(root); } + @Override public GmbalMBean createRoot(Object root, String name) { return mom.createRoot(root, rewrite(name)); } - public Object getRoot() { return mom.getRoot(); } - public GmbalMBean register(Object parent, Object obj, String name) { + @Override public Object getRoot() { return mom.getRoot(); } + @Override public GmbalMBean register(Object parent, Object obj, String name) { return mom.register(parent, obj, rewrite(name)); } - public GmbalMBean register(Object parent, Object obj) { return mom.register(parent, obj);} - public GmbalMBean registerAtRoot(Object obj, String name) { + @Override public GmbalMBean register(Object parent, Object obj) { return mom.register(parent, obj);} + @Override public GmbalMBean registerAtRoot(Object obj, String name) { return mom.registerAtRoot(obj, rewrite(name)); } - public GmbalMBean registerAtRoot(Object obj) { return mom.registerAtRoot(obj); } - public void unregister(Object obj) { mom.unregister(obj); } - public ObjectName getObjectName(Object obj) { return mom.getObjectName(obj); } - public AMXClient getAMXClient(Object obj) { return mom.getAMXClient(obj); } - public Object getObject(ObjectName oname) { return mom.getObject(oname); } - public void stripPrefix(String... str) { mom.stripPrefix(str); } - public void stripPackagePrefix() { mom.stripPackagePrefix(); } - public String getDomain() { return mom.getDomain(); } - public void setMBeanServer(MBeanServer server){mom.setMBeanServer(server); } - public MBeanServer getMBeanServer() { return mom.getMBeanServer(); } - public void setResourceBundle(ResourceBundle rb) { mom.setResourceBundle(rb); } - public ResourceBundle getResourceBundle() { return mom.getResourceBundle(); } - public void addAnnotation(AnnotatedElement element, Annotation annotation) { mom.addAnnotation(element, annotation); } - public void setRegistrationDebug(RegistrationDebugLevel level) { mom.setRegistrationDebug(level); } - public void setRuntimeDebug(boolean flag) { mom.setRuntimeDebug(flag); } - public void setTypelibDebug(int level) { mom.setTypelibDebug(level); } - public String dumpSkeleton(Object obj) { return mom.dumpSkeleton(obj); } - public void suppressDuplicateRootReport(boolean suppressReport) { mom.suppressDuplicateRootReport(suppressReport); } - public void close() throws IOException { mom.close(); } - public void setJMXRegistrationDebug(boolean x) { mom.setJMXRegistrationDebug(x); } - public boolean isManagedObject(Object x) { return mom.isManagedObject(x); } + @Override public GmbalMBean registerAtRoot(Object obj) { return mom.registerAtRoot(obj); } + @Override public void unregister(Object obj) { mom.unregister(obj); } + @Override public ObjectName getObjectName(Object obj) { return mom.getObjectName(obj); } + @Override public AMXClient getAMXClient(Object obj) { return mom.getAMXClient(obj); } + @Override public Object getObject(ObjectName oname) { return mom.getObject(oname); } + @Override public void stripPrefix(String... str) { mom.stripPrefix(str); } + @Override public void stripPackagePrefix() { mom.stripPackagePrefix(); } + @Override public String getDomain() { return mom.getDomain(); } + @Override public void setMBeanServer(MBeanServer server){mom.setMBeanServer(server); } + @Override public MBeanServer getMBeanServer() { return mom.getMBeanServer(); } + @Override public void setResourceBundle(ResourceBundle rb) { mom.setResourceBundle(rb); } + @Override public ResourceBundle getResourceBundle() { return mom.getResourceBundle(); } + @Override public void addAnnotation(AnnotatedElement element, Annotation annotation) { mom.addAnnotation(element, annotation); } + @Override public void setRegistrationDebug(RegistrationDebugLevel level) { mom.setRegistrationDebug(level); } + @Override public void setRuntimeDebug(boolean flag) { mom.setRuntimeDebug(flag); } + @Override public void setTypelibDebug(int level) { mom.setTypelibDebug(level); } + @Override public String dumpSkeleton(Object obj) { return mom.dumpSkeleton(obj); } + @Override public void suppressDuplicateRootReport(boolean suppressReport) { mom.suppressDuplicateRootReport(suppressReport); } + @Override public void close() throws IOException { mom.close(); } + @Override public void setJMXRegistrationDebug(boolean x) { mom.setJMXRegistrationDebug(x); } + @Override public boolean isManagedObject(Object x) { return mom.isManagedObject(x); } } // End of file. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorRootService.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorRootService.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/MonitorRootService.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,63 +26,20 @@ package com.sun.xml.internal.ws.server; import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.WSFeatureList; -import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; -import com.sun.xml.internal.ws.api.addressing.WSEndpointReference; -import com.sun.xml.internal.ws.api.message.Message; -import com.sun.xml.internal.ws.api.message.Packet; -import com.sun.xml.internal.ws.api.model.SEIModel; -import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; -import com.sun.xml.internal.ws.api.model.wsdl.WSDLService; -import com.sun.xml.internal.ws.api.pipe.Codec; -import com.sun.xml.internal.ws.api.pipe.Engine; -import com.sun.xml.internal.ws.api.pipe.Fiber; -import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; -import com.sun.xml.internal.ws.api.pipe.ServerPipeAssemblerContext; -import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; -import com.sun.xml.internal.ws.api.pipe.Tube; -import com.sun.xml.internal.ws.api.pipe.TubeCloner; -import com.sun.xml.internal.ws.api.pipe.TubelineAssembler; -import com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory; import com.sun.xml.internal.ws.api.server.*; -import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; -import com.sun.xml.internal.ws.model.wsdl.WSDLProperties; -import com.sun.xml.internal.ws.model.wsdl.WSDLPortImpl; -import com.sun.xml.internal.ws.resources.HandlerMessages; import com.sun.xml.internal.ws.transport.http.HttpAdapter; import com.sun.xml.internal.ws.util.RuntimeVersion; -import com.sun.org.glassfish.external.amx.AMXGlassfish; import com.sun.org.glassfish.gmbal.AMXMetadata; import com.sun.org.glassfish.gmbal.Description; -import com.sun.org.glassfish.gmbal.InheritedAttribute; -import com.sun.org.glassfish.gmbal.InheritedAttributes; import com.sun.org.glassfish.gmbal.ManagedAttribute; -import com.sun.org.glassfish.gmbal.ManagedData; import com.sun.org.glassfish.gmbal.ManagedObject; -import com.sun.org.glassfish.gmbal.ManagedObjectManager; -import com.sun.org.glassfish.gmbal.ManagedObjectManagerFactory; import java.net.URL; -import javax.management.ObjectName; - - -import javax.annotation.PreDestroy; import javax.xml.namespace.QName; -import javax.xml.ws.EndpointReference; -import javax.xml.ws.WebServiceException; -import javax.xml.ws.handler.Handler; -import javax.xml.stream.XMLStreamException; -import javax.management.InstanceAlreadyExistsException; -import java.lang.reflect.Method; import java.util.*; -import java.util.concurrent.Executor; -import java.util.logging.Level; -import java.util.logging.Logger; /** * @author Harold Carr @@ -129,28 +86,6 @@ } // - // Items from assembler context - // - /* NOTE: These are not ready when the AMX Validator runs so NPE. - @ManagedAttribute - @Description("The last tube in the dispatch chain") - public @NotNull Tube terminalTube() { - return endpoint.getAssemblerContext().getTerminalTube(); - } - - @ManagedAttribute - @Description("True if tubeline is known to be used for serving synchronous transport") - public boolean synchronous() { - return endpoint.getAssemblerContext().isSynchronous(); - } - - @ManagedAttribute - @Description("") - public String codecMimeType() { - return endpoint.getAssemblerContext().getCodec().getMimeType(); - } - */ - // // Items from WSBinding // @@ -246,7 +181,7 @@ @ManagedAttribute @Description("Show what goes across HTTP transport") - public void dumpHTTPMessages(final boolean x) { HttpAdapter.dump = x; } + public void dumpHTTPMessages(final boolean x) { HttpAdapter.setDump(x); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/SDDocumentImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/SDDocumentImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/SDDocumentImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerPropertyConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerPropertyConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerPropertyConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerRtException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerRtException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerRtException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.server; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** */ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerSchemaValidationTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerSchemaValidationTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServerSchemaValidationTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServiceDefinitionImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServiceDefinitionImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ServiceDefinitionImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/SingletonResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/SingletonResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/SingletonResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/UnsupportedMediaException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/UnsupportedMediaException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/UnsupportedMediaException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSDLGenResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSDLGenResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSDLGenResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,7 +30,6 @@ import com.sun.xml.internal.stream.buffer.XMLStreamBufferResult; import com.sun.xml.internal.ws.api.server.SDDocument; import com.sun.xml.internal.ws.api.server.SDDocumentSource; -import com.sun.xml.internal.ws.wsdl.writer.WSDLResolver; import javax.xml.namespace.QName; import javax.xml.transform.Result; @@ -49,7 +48,7 @@ * * @author Jitendra Kotamraju */ -final class WSDLGenResolver implements WSDLResolver { +final class WSDLGenResolver implements com.oracle.webservices.internal.api.databinding.WSDLResolver { private final List docs; private final List newDocs = new ArrayList(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,6 +32,7 @@ import com.sun.xml.internal.ws.addressing.WSEPRExtension; import com.sun.xml.internal.ws.api.Component; import com.sun.xml.internal.ws.api.ComponentFeature; +import com.sun.xml.internal.ws.api.ComponentsFeature; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; @@ -40,25 +41,8 @@ import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.SEIModel; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; -import com.sun.xml.internal.ws.api.pipe.Codec; -import com.sun.xml.internal.ws.api.pipe.Engine; -import com.sun.xml.internal.ws.api.pipe.Fiber; -import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; -import com.sun.xml.internal.ws.api.pipe.ServerPipeAssemblerContext; -import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; -import com.sun.xml.internal.ws.api.pipe.SyncStartForAsyncFeature; -import com.sun.xml.internal.ws.api.pipe.Tube; -import com.sun.xml.internal.ws.api.pipe.TubeCloner; -import com.sun.xml.internal.ws.api.pipe.TubelineAssembler; -import com.sun.xml.internal.ws.api.pipe.TubelineAssemblerFactory; -import com.sun.xml.internal.ws.api.server.Container; -import com.sun.xml.internal.ws.api.server.EndpointAwareCodec; -import com.sun.xml.internal.ws.api.server.EndpointComponent; -import com.sun.xml.internal.ws.api.server.EndpointReferenceExtensionContributor; -import com.sun.xml.internal.ws.api.server.LazyMOMProvider; -import com.sun.xml.internal.ws.api.server.TransportBackChannel; -import com.sun.xml.internal.ws.api.server.WSEndpoint; -import com.sun.xml.internal.ws.api.server.WebServiceContextDelegate; +import com.sun.xml.internal.ws.api.pipe.*; +import com.sun.xml.internal.ws.api.server.*; import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import com.sun.xml.internal.ws.model.wsdl.WSDLDirectProperties; @@ -81,18 +65,12 @@ import javax.xml.ws.WebServiceException; import javax.xml.ws.handler.Handler; import java.lang.reflect.Method; -import java.util.Arrays; -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; +import java.util.*; import java.util.concurrent.CopyOnWriteArraySet; import java.util.concurrent.Executor; import java.util.logging.Level; import java.util.logging.Logger; +import javax.management.ObjectName; /** * {@link WSEndpoint} implementation. @@ -101,41 +79,42 @@ * @author Jitendra Kotamraju */ public /*final*/ class WSEndpointImpl extends WSEndpoint implements LazyMOMProvider.WSEndpointScopeChangeListener { - private static final Logger LOGGER = Logger.getLogger(WSEndpointImpl.class.getName()); + + private static final Logger logger = Logger.getLogger(com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".server.endpoint"); private final @NotNull QName serviceName; private final @NotNull QName portName; - protected final WSBinding binding; - private final SEIModel seiModel; + protected final WSBinding binding; + private final SEIModel seiModel; private final @NotNull Container container; - private final WSDLPort port; + private final WSDLPort port; - protected final Tube masterTubeline; - private final ServiceDefinitionImpl serviceDef; - private final SOAPVersion soapVersion; - private final Engine engine; + protected final Tube masterTubeline; + private final ServiceDefinitionImpl serviceDef; + private final SOAPVersion soapVersion; + private final Engine engine; private final @NotNull Codec masterCodec; private final @NotNull PolicyMap endpointPolicy; - private final Pool tubePool; + private final Pool tubePool; private final OperationDispatcher operationDispatcher; - private @NotNull ManagedObjectManager managedObjectManager; - private boolean managedObjectManagerClosed = false; - private Object managedObjectManagerLock = new Object(); - private LazyMOMProvider.Scope lazyMOMProviderScope = LazyMOMProvider.Scope.STANDALONE; + private @NotNull ManagedObjectManager managedObjectManager; + private boolean managedObjectManagerClosed = false; + private final Object managedObjectManagerLock = new Object(); + private LazyMOMProvider.Scope lazyMOMProviderScope = LazyMOMProvider.Scope.STANDALONE; private final @NotNull ServerTubeAssemblerContext context; private Map endpointReferenceExtensions = new HashMap(); - /** - * Set to true once we start shutting down this endpoint. - * Used to avoid running the clean up processing twice. - * - * @see #dispose() - */ - private boolean disposed; - - private final Class implementationClass; - private final @NotNull WSDLProperties wsdlProperties; - private final Set componentRegistry = new CopyOnWriteArraySet(); + /** + * Set to true once we start shutting down this endpoint. Used to avoid + * running the clean up processing twice. + * + * @see #dispose() + */ + private boolean disposed; + private final Class implementationClass; + private final @NotNull + WSDLProperties wsdlProperties; + private final Set componentRegistry = new CopyOnWriteArraySet(); protected WSEndpointImpl(@NotNull QName serviceName, @NotNull QName portName, WSBinding binding, Container container, SEIModel seiModel, WSDLPort port, @@ -157,44 +136,60 @@ LazyMOMProvider.INSTANCE.registerEndpoint(this); initManagedObjectManager(); - if (serviceDef != null) { - serviceDef.setOwner(this); - } + if (serviceDef != null) { + serviceDef.setOwner(this); + } - ComponentFeature cf = binding.getFeature(ComponentFeature.class); - if (cf != null) { - switch(cf.getTarget()) { - case ENDPOINT: - componentRegistry.add(cf.getComponent()); - break; - case CONTAINER: - container.getComponents().add(cf.getComponent()); - default: - throw new IllegalArgumentException(); - } + ComponentFeature cf = binding.getFeature(ComponentFeature.class); + if (cf != null) { + switch (cf.getTarget()) { + case ENDPOINT: + componentRegistry.add(cf.getComponent()); + break; + case CONTAINER: + container.getComponents().add(cf.getComponent()); + break; + default: + throw new IllegalArgumentException(); + } + } + ComponentsFeature csf = binding.getFeature(ComponentsFeature.class); + if (csf != null) { + for (ComponentFeature cfi : csf.getComponentFeatures()) { + switch (cfi.getTarget()) { + case ENDPOINT: + componentRegistry.add(cfi.getComponent()); + break; + case CONTAINER: + container.getComponents().add(cfi.getComponent()); + break; + default: + throw new IllegalArgumentException(); } + } + } TubelineAssembler assembler = TubelineAssemblerFactory.create( Thread.currentThread().getContextClassLoader(), binding.getBindingId(), container); - assert assembler != null; + assert assembler != null; this.operationDispatcher = (port == null) ? null : new OperationDispatcher(port, binding, seiModel); context = createServerTubeAssemblerContext(terminalTube, isSynchronous); - this.masterTubeline = assembler.createServer(context); + this.masterTubeline = assembler.createServer(context); - Codec c = context.getCodec(); - if (c instanceof EndpointAwareCodec) { + Codec c = context.getCodec(); + if (c instanceof EndpointAwareCodec) { // create a copy to avoid sharing the codec between multiple endpoints - c = c.copy(); - ((EndpointAwareCodec) c).setEndpoint(this); - } - this.masterCodec = c; + c = c.copy(); + ((EndpointAwareCodec) c).setEndpoint(this); + } + this.masterCodec = c; - tubePool = new TubePool(masterTubeline); - terminalTube.setEndpoint(this); - engine = new Engine(toString()); - wsdlProperties = (port == null) ? new WSDLDirectProperties(serviceName, portName, seiModel) : new WSDLPortProperties(port, seiModel); + tubePool = new TubePool(masterTubeline); + terminalTube.setEndpoint(this); + engine = new Engine(toString(), container); + wsdlProperties = (port == null) ? new WSDLDirectProperties(serviceName, portName, seiModel) : new WSDLPortProperties(port, seiModel); Map eprExtensions = new HashMap(); try { @@ -230,9 +225,9 @@ protected ServerTubeAssemblerContext createServerTubeAssemblerContext( EndpointAwareTube terminalTube, boolean isSynchronous) { - ServerTubeAssemblerContext context = new ServerPipeAssemblerContext( + ServerTubeAssemblerContext ctx = new ServerPipeAssemblerContext( seiModel, port, this, terminalTube, isSynchronous); - return context; + return ctx; } protected WSEndpointImpl(@NotNull QName serviceName, @NotNull QName portName, WSBinding binding, Container container, @@ -259,7 +254,7 @@ seiModel, port, this, null /* not known */, false); tubePool = new TubePool(masterTubeline); - engine = new Engine(toString()); + engine = new Engine(toString(), container); wsdlProperties = (port == null) ? new WSDLDirectProperties(serviceName, portName, seiModel) : new WSDLPortProperties(port, seiModel); } @@ -313,96 +308,143 @@ processAsync(request, callback, interceptor, true); } - private void processAsync(final Packet request, final CompletionCallback callback, FiberContextSwitchInterceptor interceptor, boolean schedule) { - request.endpoint = WSEndpointImpl.this; - request.addSatellite(wsdlProperties); + private void processAsync(final Packet request, + final CompletionCallback callback, + FiberContextSwitchInterceptor interceptor, boolean schedule) { + Container old = ContainerResolver.getDefault().enterContainer(container); + try { + request.endpoint = WSEndpointImpl.this; + request.addSatellite(wsdlProperties); - Fiber fiber = engine.createFiber(); - if (interceptor != null) { - fiber.addInterceptor(interceptor); - } - final Tube tube = tubePool.take(); - Fiber.CompletionCallback cbak = new Fiber.CompletionCallback() { - public void onCompletion(@NotNull Packet response) { - tubePool.recycle(tube); - if (callback != null) { - callback.onCompletion(response); - } - } + Fiber fiber = engine.createFiber(); + fiber.setDeliverThrowableInPacket(true); + if (interceptor != null) { + fiber.addInterceptor(interceptor); + } + final Tube tube = tubePool.take(); + Fiber.CompletionCallback cbak = new Fiber.CompletionCallback() { + public void onCompletion(@NotNull Packet response) { + ThrowableContainerPropertySet tc = response.getSatellite(ThrowableContainerPropertySet.class); + if (tc == null) { + // Only recycle tubes in non-exception path as some Tubes may be + // in invalid state following exception + tubePool.recycle(tube); + } - public void onCompletion(@NotNull Throwable error) { - // let's not reuse tubes as they might be in a wrong state, so not - // calling tubePool.recycle() - // Convert all runtime exceptions to Packet so that transport doesn't - // have to worry about converting to wire message - // TODO XML/HTTP binding - Message faultMsg = SOAPFaultBuilder.createSOAPFaultMessage( - soapVersion, null, error); - Packet response = request.createServerResponse(faultMsg, request.endpoint.getPort(), null, - request.endpoint.getBinding()); - if (callback != null) { - callback.onCompletion(response); - } + if (callback != null) { + if (tc != null) { + response = createServiceResponseForException(tc, + response, + soapVersion, + request.endpoint.getPort(), + null, + request.endpoint.getBinding()); } - }; + callback.onCompletion(response); + } + } + + public void onCompletion(@NotNull Throwable error) { + // will never be called now that we are using + // fiber.setDeliverThrowableInPacket(true); + throw new IllegalStateException(); + } + }; + + fiber.start(tube, request, cbak, + binding.isFeatureEnabled(SyncStartForAsyncFeature.class) + || !schedule); + } finally { + ContainerResolver.getDefault().exitContainer(old); + } + } - fiber.start(tube, request, cbak, - binding.isFeatureEnabled(SyncStartForAsyncFeature.class) || !schedule); - } + @Override + public Packet createServiceResponseForException(final ThrowableContainerPropertySet tc, + final Packet responsePacket, + final SOAPVersion soapVersion, + final WSDLPort wsdlPort, + final SEIModel seiModel, + final WSBinding binding) + { + // This will happen in addressing if it is enabled. + if (tc.isFaultCreated()) return responsePacket; + + final Message faultMessage = SOAPFaultBuilder.createSOAPFaultMessage(soapVersion, null, tc.getThrowable()); + final Packet result = responsePacket.createServerResponse(faultMessage, wsdlPort, seiModel, binding); + // Pass info to upper layers + tc.setFaultMessage(faultMessage); + tc.setResponsePacket(responsePacket); + tc.setFaultCreated(true); + return result; + } @Override public void process(final Packet request, final CompletionCallback callback, FiberContextSwitchInterceptor interceptor) { processAsync(request, callback, interceptor, false); } - public @NotNull PipeHead createPipeHead() { - return new PipeHead() { - private final Tube tube = TubeCloner.clone(masterTubeline); + public @NotNull + PipeHead createPipeHead() { + return new PipeHead() { + private final Tube tube = TubeCloner.clone(masterTubeline); - public @NotNull Packet process(Packet request, WebServiceContextDelegate wscd, TransportBackChannel tbc) { - request.webServiceContextDelegate = wscd; - request.transportBackChannel = tbc; - request.endpoint = WSEndpointImpl.this; - request.addSatellite(wsdlProperties); + public @NotNull + Packet process(Packet request, WebServiceContextDelegate wscd, + TransportBackChannel tbc) { + Container old = ContainerResolver.getDefault().enterContainer(container); + try { + request.webServiceContextDelegate = wscd; + request.transportBackChannel = tbc; + request.endpoint = WSEndpointImpl.this; + request.addSatellite(wsdlProperties); - Fiber fiber = engine.createFiber(); - Packet response; - try { - response = fiber.runSync(tube, request); - } catch (RuntimeException re) { - // Catch all runtime exceptions so that transport doesn't - // have to worry about converting to wire message - // TODO XML/HTTP binding - Message faultMsg = SOAPFaultBuilder.createSOAPFaultMessage( - soapVersion, null, re); - response = request.createServerResponse(faultMsg, request.endpoint.getPort(), null, request.endpoint.getBinding()); - } - return response; - } - }; - } + Fiber fiber = engine.createFiber(); + Packet response; + try { + response = fiber.runSync(tube, request); + } catch (RuntimeException re) { + // Catch all runtime exceptions so that transport + // doesn't + // have to worry about converting to wire message + // TODO XML/HTTP binding + Message faultMsg = SOAPFaultBuilder + .createSOAPFaultMessage(soapVersion, null, re); + response = request.createServerResponse(faultMsg, + request.endpoint.getPort(), null, + request.endpoint.getBinding()); + } + return response; + } finally { + ContainerResolver.getDefault().exitContainer(old); + } + } + }; + } public synchronized void dispose() { - if (disposed) - return; - disposed = true; + if (disposed) { + return; + } + disposed = true; - masterTubeline.preDestroy(); + masterTubeline.preDestroy(); - for (Handler handler : binding.getHandlerChain()) { - for (Method method : handler.getClass().getMethods()) { - if (method.getAnnotation(PreDestroy.class) == null) { - continue; - } - try { - method.invoke(handler); - } catch (Exception e) { - logger.log(Level.WARNING, HandlerMessages.HANDLER_PREDESTROY_IGNORE(e.getMessage()), e); - } - break; - } + for (Handler handler : binding.getHandlerChain()) { + for (Method method : handler.getClass().getMethods()) { + if (method.getAnnotation(PreDestroy.class) == null) { + continue; + } + try { + method.invoke(handler); + } catch (Exception e) { + logger.log(Level.WARNING, HandlerMessages.HANDLER_PREDESTROY_IGNORE(e.getMessage()), e); + } + break; } - closeManagedObjectManager(); + } + closeManagedObjectManager(); + LazyMOMProvider.INSTANCE.unregisterEndpoint(this); } public ServiceDefinitionImpl getServiceDefinition() { @@ -488,7 +530,7 @@ @Override public boolean equals(Object obj) { - return component.equals(obj); + return component.equals(obj); } } @@ -514,34 +556,32 @@ } } + @Override public @NotNull Set getComponents() { return componentRegistry; } - private static final Logger logger = Logger.getLogger( - com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".server.endpoint"); - - public T getEndpointReference(Class - clazz, String address, String wsdlAddress, Element... referenceParameters) { + public T getEndpointReference(Class clazz, String address, String wsdlAddress, Element... referenceParameters) { List refParams = null; if (referenceParameters != null) { refParams = Arrays.asList(referenceParameters); } return getEndpointReference(clazz, address, wsdlAddress, null, refParams); } + public T getEndpointReference(Class clazz, - String address, String wsdlAddress, List metadata, - List referenceParameters) { - QName portType = null; - if (port != null) { - portType = port.getBinding().getPortTypeName(); - } + String address, String wsdlAddress, List metadata, + List referenceParameters) { + QName portType = null; + if (port != null) { + portType = port.getBinding().getPortTypeName(); + } AddressingVersion av = AddressingVersion.fromSpecClass(clazz); return new WSEndpointReference( - av, address, serviceName, portName, portType, metadata, wsdlAddress, referenceParameters,endpointReferenceExtensions.values(), null).toSpec(clazz); + av, address, serviceName, portName, portType, metadata, wsdlAddress, referenceParameters, endpointReferenceExtensions.values(), null).toSpec(clazz); - } + } public @NotNull QName getPortName() { return portName; @@ -583,12 +623,12 @@ */ @NotNull ManagedObjectManager obtainManagedObjectManager() { final MonitorRootService monitorRootService = new MonitorRootService(this); - final ManagedObjectManager managedObjectManager = monitorRootService.createManagedObjectManager(this); + final ManagedObjectManager mOM = monitorRootService.createManagedObjectManager(this); // ManagedObjectManager was suspended due to root creation (see MonitorBase#initMOM) - managedObjectManager.resumeJMXRegistration(); + mOM.resumeJMXRegistration(); - return managedObjectManager; + return mOM; } public void scopeChanged(LazyMOMProvider.Scope scope) { @@ -617,8 +657,11 @@ } } + private static final Logger monitoringLogger = Logger.getLogger(com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".monitoring"); + // This can be called independently of WSEndpoint.dispose. // Example: the WSCM framework calls this before dispose. + @Override public void closeManagedObjectManager() { synchronized (managedObjectManagerLock) { if (managedObjectManagerClosed == true) { @@ -634,16 +677,23 @@ } if (close) { - // no further notification on scope change - LazyMOMProvider.INSTANCE.unregisterEndpoint(this); - MonitorBase.closeMOM(managedObjectManager); + try { + final ObjectName name = managedObjectManager.getObjectName(managedObjectManager.getRoot()); + // The name is null when the MOM is a NOOP. + if (name != null) { + monitoringLogger.log(Level.INFO, "Closing Metro monitoring root: {0}", name); + } + managedObjectManager.close(); + } catch (java.io.IOException e) { + monitoringLogger.log(Level.WARNING, "Ignoring error when closing Managed Object Manager", e); + } } } managedObjectManagerClosed = true; } } - public @NotNull ServerTubeAssemblerContext getAssemblerContext() { + public @NotNull @Override ServerTubeAssemblerContext getAssemblerContext() { return context; } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointMOMProxy.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointMOMProxy.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSEndpointMOMProxy.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,20 @@ package com.sun.xml.internal.ws.server; import com.sun.istack.internal.NotNull; +import com.sun.xml.internal.ws.api.SOAPVersion; +import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.pipe.Codec; +import com.sun.xml.internal.ws.api.pipe.FiberContextSwitchInterceptor; +import com.sun.xml.internal.ws.api.pipe.ServerTubeAssemblerContext; +import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet; +import com.sun.xml.internal.ws.api.server.Container; +import com.sun.xml.internal.ws.api.server.ServiceDefinition; +import com.sun.xml.internal.ws.api.server.WSEndpoint; +import com.sun.xml.internal.ws.policy.PolicyMap; +import com.sun.xml.internal.ws.wsdl.OperationDispatcher; import com.sun.org.glassfish.gmbal.AMXClient; import com.sun.org.glassfish.gmbal.GmbalMBean; import com.sun.org.glassfish.gmbal.ManagedObjectManager; @@ -35,7 +49,13 @@ import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; +import java.util.List; import java.util.ResourceBundle; +import java.util.Set; +import java.util.concurrent.Executor; +import javax.xml.namespace.QName; +import javax.xml.ws.EndpointReference; +import org.w3c.dom.Element; /** * {@link ManagedObjectManager} proxy class for {@link WSEndpointImpl} instances that could be used when Gmbal API calls @@ -43,7 +63,7 @@ * method from {@link ManagedObjectManager} is invoked on it. In this case a real instance of ManagedObjectManager is * obtained from WSEndpointImpl and the method is rather invoked on this object. */ -public class WSEndpointMOMProxy implements ManagedObjectManager { +public class WSEndpointMOMProxy extends WSEndpoint implements ManagedObjectManager { private final @NotNull WSEndpointImpl wsEndpoint; @@ -58,7 +78,8 @@ * * @return an ManagedObjectManager instance */ - private ManagedObjectManager getManagedObjectManager() { + @Override + public ManagedObjectManager getManagedObjectManager() { if (managedObjectManager == null) { managedObjectManager = wsEndpoint.obtainManagedObjectManager(); } @@ -83,124 +104,275 @@ return wsEndpoint; } + @Override public void suspendJMXRegistration() { getManagedObjectManager().suspendJMXRegistration(); } + @Override public void resumeJMXRegistration() { getManagedObjectManager().resumeJMXRegistration(); } + @Override public boolean isManagedObject(Object obj) { return getManagedObjectManager().isManagedObject(obj); } + @Override public GmbalMBean createRoot() { return getManagedObjectManager().createRoot(); } + @Override public GmbalMBean createRoot(Object root) { return getManagedObjectManager().createRoot(root); } + @Override public GmbalMBean createRoot(Object root, String name) { return getManagedObjectManager().createRoot(root, name); } + @Override public Object getRoot() { return getManagedObjectManager().getRoot(); } + @Override public GmbalMBean register(Object parent, Object obj, String name) { return getManagedObjectManager().register(parent, obj, name); } + @Override public GmbalMBean register(Object parent, Object obj) { return getManagedObjectManager().register(parent, obj); } + @Override public GmbalMBean registerAtRoot(Object obj, String name) { return getManagedObjectManager().registerAtRoot(obj, name); } + @Override public GmbalMBean registerAtRoot(Object obj) { return getManagedObjectManager().registerAtRoot(obj); } + @Override public void unregister(Object obj) { getManagedObjectManager().unregister(obj); } + @Override public ObjectName getObjectName(Object obj) { return getManagedObjectManager().getObjectName(obj); } + @Override public AMXClient getAMXClient(Object obj) { return getManagedObjectManager().getAMXClient(obj); } + @Override public Object getObject(ObjectName oname) { return getManagedObjectManager().getObject(oname); } + @Override public void stripPrefix(String... str) { getManagedObjectManager().stripPrefix(str); } + @Override public void stripPackagePrefix() { getManagedObjectManager().stripPackagePrefix(); } + @Override public String getDomain() { return getManagedObjectManager().getDomain(); } + @Override public void setMBeanServer(MBeanServer server) { getManagedObjectManager().setMBeanServer(server); } + @Override public MBeanServer getMBeanServer() { return getManagedObjectManager().getMBeanServer(); } + @Override public void setResourceBundle(ResourceBundle rb) { getManagedObjectManager().setResourceBundle(rb); } + @Override public ResourceBundle getResourceBundle() { return getManagedObjectManager().getResourceBundle(); } + @Override public void addAnnotation(AnnotatedElement element, Annotation annotation) { getManagedObjectManager().addAnnotation(element, annotation); } + @Override public void setRegistrationDebug(RegistrationDebugLevel level) { getManagedObjectManager().setRegistrationDebug(level); } + @Override public void setRuntimeDebug(boolean flag) { getManagedObjectManager().setRuntimeDebug(flag); } + @Override public void setTypelibDebug(int level) { getManagedObjectManager().setTypelibDebug(level); } + @Override public void setJMXRegistrationDebug(boolean flag) { getManagedObjectManager().setJMXRegistrationDebug(flag); } + @Override public String dumpSkeleton(Object obj) { return getManagedObjectManager().dumpSkeleton(obj); } + @Override public void suppressDuplicateRootReport(boolean suppressReport) { getManagedObjectManager().suppressDuplicateRootReport(suppressReport); } + @Override public void close() throws IOException { getManagedObjectManager().close(); } + @Override + public boolean equalsProxiedInstance(WSEndpoint endpoint) { + if (wsEndpoint == null) { + return (endpoint == null); + } + return wsEndpoint.equals(endpoint); + } + + @Override + public Codec createCodec() { + return this.wsEndpoint.createCodec(); + } + + @Override + public QName getServiceName() { + return this.wsEndpoint.getServiceName(); + } + + @Override + public QName getPortName() { + return this.wsEndpoint.getPortName(); + } + + @Override + public Class getImplementationClass() { + return this.wsEndpoint.getImplementationClass(); + } + + @Override + public WSBinding getBinding() { + return this.wsEndpoint.getBinding(); + } + + @Override + public Container getContainer() { + return this.wsEndpoint.getContainer(); + } + + @Override + public WSDLPort getPort() { + return this.wsEndpoint.getPort(); + } + + @Override + public void setExecutor(Executor exec) { + this.wsEndpoint.setExecutor(exec); + } + + @Override + public void schedule(Packet request, CompletionCallback callback, FiberContextSwitchInterceptor interceptor) { + this.wsEndpoint.schedule(request, callback, interceptor); + } + + @Override + public PipeHead createPipeHead() { + return this.wsEndpoint.createPipeHead(); + } + + @Override + public void dispose() { + if (this.wsEndpoint != null) { + this.wsEndpoint.dispose(); + } + } + + @Override + public ServiceDefinition getServiceDefinition() { + return this.wsEndpoint.getServiceDefinition(); + } + + @Override + public Set getComponentRegistry() { + return this.wsEndpoint.getComponentRegistry(); + } + + @Override + public SEIModel getSEIModel() { + return this.wsEndpoint.getSEIModel(); + } + + @Override + public PolicyMap getPolicyMap() { + return this.wsEndpoint.getPolicyMap(); + } + + @Override + public void closeManagedObjectManager() { + this.wsEndpoint.closeManagedObjectManager(); + } + + @Override + public ServerTubeAssemblerContext getAssemblerContext() { + return this.wsEndpoint.getAssemblerContext(); + } + + @Override + public EndpointReference getEndpointReference(Class clazz, String address, String wsdlAddress, Element... referenceParameters) { + return wsEndpoint.getEndpointReference(clazz, address, wsdlAddress, referenceParameters); + } + + @Override + public EndpointReference getEndpointReference(Class clazz, String address, String wsdlAddress, List metadata, List referenceParameters) { + return wsEndpoint.getEndpointReference(clazz, address, wsdlAddress, metadata, referenceParameters); + } + + @Override + public OperationDispatcher getOperationDispatcher() { + return wsEndpoint.getOperationDispatcher(); + } + + @Override + public Packet createServiceResponseForException(final ThrowableContainerPropertySet tc, + final Packet responsePacket, + final SOAPVersion soapVersion, + final WSDLPort wsdlPort, + final SEIModel seiModel, + final WSBinding binding) + { + return wsEndpoint.createServiceResponseForException(tc, responsePacket, soapVersion, + wsdlPort, seiModel, binding); + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/AsyncProviderInvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/AsyncProviderInvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/AsyncProviderInvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,7 @@ import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.Fiber; import com.sun.xml.internal.ws.api.pipe.NextAction; +import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.server.AsyncProvider; import com.sun.xml.internal.ws.api.server.AsyncProviderCallback; @@ -45,6 +46,7 @@ * * @author Jitendra Kotamraju */ +public // TODO needed by factory class AsyncProviderInvokerTube extends ProviderInvokerTube { private static final Logger LOGGER = Logger.getLogger( @@ -76,8 +78,14 @@ } synchronized(callback) { - if (resumer.response != null) - return doReturnWith(resumer.response); + if (resumer.response != null) { + // Only used by AsyncProvider + // Implementation may pass Packet containing throwable; use both + ThrowableContainerPropertySet tc = resumer.response.getSatellite(ThrowableContainerPropertySet.class); + Throwable t = (tc != null) ? tc.getThrowable() : null; + + return t != null ? doThrow(resumer.response, t) : doReturnWith(resumer.response); + } // Suspend the Fiber. AsyncProviderCallback will resume the Fiber after // it receives response. @@ -90,7 +98,7 @@ public void onResume(Packet response); } - private class FiberResumer implements Resumer { + /*private*/ public class FiberResumer implements Resumer { // TODO public for DISI private final Fiber fiber; public FiberResumer() { @@ -98,7 +106,11 @@ } public void onResume(Packet response) { - fiber.resume(response); + // Only used by AsyncProvider + // Implementation may pass Packet containing throwable; use both + ThrowableContainerPropertySet tc = response.getSatellite(ThrowableContainerPropertySet.class); + Throwable t = (tc != null) ? tc.getThrowable() : null; + fiber.resume(t, response); } } @@ -110,7 +122,7 @@ } } - private class AsyncProviderCallbackImpl implements AsyncProviderCallback { + /*private*/ public class AsyncProviderCallbackImpl implements AsyncProviderCallback { // TODO public for DISI private final Packet request; private Resumer resumer; @@ -133,8 +145,8 @@ public void sendError(@NotNull Throwable t) { Exception e; - if (t instanceof RuntimeException) { - e = (RuntimeException)t; + if (t instanceof Exception) { + e = (Exception) t; } else { e = new RuntimeException(t); } @@ -148,10 +160,10 @@ /** * The single {@link javax.xml.ws.WebServiceContext} instance injected into application. */ - private static final class AsyncWebServiceContext extends AbstractWebServiceContext { + /*private static final*/ public class AsyncWebServiceContext extends AbstractWebServiceContext { // TODO public for DISI final Packet packet; - AsyncWebServiceContext(WSEndpoint endpoint, Packet packet) { + public AsyncWebServiceContext(WSEndpoint endpoint, Packet packet) { // TODO public for DISI super(endpoint); this.packet = packet; } @@ -166,7 +178,7 @@ } public @NotNull NextAction processException(@NotNull Throwable t) { - throw new IllegalStateException("AsyncProviderInvokerTube's processException shouldn't be called."); + return doThrow(t); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/MessageProviderArgumentBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/MessageProviderArgumentBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/MessageProviderArgumentBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -41,7 +41,7 @@ } @Override - protected Message getParameter(Packet packet) { + /*protected*/ public Message getParameter(Packet packet) { return packet.getMessage(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderArgumentsBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderArgumentsBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderArgumentsBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,10 +26,12 @@ package com.sun.xml.internal.ws.server.provider; import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import javax.xml.ws.soap.SOAPBinding; @@ -37,6 +39,7 @@ * @author Jitendra Kotamraju */ +public // TODO need this in the factory abstract class ProviderArgumentsBuilder { /** @@ -57,7 +60,7 @@ * Binds {@link com.sun.xml.internal.ws.api.message.Message} to method invocation parameter * @param packet */ - protected abstract T getParameter(Packet packet); + /*protected*/ public abstract T getParameter(Packet packet); // TODO public for DISI pluggable Provider protected abstract Message getResponseMessage(T returnValue); @@ -75,21 +78,26 @@ public static ProviderArgumentsBuilder create(ProviderEndpointModel model, WSBinding binding) { if (model.datatype == Packet.class) - return new PacketProviderArgumentsBuilder(); + return new PacketProviderArgumentsBuilder(binding.getSOAPVersion()); return (binding instanceof SOAPBinding) ? SOAPProviderArgumentBuilder.create(model, binding.getSOAPVersion()) : XMLProviderArgumentBuilder.createBuilder(model, binding); } private static class PacketProviderArgumentsBuilder extends ProviderArgumentsBuilder { + private final SOAPVersion soapVersion; + + public PacketProviderArgumentsBuilder(SOAPVersion soapVersion) { + this.soapVersion = soapVersion; + } @Override protected Message getResponseMessage(Exception e) { - // Should never be called - throw new IllegalStateException(); + // Will be called by AsyncProviderCallbackImpl.sendError + return SOAPFaultBuilder.createSOAPFaultMessage(soapVersion, null, e); } @Override - protected Packet getParameter(Packet packet) { + /*protected*/ public Packet getParameter(Packet packet) { return packet; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderEndpointModel.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderEndpointModel.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderEndpointModel.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderInvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderInvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/ProviderInvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,7 +28,9 @@ import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.pipe.Tube; import com.sun.xml.internal.ws.api.server.AsyncProvider; +import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.api.server.Invoker; +import com.sun.xml.internal.ws.api.server.ProviderInvokerTubeFactory; import com.sun.xml.internal.ws.binding.SOAPBindingImpl; import com.sun.xml.internal.ws.server.InvokerTube; @@ -49,16 +51,15 @@ } public static ProviderInvokerTube - create(Class implType, WSBinding binding, Invoker invoker) { + create(final Class implType, final WSBinding binding, final Invoker invoker, final Container container) { - ProviderEndpointModel model = new ProviderEndpointModel(implType, binding); - ProviderArgumentsBuilder argsBuilder = ProviderArgumentsBuilder.create(model, binding); + final ProviderEndpointModel model = new ProviderEndpointModel(implType, binding); + final ProviderArgumentsBuilder argsBuilder = ProviderArgumentsBuilder.create(model, binding); if (binding instanceof SOAPBindingImpl) { //set portKnownHeaders on Binding, so that they can be used for MU processing ((SOAPBindingImpl) binding).setMode(model.mode); } - return model.isAsync ? new AsyncProviderInvokerTube(invoker, argsBuilder) - : new SyncProviderInvokerTube(invoker, argsBuilder); + return ProviderInvokerTubeFactory.create(null, container, implType, invoker, argsBuilder, model.isAsync); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SOAPProviderArgumentBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SOAPProviderArgumentBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SOAPProviderArgumentBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -77,7 +77,7 @@ super(soapVersion); } - protected Source getParameter(Packet packet) { + /*protected*/ public Source getParameter(Packet packet) { return packet.getMessage().readPayloadAsSource(); } @@ -96,7 +96,7 @@ super(soapVersion); } - protected Source getParameter(Packet packet) { + /*protected*/ public Source getParameter(Packet packet) { return packet.getMessage().readEnvelopeAsSource(); } @@ -114,7 +114,7 @@ super(soapVersion); } - protected SOAPMessage getParameter(Packet packet) { + /*protected*/ public SOAPMessage getParameter(Packet packet) { try { return packet.getMessage().readAsSOAPMessage(packet, true); } catch (SOAPException se) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SyncProviderInvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SyncProviderInvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/SyncProviderInvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,7 @@ import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.pipe.NextAction; +import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet; import com.sun.xml.internal.ws.api.server.Invoker; import javax.xml.ws.Provider; @@ -41,6 +42,7 @@ * * @author Jitendra Kotamraju */ +public // TODO needed by factory class SyncProviderInvokerTube extends ProviderInvokerTube { private static final Logger LOGGER = Logger.getLogger( @@ -79,15 +81,21 @@ } } Packet response = argsBuilder.getResponse(request,returnValue,port,binding); + + // Only used by Provider + // Implementation may pass Packet containing throwable; use both + ThrowableContainerPropertySet tc = response.getSatellite(ThrowableContainerPropertySet.class); + Throwable t = (tc != null) ? tc.getThrowable() : null; + + return t != null ? doThrow(response, t) : doReturnWith(response); + } + + public @NotNull NextAction processResponse(@NotNull Packet response) { return doReturnWith(response); } - public NextAction processResponse(Packet response) { - throw new IllegalStateException("InovkerPipe's processResponse shouldn't be called."); - } - - public NextAction processException(@NotNull Throwable t) { - throw new IllegalStateException("InovkerPipe's processException shouldn't be called."); + public @NotNull NextAction processException(@NotNull Throwable t) { + return doThrow(t); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/XMLProviderArgumentBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/XMLProviderArgumentBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/XMLProviderArgumentBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -90,7 +90,7 @@ this.binding = binding; } public DataSource getParameter(Packet packet) { - Message msg = packet.getMessage(); + Message msg = packet.getInternalMessage(); return (msg instanceof XMLMessage.MessageDataSource) ? ((XMLMessage.MessageDataSource) msg).getDataSource() : XMLMessage.getDataSource(msg, binding.getFeatures()); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointArgumentsBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointArgumentsBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointArgumentsBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -35,6 +35,7 @@ import com.sun.xml.internal.ws.model.ParameterImpl; import com.sun.xml.internal.ws.model.WrapperParameter; import com.sun.xml.internal.ws.resources.ServerMessages; +import com.sun.xml.internal.ws.spi.db.RepeatedElementBridge; import com.sun.xml.internal.ws.spi.db.XMLBridge; import com.sun.xml.internal.ws.spi.db.DatabindingException; import com.sun.xml.internal.ws.spi.db.PropertyAccessor; @@ -52,7 +53,6 @@ import javax.xml.soap.SOAPFault; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; -import javax.xml.stream.XMLStreamConstants; import javax.xml.transform.Source; import javax.xml.ws.Holder; import javax.xml.ws.WebServiceException; @@ -96,6 +96,7 @@ static final class None extends EndpointArgumentsBuilder { private None(){ } + @Override public void readRequest(Message msg, Object[] args) { msg.consume(); } @@ -105,7 +106,7 @@ * The singleton instance that produces null return value. * Used for operations that doesn't have any output. */ - public static EndpointArgumentsBuilder NONE = new None(); + public final static EndpointArgumentsBuilder NONE = new None(); /** * Returns the 'uninitialized' value for the given type. @@ -113,6 +114,7 @@ *

    * For primitive types, it's '0', and for reference types, it's null. */ + @SuppressWarnings("element-type-mismatch") public static Object getVMUninitializedValue(Type type) { // if this map returns null, that means the 'type' is a reference type, // in which case 'null' is the correct null value, so this code is correct. @@ -132,6 +134,70 @@ m.put(double.class,(double)0); } + protected QName wrapperName; + + static final class WrappedPartBuilder { + private final XMLBridge bridge; + private final EndpointValueSetter setter; + + /** + * @param bridge + * specifies how the part is unmarshalled. + * @param setter + * specifies how the obtained value is returned to the endpoint. + */ + public WrappedPartBuilder(XMLBridge bridge, EndpointValueSetter setter) { + this.bridge = bridge; + this.setter = setter; + } + + void readRequest( Object[] args, XMLStreamReader r, AttachmentSet att) throws JAXBException { + Object obj = null; + AttachmentUnmarshallerImpl au = (att != null)?new AttachmentUnmarshallerImpl(att):null; + if (bridge instanceof RepeatedElementBridge) { + RepeatedElementBridge rbridge = (RepeatedElementBridge)bridge; + ArrayList list = new ArrayList(); + QName name = r.getName(); + while (r.getEventType()==XMLStreamReader.START_ELEMENT && name.equals(r.getName())) { + list.add(rbridge.unmarshal(r, au)); + XMLStreamReaderUtil.toNextTag(r, name); + } + obj = rbridge.collectionHandler().convert(list); + } else { + obj = bridge.unmarshal(r, au); + } + setter.put(obj,args); + } + } + + protected Map wrappedParts = null; + + protected void readWrappedRequest(Message msg, Object[] args) throws JAXBException, XMLStreamException { + if (!msg.hasPayload()) { + throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); + } + XMLStreamReader reader = msg.readPayload(); + XMLStreamReaderUtil.verifyTag(reader,wrapperName); + reader.nextTag(); + while(reader.getEventType()==XMLStreamReader.START_ELEMENT) { + // TODO: QName has a performance issue + QName name = reader.getName(); + WrappedPartBuilder part = wrappedParts.get(name); + if(part==null) { + // no corresponding part found. ignore + XMLStreamReaderUtil.skipElement(reader); + reader.nextTag(); + } else { + part.readRequest(args,reader, msg.getAttachments()); + } + XMLStreamReaderUtil.toNextTag(reader, name); + } + + // we are done with the body + reader.close(); + XMLStreamReaderFactory.recycle(reader); + } + /** * {@link EndpointArgumentsBuilder} that sets the VM uninitialized value to the type. */ @@ -489,15 +555,14 @@ private final PartBuilder[] parts; private final XMLBridge wrapper; - private final QName wrapperName; + private boolean dynamicWrapper; public DocLit(WrapperParameter wp, Mode skipMode) { wrapperName = wp.getName(); wrapper = wp.getXMLBridge(); Class wrapperType = (Class) wrapper.getTypeInfo().type; - + dynamicWrapper = WrapperComposite.class.equals(wrapperType); List parts = new ArrayList(); - List children = wp.getWrapperChildren(); for (ParameterImpl p : children) { if (p.getMode() == skipMode) { @@ -509,16 +574,23 @@ */ QName name = p.getName(); try { - parts.add( new PartBuilder( - wp.getOwner().getBindingContext().getElementPropertyAccessor( - wrapperType, - name.getNamespaceURI(), - p.getName().getLocalPart()), - EndpointValueSetter.get(p) - )); + if (dynamicWrapper) { + if (wrappedParts == null) wrappedParts = new HashMap(); + XMLBridge xmlBridge = p.getInlinedRepeatedElementBridge(); + if (xmlBridge == null) xmlBridge = p.getXMLBridge(); + wrappedParts.put( p.getName(), new WrappedPartBuilder(xmlBridge, EndpointValueSetter.get(p))); + } else { + parts.add( new PartBuilder( + wp.getOwner().getBindingContext().getElementPropertyAccessor( + wrapperType, + name.getNamespaceURI(), + p.getName().getLocalPart()), + EndpointValueSetter.get(p) + ) ); // wrapper parameter itself always bind to body, and // so do all its children - assert p.getBinding()== ParameterBinding.BODY; + assert p.getBinding()== ParameterBinding.BODY; + } } catch (JAXBException e) { throw new WebServiceException( // TODO: i18n wrapperType+" do not have a property of the name "+name,e); @@ -529,30 +601,33 @@ } public void readRequest(Message msg, Object[] args) throws JAXBException, XMLStreamException { - - if (parts.length>0) { - if (!msg.hasPayload()) { - throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); - } - XMLStreamReader reader = msg.readPayload(); - XMLStreamReaderUtil.verifyTag(reader, wrapperName); - Object wrapperBean = wrapper.unmarshal(reader, (msg.getAttachments() != null) ? - new AttachmentUnmarshallerImpl(msg.getAttachments()): null); + if (dynamicWrapper) { + readWrappedRequest(msg, args); + } else { + if (parts.length>0) { + if (!msg.hasPayload()) { + throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); + } + XMLStreamReader reader = msg.readPayload(); + XMLStreamReaderUtil.verifyTag(reader, wrapperName); + Object wrapperBean = wrapper.unmarshal(reader, (msg.getAttachments() != null) ? + new AttachmentUnmarshallerImpl(msg.getAttachments()): null); - try { - for (PartBuilder part : parts) { - part.readRequest(args,wrapperBean); + try { + for (PartBuilder part : parts) { + part.readRequest(args,wrapperBean); + } + } catch (DatabindingException e) { + // this can happen when the set method throw a checked exception or something like that + throw new WebServiceException(e); // TODO:i18n } - } catch (DatabindingException e) { - // this can happen when the set method throw a checked exception or something like that - throw new WebServiceException(e); // TODO:i18n + + // we are done with the body + reader.close(); + XMLStreamReaderFactory.recycle(reader); + } else { + msg.consume(); } - - // we are done with the body - reader.close(); - XMLStreamReaderFactory.recycle(reader); - } else { - msg.consume(); } } @@ -590,20 +665,14 @@ * and processes all such wrapped parts. */ public static final class RpcLit extends EndpointArgumentsBuilder { - /** - * {@link PartBuilder} keyed by the element name (inside the wrapper element.) - */ - private final Map parts = new HashMap(); - - private QName wrapperName; - public RpcLit(WrapperParameter wp) { assert wp.getTypeInfo().type== WrapperComposite.class; wrapperName = wp.getName(); + wrappedParts = new HashMap(); List children = wp.getWrapperChildren(); for (ParameterImpl p : children) { - parts.put( p.getName(), new PartBuilder( + wrappedParts.put( p.getName(), new WrappedPartBuilder( p.getXMLBridge(), EndpointValueSetter.get(p) )); // wrapper parameter itself always bind to body, and @@ -613,62 +682,7 @@ } public void readRequest(Message msg, Object[] args) throws JAXBException, XMLStreamException { - if (!msg.hasPayload()) { - throw new WebServiceException("No payload. Expecting payload with "+wrapperName+" element"); - } - XMLStreamReader reader = msg.readPayload(); - XMLStreamReaderUtil.verifyTag(reader,wrapperName); - reader.nextTag(); - - while(reader.getEventType()==XMLStreamReader.START_ELEMENT) { - // TODO: QName has a performance issue - QName name = reader.getName(); - PartBuilder part = parts.get(name); - if(part==null) { - // no corresponding part found. ignore - XMLStreamReaderUtil.skipElement(reader); - reader.nextTag(); - } else { - part.readRequest(args,reader, msg.getAttachments()); - } - // skip any whitespace - if (reader.getEventType() != XMLStreamConstants.START_ELEMENT && - reader.getEventType() != XMLStreamConstants.END_ELEMENT) { - XMLStreamReaderUtil.nextElementContent(reader); - } - if(reader.getEventType() == XMLStreamConstants.END_ELEMENT && name.equals(reader.getName())) { - XMLStreamReaderUtil.nextElementContent(reader); - } - } - - // we are done with the body - reader.close(); - XMLStreamReaderFactory.recycle(reader); - } - - /** - * Unmarshals each wrapped part into a JAXB object and moves it - * to the expected place. - */ - static final class PartBuilder { - private final XMLBridge bridge; - private final EndpointValueSetter setter; - - /** - * @param bridge - * specifies how the part is unmarshalled. - * @param setter - * specifies how the obtained value is returned to the endpoint. - */ - public PartBuilder(XMLBridge bridge, EndpointValueSetter setter) { - this.bridge = bridge; - this.setter = setter; - } - - final void readRequest( Object[] args, XMLStreamReader r, AttachmentSet att) throws JAXBException { - Object obj = bridge.unmarshal(r, (att != null)?new AttachmentUnmarshallerImpl(att):null); - setter.put(obj,args); - } + readWrappedRequest(msg, args); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointResponseMessageBuilder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointResponseMessageBuilder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointResponseMessageBuilder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -143,10 +143,20 @@ */ protected final ValueGetter[] getters; + /** + * How does each wrapped parameter binds to XML? + */ + protected XMLBridge[] parameterBridges; + + /** + * Used for error diagnostics. + */ + protected List children; + protected Wrapped(WrapperParameter wp, SOAPVersion soapVersion) { super(wp.getXMLBridge(), soapVersion); - List children = wp.getWrapperChildren(); + children = wp.getWrapperChildren(); indices = new int[children.size()]; getters = new ValueGetter[children.size()]; @@ -156,6 +166,32 @@ getters[i] = ValueGetter.get(p); } } + + /** + * Packs a bunch of arguments intoa {@link WrapperComposite}. + */ + WrapperComposite buildWrapperComposite(Object[] methodArgs, Object returnValue) { + WrapperComposite cs = new WrapperComposite(); + cs.bridges = parameterBridges; + cs.values = new Object[parameterBridges.length]; + + // fill in wrapped parameters from methodArgs + for( int i=indices.length-1; i>=0; i-- ) { + Object v; + if (indices[i] == -1) { + v = getters[i].get(returnValue); + } else { + v = getters[i].get(methodArgs[indices[i]]); + } + if(v==null) { + throw new WebServiceException("Method Parameter: "+ + children.get(i).getName() +" cannot be null. This is BP 1.1 R2211 violation."); + } + cs.values[i] = v; + } + + return cs; + } } /** @@ -174,6 +210,7 @@ * Wrapper bean. */ private final Class wrapper; + private boolean dynamicWrapper; /** * Needed to get wrapper instantiation method. @@ -186,21 +223,26 @@ public DocLit(WrapperParameter wp, SOAPVersion soapVersion) { super(wp, soapVersion); bindingContext = wp.getOwner().getBindingContext(); - wrapper = (Class)wp.getXMLBridge().getTypeInfo().type; - - List children = wp.getWrapperChildren(); - + dynamicWrapper = WrapperComposite.class.equals(wrapper); + children = wp.getWrapperChildren(); + parameterBridges = new XMLBridge[children.size()]; accessors = new PropertyAccessor[children.size()]; for( int i=0; i children; /** * Creates a {@link EndpointResponseMessageBuilder} from a {@link WrapperParameter}. @@ -269,8 +303,6 @@ // we'll use CompositeStructure to pack requests assert wp.getTypeInfo().type==WrapperComposite.class; - this.children = wp.getWrapperChildren(); - parameterBridges = new XMLBridge[children.size()]; for( int i=0; i=0; i-- ) { - Object v; - if (indices[i] == -1) { - v = getters[i].get(returnValue); - } else { - v = getters[i].get(methodArgs[indices[i]]); - } - if(v==null) { - throw new WebServiceException("Method Parameter: "+ - children.get(i).getName() +" cannot be null. This is BP 1.1 R2211 violation."); - } - cs.values[i] = v; - } - - return cs; + Object build(Object[] methodArgs, Object returnValue) { + return buildWrapperComposite(methodArgs, returnValue); } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointValueSetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointValueSetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/EndpointValueSetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/Invoker.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/Invoker.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/Invoker.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/InvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/MessageFiller.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/MessageFiller.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/MessageFiller.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/SEIInvokerTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/SEIInvokerTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/SEIInvokerTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,10 +25,9 @@ package com.sun.xml.internal.ws.server.sei; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.istack.internal.NotNull; -import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.databinding.EndpointCallBridge; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.NextAction; @@ -36,13 +35,8 @@ import com.sun.xml.internal.ws.client.sei.MethodHandler; import com.sun.xml.internal.ws.model.AbstractSEIModelImpl; import com.sun.xml.internal.ws.server.InvokerTube; -import com.sun.xml.internal.ws.resources.ServerMessages; -import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import com.sun.xml.internal.ws.wsdl.DispatchException; -import com.sun.xml.internal.org.jvnet.ws.databinding.JavaCallInfo; -import java.util.List; import java.lang.reflect.InvocationTargetException; -import java.text.MessageFormat; /** * This pipe is used to invoke SEI based endpoints. @@ -87,18 +81,18 @@ DispatchException e = (DispatchException)call.getException(); return doReturnWith(req.createServerResponse(e.fault, model.getPort(), null, binding)); } - Packet res = (Packet) model.getDatabinding().serializeResponse(call); + Packet res = (Packet) model.getDatabinding().serializeResponse(call); res = req.relateServerResponse(res, req.endpoint.getPort(), model, req.endpoint.getBinding()); assert res != null; return doReturnWith(res); } public @NotNull NextAction processResponse(@NotNull Packet response) { - throw new IllegalStateException("InovkerPipe's processResponse shouldn't be called."); + return doReturnWith(response); } public @NotNull NextAction processException(@NotNull Throwable t) { - throw new IllegalStateException("InovkerPipe's processException shouldn't be called."); + return doThrow(t); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/TieHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/TieHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/TieHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,11 +25,12 @@ package com.sun.xml.internal.ws.server.sei; +import com.oracle.webservices.internal.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.databinding.EndpointCallBridge; -import com.sun.xml.internal.ws.api.databinding.JavaCallInfo; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageContextFactory; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; @@ -57,7 +58,7 @@ *

    * This class mainly performs the following two tasks: *

      - *
    1. Takes a {@link Message] that represents a request, + *
    2. Takes a {@link Message} that represents a request, * and extracts the arguments (and updates {@link Holder}s.) *
    3. Accepts return value and {@link Holder} arguments for a Java method, * and creates {@link JAXBMessage} that represents a response message. @@ -90,8 +91,9 @@ // these objects together create a response message from method parameters private final EndpointResponseMessageBuilder bodyBuilder; private final MessageFiller[] outFillers; + protected MessageContextFactory packetFactory; - public TieHandler(JavaMethodImpl method, WSBinding binding) { + public TieHandler(JavaMethodImpl method, WSBinding binding, MessageContextFactory mcf) { this.soapVersion = binding.getSOAPVersion(); this.method = method.getMethod(); this.javaMethodModel = method; @@ -101,6 +103,7 @@ this.outFillers = fillers.toArray(new MessageFiller[fillers.size()]); this.isOneWay = method.getMEP().isOneWay(); this.noOfArgs = this.method.getParameterTypes().length; + packetFactory = mcf; } /** @@ -178,7 +181,7 @@ */ private EndpointResponseMessageBuilder createResponseMessageBuilder(List fillers) { - EndpointResponseMessageBuilder bodyBuilder = null; + EndpointResponseMessageBuilder tmpBodyBuilder = null; List rp = javaMethodModel.getResponseParameters(); for (ParameterImpl param : rp) { @@ -188,14 +191,14 @@ case BODY: if(param.isWrapperStyle()) { if(param.getParent().getBinding().isRpcLit()) { - bodyBuilder = new EndpointResponseMessageBuilder.RpcLit((WrapperParameter)param, + tmpBodyBuilder = new EndpointResponseMessageBuilder.RpcLit((WrapperParameter)param, soapVersion); } else { - bodyBuilder = new EndpointResponseMessageBuilder.DocLit((WrapperParameter)param, + tmpBodyBuilder = new EndpointResponseMessageBuilder.DocLit((WrapperParameter)param, soapVersion); } } else { - bodyBuilder = new EndpointResponseMessageBuilder.Bare(param, soapVersion); + tmpBodyBuilder = new EndpointResponseMessageBuilder.Bare(param, soapVersion); } break; case HEADER: @@ -211,20 +214,20 @@ } } - if (bodyBuilder == null) { + if (tmpBodyBuilder == null) { // no parameter binds to body. we create an empty message switch(soapVersion) { case SOAP_11: - bodyBuilder = EndpointResponseMessageBuilder.EMPTY_SOAP11; + tmpBodyBuilder = EndpointResponseMessageBuilder.EMPTY_SOAP11; break; case SOAP_12: - bodyBuilder = EndpointResponseMessageBuilder.EMPTY_SOAP12; + tmpBodyBuilder = EndpointResponseMessageBuilder.EMPTY_SOAP12; break; default: throw new AssertionError(); } } - return bodyBuilder; + return tmpBodyBuilder; } public Object[] readRequest(Message reqMsg) { @@ -241,7 +244,6 @@ public Message createResponse(JavaCallInfo call) { Message responseMessage; - Object ret = call.getReturnValue(); if (call.getException() == null) { responseMessage = isOneWay ? null : createResponseMessage(call.getParameters(), call.getReturnValue()); } else { @@ -310,21 +312,24 @@ private static final Logger LOGGER = Logger.getLogger(TieHandler.class.getName()); + @Override public JavaCallInfo deserializeRequest(Packet req) { - JavaCallInfo call = new JavaCallInfo(); + com.sun.xml.internal.ws.api.databinding.JavaCallInfo call = new com.sun.xml.internal.ws.api.databinding.JavaCallInfo(); call.setMethod(this.getMethod()); Object[] args = this.readRequest(req.getMessage()); call.setParameters(args); return call; } + @Override public Packet serializeResponse(JavaCallInfo call) { - Message msg = this.createResponse(call); - Packet response = new Packet(); - response.setMessage(msg); - return response; + Message msg = this.createResponse(call); + Packet p = (msg == null) ? (Packet)packetFactory.createContext() : (Packet)packetFactory.createContext(msg); + p.setState(Packet.State.ServerResponse); + return p; } + @Override public JavaMethod getOperationModel() { return javaMethodModel; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/ValueGetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/ValueGetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/sei/ValueGetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContext.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -103,7 +103,7 @@ * Creates a mini-marshaller/unmarshaller that can process a {@link TypeInfo}. * * @return - * null if the specified reference is not given to {@link BindingContext#newInstance}. + * null if the specified reference is not given to {@link BindingContext#newWrapperInstace(Class)}. * * @since 2.0 EA1 */ @@ -205,7 +205,7 @@ * * @throws IllegalArgumentException * if the parameter is null or not a part of the {@link TypeInfo}s specified - * in the {@link BindingContext#newInstance} method. + * in the {@link BindingContext#newWrapperInstace(Class)} method. * * @return null * if the referenced type is an anonymous and therefore doesn't have a name. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContextFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContextFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingContextFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -33,10 +33,10 @@ import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; -import com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingModeFeature; +import com.oracle.webservices.internal.api.databinding.DatabindingModeFeature; import com.sun.xml.internal.ws.db.glassfish.JAXBRIContextFactory; -import com.sun.xml.internal.ws.policy.privateutil.ServiceConfigurationError; +import com.sun.xml.internal.ws.util.ServiceConfigurationError; import com.sun.xml.internal.ws.util.ServiceFinder; /** @@ -115,7 +115,7 @@ * @param databinding mode/flavor or the package name of the JAXBContext implementation. * @return */ - abstract protected boolean isFor(String str); + abstract protected boolean isFor(String databinding); /** * @deprecated - Does jaxws need this? diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingHelper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingHelper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingHelper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingProvider.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingProvider.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/DatabindingProvider.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,7 +27,9 @@ import java.util.Map; -import com.sun.xml.internal.org.jvnet.ws.databinding.Databinding; +import com.oracle.webservices.internal.api.databinding.Databinding; +import com.oracle.webservices.internal.api.databinding.WSDLGenerator; + import com.sun.xml.internal.ws.api.databinding.DatabindingConfig; public interface DatabindingProvider { @@ -35,5 +37,5 @@ boolean isFor(String databindingMode); void init(Map properties); Databinding create(DatabindingConfig config); - Databinding.WSDLGenerator wsdlGen(DatabindingConfig config); + WSDLGenerator wsdlGen(DatabindingConfig config); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldGetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldGetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldGetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldSetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldSetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/FieldSetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/JAXBWrapperAccessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/JAXBWrapperAccessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/JAXBWrapperAccessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,6 +35,7 @@ import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -112,7 +113,6 @@ QName qname = new QName(namespace, localName); if (field.getType().equals(JAXBElement.class)) { - Class elementDeclaredType = Object.class; if (field.getGenericType() instanceof ParameterizedType) { Type arg = ((ParameterizedType) field.getGenericType()) .getActualTypeArguments()[0]; @@ -161,7 +161,7 @@ static protected List getAllFields(Class clz) { List list = new ArrayList(); while (!Object.class.equals(clz)) { - for (Field f : getDeclaredFields(clz)) list.add(f); + list.addAll(Arrays.asList(getDeclaredFields(clz))); clz = clz.getSuperclass(); } return list; @@ -171,6 +171,7 @@ try { return (System.getSecurityManager() == null) ? clz .getDeclaredFields() : AccessController.doPrivileged(new PrivilegedExceptionAction() { + @Override public Field[] run() throws IllegalAccessException { return clz.getDeclaredFields(); } @@ -186,9 +187,7 @@ if (!field.isAccessible()) { if (getMethod != null) { MethodGetter methodGetter = new MethodGetter(getMethod); - if (!methodGetter.getType().toString().equals(field.getType().toString())) { - methodGetter = null; - } else { + if (methodGetter.getType().toString().equals(field.getType().toString())) { return methodGetter; } } @@ -201,9 +200,7 @@ if (!field.isAccessible()) { if (setter != null) { MethodSetter injection = new MethodSetter(setter); - if (!injection.getType().toString().equals(field.getType().toString())) { - injection = null; - } else { + if (injection.getType().toString().equals(field.getType().toString())) { return injection; } } @@ -217,6 +214,7 @@ return elementDeclaredTypes.get(key); } + @Override public PropertyAccessor getPropertyAccessor(String ns, String name) { final QName n = new QName(ns, name); final PropertySetter setter = getPropertySetter(n); @@ -228,8 +226,9 @@ final Class elementDeclaredType = isJAXBElement ? getElementDeclaredType(n) : null; return new PropertyAccessor() { + @Override public Object get(Object bean) throws DatabindingException { - Object val = null; + Object val; if (isJAXBElement) { JAXBElement jaxbElement = (JAXBElement) getter.get(bean); val = (jaxbElement == null) ? null : jaxbElement.getValue(); @@ -243,6 +242,7 @@ return val; } + @Override public void set(Object bean, Object value) throws DatabindingException { if (isJAXBElement) { JAXBElement jaxbElement = new JAXBElement( diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodGetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodGetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodGetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodSetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodSetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/MethodSetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/OldBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/OldBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/OldBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyAccessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyAccessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyAccessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetterBase.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetterBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertyGetterBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetterBase.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetterBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/PropertySetterBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/RepeatedElementBridge.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/RepeatedElementBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,221 @@ +/* + * 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.spi.db; + +import java.util.HashSet; +import java.util.Iterator; +import java.util.Collection; +import java.util.List; +import java.util.Set; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.NoSuchElementException; + +import javax.xml.bind.JAXBException; +import javax.xml.bind.attachment.AttachmentMarshaller; +import javax.xml.bind.attachment.AttachmentUnmarshaller; +import javax.xml.namespace.NamespaceContext; +import javax.xml.stream.XMLStreamReader; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.transform.Result; +import javax.xml.transform.Source; + +import org.w3c.dom.Node; +import org.xml.sax.ContentHandler; + +/** + * RepeatedElementBridge + * + * @author shih-chang.chen@oracle.com + */ +@SuppressWarnings({"rawtypes", "unchecked"}) +public class RepeatedElementBridge implements XMLBridge { + + XMLBridge delegate; + CollectionHandler collectionHandler; + + public RepeatedElementBridge(TypeInfo typeInfo, XMLBridge xb) { + delegate = xb; + collectionHandler = create(typeInfo); + } + + public CollectionHandler collectionHandler() { + return collectionHandler; + } + + @Override + public BindingContext context() { + return delegate.context(); + } + + @Override + public void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException { + delegate.marshal(object, output, am); + } + + @Override + public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { + delegate.marshal(object, output, nsContext, am); + } + + @Override + public void marshal(T object, Node output) throws JAXBException { + delegate.marshal(object, output); + } + + @Override + public void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { + delegate.marshal(object, contentHandler, am); + } + + @Override + public void marshal(T object, Result result) throws JAXBException { + delegate.marshal(object, result); + } + + @Override + public T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException { + return delegate.unmarshal(in, au); + } + + @Override + public T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException { + return delegate.unmarshal(in, au); + } + + @Override + public T unmarshal(InputStream in) throws JAXBException { + return delegate.unmarshal(in); + } + + @Override + public T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException { + return delegate.unmarshal(n, au); + } + + @Override + public TypeInfo getTypeInfo() { + return delegate.getTypeInfo(); + } + + @Override + public boolean supportOutputStream() { + return delegate.supportOutputStream(); + } + + static public interface CollectionHandler { + int getSize(Object c); + Iterator iterator(Object c); + Object convert(List list); + } + + static class BaseCollectionHandler implements CollectionHandler { + Class type; + BaseCollectionHandler(Class c) {type = c;} + @Override + public int getSize(Object c) { return ((Collection) c).size(); } + @Override + public Object convert(List list) { + try { + Object o = type.newInstance(); + ((Collection)o).addAll(list); + return o; + } catch (Exception e) { + e.printStackTrace(); + } + return list; + } + @Override + public Iterator iterator(Object c) {return ((Collection)c).iterator();} + } + + static final CollectionHandler ListHandler = new BaseCollectionHandler(List.class) { + @Override + public Object convert(List list) {return list;} + }; + + static final CollectionHandler HashSetHandler = new BaseCollectionHandler(HashSet.class) { + @Override + public Object convert(List list) { return new HashSet(list);} + }; + + static public CollectionHandler create(TypeInfo ti) { + Class javaClass = (Class) ti.type; + if (javaClass.isArray()) { + return new ArrayHandler((Class) ti.getItemType().type); + } else if (List.class.equals(javaClass) || Collection.class.equals(javaClass)) { + return ListHandler; + } else if (Set.class.equals(javaClass) || HashSet.class.equals(javaClass)) { + return HashSetHandler; + } else { + return new BaseCollectionHandler(javaClass); + } + } + + static class ArrayHandler implements CollectionHandler { + Class componentClass; + public ArrayHandler(Class component) { + componentClass = component; + } + @Override + public int getSize(Object c) { + return java.lang.reflect.Array.getLength(c); + } + @Override + public Object convert(List list) { + Object array = java.lang.reflect.Array.newInstance(componentClass, list.size()); + for (int i = 0; i < list.size(); i++) { + java.lang.reflect.Array.set(array, i, list.get(i)); + } + return array; + } + @Override + public Iterator iterator(final Object c) { + return new Iterator() { + int index = 0; + @Override + public boolean hasNext() { + if (c == null || java.lang.reflect.Array.getLength(c) == 0) { + return false; + } + return (index != java.lang.reflect.Array.getLength(c)); + } + @Override + public Object next() throws NoSuchElementException { + Object retVal = null; + try { + retVal = java.lang.reflect.Array.get(c, index++); + } catch (ArrayIndexOutOfBoundsException ex) { + throw new NoSuchElementException(); + } + return retVal; + } + @Override + public void remove() {} + }; + } + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/TypeInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/TypeInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/TypeInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,6 +26,7 @@ package com.sun.xml.internal.ws.spi.db; import java.lang.annotation.Annotation; +import java.lang.reflect.GenericArrayType; import java.lang.reflect.Type; import java.util.Collection; import java.util.HashMap; @@ -117,8 +118,8 @@ public TypeInfo toItemType() { // if we are to reinstitute this check, check JAXB annotations only // assert annotations.length==0; // not designed to work with adapters. - - Type base = Navigator.REFLECTION.getBaseClass(type, Collection.class); + Type t = (genericType != null)? genericType : type; + Type base = Navigator.REFLECTION.getBaseClass(t, Collection.class); if(base==null) return this; // not a collection @@ -170,4 +171,27 @@ return new StringBuilder("TypeInfo: Type = ").append(type) .append(", tag = ").append(tagName).toString(); } + + public TypeInfo getItemType() { +// System.out.println("????? TypeInfo " + type); + if (type instanceof Class && ((Class)type).isArray() && !byte[].class.equals(type)) { + Type componentType = ((Class)type).getComponentType(); + Type genericComponentType = null; + if (genericType!= null && genericType instanceof GenericArrayType) { + GenericArrayType arrayType = (GenericArrayType) type; + genericComponentType = arrayType.getGenericComponentType(); + componentType = arrayType.getGenericComponentType(); + } + TypeInfo ti =new TypeInfo(tagName, componentType, annotations); + if (genericComponentType != null) ti.setGenericType(genericComponentType); + return ti; + } +// if (type instanceof Class && java.util.Collection.class.isAssignableFrom((Class)type)) { + Type t = (genericType != null)? genericType : type; + Type base = Navigator.REFLECTION.getBaseClass(t, Collection.class); + if ( base != null) { + return new TypeInfo(tagName, Navigator.REFLECTION.getTypeArgument(base,0), annotations); + } + return null; + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperAccessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperAccessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperAccessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperBridge.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,213 @@ +/* + * 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.spi.db; + +import java.io.InputStream; +import java.io.OutputStream; +import java.util.Iterator; + +import javax.xml.bind.JAXBException; +import javax.xml.bind.attachment.AttachmentMarshaller; +import javax.xml.bind.attachment.AttachmentUnmarshaller; +import javax.xml.namespace.NamespaceContext; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamReader; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.transform.Result; +import javax.xml.transform.Source; + +import org.w3c.dom.Node; +import org.xml.sax.Attributes; +import org.xml.sax.ContentHandler; +import org.xml.sax.SAXException; + +//import com.sun.xml.internal.ws.spi.db.BindingContext; +//import com.sun.xml.internal.ws.spi.db.RepeatedElementBridge; +//import com.sun.xml.internal.ws.spi.db.XMLBridge; +//import com.sun.xml.internal.ws.spi.db.DatabindingException; +//import com.sun.xml.internal.ws.spi.db.TypeInfo; +//import com.sun.xml.internal.ws.spi.db.WrapperComposite; + +/** + * WrapperBridge handles RPC-Literal body and Document-Literal wrappers without static + * wrapper classes. + * + * @author shih-chang.chen@oracle.com + */ +public class WrapperBridge implements XMLBridge { + + BindingContext parent; + TypeInfo typeInfo; + static final String WrapperPrefix = "w"; + static final String WrapperPrefixColon = WrapperPrefix + ":"; + + public WrapperBridge(BindingContext p, TypeInfo ti) { + this.parent = p; + this.typeInfo = ti; + } + + @Override + public BindingContext context() { + return parent; + } + + @Override + public TypeInfo getTypeInfo() { + return typeInfo; + } + + @Override + public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException { + WrapperComposite w = (WrapperComposite) object; + Attributes att = new Attributes() { + @Override public int getLength() { return 0; } + @Override public String getURI(int index) { return null; } + @Override public String getLocalName(int index) { return null; } + @Override public String getQName(int index) { return null; } + @Override public String getType(int index) { return null; } + @Override public String getValue(int index) { return null; } + @Override public int getIndex(String uri, String localName) { return 0; } + @Override public int getIndex(String qName) { return 0; } + @Override public String getType(String uri, String localName) { return null; } + @Override public String getType(String qName) { return null; } + @Override public String getValue(String uri, String localName) { return null; } + @Override public String getValue(String qName) { return null; } + }; + try { + contentHandler.startPrefixMapping(WrapperPrefix, typeInfo.tagName.getNamespaceURI()); + contentHandler.startElement(typeInfo.tagName.getNamespaceURI(), typeInfo.tagName.getLocalPart(), WrapperPrefixColon + typeInfo.tagName.getLocalPart(), att); + } catch (SAXException e) { + throw new JAXBException(e); + } + if (w.bridges != null) for (int i = 0; i < w.bridges.length; i++) { + if (w.bridges[i] instanceof RepeatedElementBridge) { + RepeatedElementBridge rbridge = (RepeatedElementBridge) w.bridges[i]; + for (Iterator itr = rbridge.collectionHandler().iterator(w.values[i]); itr.hasNext();) { + rbridge.marshal(itr.next(), contentHandler, am); + } + } else { + w.bridges[i].marshal(w.values[i], contentHandler, am); + } + } + try { + contentHandler.endElement(typeInfo.tagName.getNamespaceURI(), typeInfo.tagName.getLocalPart(), null); + contentHandler.endPrefixMapping(WrapperPrefix); + } catch (SAXException e) { + throw new JAXBException(e); + } +// bridge.marshal(object, contentHandler, am); + } + + @Override + public void marshal(T object, Node output) throws JAXBException { + throw new UnsupportedOperationException(); +// bridge.marshal(object, output); +// bridge.marshal((T) convert(object), output); + } + + @Override + public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException { +// bridge.marshal((T) convert(object), output, nsContext, am); + } + + @Override + public final void marshal(T object, Result result) throws JAXBException { + throw new UnsupportedOperationException(); +// bridge.marshal(object, result); + } + + @Override + public final void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException { + WrapperComposite w = (WrapperComposite) object; + try { +// output.writeStartElement(typeInfo.tagName.getNamespaceURI(), typeInfo.tagName.getLocalPart()); +// System.out.println(typeInfo.tagName.getNamespaceURI()); + + //The prefix is to workaround an eclipselink bug + String prefix = output.getPrefix(typeInfo.tagName.getNamespaceURI()); + if (prefix == null) prefix = WrapperPrefix; + output.writeStartElement(prefix, typeInfo.tagName.getLocalPart(), typeInfo.tagName.getNamespaceURI()); + output.writeNamespace(prefix, typeInfo.tagName.getNamespaceURI()); + +// output.writeStartElement("", typeInfo.tagName.getLocalPart(), typeInfo.tagName.getNamespaceURI()); +// output.writeDefaultNamespace(typeInfo.tagName.getNamespaceURI()); +// System.out.println("======== " + output.getPrefix(typeInfo.tagName.getNamespaceURI())); +// System.out.println("======== " + output.getNamespaceContext().getPrefix(typeInfo.tagName.getNamespaceURI())); +// System.out.println("======== " + output.getNamespaceContext().getNamespaceURI("")); + } catch (XMLStreamException e) { + e.printStackTrace(); + throw new DatabindingException(e); + } + if (w.bridges != null) for (int i = 0; i < w.bridges.length; i++) { + if (w.bridges[i] instanceof RepeatedElementBridge) { + RepeatedElementBridge rbridge = (RepeatedElementBridge) w.bridges[i]; + for (Iterator itr = rbridge.collectionHandler().iterator(w.values[i]); itr.hasNext();) { + rbridge.marshal(itr.next(), output, am); + } + } else { + w.bridges[i].marshal(w.values[i], output, am); + } + } + try { + output.writeEndElement(); + } catch (XMLStreamException e) { + throw new DatabindingException(e); + } + } + + @Override + public final T unmarshal(InputStream in) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); +// return bridge.unmarshal(in); + } + + @Override + public final T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); +// return bridge.unmarshal(n, au); + } + + @Override + public final T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); +// return bridge.unmarshal(in, au); + } + + @Override + public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException { + //EndpointArgumentsBuilder.RpcLit.readRequest + throw new UnsupportedOperationException(); +// return bridge.unmarshal(in, au); + } + + @Override + public boolean supportOutputStream() { + return false; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperComposite.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperComposite.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/WrapperComposite.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -40,7 +40,7 @@ * *

      * The binding of this class is always known to {@link BindingContext}, so it can be - * used without passing anything to {@link BindingContext#newInstance}. + * used without passing anything to {@link BindingContext#newWrapperInstace(Class)}. * This object can be only used for marshalling, not for unmarshalling. * * @author Kohsuke Kawaguchi diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/XMLBridge.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/XMLBridge.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/XMLBridge.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/Attributes.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/Attributes.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/Attributes.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/DOMStreamReader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/DOMStreamReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/DOMStreamReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -70,12 +70,12 @@ * @author Santiago.PericasGeertsen@sun.com * @author Kohsuke Kawaguchi */ -public final class DOMStreamReader implements XMLStreamReader, NamespaceContext { +public class DOMStreamReader implements XMLStreamReader, NamespaceContext { /** * Current DOM node being traversed. */ - private Node _current; + protected Node _current; /** * Starting node of the subtree being traversed. @@ -96,7 +96,7 @@ * but when a large binary data sent as base64 text, this could get very much * non-trivial. */ - private String wholeText; + protected String wholeText; /** * List of attributes extracted from _namedNodeMap. @@ -106,26 +106,26 @@ /** * {@link Scope} buffer. */ - private Scope[] scopes = new Scope[8]; + protected Scope[] scopes = new Scope[8]; /** * Depth of the current element. The first element gets depth==0. * Also used as the index to {@link #scopes}. */ - private int depth = 0; + protected int depth = 0; /** * State of this reader. Any of the valid states defined in StAX' * XMLStreamConstants class. */ - int _state; + protected int _state; /** * Namespace declarations on one element. * * Instances are reused. */ - private static final class Scope { + protected static final class Scope { /** * Scope for the parent element. */ @@ -247,7 +247,7 @@ * (which contains both ns decl and attributes in DOM) and split them * to attributes-proper and namespace decls. */ - private void splitAttributes() { + protected void splitAttributes() { // Clear attribute and namespace lists _currentAttributes.clear(); @@ -756,7 +756,7 @@ } } - private int _next() throws XMLStreamException { + protected int _next() throws XMLStreamException { Node child; switch (_state) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/MtomStreamWriter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/MtomStreamWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/MtomStreamWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactoryImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactoryImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/PrefixFactoryImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/SourceReaderFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/SourceReaderFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/SourceReaderFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/TidyXMLStreamReader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/TidyXMLStreamReader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/TidyXMLStreamReader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLReaderException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLReaderException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLReaderException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.streaming; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** *

      XMLReaderException represents an exception that occurred while reading an diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.streaming; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** *

      XMLStream ReaderException represents an exception that occurred while reading an diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamReaderUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -94,6 +94,17 @@ return state; } + public static void toNextTag(XMLStreamReader reader, QName name) { + // skip any whitespace + if (reader.getEventType() != XMLStreamConstants.START_ELEMENT && + reader.getEventType() != XMLStreamConstants.END_ELEMENT) { + XMLStreamReaderUtil.nextElementContent(reader); + } + if(reader.getEventType() == XMLStreamConstants.END_ELEMENT && name.equals(reader.getName())) { + XMLStreamReaderUtil.nextElementContent(reader); + } + } + /** * Moves next and read spaces from the reader as long as to the next element. * Comments are ignored diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.streaming; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** *

      XMLWriterException represents an exception that occurred while writing diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/streaming/XMLStreamWriterUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/DeferredTransportPipe.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/DeferredTransportPipe.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/DeferredTransportPipe.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/Headers.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/Headers.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/Headers.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,6 +25,7 @@ package com.sun.xml.internal.ws.transport; +import java.io.Serializable; import java.util.Comparator; import java.util.LinkedList; import java.util.List; @@ -74,7 +75,7 @@ private static final InsensitiveComparator INSTANCE = new InsensitiveComparator(); // case-insensitive string comparison of HTTP header names. - private static final class InsensitiveComparator implements Comparator { + private static final class InsensitiveComparator implements Comparator, Serializable { public int compare(String o1, String o2) { if (o1 == null && o2 == null) return 0; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/DeploymentDescriptorParser.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/DeploymentDescriptorParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/DeploymentDescriptorParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,15 +25,18 @@ package com.sun.xml.internal.ws.transport.http; +import com.oracle.webservices.internal.api.databinding.DatabindingModeFeature; +import com.oracle.webservices.internal.api.databinding.ExternalMetadataFeature; import com.sun.istack.internal.NotNull; import com.sun.xml.internal.ws.api.BindingID; import com.sun.xml.internal.ws.api.WSBinding; -import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.server.Container; import com.sun.xml.internal.ws.api.server.SDDocumentSource; import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.binding.WebServiceFeatureList; + import com.sun.xml.internal.ws.handler.HandlerChainsModel; import com.sun.xml.internal.ws.resources.ServerMessages; import com.sun.xml.internal.ws.resources.WsservletMessages; @@ -45,8 +48,6 @@ import com.sun.xml.internal.ws.util.HandlerAnnotationInfo; import com.sun.xml.internal.ws.util.exception.LocatableWebServiceException; import com.sun.xml.internal.ws.util.xml.XmlUtil; - -import com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingModeFeature; import org.xml.sax.EntityResolver; import javax.xml.namespace.QName; @@ -54,6 +55,7 @@ import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; import javax.xml.ws.http.HTTPBinding; import javax.xml.ws.soap.MTOMFeature; import javax.xml.ws.soap.SOAPBinding; @@ -64,6 +66,7 @@ import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -74,13 +77,13 @@ /** * Parses {@code sun-jaxws.xml} into {@link WSEndpoint}. - * - *

      + *

      + *

      * Since {@code sun-jaxws.xml} captures more information than what {@link WSEndpoint} * represents (in particular URL pattern and name), this class * takes a parameterization 'A' so that the user of this parser can choose to * create another type that wraps {@link WSEndpoint}. - * + *

      * {@link HttpAdapter} and its derived type is used for this often, * but it can be anything. * @@ -88,6 +91,33 @@ * @author Kohsuke Kawaguchi */ public class DeploymentDescriptorParser { + + public static final String NS_RUNTIME = "http://java.sun.com/xml/ns/jax-ws/ri/runtime"; + public static final String JAXWS_WSDL_DD_DIR = "WEB-INF/wsdl"; + + public static final QName QNAME_ENDPOINTS = new QName(NS_RUNTIME, "endpoints"); + public static final QName QNAME_ENDPOINT = new QName(NS_RUNTIME, "endpoint"); + public static final QName QNAME_EXT_METADA = new QName(NS_RUNTIME, "external-metadata"); + + public static final String ATTR_FILE = "file"; + public static final String ATTR_RESOURCE = "resource"; + + public static final String ATTR_VERSION = "version"; + public static final String ATTR_NAME = "name"; + public static final String ATTR_IMPLEMENTATION = "implementation"; + public static final String ATTR_WSDL = "wsdl"; + public static final String ATTR_SERVICE = "service"; + public static final String ATTR_PORT = "port"; + public static final String ATTR_URL_PATTERN = "url-pattern"; + public static final String ATTR_ENABLE_MTOM = "enable-mtom"; + public static final String ATTR_MTOM_THRESHOLD_VALUE = "mtom-threshold-value"; + public static final String ATTR_BINDING = "binding"; + public static final String ATTR_DATABINDING = "databinding"; + + public static final List ATTRVALUE_SUPPORTED_VERSIONS = Arrays.asList("2.0", "2.1"); + + private static final Logger logger = Logger.getLogger(com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".server.http"); + private final Container container; private final ClassLoader classLoader; private final ResourceLoader loader; @@ -102,27 +132,23 @@ /** * WSDL/schema documents collected from /WEB-INF/wsdl. Keyed by the system ID. */ - private final Map docs = new HashMap(); + private final Map docs = new HashMap(); /** - * - * @param cl - * Used to load service implementations. - * @param loader - * Used to locate resources, in particular WSDL. - * @param container - * Optional {@link Container} that {@link WSEndpoint}s receive. - * @param adapterFactory - * Creates {@link HttpAdapter} (or its derived class.) + * @param cl Used to load service implementations. + * @param loader Used to locate resources, in particular WSDL. + * @param container Optional {@link Container} that {@link WSEndpoint}s receive. + * @param adapterFactory Creates {@link HttpAdapter} (or its derived class.) */ - public DeploymentDescriptorParser(ClassLoader cl, ResourceLoader loader, Container container, AdapterFactory adapterFactory) throws MalformedURLException { + public DeploymentDescriptorParser(ClassLoader cl, ResourceLoader loader, Container container, + AdapterFactory adapterFactory) throws MalformedURLException { classLoader = cl; this.loader = loader; this.container = container; this.adapterFactory = adapterFactory; collectDocs("/WEB-INF/wsdl/"); - logger.fine("war metadata="+docs); + logger.log(Level.FINE, "war metadata={0}", docs); } /** @@ -133,7 +159,7 @@ XMLStreamReader reader = null; try { reader = new TidyXMLStreamReader( - XMLStreamReaderFactory.create(systemId,is,true), is); + XMLStreamReaderFactory.create(systemId, is, true), is); XMLStreamReaderUtil.nextElementContent(reader); return parseAdapters(reader); } finally { @@ -141,7 +167,7 @@ try { reader.close(); } catch (XMLStreamException e) { - throw new ServerRtException("runtime.parser.xmlReader",e); + throw new ServerRtException("runtime.parser.xmlReader", e); } } try { @@ -173,12 +199,13 @@ if (paths != null) { for (String path : paths) { if (path.endsWith("/")) { - if(path.endsWith("/CVS/") || path.endsWith("/.svn/")) + if (path.endsWith("/CVS/") || path.endsWith("/.svn/")) { continue; + } collectDocs(path); } else { URL res = loader.getResource(path); - docs.put(res.toString(),SDDocumentSource.create(res)); + docs.put(res.toString(), SDDocumentSource.create(res)); } } } @@ -194,92 +221,104 @@ Attributes attrs = XMLStreamReaderUtil.getAttributes(reader); String version = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_VERSION); - if (!version.equals(ATTRVALUE_VERSION_1_0)) { - failWithLocalName("runtime.parser.invalidVersionNumber", - reader, version); + if (!ATTRVALUE_SUPPORTED_VERSIONS.contains(version)) { + failWithLocalName("runtime.parser.invalidVersionNumber", reader, version); } - while (XMLStreamReaderUtil.nextElementContent(reader) != - XMLStreamConstants.END_ELEMENT) if (reader.getName().equals(QNAME_ENDPOINT)) { + while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { + + if (reader.getName().equals(QNAME_ENDPOINT)) { + attrs = XMLStreamReaderUtil.getAttributes(reader); - attrs = XMLStreamReaderUtil.getAttributes(reader); - String name = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_NAME); - if (!names.add(name)) { - logger.warning( - WsservletMessages.SERVLET_WARNING_DUPLICATE_ENDPOINT_NAME(/*name*/)); - } + String name = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_NAME); + if (!names.add(name)) { + logger.warning( + WsservletMessages.SERVLET_WARNING_DUPLICATE_ENDPOINT_NAME(/*name*/)); + } + + String implementationName = + getMandatoryNonEmptyAttribute(reader, attrs, ATTR_IMPLEMENTATION); + Class implementorClass = getImplementorClass(implementationName, reader); - String implementationName = - getMandatoryNonEmptyAttribute(reader, attrs, ATTR_IMPLEMENTATION); - Class implementorClass = getImplementorClass(implementationName,reader); - EndpointFactory.verifyImplementorClass(implementorClass); - - SDDocumentSource primaryWSDL = getPrimaryWSDL(reader, attrs, implementorClass); + MetadataReader metadataReader = null; + ExternalMetadataFeature externalMetadataFeature = null; - QName serviceName = getQNameAttribute(attrs, ATTR_SERVICE); - if (serviceName == null) - serviceName = EndpointFactory.getDefaultServiceName(implementorClass); + // parse subelements to instantiate externalMetadataReader, if necessary ... + XMLStreamReaderUtil.nextElementContent(reader); + if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { + externalMetadataFeature = configureExternalMetadataReader(reader); + if (externalMetadataFeature != null) { + metadataReader = externalMetadataFeature.getMetadataReader(implementorClass.getClassLoader(), false); + } + } - QName portName = getQNameAttribute(attrs, ATTR_PORT); - if (portName == null) - portName = EndpointFactory.getDefaultPortName(serviceName, implementorClass); + QName serviceName = getQNameAttribute(attrs, ATTR_SERVICE); + if (serviceName == null) { + serviceName = EndpointFactory.getDefaultServiceName(implementorClass, metadataReader); + } - //get enable-mtom attribute value - String enable_mtom = getAttribute(attrs, ATTR_ENABLE_MTOM); - String mtomThreshold = getAttribute(attrs, ATTR_MTOM_THRESHOLD_VALUE); - String dbMode = getAttribute(attrs, ATTR_DATABINDING); - String bindingId = getAttribute(attrs, ATTR_BINDING); - if (bindingId != null) - // Convert short-form tokens to API's binding ids - bindingId = getBindingIdForToken(bindingId); - WSBinding binding = createBinding(bindingId,implementorClass, - enable_mtom, mtomThreshold, dbMode); - String urlPattern = - getMandatoryNonEmptyAttribute(reader, attrs, ATTR_URL_PATTERN); - + QName portName = getQNameAttribute(attrs, ATTR_PORT); + if (portName == null) { + portName = EndpointFactory.getDefaultPortName(serviceName, implementorClass, metadataReader); + } - // TODO use 'docs' as the metadata. If wsdl is non-null it's the primary. + //get enable-mtom attribute value + String enable_mtom = getAttribute(attrs, ATTR_ENABLE_MTOM); + String mtomThreshold = getAttribute(attrs, ATTR_MTOM_THRESHOLD_VALUE); + String dbMode = getAttribute(attrs, ATTR_DATABINDING); + String bindingId = getAttribute(attrs, ATTR_BINDING); + if (bindingId != null) { + // Convert short-form tokens to API's binding ids + bindingId = getBindingIdForToken(bindingId); + } + WSBinding binding = createBinding(bindingId, implementorClass, enable_mtom, mtomThreshold, dbMode); + if (externalMetadataFeature != null) { + binding.getFeatures().mergeFeatures(new WebServiceFeature[]{externalMetadataFeature}, + true); + } - boolean handlersSetInDD = setHandlersAndRoles(binding, reader, serviceName, portName); + String urlPattern = getMandatoryNonEmptyAttribute(reader, attrs, ATTR_URL_PATTERN); - ensureNoContent(reader); - WSEndpoint endpoint = WSEndpoint.create( - implementorClass, !handlersSetInDD, - null, - serviceName, portName, container, binding, - primaryWSDL, docs.values(), createEntityResolver(),false - ); - adapters.add(adapterFactory.createAdapter(name, urlPattern, endpoint)); - } else { - failWithLocalName("runtime.parser.invalidElement", reader); + // TODO use 'docs' as the metadata. If wsdl is non-null it's the primary. + boolean handlersSetInDD = setHandlersAndRoles(binding, reader, serviceName, portName); + + EndpointFactory.verifyImplementorClass(implementorClass, metadataReader); + SDDocumentSource primaryWSDL = getPrimaryWSDL(reader, attrs, implementorClass, metadataReader); + + WSEndpoint endpoint = WSEndpoint.create( + implementorClass, !handlersSetInDD, + null, + serviceName, portName, container, binding, + primaryWSDL, docs.values(), createEntityResolver(), false + ); + adapters.add(adapterFactory.createAdapter(name, urlPattern, endpoint)); + } else { + failWithLocalName("runtime.parser.invalidElement", reader); + } } return adapters; } /** - * @param ddBindingId - * binding id explicitlyspecified in the DeploymentDescriptor or parameter - * @param implClass - * Endpoint Implementation class - * @param mtomEnabled - * represents mtom-enabled attribute in DD - * @param mtomThreshold - * threshold value specified in DD - * @return - * is returned with only MTOMFeature set resolving the various precendece rules + * @param ddBindingId binding id explicitlyspecified in the DeploymentDescriptor or parameter + * @param implClass Endpoint Implementation class + * @param mtomEnabled represents mtom-enabled attribute in DD + * @param mtomThreshold threshold value specified in DD + * @return is returned with only MTOMFeature set resolving the various precendece rules */ - private static WSBinding createBinding(String ddBindingId,Class implClass, - String mtomEnabled, String mtomThreshold, String dataBindingMode) { + private static WSBinding createBinding(String ddBindingId, Class implClass, + String mtomEnabled, String mtomThreshold, String dataBindingMode) { // Features specified through DD WebServiceFeatureList features; MTOMFeature mtomfeature = null; if (mtomEnabled != null) { - if (mtomThreshold != null) + if (mtomThreshold != null) { mtomfeature = new MTOMFeature(Boolean.valueOf(mtomEnabled), Integer.valueOf(mtomThreshold)); - else + } else { mtomfeature = new MTOMFeature(Boolean.valueOf(mtomEnabled)); + } } BindingID bindingID; @@ -287,7 +326,7 @@ bindingID = BindingID.parse(ddBindingId); features = bindingID.createBuiltinFeatureList(); - if(checkMtomConflict(features.get(MTOMFeature.class),mtomfeature)) { + if (checkMtomConflict(features.get(MTOMFeature.class), mtomfeature)) { throw new ServerRtException(ServerMessages.DD_MTOM_CONFLICT(ddBindingId, mtomEnabled)); } } else { @@ -296,8 +335,9 @@ // mtom through Feature annotation or DD takes precendece features = new WebServiceFeatureList(); - if(mtomfeature != null) - features.add(mtomfeature); // this wins over MTOM setting in bindingID + if (mtomfeature != null) { // this wins over MTOM setting in bindingID + features.add(mtomfeature); + } features.addAll(bindingID.createBuiltinFeatureList()); } @@ -309,7 +349,9 @@ } private static boolean checkMtomConflict(MTOMFeature lhs, MTOMFeature rhs) { - if(lhs==null || rhs==null) return false; + if (lhs == null || rhs == null) { + return false; + } return lhs.isEnabled() ^ rhs.isEnabled(); } @@ -320,7 +362,6 @@ * binding ids * * @param lexical binding attribute value from DD. Always not null - * * @return returns corresponding API's binding ID or the same lexical */ public static @NotNull String getBindingIdForToken(@NotNull String lexical) { @@ -340,8 +381,7 @@ /** * Creates a new "Adapter". - * - *

      + *

      * Normally 'A' would be {@link HttpAdapter} or some derived class. * But the parser doesn't require that to be of any particular type. */ @@ -353,34 +393,31 @@ * Checks the deployment descriptor or {@link @WebServiceProvider} annotation * to see if it points to any WSDL. If so, returns the {@link SDDocumentSource}. * - * @return - * The pointed WSDL, if any. Otherwise null. + * @return The pointed WSDL, if any. Otherwise null. */ - private SDDocumentSource getPrimaryWSDL(XMLStreamReader xsr, Attributes attrs, Class implementorClass) { + private SDDocumentSource getPrimaryWSDL(XMLStreamReader xsr, Attributes attrs, Class implementorClass, MetadataReader metadataReader) { String wsdlFile = getAttribute(attrs, ATTR_WSDL); if (wsdlFile == null) { - wsdlFile = EndpointFactory.getWsdlLocation(implementorClass); + wsdlFile = EndpointFactory.getWsdlLocation(implementorClass, metadataReader); } - if (wsdlFile!=null) { + if (wsdlFile != null) { if (!wsdlFile.startsWith(JAXWS_WSDL_DD_DIR)) { - logger.warning("Ignoring wrong wsdl="+wsdlFile+". It should start with " - +JAXWS_WSDL_DD_DIR - +". Going to generate and publish a new WSDL."); + logger.log(Level.WARNING, "Ignoring wrong wsdl={0}. It should start with {1}. Going to generate and publish a new WSDL.", new Object[]{wsdlFile, JAXWS_WSDL_DD_DIR}); return null; } URL wsdl; try { - wsdl = loader.getResource('/'+wsdlFile); + wsdl = loader.getResource('/' + wsdlFile); } catch (MalformedURLException e) { throw new LocatableWebServiceException( - ServerMessages.RUNTIME_PARSER_WSDL_NOT_FOUND(wsdlFile), e, xsr ); + ServerMessages.RUNTIME_PARSER_WSDL_NOT_FOUND(wsdlFile), e, xsr); } if (wsdl == null) { throw new LocatableWebServiceException( - ServerMessages.RUNTIME_PARSER_WSDL_NOT_FOUND(wsdlFile), xsr ); + ServerMessages.RUNTIME_PARSER_WSDL_NOT_FOUND(wsdlFile), xsr); } SDDocumentSource docInfo = docs.get(wsdl.toExternalForm()); assert docInfo != null; @@ -396,7 +433,7 @@ private EntityResolver createEntityResolver() { try { return XmlUtil.createEntityResolver(loader.getCatalogFile()); - } catch(MalformedURLException e) { + } catch (MalformedURLException e) { throw new WebServiceException(e); } } @@ -422,9 +459,9 @@ String value = getAttribute(attrs, name); if (value != null && value.equals("")) { failWithLocalName( - "runtime.parser.invalidAttributeValue", - reader, - name); + "runtime.parser.invalidAttributeValue", + reader, + name); } return value; } @@ -444,9 +481,9 @@ failWithLocalName("runtime.parser.missing.attribute", reader, name); } else if (value.equals("")) { failWithLocalName( - "runtime.parser.invalidAttributeValue", - reader, - name); + "runtime.parser.invalidAttributeValue", + reader, + name); } return value; } @@ -454,25 +491,23 @@ /** * Parses the handler and role information and sets it * on the {@link WSBinding}. + * * @return true if element present in DD * false otherwise. */ protected boolean setHandlersAndRoles(WSBinding binding, XMLStreamReader reader, QName serviceName, QName portName) { - if (XMLStreamReaderUtil.nextElementContent(reader) == - XMLStreamConstants.END_ELEMENT || - !reader.getName().equals( - HandlerChainsModel.QNAME_HANDLER_CHAINS)) { - + if (reader.getEventType() == XMLStreamConstants.END_ELEMENT || + !reader.getName().equals(HandlerChainsModel.QNAME_HANDLER_CHAINS)) { return false; } HandlerAnnotationInfo handlerInfo = HandlerChainsModel.parseHandlerFile( - reader, classLoader,serviceName, portName, binding); + reader, classLoader, serviceName, portName, binding); binding.setHandlerChain(handlerInfo.getHandlers()); if (binding instanceof SOAPBinding) { - ((SOAPBinding)binding).setRoles(handlerInfo.getRoles()); + ((SOAPBinding) binding).setRoles(handlerInfo.getRoles()); } // move past @@ -480,42 +515,67 @@ return true; } - protected static void ensureNoContent(XMLStreamReader reader) { - if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) { - fail("runtime.parser.unexpectedContent", reader); + protected ExternalMetadataFeature configureExternalMetadataReader(XMLStreamReader reader) { + + ExternalMetadataFeature.Builder featureBuilder = null; + while (QNAME_EXT_METADA.equals(reader.getName())) { + + if (reader.getEventType() == XMLStreamConstants.START_ELEMENT) { + Attributes attrs = XMLStreamReaderUtil.getAttributes(reader); + String file = getAttribute(attrs, ATTR_FILE); + if (file != null) { + if (featureBuilder == null) { + featureBuilder = ExternalMetadataFeature.builder(); + } + featureBuilder.addFiles(new File(file)); + } + + String res = getAttribute(attrs, ATTR_RESOURCE); + if (res != null) { + if (featureBuilder == null) { + featureBuilder = ExternalMetadataFeature.builder(); + } + featureBuilder.addResources(res); + } + } + + XMLStreamReaderUtil.nextElementContent(reader); } + + return buildFeature(featureBuilder); + } + + private ExternalMetadataFeature buildFeature(ExternalMetadataFeature.Builder builder) { + return builder != null ? builder.build() : null; } protected static void fail(String key, XMLStreamReader reader) { - logger.log(Level.SEVERE, key + reader.getLocation().getLineNumber()); + logger.log(Level.SEVERE, "{0}{1}", new Object[]{key, reader.getLocation().getLineNumber()}); throw new ServerRtException( - key, - Integer.toString(reader.getLocation().getLineNumber())); + key, + Integer.toString(reader.getLocation().getLineNumber())); } protected static void failWithFullName(String key, XMLStreamReader reader) { throw new ServerRtException( - key, - reader.getLocation().getLineNumber(), - reader.getName()); + key, + reader.getLocation().getLineNumber(), + reader.getName()); } protected static void failWithLocalName(String key, XMLStreamReader reader) { throw new ServerRtException( - key, - reader.getLocation().getLineNumber(), - reader.getLocalName()); + key, + reader.getLocation().getLineNumber(), + reader.getLocalName()); } - protected static void failWithLocalName( - String key, - XMLStreamReader reader, - String arg) { + protected static void failWithLocalName(String key, XMLStreamReader reader, String arg) { throw new ServerRtException( - key, - reader.getLocation().getLineNumber(), - reader.getLocalName(), - arg); + key, + reader.getLocation().getLineNumber(), + reader.getLocalName(), + arg); } protected Class loadClass(String name) { @@ -524,8 +584,8 @@ } catch (ClassNotFoundException e) { logger.log(Level.SEVERE, e.getMessage(), e); throw new ServerRtException( - "runtime.parser.classNotFound", - name); + "runtime.parser.classNotFound", + name); } } @@ -533,8 +593,7 @@ /** * Loads the class of the given name. * - * @param xsr - * Used to report the source location information if there's any error. + * @param xsr Used to report the source location information if there's any error. */ private Class getImplementorClass(String name, XMLStreamReader xsr) { try { @@ -542,34 +601,8 @@ } catch (ClassNotFoundException e) { logger.log(Level.SEVERE, e.getMessage(), e); throw new LocatableWebServiceException( - ServerMessages.RUNTIME_PARSER_CLASS_NOT_FOUND(name), e, xsr ); + ServerMessages.RUNTIME_PARSER_CLASS_NOT_FOUND(name), e, xsr); } } - public static final String NS_RUNTIME = - "http://java.sun.com/xml/ns/jax-ws/ri/runtime"; - - public static final String JAXWS_WSDL_DD_DIR = "WEB-INF/wsdl"; - - public static final QName QNAME_ENDPOINTS = - new QName(NS_RUNTIME, "endpoints"); - public static final QName QNAME_ENDPOINT = - new QName(NS_RUNTIME, "endpoint"); - - public static final String ATTR_VERSION = "version"; - public static final String ATTR_NAME = "name"; - public static final String ATTR_IMPLEMENTATION = "implementation"; - public static final String ATTR_WSDL = "wsdl"; - public static final String ATTR_SERVICE = "service"; - public static final String ATTR_PORT = "port"; - public static final String ATTR_URL_PATTERN = "url-pattern"; - public static final String ATTR_ENABLE_MTOM = "enable-mtom"; - public static final String ATTR_MTOM_THRESHOLD_VALUE = "mtom-threshold-value"; - public static final String ATTR_BINDING = "binding"; - public static final String ATTR_DATABINDING = "databinding"; - - public static final String ATTRVALUE_VERSION_1_0 = "2.0"; - private static final Logger logger = - Logger.getLogger( - com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".server.http"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,14 +25,15 @@ package com.sun.xml.internal.ws.transport.http; - +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.addressing.NonAnonymousResponseProcessor; +import com.sun.xml.internal.ws.api.addressing.AddressingVersion; +import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.Component; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.ha.HaInfo; -import com.sun.xml.internal.ws.api.ha.StickyFeature; import com.sun.xml.internal.ws.api.message.ExceptionHasMessage; import com.sun.xml.internal.ws.api.message.Message; import com.sun.xml.internal.ws.api.message.Packet; @@ -49,6 +50,7 @@ import com.sun.xml.internal.ws.api.server.TransportBackChannel; import com.sun.xml.internal.ws.api.server.WSEndpoint; import com.sun.xml.internal.ws.api.server.WebServiceContextDelegate; +import com.sun.xml.internal.ws.fault.SOAPFaultBuilder; import com.sun.xml.internal.ws.resources.WsservletMessages; import com.sun.xml.internal.ws.server.UnsupportedMediaException; import com.sun.xml.internal.ws.util.ByteArrayBuffer; @@ -56,7 +58,6 @@ import javax.xml.ws.Binding; import javax.xml.ws.WebServiceException; -import javax.xml.ws.WebServiceFeature; import javax.xml.ws.http.HTTPBinding; import java.io.ByteArrayOutputStream; @@ -71,6 +72,7 @@ import java.util.logging.Level; import java.util.logging.Logger; + /** * {@link Adapter} that receives messages in HTTP. * @@ -161,7 +163,7 @@ * * @param sdef service definition */ - public void initWSDLMap(ServiceDefinition sdef) { + public final void initWSDLMap(ServiceDefinition sdef) { this.serviceDefinition = sdef; if(sdef==null) { wsdls = Collections.emptyMap(); @@ -213,6 +215,7 @@ } } + @Override protected HttpToolkit createToolkit() { return new HttpToolkit(); } @@ -229,7 +232,7 @@ * *

      * To populate a request {@link Packet} with more info, - * define {@link PropertySet.Property properties} on + * define {@link com.oracle.webservices.internal.api.message.PropertySet.Property properties} on * {@link WSHTTPConnection}. * * @param connection to receive/send HTTP messages for web service endpoints @@ -256,8 +259,9 @@ // metadata query. let the interceptor run for (Component c : endpoint.getComponents()) { HttpMetadataPublisher spi = c.getSPI(HttpMetadataPublisher.class); - if (spi != null && spi.handleMetadataRequest(this, connection)) - return true; // handled + if (spi != null && spi.handleMetadataRequest(this, connection)) { + return true; + } // handled } if (isMetadataQuery(connection.getQueryString())) { @@ -317,7 +321,7 @@ packet.component = this; packet.transportBackChannel = new Oneway(con); packet.webServiceContextDelegate = con.getWebServiceContextDelegate(); - + packet.setState(Packet.State.ServerRequest); if (dump || LOGGER.isLoggable(Level.FINER)) { ByteArrayBuffer buf = new ByteArrayBuffer(); buf.write(in); @@ -333,20 +337,24 @@ } /** - * Some stacks may send non WS-I BP 1.2 conformant SoapAction. - * Make sure SOAPAction is quoted as {@link Packet#soapAction} expectsa quoted soapAction value. + * Some stacks may send non WS-I BP 1.2 conforming SoapAction. + * Make sure SOAPAction is quoted as {@link Packet#soapAction} expects quoted soapAction value. * * @param soapAction SoapAction HTTP Header * @return quoted SOAPAction value */ - private String fixQuotesAroundSoapAction(String soapAction) { + static public String fixQuotesAroundSoapAction(String soapAction) { if(soapAction != null && (!soapAction.startsWith("\"") || !soapAction.endsWith("\"")) ) { - LOGGER.info("Received WS-I BP non-conformant Unquoted SoapAction HTTP header: "+ soapAction); + if (LOGGER.isLoggable(Level.INFO)) { + LOGGER.log(Level.INFO, "Received WS-I BP non-conformant Unquoted SoapAction HTTP header: {0}", soapAction); + } String fixedSoapAction = soapAction; - if(!soapAction.startsWith("\"")) + if(!soapAction.startsWith("\"")) { fixedSoapAction = "\"" + fixedSoapAction; - if(!soapAction.endsWith("\"")) + } + if(!soapAction.endsWith("\"")) { fixedSoapAction = fixedSoapAction + "\""; + } return fixedSoapAction; } return soapAction; @@ -356,13 +364,40 @@ return NonAnonymousResponseProcessor.getDefault(); } + /** + * This method is added for the case of the sub-class wants to override the method to + * print details. E.g. convert soapfault as HTML msg for 403 error connstatus. + * @param os + */ + protected void writeClientError(int connStatus, @NotNull OutputStream os, @NotNull Packet packet) throws IOException { + //do nothing + } + + private boolean isClientErrorStatus(int connStatus) + { + return (connStatus == HttpURLConnection.HTTP_FORBIDDEN); // add more for future. + } + + private boolean isNonAnonymousUri(EndpointAddress addr){ + return (addr != null) && !addr.toString().equals(AddressingVersion.W3C.anonymousUri) && + !addr.toString().equals(AddressingVersion.MEMBER.anonymousUri); + } + private void encodePacket(@NotNull Packet packet, @NotNull WSHTTPConnection con, @NotNull Codec codec) throws IOException { - if (packet.endpointAddress != null) { + if (isNonAnonymousUri(packet.endpointAddress) && packet.getMessage() != null) { + try { // Message is targeted to non-anonymous response endpoint. // After call to non-anonymous processor, typically, packet.getMessage() will be null // however, processors could use this pattern to modify the response sent on the back-channel, // e.g. send custom HTTP headers with the HTTP 202 - packet = getNonAnonymousResponseProcessor().process(packet); + packet = getNonAnonymousResponseProcessor().process(packet); + } catch (RuntimeException re) { + // if processing by NonAnonymousResponseProcessor fails, new SOAPFaultMessage is created to be sent + // to back-channel client + SOAPVersion soapVersion = packet.getBinding().getSOAPVersion(); + Message faultMsg = SOAPFaultBuilder.createSOAPFaultMessage(soapVersion, null, re); + packet = packet.createServerResponse(faultMsg, packet.endpoint.getPort(), null, packet.endpoint.getBinding()); + } } if (con.isClosed()) { @@ -375,8 +410,9 @@ if (!con.isClosed()) { // set the response code if not already set // for example, 415 may have been set earlier for Unsupported Content-Type - if (con.getStatus() == 0) + if (con.getStatus() == 0) { con.setStatus(WSHTTPConnection.ONEWAY); + } // close the response channel now try { con.getOutput().close(); // no payload @@ -393,6 +429,13 @@ : HttpURLConnection.HTTP_OK); } + if (isClientErrorStatus(con.getStatus())) { + OutputStream os = con.getOutput(); + writeClientError(con.getStatus(), os, packet); + os.close(); + return; + } + ContentType contentType = codec.getStaticContentType(packet); if (contentType != null) { con.setContentTypeResponseHeader(contentType.getContentType()); @@ -502,6 +545,7 @@ } endpoint.process(request, new WSEndpoint.CompletionCallback() { + @Override public void onCompletion(@NotNull Packet response) { try { try { @@ -522,6 +566,7 @@ public static final CompletionCallback NO_OP_COMPLETION_CALLBACK = new CompletionCallback() { + @Override public void onCompletion() { //NO-OP } @@ -541,35 +586,37 @@ super.handle(con); } + @Override protected void encodePacket(WSHTTPConnection con, @NotNull Packet packet, @NotNull Codec codec) throws IOException { HttpAdapter.this.encodePacket(packet, con, codec); } - protected @Nullable String getAcceptableMimeTypes(WSHTTPConnection con) { + protected @Override @Nullable String getAcceptableMimeTypes(WSHTTPConnection con) { return null; } - protected @Nullable TransportBackChannel getTransportBackChannel(WSHTTPConnection con) { + protected @Override @Nullable TransportBackChannel getTransportBackChannel(WSHTTPConnection con) { return new Oneway(con); } - protected @NotNull + protected @Override @NotNull PropertySet getPropertySet(WSHTTPConnection con) { return con; } - protected @NotNull WebServiceContextDelegate getWebServiceContextDelegate(WSHTTPConnection con) { + protected @Override @NotNull WebServiceContextDelegate getWebServiceContextDelegate(WSHTTPConnection con) { return con.getWebServiceContextDelegate(); } } - final class Oneway implements TransportBackChannel { + static final class Oneway implements TransportBackChannel { WSHTTPConnection con; boolean closed; Oneway(WSHTTPConnection con) { this.con = con; } + @Override public void close() { if (!closed) { closed = true; @@ -687,7 +734,7 @@ } public PortAddressResolver getPortAddressResolver(String baseAddress) { - return owner.createPortAddressResolver(baseAddress); + return owner.createPortAddressResolver(baseAddress, endpoint.getImplementationClass()); } public DocumentAddressResolver getDocumentAddressResolver( @@ -695,6 +742,7 @@ final String address = portAddressResolver.getAddressFor(endpoint.getServiceName(), endpoint.getPortName().getLocalPart()); assert address != null; return new DocumentAddressResolver() { + @Override public String getRelativeAddressFor(@NotNull SDDocument current, @NotNull SDDocument referenced) { // the map on endpoint should account for all SDDocument assert revWsdls.containsKey(referenced); @@ -785,7 +833,9 @@ * Generates the listing of all services. */ private void writeWebServicesHtmlPage(WSHTTPConnection con) throws IOException { - if (!publishStatusPage) return; + if (!publishStatusPage) { + return; + } // TODO: resurrect the ability to localize according to the current request. @@ -859,9 +909,13 @@ /** * Dumps what goes across HTTP transport. */ - public static boolean dump = false; + public static volatile boolean dump = false; + + public static volatile boolean publishStatusPage = true; - public static boolean publishStatusPage = true; + public static synchronized void setPublishStatus(boolean publish) { + publishStatusPage = publish; + } static { try { @@ -870,11 +924,14 @@ // OK to ignore this } try { - publishStatusPage = System.getProperty(HttpAdapter.class.getName()+".publishStatusPage").equals("true"); + setPublishStatus(System.getProperty(HttpAdapter.class.getName()+".publishStatusPage").equals("true")); } catch( Throwable t ) { // OK to ignore this } } + public static void setDump(boolean dumpMessages) { + HttpAdapter.dump = dumpMessages; + } private static final Logger LOGGER = Logger.getLogger(HttpAdapter.class.getName()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapterList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapterList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpAdapterList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -37,6 +37,7 @@ import java.util.Map; import java.util.HashMap; import java.util.AbstractList; +import java.util.Map.Entry; /** * List of {@link HttpAdapter}s created together. @@ -58,12 +59,13 @@ private final Map addressMap = new HashMap(); // TODO: documented because it's used by AS + @Override public T createAdapter(String name, String urlPattern, WSEndpoint endpoint) { T t = createHttpAdapter(name, urlPattern, endpoint); adapters.add(t); WSDLPort port = endpoint.getPort(); if (port != null) { - PortInfo portInfo = new PortInfo(port.getOwner().getName(),port.getName().getLocalPart()); + PortInfo portInfo = new PortInfo(port.getOwner().getName(),port.getName().getLocalPart(), endpoint.getImplementationClass()); addressMap.put(portInfo, getValidPath(urlPattern)); } return t; @@ -88,21 +90,36 @@ /** * Creates a PortAddressResolver that maps portname to its address + * + * @param endpointImpl application endpoint Class that eventually serves the request. */ - public PortAddressResolver createPortAddressResolver(final String baseAddress) { + public PortAddressResolver createPortAddressResolver(final String baseAddress, final Class endpointImpl) { return new PortAddressResolver() { + @Override public String getAddressFor(@NotNull QName serviceName, @NotNull String portName) { - String urlPattern = addressMap.get(new PortInfo(serviceName,portName)); + String urlPattern = addressMap.get(new PortInfo(serviceName,portName, endpointImpl)); + if (urlPattern == null) { + //if a WSDL defines more ports, urlpattern is null (portName does not match endpointImpl) + //so fallback to the default behaviour where only serviceName/portName is checked + for (Entry e : addressMap.entrySet()) { + if (serviceName.equals(e.getKey().serviceName) && portName.equals(e.getKey().portName)) { + urlPattern = e.getValue(); + break; + } + } + } return (urlPattern == null) ? null : baseAddress+urlPattern; } }; } + @Override public T get(int index) { return adapters.get(index); } + @Override public int size() { return adapters.size(); } @@ -110,24 +127,30 @@ private static class PortInfo { private final QName serviceName; private final String portName; + private final Class implClass; - PortInfo(@NotNull QName serviceName, @NotNull String portName) { + PortInfo(@NotNull QName serviceName, @NotNull String portName, Class implClass) { this.serviceName = serviceName; this.portName = portName; + this.implClass = implClass; } @Override public boolean equals(Object portInfo) { if (portInfo instanceof PortInfo) { PortInfo that = (PortInfo)portInfo; - return this.serviceName.equals(that.serviceName) && this.portName.equals(that.portName); + if (this.implClass == null) { + return this.serviceName.equals(that.serviceName) && this.portName.equals(that.portName) && that.implClass == null; + } + return this.serviceName.equals(that.serviceName) && this.portName.equals(that.portName) && this.implClass.equals(that.implClass); } return false; } @Override public int hashCode() { - return serviceName.hashCode()+portName.hashCode(); + int retVal = serviceName.hashCode()+portName.hashCode(); + return implClass != null ? retVal + implClass.hashCode() : retVal; } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpMetadataPublisher.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpMetadataPublisher.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/HttpMetadataPublisher.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/ResourceLoader.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/ResourceLoader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/ResourceLoader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -66,7 +66,7 @@ * null if the path is invalid. empty if the path didn't contain * any entry in it. * - * @see javax.servlet.http.ServletContext#getResourcePaths(String) + * @see javax.servlet.ServletContext#getResourcePaths(String) */ Set getResourcePaths(String path); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/WSHTTPConnection.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/WSHTTPConnection.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/WSHTTPConnection.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,9 +25,10 @@ package com.sun.xml.internal.ws.transport.http; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.server.WebServiceContextDelegate; @@ -54,12 +55,12 @@ * *

      * This class extends {@link PropertySet} so that a transport can - * expose its properties to the appliation and pipes. (This object + * expose its properties to the application and pipes. (This object * will be added to {@link Packet#addSatellite(PropertySet)}.) * * @author Jitendra Kotamraju */ -public abstract class WSHTTPConnection extends PropertySet { +public abstract class WSHTTPConnection extends BasePropertySet { public static final int OK=200; public static final int ONEWAY=202; @@ -111,7 +112,7 @@ * the previously set value. If not, this method adds it. * *

      - * Note that this method and {@link #setResponseHeaders(Map<String,List<String>>)} + * Note that this method and {@link #setResponseHeaders(java.util.Map)} * may be invoked in any arbitrary order. * * @param value @@ -347,7 +348,7 @@ /** * Subclasses are expected to override * - * @return + * @return a {@link String} containing the protocol name and version number */ public String getProtocol() { return "HTTP/1.1"; @@ -357,7 +358,7 @@ * Subclasses are expected to override * * @since JAX-WS RI 2.2.2 - * @return + * @return value of given cookie */ public String getCookie(String name) { return null; @@ -374,8 +375,6 @@ /** * Subclasses are expected to override - * - * @return */ public void setContentLengthResponseHeader(int value) { } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpClientTransport.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpClientTransport.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpClientTransport.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpResponseProperties.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpResponseProperties.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpResponseProperties.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,20 +25,22 @@ package com.sun.xml.internal.ws.transport.http.client; +import com.oracle.webservices.internal.api.message.BasePropertySet; +import com.oracle.webservices.internal.api.message.PropertySet; import com.sun.istack.internal.NotNull; -import com.sun.xml.internal.ws.api.PropertySet; import com.sun.xml.internal.ws.client.ResponseContext; import javax.xml.ws.handler.MessageContext; import java.util.List; import java.util.Map; + /** * Properties exposed from {@link HttpTransportPipe} for {@link ResponseContext}. * * @author Kohsuke Kawaguchi */ -final class HttpResponseProperties extends PropertySet { +final class HttpResponseProperties extends BasePropertySet { private final HttpClientTransport deferedCon; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpTransportPipe.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpTransportPipe.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/client/HttpTransportPipe.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -32,36 +32,27 @@ import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.pipe.*; import com.sun.xml.internal.ws.api.pipe.helper.AbstractTubeImpl; +import com.sun.xml.internal.ws.client.ClientTransportException; import com.sun.xml.internal.ws.developer.HttpConfigFeature; +import com.sun.xml.internal.ws.resources.ClientMessages; import com.sun.xml.internal.ws.transport.Headers; import com.sun.xml.internal.ws.util.ByteArrayBuffer; -import com.sun.xml.internal.ws.client.ClientTransportException; -import com.sun.xml.internal.ws.resources.ClientMessages; import com.sun.xml.internal.ws.util.RuntimeVersion; import com.sun.xml.internal.ws.util.StreamUtils; import javax.xml.bind.DatatypeConverter; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; import javax.xml.ws.BindingProvider; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.handler.MessageContext; import javax.xml.ws.soap.SOAPBinding; -import javax.xml.ws.handler.MessageContext; - -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.io.PrintWriter; +import java.io.*; import java.net.CookieHandler; -import java.util.Collections; -import java.util.List; -import java.util.logging.Logger; +import java.net.HttpURLConnection; +import java.util.*; +import java.util.Map.Entry; import java.util.logging.Level; -import java.util.Map; -import java.util.Map.Entry; -import java.net.HttpURLConnection; +import java.util.logging.Logger; /** * {@link Tube} that sends a request to a remote HTTP server. @@ -72,21 +63,28 @@ * @author Jitendra Kotamraju */ public class HttpTransportPipe extends AbstractTubeImpl { - private static final Logger LOGGER = Logger.getLogger(HttpTransportPipe.class.getName()); + + private static final List USER_AGENT = Collections.singletonList(RuntimeVersion.VERSION.toString()); + private static final Logger LOGGER = Logger.getLogger(HttpTransportPipe.class.getName()); + + /** + * Dumps what goes across HTTP transport. + */ + public static boolean dump; private final Codec codec; private final WSBinding binding; - private static final List USER_AGENT = Collections.singletonList(RuntimeVersion.VERSION.toString()); private final CookieHandler cookieJar; // shared object among the tubes private final boolean sticky; - // Need to use JAXB first to register DatatypeConverter static { + boolean b; try { - JAXBContext.newInstance().createUnmarshaller(); - } catch(JAXBException je) { - // Nothing much can be done. Intentionally left empty + b = Boolean.getBoolean(HttpTransportPipe.class.getName()+".dump"); + } catch( Throwable t ) { + b = false; } + dump = b; } public HttpTransportPipe(Codec codec, WSBinding binding) { @@ -120,14 +118,17 @@ cloner.add(that,this); } + @Override public NextAction processException(@NotNull Throwable t) { return doThrow(t); } + @Override public NextAction processRequest(@NotNull Packet request) { return doReturnWith(process(request)); } + @Override public NextAction processResponse(@NotNull Packet response) { return doReturnWith(response); } @@ -178,8 +179,9 @@ writeSOAPAction(reqHeaders, ct.getSOAPActionHeader()); } - if(dump || LOGGER.isLoggable(Level.FINER)) + if (dump || LOGGER.isLoggable(Level.FINER)) { dump(buf, "HTTP request", reqHeaders); + } buf.writeTo(con.getOutput()); } else { @@ -315,26 +317,50 @@ private void addCookies(Packet context, Map> reqHeaders) throws IOException { Boolean shouldMaintainSessionProperty = - (Boolean) context.invocationProperties.get(BindingProvider.SESSION_MAINTAIN_PROPERTY); + (Boolean) context.invocationProperties.get(BindingProvider.SESSION_MAINTAIN_PROPERTY); if (shouldMaintainSessionProperty != null && !shouldMaintainSessionProperty) { return; // explicitly turned off } if (sticky || (shouldMaintainSessionProperty != null && shouldMaintainSessionProperty)) { - Map> cookies = cookieJar.get(context.endpointAddress.getURI(),reqHeaders); - List cookieList = cookies.get("Cookie"); - if (cookieList != null && !cookieList.isEmpty()) { - reqHeaders.put("Cookie", cookieList); - } - cookieList = cookies.get("Cookie2"); - if (cookieList != null && !cookieList.isEmpty()) { - reqHeaders.put("Cookie2", cookieList); - } + Map> rememberedCookies = cookieJar.get(context.endpointAddress.getURI(), reqHeaders); + processCookieHeaders(reqHeaders, rememberedCookies, "Cookie"); + processCookieHeaders(reqHeaders, rememberedCookies, "Cookie2"); + } + } + + private void processCookieHeaders(Map> requestHeaders, Map> rememberedCookies, String cookieHeader) { + List jarCookies = rememberedCookies.get(cookieHeader); + if (jarCookies != null && !jarCookies.isEmpty()) { + List resultCookies = mergeUserCookies(jarCookies, requestHeaders.get(cookieHeader)); + requestHeaders.put(cookieHeader, resultCookies); + } + } + + private List mergeUserCookies(List rememberedCookies, List userCookies) { + + // nothing to merge + if (userCookies == null || userCookies.isEmpty()) { + return rememberedCookies; + } + + Map map = new HashMap(); + cookieListToMap(rememberedCookies, map); + cookieListToMap(userCookies, map); + + return new ArrayList(map.values()); + } + + private void cookieListToMap(List cookieList, Map targetMap) { + for(String cookie : cookieList) { + int index = cookie.indexOf("="); + String cookieName = cookie.substring(0, index); + targetMap.put(cookieName, cookie); } } private void recordCookies(Packet context, HttpClientTransport con) throws IOException { Boolean shouldMaintainSessionProperty = - (Boolean) context.invocationProperties.get(BindingProvider.SESSION_MAINTAIN_PROPERTY); + (Boolean) context.invocationProperties.get(BindingProvider.SESSION_MAINTAIN_PROPERTY); if (shouldMaintainSessionProperty != null && !shouldMaintainSessionProperty) { return; // explicitly turned off } @@ -348,7 +374,7 @@ if (user != null) { String pw = (String) context.invocationProperties.get(BindingProvider.PASSWORD_PROPERTY); if (pw != null) { - StringBuffer buf = new StringBuffer(user); + StringBuilder buf = new StringBuilder(user); buf.append(":"); buf.append(pw); String creds = DatatypeConverter.printBase64Binary(buf.toString().getBytes()); @@ -363,18 +389,22 @@ */ private void writeSOAPAction(Map> reqHeaders, String soapAction) { //dont write SOAPAction HTTP header for SOAP 1.2 messages. - if(SOAPVersion.SOAP_12.equals(binding.getSOAPVersion())) + if(SOAPVersion.SOAP_12.equals(binding.getSOAPVersion())) { return; - if (soapAction != null) + } + if (soapAction != null) { reqHeaders.put("SOAPAction", Collections.singletonList(soapAction)); - else + } else { reqHeaders.put("SOAPAction", Collections.singletonList("\"\"")); + } } + @Override public void preDestroy() { // nothing to do. Intentionally left empty. } + @Override public HttpTransportPipe copy(TubeCloner cloner) { return new HttpTransportPipe(this,cloner); } @@ -401,25 +431,11 @@ String msg = baos.toString(); if (dump) { - System.out.println(msg); + System.out.println(msg); } if (LOGGER.isLoggable(Level.FINER)) { - LOGGER.log(Level.FINER, msg); + LOGGER.log(Level.FINER, msg); } } - /** - * Dumps what goes across HTTP transport. - */ - public static boolean dump; - - static { - boolean b; - try { - b = Boolean.getBoolean(HttpTransportPipe.class.getName()+".dump"); - } catch( Throwable t ) { - b = false; - } - dump = b; - } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/EndpointImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/EndpointImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/EndpointImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,7 @@ import com.sun.xml.internal.ws.api.Component; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.BindingID; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.binding.BindingImpl; import com.sun.xml.internal.ws.api.server.*; @@ -303,6 +304,7 @@ throw new UnsupportedOperationException("Couldn't load light weight http server", e); } container = getContainer(); + MetadataReader metadataReader = EndpointFactory.getExternalMetadatReader(implClass, binding); WSEndpoint wse = WSEndpoint.create( implClass, true, invoker, @@ -310,7 +312,7 @@ getProperty(QName.class, Endpoint.WSDL_PORT), container, binding, - getPrimaryWsdl(), + getPrimaryWsdl(metadataReader), buildDocList(), (EntityResolver) null, false @@ -360,10 +362,10 @@ /** * Gets wsdl from @WebService or @WebServiceProvider */ - private @Nullable SDDocumentSource getPrimaryWsdl() { + private @Nullable SDDocumentSource getPrimaryWsdl(MetadataReader metadataReader) { // Takes care of @WebService, @WebServiceProvider's wsdlLocation - EndpointFactory.verifyImplementorClass(implClass); - String wsdlLocation = EndpointFactory.getWsdlLocation(implClass); + EndpointFactory.verifyImplementorClass(implClass, metadataReader); + String wsdlLocation = EndpointFactory.getWsdlLocation(implClass, metadataReader); if (wsdlLocation != null) { ClassLoader cl = implClass.getClassLoader(); URL url = cl.getResource(wsdlLocation); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/HttpEndpoint.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/HttpEndpoint.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/HttpEndpoint.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,7 +29,6 @@ import com.sun.xml.internal.ws.transport.http.HttpAdapter; import com.sun.xml.internal.ws.transport.http.HttpAdapterList; import com.sun.xml.internal.ws.server.ServerRtException; -import com.sun.xml.internal.ws.server.WSEndpointImpl; import com.sun.xml.internal.ws.resources.ServerMessages; import javax.xml.ws.EndpointReference; @@ -127,9 +126,8 @@ } public T getEndpointReference(Class clazz, Element...referenceParameters) { - WSEndpointImpl endpointImpl = (WSEndpointImpl) adapter.getEndpoint(); String eprAddress = getEPRAddress(); - return clazz.cast(endpointImpl.getEndpointReference(clazz, eprAddress,eprAddress+"?wsdl", referenceParameters)); + return clazz.cast(adapter.getEndpoint().getEndpointReference(clazz, eprAddress,eprAddress+"?wsdl", referenceParameters)); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableConnectionImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableConnectionImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableConnectionImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -91,19 +91,19 @@ } @Override - public void setResponseHeader(String key, List value) { - httpExchange.getResponseHeaders().put(key, value); - } + public void setResponseHeader(String key, List value) { + httpExchange.getResponseHeaders().put(key, value); + } - @Override - public Set getRequestHeaderNames() { + @Override + public Set getRequestHeaderNames() { return httpExchange.getRequestHeaders().keySet(); - } + } - @Override - public List getRequestHeaderValues(String headerName) { - return httpExchange.getRequestHeaders().get(headerName); - } + @Override + public List getRequestHeaderValues(String headerName) { + return httpExchange.getRequestHeaders().get(headerName); + } @Override @Property({MessageContext.HTTP_RESPONSE_HEADERS,Packet.OUTBOUND_TRANSPORT_HEADERS}) @@ -127,11 +127,11 @@ return status; } - public @NotNull InputStream getInput() throws IOException { + public @Override @NotNull InputStream getInput() throws IOException { return httpExchange.getRequestBody(); } - public @NotNull OutputStream getOutput() throws IOException { + public @Override @NotNull OutputStream getOutput() throws IOException { assert !outputWritten; outputWritten = true; @@ -139,23 +139,26 @@ return httpExchange.getResponseBody(); } - public @NotNull WebServiceContextDelegate getWebServiceContextDelegate() { + public @Override @NotNull WebServiceContextDelegate getWebServiceContextDelegate() { return this; } + @Override public Principal getUserPrincipal(Packet request) { return httpExchange.getUserPrincipal(); } + @Override public boolean isUserInRole(Packet request, String role) { return httpExchange.isUserInRole(role); } - public @NotNull String getEPRAddress(Packet request, WSEndpoint endpoint) { - PortAddressResolver resolver = adapter.owner.createPortAddressResolver(getBaseAddress()); + public @Override @NotNull String getEPRAddress(Packet request, WSEndpoint endpoint) { + PortAddressResolver resolver = adapter.owner.createPortAddressResolver(getBaseAddress(), endpoint.getImplementationClass()); String address = resolver.getAddressFor(endpoint.getServiceName(), endpoint.getPortName().getLocalPart()); - if(address==null) + if(address==null) { throw new WebServiceException(WsservletMessages.SERVLET_NO_ADDRESS_AVAILABLE(endpoint.getPortName())); + } return address; } @@ -174,12 +177,14 @@ return httpExchange.getAttribute(MessageContext.SERVLET_REQUEST); } + @Override public String getWSDLAddress(@NotNull Packet request, @NotNull WSEndpoint endpoint) { String eprAddress = getEPRAddress(request,endpoint); - if(adapter.getEndpoint().getPort() != null) + if(adapter.getEndpoint().getPort() != null) { return eprAddress+"?wsdl"; - else + } else { return null; + } } @Override @@ -232,26 +237,27 @@ httpExchange.addResponseHeader("Content-Length", ""+value); } - @Override - public String getRequestURI() { - return httpExchange.getRequestURI().toString(); - } + @Override + public String getRequestURI() { + return httpExchange.getRequestURI().toString(); + } - @Override - public String getRequestScheme() { - return httpExchange.getScheme(); - } + @Override + public String getRequestScheme() { + return httpExchange.getScheme(); + } - @Override - public String getServerName() { - return httpExchange.getLocalAddress().getHostName(); - } + @Override + public String getServerName() { + return httpExchange.getLocalAddress().getHostName(); + } - @Override - public int getServerPort() { - return httpExchange.getLocalAddress().getPort(); - } + @Override + public int getServerPort() { + return httpExchange.getLocalAddress().getPort(); + } + @Override protected PropertyMap getPropertyMap() { return model; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableHttpHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableHttpHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/PortableHttpHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -35,6 +35,7 @@ import javax.xml.ws.spi.http.HttpExchange; import java.io.IOException; import java.util.concurrent.Executor; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -66,9 +67,12 @@ /** * Called by HttpServer when there is a matching request for the context */ + @Override public void handle(HttpExchange msg) { try { - logger.fine("Received HTTP request:"+msg.getRequestURI()); + if (logger.isLoggable(Level.FINE)) { + logger.log(Level.FINE, "Received HTTP request:{0}", msg.getRequestURI()); + } if (executor != null) { // Use application's Executor to handle request. Application may // have set an executor using Endpoint.setExecutor(). @@ -76,16 +80,18 @@ } else { handleExchange(msg); } - } catch(Throwable e) { + } catch (Throwable e) { // Dont't propagate the exception otherwise it kills the httpserver - e.printStackTrace(); + logger.log(Level.SEVERE, null, e); } } public void handleExchange(HttpExchange msg) throws IOException { WSHTTPConnection con = new PortableConnectionImpl(adapter,msg); try { - logger.fine("Received HTTP request:"+msg.getRequestURI()); + if (logger.isLoggable(Level.FINE)) { + logger.log(Level.FINE, "Received HTTP request:{0}", msg.getRequestURI()); + } String method = msg.getRequestMethod(); if(method.equals(GET_METHOD) || method.equals(POST_METHOD) || method.equals(HEAD_METHOD) || method.equals(PUT_METHOD) || method.equals(DELETE_METHOD)) { @@ -109,6 +115,8 @@ this.msg = msg; } + @Override + @SuppressWarnings("CallToThreadDumpStack") public void run() { try { handleExchange(msg); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -35,6 +35,7 @@ import javax.xml.ws.WebServiceException; import java.net.URI; import java.net.URISyntaxException; +import java.util.logging.Level; import java.util.logging.Logger; /** @@ -60,7 +61,8 @@ // registers itself with the container Module module = endpoint.getContainer().getSPI(Module.class); if(module==null) - LOGGER.warning("Container "+endpoint.getContainer()+" doesn't support "+Module.class); + LOGGER.log(Level.WARNING, "Container {0} doesn''t support {1}", + new Object[]{endpoint.getContainer(), Module.class}); else { module.getBoundEndpoints().add(this); } @@ -75,8 +77,8 @@ } - @NotNull - public URI getAddress() { + @Override + public @NotNull URI getAddress() { WebModule webModule = endpoint.getContainer().getSPI(WebModule.class); if(webModule==null) // this is really a bug in the container implementation @@ -85,6 +87,7 @@ return getAddress(webModule.getContextPath()); } + @Override public @NotNull URI getAddress(String baseAddress) { String adrs = baseAddress+getValidPath(); try { @@ -103,6 +106,7 @@ return urlPattern; } + @Override public String toString() { return super.toString()+"[name="+name+']'; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapterList.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapterList.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerAdapterList.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -227,7 +227,7 @@ public @NotNull String getEPRAddress(Packet request, WSEndpoint endpoint) { //return WSHttpHandler.getRequestAddress(httpExchange); - PortAddressResolver resolver = adapter.owner.createPortAddressResolver(getBaseAddress()); + PortAddressResolver resolver = adapter.owner.createPortAddressResolver(getBaseAddress(), endpoint.getImplementationClass()); String address = resolver.getAddressFor(endpoint.getServiceName(), endpoint.getPortName().getLocalPart()); if(address==null) throw new WebServiceException(WsservletMessages.SERVLET_NO_ADDRESS_AVAILABLE(endpoint.getPortName())); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerContainer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerContainer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerContainer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -48,6 +48,9 @@ }; public T getSPI(Class spiType) { + T t = super.getSPI(spiType); + if (t != null) + return t; if (spiType == Module.class) { return spiType.cast(module); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerMgr.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerMgr.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/ServerMgr.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/WSHttpHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/WSHttpHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/WSHttpHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -72,7 +72,7 @@ public void handle(HttpExchange msg) { try { if (fineTraceEnabled) { - LOGGER.fine("Received HTTP request:"+msg.getRequestURI()); + LOGGER.log(Level.FINE, "Received HTTP request:{0}", msg.getRequestURI()); } if (executor != null) { // Use application's Executor to handle request. Application may @@ -90,7 +90,7 @@ WSHTTPConnection con = new ServerConnectionImpl(adapter,msg); try { if (fineTraceEnabled) { - LOGGER.fine("Received HTTP request:"+msg.getRequestURI()); + LOGGER.log(Level.FINE, "Received HTTP request:{0}", msg.getRequestURI()); } String method = msg.getRequestMethod(); if(method.equals(GET_METHOD) || method.equals(POST_METHOD) || method.equals(HEAD_METHOD) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ASCIIUtility.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ASCIIUtility.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ASCIIUtility.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -27,8 +27,6 @@ import java.io.InputStream; import java.io.IOException; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; import java.io.OutputStream; /** @@ -121,22 +119,6 @@ return new String(theChars); } - public static byte[] getBytes(String s) { - char [] chars= s.toCharArray(); - int size = chars.length; - byte[] bytes = new byte[size]; - - for (int i = 0; i < size;) - bytes[i] = (byte) chars[i++]; - return bytes; - } - - public static byte[] getBytes(InputStream is) throws IOException { - ByteArrayBuffer bab = new ByteArrayBuffer(); - bab.write(is); - return bab.toByteArray(); - } - public static void copyStream(InputStream is, OutputStream out) throws IOException { int size = 1024; byte[] buf = new byte[size]; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayBuffer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayBuffer.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayBuffer.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayDataSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayDataSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ByteArrayDataSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/CompletedFuture.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/CompletedFuture.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/CompletedFuture.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/Constants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Constants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Constants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/DOMUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/DOMUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/DOMUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,32 +25,25 @@ package com.sun.xml.internal.ws.util; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.w3c.dom.Element; -import org.xml.sax.SAXException; +import com.sun.istack.internal.NotNull; +import com.sun.istack.internal.Nullable; +import com.sun.xml.internal.ws.util.xml.XmlUtil; +import org.w3c.dom.*; +import javax.xml.XMLConstants; +import javax.xml.namespace.NamespaceContext; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.FactoryConfigurationError; import javax.xml.parsers.ParserConfigurationException; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; -import javax.xml.XMLConstants; -import javax.xml.namespace.NamespaceContext; -import java.io.IOException; -import java.io.InputStream; +import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import java.util.ArrayList; - -import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; /** - * @author: JAXWS Development Team + * @author JAXWS Development Team */ public class DOMUtil { @@ -63,7 +56,7 @@ synchronized (DOMUtil.class) { if (db == null) { try { - DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + DocumentBuilderFactory dbf = XmlUtil.newDocumentBuilderFactory(); dbf.setNamespaceAware(true); db = dbf.newDocumentBuilder(); } catch (ParserConfigurationException e) { @@ -74,28 +67,6 @@ } } - public static Node createDOMNode(InputStream inputStream) { - - DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); - dbf.setNamespaceAware(true); - dbf.setValidating(false); - try { - DocumentBuilder builder = dbf.newDocumentBuilder(); - try { - return builder.parse(inputStream); - } catch (SAXException e) { - e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. - } catch (IOException e) { - e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. - } - } catch (ParserConfigurationException pce) { - IllegalArgumentException iae = new IllegalArgumentException(pce.getMessage()); - iae.initCause(pce); - throw iae; - } - return null; - } - /** * Traverses a DOM node and writes out on a streaming writer. * @@ -112,6 +83,7 @@ switch (child.getNodeType()) { case Node.PROCESSING_INSTRUCTION_NODE: writer.writeProcessingInstruction(child.getNodeValue()); + break; case Node.DOCUMENT_TYPE_NODE: break; case Node.CDATA_SECTION_NODE: @@ -126,6 +98,7 @@ case Node.ELEMENT_NODE: serializeNode((Element) child, writer); break; + default: break; } } } @@ -222,8 +195,9 @@ for (Node n = e.getFirstChild(); n != null; n = n.getNextSibling()) { if (n.getNodeType() == Node.ELEMENT_NODE) { Element c = (Element) n; - if (c.getLocalName().equals(local) && c.getNamespaceURI().equals(nsUri)) + if (c.getLocalName().equals(local) && c.getNamespaceURI().equals(nsUri)) { return c; + } } } return null; @@ -232,8 +206,11 @@ private static @NotNull String fixNull(@Nullable String s) { - if (s == null) return ""; - else return s; + if (s == null) { + return ""; + } else { + return s; + } } /** diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetReflection.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetReflection.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetReflection.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/FastInfosetUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationInfo.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationInfo.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationInfo.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationProcessor.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationProcessor.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/HandlerAnnotationProcessor.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,9 +26,11 @@ package com.sun.xml.internal.ws.util; import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.api.databinding.MetadataReader; import com.sun.xml.internal.ws.api.server.AsyncProvider; import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory; import com.sun.xml.internal.ws.handler.HandlerChainsModel; +import com.sun.xml.internal.ws.model.ReflectAnnotationReader; import com.sun.xml.internal.ws.server.EndpointFactory; import com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil; import com.sun.istack.internal.NotNull; @@ -89,14 +91,17 @@ public static HandlerAnnotationInfo buildHandlerInfo(@NotNull Class clazz, QName serviceName, QName portName, WSBinding binding) { + MetadataReader metadataReader = EndpointFactory.getExternalMetadatReader(clazz, binding); + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } + // clazz = checkClass(clazz); - HandlerChain handlerChain = - clazz.getAnnotation(HandlerChain.class); + HandlerChain handlerChain = metadataReader.getAnnotation(HandlerChain.class, clazz); if (handlerChain == null) { - clazz = getSEI(clazz); + clazz = getSEI(clazz, metadataReader); if (clazz != null) - handlerChain = - clazz.getAnnotation(HandlerChain.class); + handlerChain = metadataReader.getAnnotation(HandlerChain.class, clazz); if (handlerChain == null) return null; } @@ -160,7 +165,11 @@ } } - static Class getSEI(Class clazz) { + static Class getSEI(Class clazz, MetadataReader metadataReader) { + if (metadataReader == null) { + metadataReader = new ReflectAnnotationReader(); + } + if (Provider.class.isAssignableFrom(clazz) || AsyncProvider.class.isAssignableFrom(clazz)) { //No SEI for Provider Implementation return null; @@ -169,17 +178,17 @@ //No SEI for Service class return null; } - if (!clazz.isAnnotationPresent(WebService.class)) { - throw new UtilException("util.handler.no.webservice.annotation", - clazz.getCanonicalName()); + + WebService webService = metadataReader.getAnnotation(WebService.class, clazz); + if (webService == null) { + throw new UtilException("util.handler.no.webservice.annotation", clazz.getCanonicalName()); } - WebService webService = clazz.getAnnotation(WebService.class); - String ei = webService.endpointInterface(); if (ei.length() > 0) { clazz = getClass(webService.endpointInterface()); - if (!clazz.isAnnotationPresent(WebService.class)) { + WebService ws = metadataReader.getAnnotation(WebService.class, clazz); + if (ws == null) { throw new UtilException("util.handler.endpoint.interface.no.webservice", webService.endpointInterface()); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/InjectionPlan.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/InjectionPlan.java Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,233 @@ +/* + * 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.util; + +import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.concurrent.Callable; + +import javax.annotation.Resource; +import javax.xml.ws.WebServiceException; + +/** + * Encapsulates which field/method the injection is done, and performs the + * injection. + */ +public abstract class InjectionPlan { + /** + * Perform injection + * + * @param instance + * Instance + * @param resource + * Resource + */ + public abstract void inject(T instance, R resource); + + /** + * Perform injection, but resource is only generated if injection is + * necessary. + * + * @param instance + * @param resource + */ + public void inject(T instance, Callable resource) { + try { + inject(instance, resource.call()); + } catch(Exception e) { + throw new WebServiceException(e); + } + } + + /* + * Injects to a field. + */ + public static class FieldInjectionPlan extends + InjectionPlan { + private final Field field; + + public FieldInjectionPlan(Field field) { + this.field = field; + } + + public void inject(final T instance, final R resource) { + AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + try { + if (!field.isAccessible()) { + field.setAccessible(true); + } + field.set(instance, resource); + return null; + } catch (IllegalAccessException e) { + throw new WebServiceException(e); + } + } + }); + } + } + + /* + * Injects to a method. + */ + public static class MethodInjectionPlan extends + InjectionPlan { + private final Method method; + + public MethodInjectionPlan(Method method) { + this.method = method; + } + + public void inject(T instance, R resource) { + invokeMethod(method, instance, resource); + } + } + + /* + * Helper for invoking a method with elevated privilege. + */ + private static void invokeMethod(final Method method, final Object instance, final Object... args) { + if(method==null) return; + AccessController.doPrivileged(new PrivilegedAction() { + public Void run() { + try { + if (!method.isAccessible()) { + method.setAccessible(true); + } + method.invoke(instance,args); + } catch (IllegalAccessException e) { + throw new WebServiceException(e); + } catch (InvocationTargetException e) { + throw new WebServiceException(e); + } + return null; + } + }); + } + + /* + * Combines multiple {@link InjectionPlan}s into one. + */ + private static class Compositor extends InjectionPlan { + private final Collection> children; + + public Compositor(Collection> children) { + this.children = children; + } + + public void inject(T instance, R res) { + for (InjectionPlan plan : children) + plan.inject(instance, res); + } + + public void inject(T instance, Callable resource) { + if (!children.isEmpty()) { + super.inject(instance, resource); + } + } + } + + /* + * Creates an {@link InjectionPlan} that injects the given resource type to the given class. + * + * @param isStatic + * Only look for static field/method + * + */ + public static + InjectionPlan buildInjectionPlan(Class clazz, Class resourceType, boolean isStatic) { + List> plan = new ArrayList>(); + + Class cl = clazz; + while(cl != Object.class) { + for(Field field: cl.getDeclaredFields()) { + Resource resource = field.getAnnotation(Resource.class); + if (resource != null) { + if(isInjectionPoint(resource, field.getType(), + "Incorrect type for field"+field.getName(), + resourceType)) { + + if(isStatic && !Modifier.isStatic(field.getModifiers())) + throw new WebServiceException("Static resource "+resourceType+" cannot be injected to non-static "+field); + + plan.add(new FieldInjectionPlan(field)); + } + } + } + cl = cl.getSuperclass(); + } + + cl = clazz; + while(cl != Object.class) { + for(Method method : cl.getDeclaredMethods()) { + Resource resource = method.getAnnotation(Resource.class); + if (resource != null) { + Class[] paramTypes = method.getParameterTypes(); + if (paramTypes.length != 1) + throw new WebServiceException("Incorrect no of arguments for method "+method); + if(isInjectionPoint(resource,paramTypes[0], + "Incorrect argument types for method"+method.getName(), + resourceType)) { + + if(isStatic && !Modifier.isStatic(method.getModifiers())) + throw new WebServiceException("Static resource "+resourceType+" cannot be injected to non-static "+method); + + plan.add(new MethodInjectionPlan(method)); + } + } + } + cl = cl.getSuperclass(); + } + + return new Compositor(plan); + } + + /* + * Returns true if the combination of {@link Resource} and the field/method type + * are consistent for {@link WebServiceContext} injection. + */ + private static boolean isInjectionPoint(Resource resource, Class fieldType, String errorMessage, Class resourceType ) { + Class t = resource.type(); + if (t.equals(Object.class)) { + return fieldType.equals(resourceType); + } else if (t.equals(resourceType)) { + if (fieldType.isAssignableFrom(resourceType)) { + return true; + } else { + // type compatibility error + throw new WebServiceException(errorMessage); + } + } + return false; + } +} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/JAXWSUtils.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/JAXWSUtils.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/JAXWSUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -92,7 +92,7 @@ private static String escapeSpace( String url ) { // URLEncoder didn't work. - StringBuffer buf = new StringBuffer(); + StringBuilder buf = new StringBuilder(); for (int i = 0; i < url.length(); i++) { // TODO: not sure if this is the only character that needs to be escaped. if (url.charAt(i) == ' ') @@ -109,8 +109,8 @@ try { URL baseURL = new File(".").getCanonicalFile().toURL(); return new URL(baseURL, name).toExternalForm(); - } catch( IOException e ) { - ; // ignore + } catch( IOException e) { + //ignore } return name; } @@ -118,6 +118,7 @@ /** * Checks if the system ID is absolute. */ + @SuppressWarnings("ResultOfObjectAllocationIgnored") public static void checkAbsoluteness(String systemId) { // we need to be able to handle system IDs like "urn:foo", which java.net.URL can't process, // but OTOH we also need to be able to process system IDs like "file://a b c/def.xsd", @@ -125,10 +126,10 @@ // eventually we need a proper URI class that works for us. try { new URL(systemId); - } catch( MalformedURLException _ ) { + } catch( MalformedURLException mue) { try { new URI(systemId); - } catch (URISyntaxException e ) { + } catch (URISyntaxException e) { throw new IllegalArgumentException("system ID '"+systemId+"' isn't absolute",e); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/MetadataUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/MetadataUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/MetadataUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/NamespaceSupport.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NamespaceSupport.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NamespaceSupport.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -82,7 +82,7 @@ * @author David Megginson * @author WS Development Team */ -public class NamespaceSupport { +public final class NamespaceSupport { /* added two new methods, slideContextUp() and slideContextDown() * needed to implement the revised streaming parser class (Parser2) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseInputStream.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseInputStream.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseInputStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseOutputStream.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseOutputStream.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/NoCloseOutputStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/Pool.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Pool.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Pool.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -114,6 +114,7 @@ this.context = context; } + @Override protected javax.xml.bind.Marshaller create() { try { return context.createMarshaller(); @@ -134,6 +135,7 @@ this.context = context; } + @Override protected javax.xml.bind.Unmarshaller create() { try { return context.createUnmarshaller(); @@ -155,8 +157,21 @@ recycle(master); // we'll use master as a part of the pool, too. } + @Override protected Tube create() { return TubeCloner.clone(master); } + + /** + * + * @return master tubeline from pool + * @deprecated Expected to be used in rare cases where access to master + * tubeline is required and safe, such as Stub.close()." + */ + @Deprecated() + public final Tube takeMaster() { + return master; + } + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/QNameMap.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/QNameMap.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/QNameMap.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ReadAllStream.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ReadAllStream.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ReadAllStream.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 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 @@ -33,6 +33,8 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; +import java.util.logging.Level; +import java.util.logging.Logger; /** * Reads a input stream completely and creates a new stream @@ -48,6 +50,8 @@ private boolean readAll; private boolean closed; + private static final Logger LOGGER = Logger.getLogger(ReadAllStream.class.getName()); + public ReadAllStream() { memStream = new MemoryStream(); fileStream = new FileStream(); @@ -75,6 +79,7 @@ } } + @Override public int read() throws IOException { int ch = memStream.read(); if (ch == -1) { @@ -92,6 +97,7 @@ return len; } + @Override public void close() throws IOException { if (!closed) { memStream.close(); @@ -120,6 +126,7 @@ fin = new FileInputStream(tempFile); } + @Override public int read() throws IOException { return (fin != null) ? fin.read() : -1; } @@ -135,7 +142,10 @@ fin.close(); } if (tempFile != null) { - tempFile.delete(); + boolean success = tempFile.delete(); + if (!success) { + LOGGER.log(Level.INFO, "File {0} could not be deleted", tempFile); + } } } } @@ -168,12 +178,15 @@ byte[] buf = new byte[8192]; int read = fill(in, buf); total += read; - if (read != 0) + if (read != 0) { add(buf, read); - if (read != buf.length) - return true; // EOF - if (total > inMemory) - return false; // Reached in-memory size + } + if (read != buf.length) { + return true; + } // EOF + if (total > inMemory) { + return false; // Reached in-memory size + } } } @@ -186,6 +199,7 @@ return total; } + @Override public int read() throws IOException { if (!fetch()) { return -1; diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ReadOnlyPropertyException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ReadOnlyPropertyException.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -/* - * Copyright (c) 1997, 2010, 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.util; - -import com.sun.xml.internal.ws.api.PropertySet; - -/** - * Used to indicate that {@link PropertySet#put(String, Object)} failed - * because a property is read-only. - * - * @author Kohsuke Kawaguchi - */ -public class ReadOnlyPropertyException extends IllegalArgumentException { - private final String propertyName; - - public ReadOnlyPropertyException(String propertyName) { - super(propertyName+" is a read-only property."); - this.propertyName = propertyName; - } - - /** - * Gets the name of the property that was read-only. - */ - public String getPropertyName() { - return propertyName; - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/RuntimeVersion.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/RuntimeVersion.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/RuntimeVersion.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceConfigurationError.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceConfigurationError.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceConfigurationError.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ServiceFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -47,6 +47,8 @@ import java.util.NoSuchElementException; import java.util.Set; import java.util.TreeSet; +import java.util.WeakHashMap; +import java.util.concurrent.ConcurrentHashMap; /** @@ -137,12 +139,24 @@ private static final String prefix = "META-INF/services/"; + private static WeakHashMap> serviceNameCache + = new WeakHashMap>(); + private final Class serviceClass; private final @Nullable ClassLoader classLoader; private final @Nullable ComponentEx component; + private static class ServiceName { + final String className; + final URL config; + public ServiceName(String className, URL config) { + this.className = className; + this.config = config; + } + } + public static ServiceFinder find(@NotNull Class service, @Nullable ClassLoader loader, Component component) { - return new ServiceFinder(service,loader,component); + return new ServiceFinder(service, loader, component); } public static ServiceFinder find(@NotNull Class service, Component component) { @@ -204,6 +218,12 @@ this.component = getComponentEx(component); } + private static ServiceName[] serviceClassNames(Class serviceClass, ClassLoader classLoader) { + ArrayList l = new ArrayList(); + for (Iterator it = new ServiceNameIterator(serviceClass,classLoader);it.hasNext();) l.add(it.next()); + return l.toArray(new ServiceName[l.size()]); + } + /** * Returns discovered objects incrementally. * @@ -395,8 +415,8 @@ /** * Private inner class implementing fully-lazy provider lookup */ - private static class LazyIterator implements Iterator { - Class service; + private static class ServiceNameIterator implements Iterator { + Class service; @Nullable ClassLoader loader; Enumeration configs = null; Iterator pending = null; @@ -404,7 +424,7 @@ String nextName = null; URL currentConfig = null; - private LazyIterator(Class service, ClassLoader loader) { + private ServiceNameIterator(Class service, ClassLoader loader) { this.service = service; this.loader = loader; } @@ -435,26 +455,69 @@ return true; } - public T next() throws ServiceConfigurationError { + public ServiceName next() throws ServiceConfigurationError { if (!hasNext()) { throw new NoSuchElementException(); } String cn = nextName; nextName = null; - try { - return service.cast(Class.forName(cn, true, loader).newInstance()); - } catch (ClassNotFoundException x) { - fail(service, - "Provider " + cn + " is specified in "+currentConfig+" but not found"); - } catch (Exception x) { - fail(service, - "Provider " + cn + " is specified in "+currentConfig+"but could not be instantiated: " + x, x); - } - return null; /* This cannot happen */ + return new ServiceName(cn, currentConfig); } public void remove() { throw new UnsupportedOperationException(); } } + + private static class LazyIterator implements Iterator { + Class service; + @Nullable ClassLoader loader; + ServiceName[] names; + int index; + + private LazyIterator(Class service, ClassLoader loader) { + this.service = service; + this.loader = loader; + this.names = null; + index = 0; + } + + @Override + public boolean hasNext() { + if (names == null) { + ConcurrentHashMap nameMap = null; + synchronized(serviceNameCache){ nameMap = serviceNameCache.get(loader); } + names = (nameMap != null)? nameMap.get(service.getName()) : null; + if (names == null) { + names = serviceClassNames(service, loader); + if (nameMap == null) nameMap = new ConcurrentHashMap(); + nameMap.put(service.getName(), names); + synchronized(serviceNameCache){ serviceNameCache.put(loader,nameMap); } + } + } + return (index < names.length); + } + + @Override + public T next() { + if (!hasNext()) throw new NoSuchElementException(); + ServiceName sn = names[index++]; + String cn = sn.className; + URL currentConfig = sn.config; + try { + return service.cast(Class.forName(cn, true, loader).newInstance()); + } catch (ClassNotFoundException x) { + fail(service, "Provider " + cn + " is specified in "+currentConfig+" but not found"); + } catch (Exception x) { + fail(service, "Provider " + cn + " is specified in "+currentConfig+"but could not be instantiated: " + x, x); + } + return null; /* This cannot happen */ + } + + @Override + public void remove() { + throw new UnsupportedOperationException(); + } + + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/StreamUtils.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/StreamUtils.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/StreamUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/StringUtils.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/StringUtils.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/StringUtils.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/UtilException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/UtilException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/UtilException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,8 +25,8 @@ package com.sun.xml.internal.ws.util; +import com.sun.istack.internal.localization.Localizable; import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase; -import com.sun.xml.internal.ws.util.localization.Localizable; /** * UtilException represents an exception that occurred while diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/Version.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Version.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/Version.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/VersionUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/VersionUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/VersionUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/JAXWSExceptionBase.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/JAXWSExceptionBase.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/JAXWSExceptionBase.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -25,13 +25,16 @@ package com.sun.xml.internal.ws.util.exception; -import com.sun.xml.internal.ws.util.localization.*; - -import javax.xml.ws.WebServiceException; +import com.sun.istack.internal.localization.Localizable; +import com.sun.istack.internal.localization.LocalizableMessage; +import com.sun.istack.internal.localization.LocalizableMessageFactory; +import com.sun.istack.internal.localization.Localizer; +import com.sun.istack.internal.localization.NullLocalizable; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; +import javax.xml.ws.WebServiceException; /** * Represents a {@link WebServiceException} with @@ -53,7 +56,7 @@ */ protected JAXWSExceptionBase(String key, Object... args) { super(findNestedException(args)); - this.msg = new LocalizableImpl(key,fixNull(args),getDefaultResourceBundleName()); + this.msg = new LocalizableMessage(getDefaultResourceBundleName(), key, args); } @@ -61,11 +64,6 @@ this(new NullLocalizable(message)); } - private static Object[] fixNull(Object[] x) { - if(x==null) return new Object[0]; - else return x; - } - /** * Creates a new exception that wraps the specified exception. */ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/LocatableWebServiceException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/LocatableWebServiceException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/exception/LocatableWebServiceException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/Localizable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/Localizable.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -/* - * Copyright (c) 1997, 2010, 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.util.localization; - -/** - * Localizable message. - * - * @author WS Development Team - */ -public interface Localizable { - /** - * Gets the key in the resource bundle. - * - * @return - * if this method returns {@link #NOT_LOCALIZABLE}, - * that means the message is not localizable, and - * the first item of {@link #getArguments()} array - * holds a String. - */ - public String getKey(); - - /** - * Returns the arguments for message formatting. - * - * @return - * can be an array of length 0 but never be null. - */ - public Object[] getArguments(); - public String getResourceBundleName(); - - - /** - * Special constant that represents a message that - * is not localizable. - * - *

      - * Use of "new" is to create an unique instance. - */ - public static final String NOT_LOCALIZABLE = new String("\u0000"); -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.util.localization; - -import java.util.Arrays; - -/** - * Straight-forward {@link Localizable} implementation. - * - * @author Kohsuke Kawaguchi - */ -public final class LocalizableImpl implements Localizable { - private final String key; - private final Object[] arguments; - private final String resourceBundleName; - - public LocalizableImpl(String key, Object[] arguments, String resourceBundleName) { - this.key = key; - this.arguments = arguments; - this.resourceBundleName = resourceBundleName; - } - - public String getKey() { - return key; - } - - public Object[] getArguments() { - return Arrays.copyOf(arguments, arguments.length); - } - - public String getResourceBundleName() { - return resourceBundleName; - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableMessage.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* - * Copyright (c) 1997, 2011, 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.util.localization; - -import java.util.Arrays; - -/** - * @author WS Development Team - */ -public final class LocalizableMessage implements Localizable { - - private final String _bundlename; - private final String _key; - private final Object[] _args; - - public LocalizableMessage(String bundlename, String key, Object... args) { - _bundlename = bundlename; - _key = key; - if(args==null) - args = new Object[0]; - _args = args; - } - - public String getKey() { - return _key; - } - - public Object[] getArguments() { - return Arrays.copyOf(_args, _args.length); - } - - public String getResourceBundleName() { - return _bundlename; - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableMessageFactory.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/LocalizableMessageFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -/* - * Copyright (c) 1997, 2010, 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.util.localization; - -/** - * @author WS Development Team - */ -public class LocalizableMessageFactory { - - private final String _bundlename; - - public LocalizableMessageFactory(String bundlename) { - _bundlename = bundlename; - } - - public Localizable getMessage(String key, Object... args) { - return new LocalizableMessage(_bundlename, key, args); - } - -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/Localizer.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/Localizer.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,149 +0,0 @@ -/* - * Copyright (c) 1997, 2010, 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.util.localization; - -import java.text.MessageFormat; -import java.util.HashMap; -import java.util.Locale; -import java.util.MissingResourceException; -import java.util.ResourceBundle; - -/** - * Localizes the {@link Localizable} into a message - * by using a configured {@link Locale}. - * - * @author WS Development Team - */ -public class Localizer { - - private final Locale _locale; - private final HashMap _resourceBundles; - - public Localizer() { - this(Locale.getDefault()); - } - - public Localizer(Locale l) { - _locale = l; - _resourceBundles = new HashMap(); - } - - public Locale getLocale() { - return _locale; - } - - public String localize(Localizable l) { - String key = l.getKey(); - if (key == Localizable.NOT_LOCALIZABLE) { - // this message is not localizable - return (String) l.getArguments()[0]; - } - String bundlename = l.getResourceBundleName(); - - try { - ResourceBundle bundle = - (ResourceBundle) _resourceBundles.get(bundlename); - - if (bundle == null) { - try { - bundle = ResourceBundle.getBundle(bundlename, _locale); - } catch (MissingResourceException e) { - // work around a bug in the com.sun.enterprise.deployment.WebBundleArchivist: - // all files with an extension different from .class (hence all the .properties files) - // get copied to the top level directory instead of being in the package where they - // are defined - // so, since we can't find the bundle under its proper name, we look for it under - // the top-level package - - int i = bundlename.lastIndexOf('.'); - if (i != -1) { - String alternateBundleName = - bundlename.substring(i + 1); - try { - bundle = - ResourceBundle.getBundle( - alternateBundleName, - _locale); - } catch (MissingResourceException e2) { - // give up - return getDefaultMessage(l); - } - } - } - - _resourceBundles.put(bundlename, bundle); - } - - if (bundle == null) { - return getDefaultMessage(l); - } - - if (key == null) - key = "undefined"; - - String msg; - try { - msg = bundle.getString(key); - } catch (MissingResourceException e) { - // notice that this may throw a MissingResourceException of its own (caught below) - msg = bundle.getString("undefined"); - } - - // localize all arguments to the given localizable object - Object[] args = l.getArguments(); - for (int i = 0; i < args.length; ++i) { - if (args[i] instanceof Localizable) - args[i] = localize((Localizable) args[i]); - } - - String message = MessageFormat.format(msg, args); - return message; - - } catch (MissingResourceException e) { - return getDefaultMessage(l); - } - - } - - private String getDefaultMessage(Localizable l) { - String key = l.getKey(); - Object[] args = l.getArguments(); - StringBuilder sb = new StringBuilder(); - sb.append("[failed to localize] "); - sb.append(key); - if (args != null) { - sb.append('('); - for (int i = 0; i < args.length; ++i) { - if (i != 0) - sb.append(", "); - sb.append(String.valueOf(args[i])); - } - sb.append(')'); - } - return sb.toString(); - } - -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/NullLocalizable.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/localization/NullLocalizable.java Thu Apr 11 09:40:09 2013 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,51 +0,0 @@ -/* - * Copyright (c) 1997, 2010, 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.util.localization; - -/** - * {@link Localizable} that wraps a non-localizable string. - * - * @author WS Development Team - */ -public final class NullLocalizable implements Localizable { - private final String msg; - - public NullLocalizable(String msg) { - if(msg==null) - throw new IllegalArgumentException(); - this.msg = msg; - } - - public String getKey() { - return Localizable.NOT_LOCALIZABLE; - } - public Object[] getArguments() { - return new Object[]{msg}; - } - public String getResourceBundleName() { - return ""; - } -} diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/AbstractSchemaValidationTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/AbstractSchemaValidationTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/AbstractSchemaValidationTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -107,8 +107,9 @@ private static class ValidationDocumentAddressResolver implements DocumentAddressResolver { @Nullable + @Override public String getRelativeAddressFor(@NotNull SDDocument current, @NotNull SDDocument referenced) { - LOGGER.fine("Current = "+current.getURL()+" resolved relative="+referenced.getURL()); + LOGGER.log(Level.FINE, "Current = {0} resolved relative={1}", new Object[]{current.getURL(), referenced.getURL()}); return referenced.getURL().toExternalForm(); } } @@ -175,6 +176,7 @@ } } + @Override public SDDocument resolve(String systemId) { SDDocument sdi = docs.get(systemId); if (sdi == null) { @@ -190,8 +192,11 @@ return sdi; } + @Override public LSInput resolveResource(String type, String namespaceURI, String publicId, final String systemId, final String baseURI) { - LOGGER.fine("type="+type+ " namespaceURI="+namespaceURI+" publicId="+publicId+" systemId="+systemId+" baseURI="+baseURI); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "type={0} namespaceURI={1} publicId={2} systemId={3} baseURI={4}", new Object[]{type, namespaceURI, publicId, systemId, baseURI}); + } try { final SDDocument doc; if (systemId == null) { @@ -205,14 +210,17 @@ if (doc != null) { return new LSInput() { + @Override public Reader getCharacterStream() { return null; } + @Override public void setCharacterStream(Reader characterStream) { throw new UnsupportedOperationException(); } + @Override public InputStream getByteStream() { ByteArrayBuffer bab = new ByteArrayBuffer(); try { @@ -223,54 +231,67 @@ return bab.newInputStream(); } + @Override public void setByteStream(InputStream byteStream) { throw new UnsupportedOperationException(); } + @Override public String getStringData() { return null; } + @Override public void setStringData(String stringData) { throw new UnsupportedOperationException(); } + @Override public String getSystemId() { return doc.getURL().toExternalForm(); } + @Override public void setSystemId(String systemId) { throw new UnsupportedOperationException(); } + @Override public String getPublicId() { return null; } + @Override public void setPublicId(String publicId) { throw new UnsupportedOperationException(); } + @Override public String getBaseURI() { return doc.getURL().toExternalForm(); } + @Override public void setBaseURI(String baseURI) { throw new UnsupportedOperationException(); } + @Override public String getEncoding() { return null; } + @Override public void setEncoding(String encoding) { throw new UnsupportedOperationException(); } + @Override public boolean getCertifiedText() { return false; } + @Override public void setCertifiedText(boolean certifiedText) { throw new UnsupportedOperationException(); } @@ -279,7 +300,9 @@ } catch(Exception e) { LOGGER.log(Level.WARNING, "Exception in LSResourceResolver impl", e); } - LOGGER.fine("Don't know about systemId="+systemId+" baseURI="+baseURI); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Don''t know about systemId={0} baseURI={1}", new Object[]{systemId, baseURI}); + } return null; } @@ -325,7 +348,9 @@ updateMultiSchemaForTns(((SDDocument.Schema)sdoc).getTargetNamespace(), sdoc.getURL().toExternalForm(), multiSchemaForTns); } } - LOGGER.fine("WSDL inlined schema fragment documents(these are used to create a pseudo schema) = "+ inlinedSchemas.keySet()); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "WSDL inlined schema fragment documents(these are used to create a pseudo schema) = {0}", inlinedSchemas.keySet()); + } for(DOMSource src: inlinedSchemas.values()) { String tns = getTargetNamespace(src); updateMultiSchemaForTns(tns, src.getSystemId(), multiSchemaForTns); @@ -393,8 +418,9 @@ * Recursively visit ancestors and build up {@link org.xml.sax.helpers.NamespaceSupport} object. */ private void buildNamespaceSupport(NamespaceSupport nss, Node node) { - if(node==null || node.getNodeType()!=Node.ELEMENT_NODE) + if (node==null || node.getNodeType()!=Node.ELEMENT_NODE) { return; + } buildNamespaceSupport( nss, node.getParentNode() ); @@ -427,7 +453,9 @@ for( int i=0; i\n"); } sb.append("\n"); - LOGGER.fine("Pseudo Schema for the same tns="+tns+"is "+sb); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Pseudo Schema for the same tns={0}is {1}", new Object[]{tns, sb}); + } // override getReader() so that the same source can be used multiple times return new StreamSource(pseudoSystemId) { @@ -495,7 +525,9 @@ sb.append("/>\n"); } sb.append(""); - LOGGER.fine("Master Pseudo Schema = "+sb); + if (LOGGER.isLoggable(Level.FINE)) { + LOGGER.log(Level.FINE, "Master Pseudo Schema = {0}", sb); + } // override getReader() so that the same source can be used multiple times return new StreamSource("file:x-jax-ws-master-doc") { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/DumpTube.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/DumpTube.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/DumpTube.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandalonePipeAssembler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandalonePipeAssembler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandalonePipeAssembler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandaloneTubeAssembler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandaloneTubeAssembler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/pipe/StandaloneTubeAssembler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. +# 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_de.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_de.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = Keine Parser-Eingabequelle. +P-001 = Ung\u00FCltiges Zeichen am Ende des Dokuments, &#x{0}; +P-002 = Einblendung der Entity "&{0};" ist nicht wohlgeformt +P-003 = Vorzeitiges Ende der Eingabe +# {0} - F000-F009, F011, F021. +P-004 = Fehlende Leerstelle {0} +P-005 = Nur Leerstelle zul\u00E4ssig {0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = nach der Deklaration des Elementnamens + # Concatenated with P-004 (P-004 + F001) + F-001 = zwischen Attributname und Typ + # Concatenated with P-004 (P-004 + F002) + F-002 = nach dem Namen des NOTATION-Typs + # Concatenated with P-004 (P-004 + F003) + F-003 = zwischen Attributtyp und Standardwert + # Concatenated with P-004 (P-004 + F004) + F-004 = nach #FIXED + # Concatenated with P-004 (P-004 + F005) + F-005 = nach der " terminating declaration "%HTML.Version" +P-008 = Das n\u00E4chste Zeichen muss "{0}" {1} {2} sein + + # Concatenated with P-008 (P-008 + F020) + F-020 = als Abschlusszeichen f\u00FCr die Referenz auf die Entity + # Concatenated with P-008 (P-008 + F021) + F-021 = als Abschlusszeichen f\u00FCr die Referenz auf die Parameter-Entity + # Concatenated with P-008 (P-008 + F022) + F-022 = als Abschlusszeichen f\u00FCr den Kommentar + # Concatenated with P-008 (P-008 + F023) + F-023 = in der XML-Deklaration + # Concatenated with P-008 (P-008 + F024) + F-024 = als Abschlusszeichen f\u00FCr die interne DTD-Teilmenge + # Concatenated with P-008 (P-008 + F025) + F-025 = als Abschlusszeichen f\u00FCr die -Deklaration + # Concatenated with P-008 (P-008 + F026) + F-026 = nach dem Attributnamen + # Concatenated with P-008 (P-008 + F027) + F-027 = als Abschlusszeichen f\u00FCr das Element + # Concatenated with P-008 (P-008 + F028) + F-028 = als Anfangszeichen des Contentmodells f\u00FCr das Element + # Concatenated with P-008 (P-008 + F029) + F-029 = als Anfangszeichen f\u00FCr die Liste der Attribut-NOTATIONEN + # Concatenated with P-008 (P-008 + F030) + F-030 = als Anfangszeichen f\u00FCr die DTD-Teilmenge der Bedingung + # Concatenated with P-008 (P-008 + F031) + F-031 = als Abschlusszeichen f\u00FCr die -Deklaration + # Concatenated with P-008 (P-008 + F032) + F-032 = als Abschlusszeichen f\u00FCr die -Deklaration + +P-009 = Ung\u00FCltiges Zeichen oder ung\u00FCltige Entity-Referenzsyntax + +P-010 = Nur externe Parameter-Entitys d\u00FCrfen "%{0};" in Entity-Werten verwenden +P-011 = Ung\u00FCltige Syntax f\u00FCr Parameter-Entity-Referenz +P-012 = Verwenden Sie in Attributwerten "<" f\u00FCr "<" +P-013 = Ung\u00FCltige Referenz auf externe Entity "&{0};" im Attribut +P-014 = Referenz auf nicht definierte Entity "&{0};" +# {0} - F033-F035 +P-015 = F\u00FCr {0} wird ein Wert in Anf\u00FChrungszeichen erwartet + + # Concatenated with P-015 (P-015 + F033) + F-033 = PUBLIC-ID + # Concatenated with P-015 (P-015 + F034) + F-034 = SYSTEM-ID + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = Attributwert {0} + +P-016 = Ung\u00FCltiges Zeichen in PUBLIC-ID: "{0}" +P-017 = Entity-Ende beim Verarbeiten des Kommentars +P-018 = Ziel der Verarbeitungsanweisung fehlt +P-019 = XML-Deklaration darf nur am Anfang von Entitys stehen + +P-020 = Ung\u00FCltiges Ziel f\u00FCr Verarbeitungsanweisung: "{0}" +P-021 = Eingabeende in Verarbeitungsanweisung +P-022 = Ung\u00FCltiger Name f\u00FCr Verarbeitungsanweisung oder fehlende Leerstelle +P-023 = Ung\u00FCltiges Zeichen "&#x{0};" ({1}) am Ende der XML-Deklaration +P-024 = "{0}=..." erwartet +P-025 = XML-Version "{0}" muss deklariert werden +P-026 = Ung\u00FCltige XML-Versionszeichenfolge "{0}" +P-027 = XML-Version "{0}" wird erkannt, aber nicht "{1}" +P-028 = Interne DTD-Teilmenge darf keine "" als Abschluss f\u00FCr das auf Zeile {1} beginnende Element erwartet +P-035 = Entity-Ende nicht zul\u00E4ssig, ein End-Tag fehlt +P-036 = ">" muss -Deklaration abschlie\u00DFen und nicht "{1}" +P-037 = Sequence-Contentmodell darf nicht "{0}" enthalten +P-038 = Choice-Contentmodell darf nicht "{0}" enthalten +P-039 = Kein Contentmodell darf "{0}" enthalten + +P-040 = Rechte Klammer oder "{1}" in Contentmodell erforderlich und nicht "{0}" +P-041 = Rechte Klammer, "," oder "|" in Contentmodell erforderlich und nicht "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = Ung\u00FCltiges Modell mit gemischtem Content f\u00FCr "{0}", n\u00E4chstes Zeichen = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = Modell mit gemischtem Content f\u00FCr "{0}" muss mit ")*" und nicht mit "{1}" enden +P-044 = Eine Attributdeklaration oder ">" wird erwartet und nicht "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = Ung\u00FCltiger Typ (beginnt mit "{1}") f\u00FCr das Attribut "{0}" +P-046 = Schl\u00FCsselwort in bedingtem DTD-Abschnitt erforderlich +P-047 = Nicht abgeschlossener bedingter DTD-Abschnitt +P-048 = Nur INCLUDE und IGNORE sind zul\u00E4ssig und nicht "{0}" +P-049 = Ung\u00FCltige Dezimalzeichenreferenz + +P-050 = Ung\u00FCltige Hexadezimalzeichen-Referenz +P-051 = Ung\u00FCltiges XML-Zeichen &#x{0}; +P-052 = Interne Entity "&{0};" weist Zeichen nach dem Content auf +P-053 = Nicht geparste Entitys, wie "&{0};", d\u00FCrfen nicht einbezogen werden +P-054 = Urspr\u00FCngliche Entity-Definition f\u00FCr "&{0};" wird verwendet +P-055 = Relativer URI "{0}" kann nicht ohne einen Dokument-URI aufgel\u00F6st werden +P-056 = URI "{0}" hat eine Fragment-ID +P-057 = "?>" zum Abschluss der XML-Deklaration erforderlich +P-058 = Externe Entity "&{0};" weist Zeichen nach dem Content auf +P-059 = Externe Parameter-Entity "%{0};" weist Zeichen nach dem Markup auf + +P-060 = Ung\u00FCltiges Zeichen "{0}" im Codierungsnamen +P-061 = Deklarierte Codierung "{0}" stimmt nicht mit der tats\u00E4chlichen Codierung "{1}" \u00FCberein. Dies ist m\u00F6glicherweise kein Fehler +P-062 = Notation muss PUBLIC oder SYSTEM sein +P-063 = Erste Definition der Notation "{0}" wird verwendet +P-064 = Vorzeitiges Ende der Parameter-Entity "%{0};" +P-065 = Entity Resolver hat keine SYSTEM-ID angegeben. Dies kann sich auf relative URIs auswirken +# P-066 ... ID available +P-067 = Document Root-Element fehlt +P-068 = Notationsname ist erforderlich +P-069 = Einblendung der Entity "{0}" ist rekursiv + +P-070 = Fehlerhaftes Format des zweiten Teils des Surrogatpaares: &#x{0}; +P-071 = Ung\u00FCltiges XML-Zeichen: &#x{0}; +P-072 = Zeichendaten d\u00FCrfen nicht "]]>" enthalten +# Character data section starts with "" with text in between. No change needed. +P-073 = Dateiende (EOF) beim Parsen des -Deklaration verwendet +V-004 = Nicht deklarierte Notation "{0}" wird von einer -Deklaration verwendet +V-005 = Elementtyp "{0}" ist nicht deklariert +V-006 = Root-Elementtyp ist "{0}", wurde jedoch als "{1}" deklariert +V-007 = Attribut "{0}" ist f\u00FCr das Element "{1}" nicht deklariert +V-008 = Attribut "{0}" des Elements "{1}" darf nur den Wert "{2}" aufweisen +# {0} - probably attribute name. +V-009 = Attributwert f\u00FCr "{0}" ist #REQUIRED + +V-010 = Dies ist ein Standalone-Dokument. Daher darf das Attribut "{0}" keinen Standardwert aufweisen +V-011 = Dies ist ein Standalone-Dokument. Daher darf das Element "{0}" keine ignorierbaren Leerstellen aufweisen +V-012 = Element "{0}" wurde bereits deklariert +V-013 = Parameter-Entitys d\u00FCrfen keine partiellen Deklarationen enthalten +# {0} - element name +V-014 = Fehler bei der Parameter-Entity-Verschachtelung im Contentmodell f\u00FCr "{0}" +V-015 = Modell mit gemischtem Content wiederholt das Element "{0}" +V-016 = Dieses Element verf\u00FCgt bereits \u00FCber ein ID-Attribut, "{0}" +V-017 = ID-Attribut "{0}" darf nicht #FIXED sein +V-018 = ID-Attribut "{0}" darf keinen Standardwert aufweisen +V-019 = Dies ist ein Standalone-Dokument. Daher muss dieses Attribut vornormalisiert werden + +V-020 = Parameter-Entitys d\u00FCrfen keine partiellen bedingten DTD-Abschnitte enthalten +V-021 = Parameter-Entitys d\u00FCrfen keine partiellen Kommentare enthalten +V-022 = Referenz auf nicht definierte Parameter-Entity "%{0};" +V-023 = Dies ist ein Standalone-Dokument. Daher ist diese ignorierbare CDATA-Leerstelle nicht zul\u00E4ssig +V-024 = Kein Element hat ein ID-Attribut mit dem Wert "{0}" +V-025 = ID-Werte m\u00FCssen XML-Namen sein. "{0}" ist kein Name +V-026 = Ein anderes Element weist bereits ein ID-Attribut mit dem Wert "{0}" auf +V-027 = IDREF/IDREFS-Werte m\u00FCssen XML-Namen sein. "{0}" ist kein Name +V-028 = NMTOKEN/NMTOKENS-Werte m\u00FCssen XML-Namenstoken sein. "{0}" ist kein Namenstoken +V-029 = Der Wert "{0}" ist keiner der aufgez\u00E4hlten Werte f\u00FCr dieses Attribut + +V-030 = Attributwert "{0}" benennt keine Notation +V-031 = Attributwert "{0}" benennt keine nicht geparste Entity +V-032 = NMTOKENS-Attribute m\u00FCssen mindestens einen Wert aufweisen +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = EMPTY-Contentmodelle d\u00FCrfen keinen Content aufweisen +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = Element "{0}" l\u00E4sst keine weitere Eingabe zu. "{1}" ist nicht zul\u00E4ssig +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = Element "{0}" l\u00E4sst keinen Text zu +V-038 = Element "{0}" erfordert zus\u00E4tzliche Elemente +V-039 = IDREFS-Attribute m\u00FCssen mindestens einen Wert aufweisen + +V-040 = ENTITIES-Attribute m\u00FCssen mindestens einen Wert aufweisen diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_es.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_es.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = No hay ning\u00FAn origen de entrada de analizador. +P-001 = Car\u00E1cter no v\u00E1lido al final del documento, &#x{0}; +P-002 = La expansi\u00F3n de la entidad "&{0};" no tiene un formato correcto +P-003 = Fin de entrada anticipado +# {0} - F000-F009, F011, F021. +P-004 = Falta espacio en blanco {0} +P-005 = S\u00F3lo se permite un espacio en blanco {0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = despu\u00E9s de la declaraci\u00F3n de nombre del elemento + # Concatenated with P-004 (P-004 + F001) + F-001 = entre el nombre de atributo y el tipo + # Concatenated with P-004 (P-004 + F002) + F-002 = despu\u00E9s del nombre de tipo NOTATION + # Concatenated with P-004 (P-004 + F003) + F-003 = entre el tipo de atributo y el valor por defecto + # Concatenated with P-004 (P-004 + F004) + F-004 = despu\u00E9s de #FIXED + # Concatenated with P-004 (P-004 + F005) + F-005 = despu\u00E9s de la declaraci\u00F3n " terminating declaration "%HTML.Version" +P-008 = El car\u00E1cter siguiente debe ser "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = terminando referencia a la entidad + # Concatenated with P-008 (P-008 + F021) + F-021 = terminando referencia a la entidad de par\u00E1metro + # Concatenated with P-008 (P-008 + F022) + F-022 = terminando comentario + # Concatenated with P-008 (P-008 + F023) + F-023 = en declaraci\u00F3n XML + # Concatenated with P-008 (P-008 + F024) + F-024 = terminando subjuego DTD interno + # Concatenated with P-008 (P-008 + F025) + F-025 = terminando declaraci\u00F3n + # Concatenated with P-008 (P-008 + F026) + F-026 = despu\u00E9s del nombre de atributo + # Concatenated with P-008 (P-008 + F027) + F-027 = terminando elemento + # Concatenated with P-008 (P-008 + F028) + F-028 = iniciando modelo de contenido para elemento + # Concatenated with P-008 (P-008 + F029) + F-029 = iniciando lista de atributos NOTATIONS + # Concatenated with P-008 (P-008 + F030) + F-030 = iniciando subjuego DTD de condiciones + # Concatenated with P-008 (P-008 + F031) + F-031 = terminando declaraci\u00F3n + # Concatenated with P-008 (P-008 + F032) + F-032 = terminando declaraci\u00F3n + +P-009 = Car\u00E1cter o sintaxis de referencia a entidad no v\u00E1lidos + +P-010 = S\u00F3lo las entidades de par\u00E1metros externos pueden utilizar "%{0};" en los valores de entidad +P-011 = Sintaxis de referencia de entidad del par\u00E1metro no v\u00E1lida +P-012 = Utilice "<" para "<" en valores de atributo +P-013 = Referencia no v\u00E1lida a la entidad externa "&{0};" en el atributo +P-014 = Referencia a una entidad no definida "&{0};" +# {0} - F033-F035 +P-015 = Se esperaba un valor entrecomillado para {0} + + # Concatenated with P-015 (P-015 + F033) + F-033 = Identificador PUBLIC + # Concatenated with P-015 (P-015 + F034) + F-034 = Identificador SYSTEM + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = valor de atributo {0} + +P-016 = Car\u00E1cter no v\u00E1lido en el identificador PUBLIC: "{0}" +P-017 = Fin de entidad al procesar el comentario +P-018 = Falta el destino de la instrucci\u00F3n de procesamiento +P-019 = La declaraci\u00F3n XML s\u00F3lo puede iniciar entidades + +P-020 = Destino de instrucci\u00F3n de procesamiento no v\u00E1lido: "{0}" +P-021 = Fin de entrada dentro de una instrucci\u00F3n de procesamiento +P-022 = Nombre de instrucci\u00F3n de procesamiento no v\u00E1lido o falta un espacio en blanco +P-023 = Car\u00E1cter no v\u00E1lido "&#x{0};" ({1}) al final de la declaraci\u00F3n XML +P-024 = Se esperaba "{0}=..." +P-025 = Se debe declarar la versi\u00F3n XML "{0}" +P-026 = Cadena de versi\u00F3n XML no v\u00E1lida "{0}". +P-027 = Se reconoce la versi\u00F3n XML "{0}", pero no "{1}" +P-028 = El subjuego DTD interno no debe tener construcciones "" para terminar el elemento que comienza en la l\u00EDnea {1} +P-035 = Fin de entidad no permitido; falta una etiqueta final +P-036 = La declaraci\u00F3n debe terminar con ">", no con "{1}" +P-037 = El modelo de contenido de secuencia no debe contener "{0}" +P-038 = El modelo de contenido de opciones no debe contener "{0}" +P-039 = Ning\u00FAn modelo de contenido puede contener "{0}" + +P-040 = Es necesario un par\u00E9ntesis derecho o "{1}" en el modelo de contenido, no "{0}" +P-041 = Es necesario un par\u00E9ntesis derecho, "," o "|" en el modelo de contenido, no "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = Modelo de contenido mixto no v\u00E1lido para "{0}"; siguiente car\u00E1cter = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = El modelo de contenido mixto para "{0}" debe terminar por ")*", no por "{1}" +P-044 = Se esperaba una declaraci\u00F3n de atributo o ">", no "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = Tipo no v\u00E1lido (empieza por "{1}") para el atributo "{0}" +P-046 = Se necesita una palabra clave en la secci\u00F3n DTD condicional +P-047 = Secci\u00F3n DTD condicional no terminada +P-048 = S\u00F3lo se permiten INCLUDE e IGNORE, pero no "{0}" +P-049 = Referencia de car\u00E1cter decimal no v\u00E1lida + +P-050 = Referencia de car\u00E1cter hexadecimal no v\u00E1lida +P-051 = Car\u00E1cter XML no v\u00E1lido &#x{0}; +P-052 = La entidad interna "&{0};" tiene caracteres despu\u00E9s del contenido +P-053 = No se deben incluir entidades no analizadas como "&{0};" +P-054 = Utilizando la definici\u00F3n de entidad original para "&{0};" +P-055 = URI relativo "{0}"; no se puede resolver sin un URI de documento +P-056 = El URI "{0}" tiene un identificador de fragmento +P-057 = Es necesario "?>" para terminar la declaraci\u00F3n XML +P-058 = La entidad externa "&{0};" tiene caracteres despu\u00E9s del contenido +P-059 = La entidad del par\u00E1metro externo "%{0};" tiene caracteres despu\u00E9s de la marca + +P-060 = Car\u00E1cter no v\u00E1lido "{0}" en el nombre de codificaci\u00F3n +P-061 = La codificaci\u00F3n declarada "{0}" no coincide con la real "{1}"; puede que no se trate de un error +P-062 = La notaci\u00F3n debe ser PUBLIC o SYSTEM +P-063 = Utilizando la primera definici\u00F3n de la notaci\u00F3n "{0}" +P-064 = Fin anticipado de la entidad del par\u00E1metro "%{0};" +P-065 = El sistema de resoluci\u00F3n de entidades no ha proporcionado el identificador SYSTEM; puede afectar a los URI relativos +# P-066 ... ID available +P-067 = Falta el elemento ra\u00EDz del documento +P-068 = Es necesario el nombre de la notaci\u00F3n +P-069 = La expansi\u00F3n de la entidad "{0}" es recursiva + +P-070 = Segunda parte con formato incorrecto en el par de sustituci\u00F3n: &#x{0}; +P-071 = Car\u00E1cter XML no v\u00E1lido: &#x{0}; +P-072 = Los datos de car\u00E1cter no pueden tener "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = EOF al analizar la secci\u00F3n utiliza la notaci\u00F3n no declarada "{0}" +V-004 = La declaraci\u00F3n utiliza la notaci\u00F3n no declarada "{0}" +V-005 = El tipo de elemento "{0}" no est\u00E1 declarado +V-006 = El tipo de elemento ra\u00EDz es "{0}", pero se ha declarado como "{1}" +V-007 = El atributo "{0}" no est\u00E1 declarado para el elemento "{1}" +V-008 = El atributo "{0}" del elemento "{1}" s\u00F3lo debe tener el valor "{2}" +# {0} - probably attribute name. +V-009 = El valor de atributo para "{0}" es #REQUIRED + +V-010 = Este documento es aut\u00F3nomo, por lo que el atributo "{0}" no se debe definir por defecto +V-011 = Este documento es aut\u00F3nomo, por lo que el elemento "{0}" no debe tener un espacio en blanco que se pueda ignorar +V-012 = El elemento "{0}" ya estaba declarado +V-013 = Las entidades de par\u00E1metro no deben contener declaraciones parciales +# {0} - element name +V-014 = Error de anidaci\u00F3n de entidad de par\u00E1metro en el modelo de contenido para "{0}" +V-015 = El modelo de contenido mixto repite el elemento "{0}" +V-016 = Este elemento ya tiene un atributo de identificador "{0}" +V-017 = El atributo de identificador "{0}" no debe ser #FIXED +V-018 = El atributo de identificador "{0}" no se debe definir por defecto +V-019 = Este documento es aut\u00F3nomo; este atributo debe estar previamente normalizado + +V-020 = Las entidades de par\u00E1metro no deben contener secciones DTD condicionales parciales +V-021 = Las entidades de par\u00E1metro no deben contener comentarios parciales +V-022 = Referencia a una entidad de par\u00E1metro no definida "%{0};" +V-023 = Este documento es aut\u00F3nomo; est\u00E1 prohibido este espacio en blanco CDATA que se puede ignorar +V-024 = Ning\u00FAn elemento tiene un atributo de identificador con el valor "{0}" +V-025 = Los valores de identificador deben ser nombres XML; "{0}" no es un nombre +V-026 = Ya hay otro elemento con un atributo de identificador con el valor "{0}" +V-027 = Los valores de IDREF/IDREFS deben ser nombres XML; "{0}" no es un nombre +V-028 = Los valores de NMTOKEN/NMTOKENS deben ser tokens de nombre XML; "{0}" no lo es +V-029 = El valor "{0}" no es uno de los valores enumerados para este atributo + +V-030 = El valor de atributo "{0}" no especifica una notaci\u00F3n +V-031 = El valor de atributo "{0}" no especifica una entidad no analizada +V-032 = Los atributos de NMTOKENS deben tener al menos un valor +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = Los modelos de contenido vac\u00EDos no deben tener contenido +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = El elemento "{0}" no permite m\u00E1s entradas; "{1}" no est\u00E1 permitido +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = El elemento "{0}" no permite texto +V-038 = El elemento "{0}" necesita elementos adicionales +V-039 = Los atributos de IDREFS deben tener al menos un valor + +V-040 = Los atributos de ENTITIES deben tener al menos un valor diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_fr.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_fr.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = Aucune source d'entr\u00E9e d'analyseur. +P-001 = Caract\u00E8re interdit \u00E0 la fin du document, &#x{0}; +P-002 = Le d\u00E9veloppement de l''entit\u00E9 "&{0};" est incorrect +P-003 = Fin d'entr\u00E9e pr\u00E9matur\u00E9e +# {0} - F000-F009, F011, F021. +P-004 = Caract\u00E8re non imprimable manquant {0} +P-005 = Un seul caract\u00E8re non imprimable autoris\u00E9 {0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = apr\u00E8s la d\u00E9claration de nom d'\u00E9l\u00E9ment + # Concatenated with P-004 (P-004 + F001) + F-001 = entre les nom et type d'attribut + # Concatenated with P-004 (P-004 + F002) + F-002 = apr\u00E8s le nom de type de NOTATION + # Concatenated with P-004 (P-004 + F003) + F-003 = entre le type d'attribut et la valeur par d\u00E9faut + # Concatenated with P-004 (P-004 + F004) + F-004 = apr\u00E8s #FIXED + # Concatenated with P-004 (P-004 + F005) + F-005 = apr\u00E8s la d\u00E9claration " terminating declaration "%HTML.Version" +P-008 = Le caract\u00E8re suivant doit \u00EAtre "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = fin de la r\u00E9f\u00E9rence \u00E0 l'entit\u00E9 + # Concatenated with P-008 (P-008 + F021) + F-021 = fin de la r\u00E9f\u00E9rence \u00E0 l'entit\u00E9 de param\u00E8tre + # Concatenated with P-008 (P-008 + F022) + F-022 = fin du commentaire + # Concatenated with P-008 (P-008 + F023) + F-023 = dans la d\u00E9claration XML + # Concatenated with P-008 (P-008 + F024) + F-024 = fin du sous-ensemble DTD interne + # Concatenated with P-008 (P-008 + F025) + F-025 = fin de la d\u00E9claration + # Concatenated with P-008 (P-008 + F026) + F-026 = apr\u00E8s le nom d'attribut + # Concatenated with P-008 (P-008 + F027) + F-027 = fin de l'\u00E9l\u00E9ment + # Concatenated with P-008 (P-008 + F028) + F-028 = d\u00E9marrage du mod\u00E8le de contenu pour l'\u00E9l\u00E9ment + # Concatenated with P-008 (P-008 + F029) + F-029 = d\u00E9but de la liste d'attributs NOTATIONS + # Concatenated with P-008 (P-008 + F030) + F-030 = d\u00E9but du sous-ensemble DTD de condition + # Concatenated with P-008 (P-008 + F031) + F-031 = fin de la d\u00E9claration + # Concatenated with P-008 (P-008 + F032) + F-032 = fin de la d\u00E9claration + +P-009 = Syntaxe de r\u00E9f\u00E9rence d'entit\u00E9 ou de caract\u00E8re interdite + +P-010 = Seules les entit\u00E9s de param\u00E8tre externes peuvent utiliser "%{0};" dans les valeurs d''entit\u00E9 +P-011 = Syntaxe de r\u00E9f\u00E9rence d'entit\u00E9 de param\u00E8tre interdite +P-012 = Utiliser "<" pour "<" dans les valeurs d'attribut +P-013 = R\u00E9f\u00E9rence \u00E0 l''entit\u00E9 externe "&{0};" dans l''attribut interdite +P-014 = R\u00E9f\u00E9rence \u00E0 l''entit\u00E9 non d\u00E9finie "&{0};" +# {0} - F033-F035 +P-015 = Valeur entre guillemets attendue pour {0} + + # Concatenated with P-015 (P-015 + F033) + F-033 = Identificateur PUBLIC + # Concatenated with P-015 (P-015 + F034) + F-034 = Identificateur SYSTEM + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = valeur d''attribut {0} + +P-016 = Caract\u00E8re interdit dans l''identificateur PUBLIC : "{0}" +P-017 = Fin de l'entit\u00E9 lors du traitement du commentaire +P-018 = La cible d'instruction de traitement est manquante +P-019 = Seules les entit\u00E9s peuvent commencer par une d\u00E9claration XML + +P-020 = Cible d''instruction de traitement interdite : "{0}" +P-021 = Fin d'entr\u00E9e dans l'instruction de traitement +P-022 = Nom d'instruction de traitement interdit ou caract\u00E8re non imprimable manquant +P-023 = Caract\u00E8re interdit "&#x{0};" ({1}) \u00E0 la fin de la d\u00E9claration XML +P-024 = Attendu : "{0}=..." +P-025 = La version XML "{0}" doit \u00EAtre d\u00E9clar\u00E9e +P-026 = Cha\u00EEne de version XML interdite "{0}" +P-027 = La version XML "{0}" est reconnue, mais pas "{1}" +P-028 = Un sous-ensemble DTD interne ne doit pas avoir de structures de code PL/SQL "" attendu pour terminer l''\u00E9l\u00E9ment commen\u00E7ant \u00E0 la ligne {1} +P-035 = Fin de l'entit\u00E9 non autoris\u00E9e ; une balise de fin est manquante +P-036 = ">" doit terminer la d\u00E9claration , mais pas "{1}" +P-037 = Le mod\u00E8le de contenu de s\u00E9quence ne doit pas contenir "{0}" +P-038 = Le mod\u00E8le de contenu d''option ne doit pas contenir "{0}" +P-039 = Aucun mod\u00E8le de contenu ne peut contenir "{0}" + +P-040 = Parenth\u00E8se fermante ou "{1}" requis dans le mod\u00E8le de contenu, mais pas "{0}" +P-041 = Parenth\u00E8se fermante, "," ou "|" requis dans le mod\u00E8le de contenu, mais pas "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = Mod\u00E8le de contenu mixte interdit pour "{0}", caract\u00E8re suivant = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = Le mod\u00E8le de contenu mixte pour "{0}" doit finir par ")*", mais pas "{1}" +P-044 = Une d\u00E9claration d''attribut ou le caract\u00E8re ">" est attendu, mais pas "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = Type interdit (commence par "{1}") pour l''attribut "{0}" +P-046 = Mot-cl\u00E9 requis dans la section DTD conditionnelle +P-047 = Section DTD conditionnelle non termin\u00E9e +P-048 = Seuls INCLUDE et IGNORE sont autoris\u00E9s, mais pas "{0}" +P-049 = R\u00E9f\u00E9rence de caract\u00E8re d\u00E9cimal interdite + +P-050 = R\u00E9f\u00E9rence de caract\u00E8re hexad\u00E9cimal interdite +P-051 = Caract\u00E8re XML &#x{0}; interdit +P-052 = L''entit\u00E9 interne "&{0};" inclut des caract\u00E8res apr\u00E8s le contenu +P-053 = Aucune entit\u00E9 non analys\u00E9e ("&{0};") ne doit \u00EAtre incluse +P-054 = Utilisation de la d\u00E9finition d''entit\u00E9 d''origine pour "&{0};" +P-055 = URI relatif "{0}" ; impossible de le r\u00E9soudre sans URI de document +P-056 = L''URI "{0}" a un ID de fragment +P-057 = "?>" requis pour terminer la d\u00E9claration XML +P-058 = L''entit\u00E9 externe "&{0};" inclut des caract\u00E8res apr\u00E8s le contenu +P-059 = L''entit\u00E9 de param\u00E8tre externe "%{0};" inclut des caract\u00E8res apr\u00E8s le balisage + +P-060 = Caract\u00E8re interdit "{0}" dans le nom d''encodage +P-061 = L''encodage d\u00E9clar\u00E9 "{0}" ne concorde pas avec l''encodage r\u00E9el "{1}"; il ne s''agit peut-\u00EAtre pas d''une erreur +P-062 = La notation doit \u00EAtre PUBLIC ou SYSTEM +P-063 = Utilisation de la premi\u00E8re d\u00E9finition de la notation "{0}" +P-064 = Fin pr\u00E9matur\u00E9e de l''entit\u00E9 de param\u00E8tre "%{0};" +P-065 = Le r\u00E9solveur d'entit\u00E9 n'a fourni aucun ID SYSTEM ; cela peut affecter les URI relatifs +# P-066 ... ID available +P-067 = L'\u00E9l\u00E9ment racine de document est manquant +P-068 = Le nom de notation est obligatoire +P-069 = Le d\u00E9veloppement de l''entit\u00E9 "{0}" est r\u00E9cursif + +P-070 = La deuxi\u00E8me partie de la paire de substitution est incorrecte : &#x{0}; +P-071 = Caract\u00E8re XML : &#x{0}; interdit +P-072 = Les donn\u00E9es de caract\u00E8re ne peuvent pas avoir "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = EOF lors de l'analyse de la section +V-004 = La notation non d\u00E9clar\u00E9e "{0}" est utilis\u00E9e par une d\u00E9claration +V-005 = Le type d''\u00E9l\u00E9ment "{0}" n''est pas d\u00E9clar\u00E9 +V-006 = Le type d''\u00E9l\u00E9ment racine est "{0}", mais a \u00E9t\u00E9 d\u00E9clar\u00E9 comme \u00E9tant "{1}" +V-007 = L''attribut "{0}" n''est pas d\u00E9clar\u00E9 pour l''\u00E9l\u00E9ment "{1}" +V-008 = L''attribut "{0}" de l''\u00E9l\u00E9ment "{1}" doit avoir la valeur "{2}" uniquement +# {0} - probably attribute name. +V-009 = La valeur d''attribut pour "{0}" est #REQUIRED + +V-010 = Ce document est autonome ; l''attribut "{0}" ne doit donc pas \u00EAtre utilis\u00E9 par d\u00E9faut +V-011 = Ce document est autonome, l''\u00E9l\u00E9ment "{0}" ne doit donc pas avoir de caract\u00E8re non imprimable pouvant \u00EAtre ignor\u00E9 +V-012 = L''\u00E9l\u00E9ment ''{0}'' est d\u00E9j\u00E0 d\u00E9clar\u00E9 +V-013 = Les entit\u00E9s de param\u00E8tre ne doivent pas contenir de d\u00E9clarations partielles +# {0} - element name +V-014 = Erreur d''imbrication d''entit\u00E9 de param\u00E8tre dans le mod\u00E8le de contenu pour "{0}" +V-015 = Le mod\u00E8le de contenu mixte r\u00E9p\u00E8te l''\u00E9l\u00E9ment "{0}" +V-016 = Cet \u00E9l\u00E9ment a d\u00E9j\u00E0 un attribut d''ID, "{0}" +V-017 = L''attribut d''ID "{0}" ne doit pas \u00EAtre #FIXED +V-018 = L''attribut d''ID "{0}" ne doit pas \u00EAtre utilis\u00E9 par d\u00E9faut +V-019 = Ce document est autonome ; cet attribut doit \u00EAtre pr\u00E9normalis\u00E9 + +V-020 = Les entit\u00E9s de param\u00E8tre ne doivent pas contenir de sections DTD conditionnelles partielles +V-021 = Les entit\u00E9s de param\u00E8tre ne doivent pas contenir de commentaires partiels +V-022 = R\u00E9f\u00E9rence \u00E0 l''entit\u00E9 de param\u00E8tre non d\u00E9finie "%{0};" +V-023 = Ce document est autonome ; ce caract\u00E8re non imprimable CDATA pouvant \u00EAtre ignor\u00E9 est interdit +V-024 = Aucun \u00E9l\u00E9ment ne dispose d''un attribut d''ID dot\u00E9 de la valeur "{0}" +V-025 = Les valeurs d''ID doivent \u00EAtre des noms XML ; "{0}" n''en est pas un +V-026 = Un autre \u00E9l\u00E9ment a d\u00E9j\u00E0 un attribut d''ID dot\u00E9 de la valeur "{0}" +V-027 = Les valeurs IDREF/IDREFS doivent \u00EAtre des noms XML ; "{0}" n''en est pas un +V-028 = Les valeurs NMTOKEN/NMTOKENS doivent \u00EAtre des jetons de nom XML ; "{0}" n''en est pas un +V-029 = La valeur "{0}" n''est pas l''une des valeurs \u00E9num\u00E9r\u00E9es pour cet attribut + +V-030 = La valeur d''attribut "{0}" ne nomme pas une notation +V-031 = La valeur d''attribut "{0}" ne nomme pas une entit\u00E9 non analys\u00E9e +V-032 = Les attributs NMTOKENS doivent poss\u00E9der au moins une valeur +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = Les mod\u00E8les de contenu vides ne doivent pas poss\u00E9der de contenu +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = L''\u00E9l\u00E9ment "{0}" n''autorise aucune autre entr\u00E9e ; "{1}" n''est pas autoris\u00E9 +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = L''\u00E9l\u00E9ment "{0}" n''autorise aucun texte +V-038 = L''\u00E9l\u00E9ment "{0}" exige des \u00E9l\u00E9ments suppl\u00E9mentaires +V-039 = Les attributs IDREFS doivent poss\u00E9der au moins une valeur + +V-040 = Les attributs ENTITIES doivent poss\u00E9der au moins une valeur diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_it.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_it.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = Nessuna origine di input del parser. +P-001 = Carattere non valido alla fine del documento, &#x{0}; +P-002 = Formato dell''espansione dell''entit\u00E0 "&{0};" non valido +P-003 = Fine prematura dell'input +# {0} - F000-F009, F011, F021. +P-004 = Spazio vuoto {0} mancante +P-005 = Solo spazio vuoto {0} consentito + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = dopo la dichiarazione del nome dell'elemento + # Concatenated with P-004 (P-004 + F001) + F-001 = tra il nome e il tipo di attributo + # Concatenated with P-004 (P-004 + F002) + F-002 = dopo il nome del tipo NOTATION + # Concatenated with P-004 (P-004 + F003) + F-003 = tra il tipo di attributo e il valore predefinito + # Concatenated with P-004 (P-004 + F004) + F-004 = dopo #FIXED + # Concatenated with P-004 (P-004 + F005) + F-005 = dopo la dichiarazione " terminating declaration "%HTML.Version" +P-008 = Il carattere successivo deve essere "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = termine del riferimento all'entit\u00E0 + # Concatenated with P-008 (P-008 + F021) + F-021 = termine del riferimento all'entit\u00E0 parametrica + # Concatenated with P-008 (P-008 + F022) + F-022 = termine del commento + # Concatenated with P-008 (P-008 + F023) + F-023 = nella dichiarazione XML + # Concatenated with P-008 (P-008 + F024) + F-024 = termine del subset DTD interno + # Concatenated with P-008 (P-008 + F025) + F-025 = termine della dichiarazione + # Concatenated with P-008 (P-008 + F026) + F-026 = dopo il nome dell'attributo + # Concatenated with P-008 (P-008 + F027) + F-027 = termine dell'elemento + # Concatenated with P-008 (P-008 + F028) + F-028 = avvio del modello di contenuto per l'elemento + # Concatenated with P-008 (P-008 + F029) + F-029 = avvio dell'elenco dell'attributo NOTATIONS + # Concatenated with P-008 (P-008 + F030) + F-030 = avvio del DTD della condizione + # Concatenated with P-008 (P-008 + F031) + F-031 = termine della dichiarazione + # Concatenated with P-008 (P-008 + F032) + F-032 = termine della dichiarazione + +P-009 = Sintassi del riferimento entit\u00E0 o del carattere non valida + +P-010 = Solo le entit\u00E0 parametriche esterne possono usare "%{0};" nei valori delle entit\u00E0 +P-011 = Sintassi del riferimento entit\u00E0 parametrica non valida +P-012 = Usare "<" per "<" nei valori degli attributi +P-013 = Riferimento non valido all''entit\u00E0 esterna "&{0};" nell''attributo +P-014 = Riferimento all''entit\u00E0 non definita "&{0};" +# {0} - F033-F035 +P-015 = Previsto valore tra virgolette per {0} + + # Concatenated with P-015 (P-015 + F033) + F-033 = Identificativo PUBLIC + # Concatenated with P-015 (P-015 + F034) + F-034 = Identificativo SYSTEM + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = valore attributo {0} + +P-016 = Carattere non valido nell''identificativo PUBLIC: "{0}" +P-017 = Fine dell'entit\u00E0 durante l'elaborazione del commento +P-018 = La destinazione delle istruzioni di elaborazione risulta mancante +P-019 = La dichiarazione XML pu\u00F2 solo iniziare le entit\u00E0 + +P-020 = Destinazione delle istruzioni di elaborazione non valida: "{0}" +P-021 = Fine dell'input all'interno dell'istruzione di elaborazione +P-022 = Nome dell'istruzione di elaborazione non valido oppure spazio vuoto mancante +P-023 = Carattere non valido "&#x{0};" ({1}) alla fine della dichiarazione XML +P-024 = Previsto "{0}=..." +P-025 = \u00C8 necessario dichiarare la versione XML "{0}" +P-026 = Stringa "{0}" della versione XML non valida +P-027 = La versione XML "{0}" \u00E8 riconosciuta, ma non "{1}" +P-028 = Il subset DTD interno non deve includere costrutti "" per terminare l''elemento che inizia alla riga {1} +P-035 = Fine dell'entit\u00E0 non consentita. Tag finale mancante +P-036 = ">" deve terminare la dichiarazione , non "{1}" +P-037 = Il modello di contenuto di sequenza non deve contenere "{0}" +P-038 = Il modello di contenuto di scelta non deve contenere "{0}" +P-039 = Nessun modello di contenuto pu\u00F2 contenere "{0}" + +P-040 = \u00C8 richiesta la parentesi di chiusura o "{1}" nel modello di contenuto, non "{0}" +P-041 = \u00C8 richiesta la parentesi di chiusura, "," o "|" nel modello di contenuto, non "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = Modello di contenuto misto non valido per "{0}", carattere successivo = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = Il modello di contenuto misto per "{0}" deve terminare con ")*", non con "{1}" +P-044 = \u00C8 prevista una dichiarazione di attributo o ">", ma non "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = Tipo non valido (inizia con "{1}") per l''attributo "{0}" +P-046 = Parola chiave richiesta nella sezione DTD condizionale +P-047 = Sezione DTD condizionale non completa +P-048 = Sono consentiti solo INCLUDE e IGNORE, non "{0}" +P-049 = Riferimento del carattere decimale non valido + +P-050 = Riferimento del carattere esadecimale non valido +P-051 = Carattere XML non valido &#x{0}; +P-052 = L''entit\u00E0 interna "&{0};" include caratteri dopo il contenuto +P-053 = Le entit\u00E0 non analizzate, ad esempio "&{0};", non devono essere incluse +P-054 = Uso della definizione di entit\u00E0 originale per "&{0};" +P-055 = Impossibile risolvere l''URI relativo "{0}" senza l''URI di un documento +P-056 = L''URI "{0}" include un ID frammento +P-057 = Richiesto "?>" per terminare la dichiarazione XML +P-058 = L''entit\u00E0 esterna "&{0};" include caratteri dopo il contenuto +P-059 = L''entit\u00E0 parametrica esterna "%{0};" include caratteri dopo il markup + +P-060 = Carattere "{0}" non valido nel nome di codifica +P-061 = La codifica dichiarata "{0}" non corrisponde a quella effettiva "{1}". Potrebbe non trattarsi di un errore +P-062 = La notazione deve essere PUBLIC o SYSTEM +P-063 = Viene usata la prima definizione della notazione "{0}" +P-064 = Fine prematura dell''entit\u00E0 parametrica "%{0};" +P-065 = Il resolver entit\u00E0 non ha fornito l'ID di sistema. Ci\u00F2 potrebbe interessare gli URI relativi. +# P-066 ... ID available +P-067 = Elemento radice documento mancante +P-068 = Nome notazione obbligatorio +P-069 = L''espansione dell''entit\u00E0 "{0}" \u00E8 ricorsiva + +P-070 = Formato non valido della seconda parte della coppia alternativa: &#x{0}; +P-071 = Carattere XML non valido: &#x{0}; +P-072 = I dati carattere non possono includere "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = EOF durante l'analisi della sezione +V-004 = La notazione non dichiarata "{0}" \u00E8 usata da una dichiarazione +V-005 = Il tipo di elemento "{0}" non \u00E8 dichiarato +V-006 = Il tipo di elemento radice \u00E8 "{0}", ma \u00E8 stato dichiarato "{1}" +V-007 = L''attributo "{0}" non \u00E8 stato dichiarato per l''elemento "{1}" +V-008 = L''attributo "{0}" dell''elemento "{1}" deve solo includere il valore "{2}" +# {0} - probably attribute name. +V-009 = Il valore dell''attributo per "{0}" \u00E8 #REQUIRED + +V-010 = Il documento \u00E8 autonomo. L''attributo "{0}" non deve essere pertanto impostato su un valore predefinito. +V-011 = Il documento \u00E8 autonomo. L''elemento "{0}" non deve includere spazi vuoti ignorabili. +V-012 = L''elemento "{0}" \u00E8 gi\u00E0 stato dichiarato +V-013 = Le entit\u00E0 parametriche non devono contenere dichiarazioni parziali +# {0} - element name +V-014 = Errore di nidificazione delle entit\u00E0 parametriche nel modello di contenuto per "{0}" +V-015 = Il modello di contenuto misto ripete l''elemento "{0}" +V-016 = Questo elemento include gi\u00E0 un attributo ID "{0}" +V-017 = L''attributo ID "{0}" non deve essere #FIXED +V-018 = L''attributo ID "{0}" non deve essere impostato su un valore predefinito +V-019 = Questo documento \u00E8 autonomo. Questo attributo deve essere prenormalizzato. + +V-020 = Le entit\u00E0 parametriche non devono contenere sezioni DTD condizionali parziali +V-021 = Le entit\u00E0 parametriche non devono contenere commenti parziali +V-022 = Riferimento all''entit\u00E0 parametrica non definita "%{0};" +V-023 = Questo documento \u00E8 autonomo. Questo spazio vuoto CDATA ignorabile non \u00E8 consentito. +V-024 = Nessun elemento include un attributo ID con valore "{0}" +V-025 = I valori ID devono essere nomi XML. "{0}" non \u00E8 un nome. +V-026 = Un altro elemento include gi\u00E0 un attributo ID con valore "{0}" +V-027 = I valori IDREF/IDREFS devono essere nomi XML. "{0}" non \u00E8 un nome +V-028 = I valori NMTOKEN/NMTOKENS devono essere token nomi XML. "{0}" non \u00E8 tale. +V-029 = Il valore "{0}" \u00E8 uno dei valori enumerati per questo attributo + +V-030 = Il valore di attributo "{0}" non fa riferimento a una notazione +V-031 = Il valore di attributo "{0}" non fa riferimento a un''entit\u00E0 non analizzata +V-032 = Gli attributi NMTOKENS devono includere almeno un valore +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = I modelli di contenuto EMPTY non devono includere contenuti +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = L''elemento "{0}" non consente ulteriori input. "{1}" non \u00E8 consentito. +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = L''elemento "{0}" non consente l''inserimento di testo +V-038 = L''elemento "{0}" richiede elementi aggiuntivi +V-039 = Gli attributi IDREFS devono includere almeno un valore + +V-040 = Gli attributi ENTITIES devono includere almeno un valore diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_ja.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_ja.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = \u30D1\u30FC\u30B5\u30FC\u306E\u5165\u529B\u30BD\u30FC\u30B9\u304C\u3042\u308A\u307E\u305B\u3093\u3002 +P-001 = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u7D42\u308F\u308A\u306B\u4E0D\u6B63\u306A\u6587\u5B57\u3001&#x{0};\u304C\u3042\u308A\u307E\u3059 +P-002 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"&{0};"\u306E\u62E1\u5F35\u304C\u9069\u5207\u306A\u5F62\u5F0F\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +P-003 = \u5165\u529B\u306E\u6700\u5F8C\u304C\u672A\u5B8C\u4E86\u3067\u3059 +# {0} - F000-F009, F011, F021. +P-004 = \u7A7A\u767D{0}\u304C\u3042\u308A\u307E\u305B\u3093 +P-005 = \u7A7A\u767D\u306E\u307F\u8A31\u53EF\u3055\u308C\u307E\u3059{0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = \u8981\u7D20\u540D\u306E\u5BA3\u8A00\u306E\u5F8C + # Concatenated with P-004 (P-004 + F001) + F-001 = \u5C5E\u6027\u540D\u3068\u30BF\u30A4\u30D7\u306E\u9593 + # Concatenated with P-004 (P-004 + F002) + F-002 = NOTATION\u30BF\u30A4\u30D7\u540D\u306E\u5F8C + # Concatenated with P-004 (P-004 + F003) + F-003 = \u5C5E\u6027\u306E\u30BF\u30A4\u30D7\u3068\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306E\u9593 + # Concatenated with P-004 (P-004 + F004) + F-004 = #FIXED\u306E\u5F8C + # Concatenated with P-004 (P-004 + F005) + F-005 = " terminating declaration "%HTML.Version" +P-008 = \u6B21\u306E\u6587\u5B57\u306F"{0}" {1} {2}\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + + # Concatenated with P-008 (P-008 + F020) + F-020 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3078\u306E\u53C2\u7167\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F021) + F-021 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3078\u306E\u53C2\u7167\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F022) + F-022 = \u30B3\u30E1\u30F3\u30C8\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F023) + F-023 = XML\u5BA3\u8A00\u5185 + # Concatenated with P-008 (P-008 + F024) + F-024 = \u5185\u90E8DTD\u30B5\u30D6\u30BB\u30C3\u30C8\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F025) + F-025 = \u5BA3\u8A00\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F026) + F-026 = \u5C5E\u6027\u540D\u306E\u5F8C + # Concatenated with P-008 (P-008 + F027) + F-027 = \u8981\u7D20\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F028) + F-028 = \u8981\u7D20\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306E\u958B\u59CB + # Concatenated with P-008 (P-008 + F029) + F-029 = \u5C5E\u6027NOTATIONS\u306E\u30EA\u30B9\u30C8\u306E\u958B\u59CB + # Concatenated with P-008 (P-008 + F030) + F-030 = \u6761\u4EF6DTD\u30B5\u30D6\u30BB\u30C3\u30C8\u306E\u958B\u59CB + # Concatenated with P-008 (P-008 + F031) + F-031 = \u5BA3\u8A00\u306E\u7D42\u4E86 + # Concatenated with P-008 (P-008 + F032) + F-032 = \u5BA3\u8A00\u306E\u7D42\u4E86 + +P-009 = \u6587\u5B57\u307E\u305F\u306F\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u53C2\u7167\u306E\u69CB\u6587\u304C\u4E0D\u6B63\u3067\u3059 + +P-010 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5024\u306B"%{0};"\u3092\u4F7F\u7528\u3067\u304D\u308B\u306E\u306F\u3001\u5916\u90E8\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u307F\u3067\u3059 +P-011 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u53C2\u7167\u306E\u69CB\u6587\u304C\u4E0D\u6B63\u3067\u3059 +P-012 = \u5C5E\u6027\u5024\u3067\u306F"<"\u3068\u3057\u3066"<"\u3092\u4F7F\u7528\u3057\u307E\u3059 +P-013 = \u5C5E\u6027\u306E\u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"&{0};"\u3078\u306E\u53C2\u7167\u304C\u4E0D\u6B63\u3067\u3059 +P-014 = \u672A\u5B9A\u7FA9\u306E\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"&{0};"\u3078\u306E\u53C2\u7167 +# {0} - F033-F035 +P-015 = {0}\u306B\u306F\u3001\u5F15\u7528\u7B26\u3067\u56F2\u307E\u308C\u305F\u5024\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 + + # Concatenated with P-015 (P-015 + F033) + F-033 = PUBLIC\u8B58\u5225\u5B50 + # Concatenated with P-015 (P-015 + F034) + F-034 = SYSTEM\u8B58\u5225\u5B50 + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = \u5C5E\u6027\u5024{0} + +P-016 = PUBLIC\u8B58\u5225\u5B50\u306B\u4E0D\u6B63\u306A\u6587\u5B57\u304C\u3042\u308A\u307E\u3059: "{0}" +P-017 = \u30B3\u30E1\u30F3\u30C8\u306E\u51E6\u7406\u4E2D\u306B\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u7D42\u7AEF\u306B\u5230\u9054\u3057\u307E\u3057\u305F +P-018 = \u51E6\u7406\u547D\u4EE4\u30BF\u30FC\u30B2\u30C3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093 +P-019 = XML\u5BA3\u8A00\u3067\u306F\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u958B\u59CB\u306E\u307F\u53EF\u80FD\u3067\u3059 + +P-020 = \u51E6\u7406\u547D\u4EE4\u30BF\u30FC\u30B2\u30C3\u30C8\u304C\u4E0D\u6B63\u3067\u3059: "{0}" +P-021 = \u51E6\u7406\u547D\u4EE4\u5185\u306E\u5165\u529B\u306E\u6700\u5F8C +P-022 = \u51E6\u7406\u547D\u4EE4\u540D\u304C\u4E0D\u6B63\u3067\u3042\u308B\u304B\u3001\u7A7A\u767D\u304C\u6B20\u843D\u3057\u3066\u3044\u307E\u3059 +P-023 = XML\u5BA3\u8A00\u306E\u7D42\u308F\u308A\u306B\u4E0D\u6B63\u306A\u6587\u5B57"&#x{0};"({1})\u304C\u3042\u308A\u307E\u3059 +P-024 = "{0}=..."\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 +P-025 = XML\u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u3092\u5BA3\u8A00\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +P-026 = XML\u30D0\u30FC\u30B8\u30E7\u30F3\u6587\u5B57\u5217"{0}"\u304C\u4E0D\u6B63\u3067\u3059 +P-027 = XML\u30D0\u30FC\u30B8\u30E7\u30F3"{0}"\u306F\u8A8D\u8B58\u3055\u308C\u307E\u3059\u304C\u3001"{1}"\u306F\u8A8D\u8B58\u3055\u308C\u307E\u305B\u3093 +P-028 = \u5185\u90E8DTD\u30B5\u30D6\u30BB\u30C3\u30C8\u306B\u306F""\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 +P-035 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3092\u7D42\u4E86\u3067\u304D\u307E\u305B\u3093\u3002\u7D42\u4E86\u30BF\u30B0\u304C\u3042\u308A\u307E\u305B\u3093 +P-036 = \u5BA3\u8A00\u306F\u3001"{1}"\u3067\u306F\u306A\u304F\u3001">"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +P-037 = \u9806\u5E8F\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B"{0}"\u3092\u542B\u3081\u3089\u308C\u307E\u305B\u3093 +P-038 = \u9078\u629E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B"{0}"\u3092\u542B\u3081\u3089\u308C\u307E\u305B\u3093 +P-039 = \u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B"{0}"\u3092\u542B\u3081\u3089\u308C\u307E\u305B\u3093 + +P-040 = \u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B\u306F\u3001"{0}"\u3067\u306F\u306A\u304F\u3001\u53F3\u30AB\u30C3\u30B3\u307E\u305F\u306F"{1}"\u304C\u5FC5\u8981\u3067\u3059 +P-041 = \u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B\u306F\u3001"{0}"\u3067\u306F\u306A\u304F\u3001\u53F3\u30AB\u30C3\u30B3\u3001","\u3001\u307E\u305F\u306F"|"\u304C\u5FC5\u8981\u3067\u3059 +# {0} - element name, {1} - character as a hex number +P-042 = "{0}"\u306E\u8907\u5408\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u304C\u4E0D\u6B63\u3067\u3059\u3002\u6B21\u306E\u6587\u5B57= &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = "{0}"\u306E\u8907\u5408\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306F\u3001"{1}"\u3067\u306F\u306A\u304F\u3001")*"\u3067\u7D42\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +P-044 = "{0}"\u3067\u306F\u306A\u304F\u3001\u5C5E\u6027\u306E\u5BA3\u8A00\u307E\u305F\u306F">"\u304C\u4E88\u671F\u3055\u308C\u307E\u3059 +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = \u5C5E\u6027"{0}"\u306E\u30BF\u30A4\u30D7("{1}"\u3067\u59CB\u307E\u308B)\u304C\u4E0D\u6B63\u3067\u3059 +P-046 = \u6761\u4EF6\u4ED8\u304DDTD\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u30AD\u30FC\u30EF\u30FC\u30C9\u304C\u5FC5\u8981\u3067\u3059 +P-047 = \u6761\u4EF6\u4ED8\u304DDTD\u30BB\u30AF\u30B7\u30E7\u30F3\u304C\u7D42\u4E86\u3057\u3066\u3044\u307E\u305B\u3093 +P-048 = INCLUDE\u304A\u3088\u3073IGNORE\u306E\u307F\u304C\u8A31\u53EF\u3055\u308C\u3001"{0}"\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093 +P-049 = \u4E0D\u6B63\u306A10\u9032\u6570\u306E\u53C2\u7167\u3067\u3059 + +P-050 = \u4E0D\u6B63\u306A16\u9032\u6570\u306E\u53C2\u7167\u3067\u3059 +P-051 = \u4E0D\u6B63\u306AXML\u6587\u5B57&#x{0}; +P-052 = \u5185\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"&{0};"\u306B\u306F\u3001\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u5F8C\u306B\u6587\u5B57\u304C\u3042\u308A\u307E\u3059 +P-053 = "&{0};"\u306A\u3069\u306E\u672A\u89E3\u6790\u306E\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +P-054 = "&{0};"\u306E\u5143\u306E\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u5B9A\u7FA9\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059 +P-055 = \u76F8\u5BFEURI "{0}"\u306F\u3001\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8URI\u306A\u3057\u3067\u306F\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093 +P-056 = URI "{0}"\u306B\u306F\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8ID\u304C\u3042\u308A\u307E\u3059 +P-057 = XML\u5BA3\u8A00\u3092\u7D42\u4E86\u3059\u308B\u306B\u306F"?>"\u304C\u5FC5\u8981\u3067\u3059 +P-058 = \u5916\u90E8\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"&{0};"\u306B\u306F\u3001\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u5F8C\u306B\u6587\u5B57\u304C\u3042\u308A\u307E\u3059 +P-059 = \u5916\u90E8\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"%{0};"\u306B\u306F\u3001\u30DE\u30FC\u30AF\u30A2\u30C3\u30D7\u306E\u5F8C\u306B\u6587\u5B57\u304C\u3042\u308A\u307E\u3059 + +P-060 = \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u540D\u306B\u4E0D\u6B63\u306A\u6587\u5B57"{0}"\u304C\u3042\u308A\u307E\u3059 +P-061 = \u5BA3\u8A00\u3055\u308C\u305F\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0"{0}"\u306F\u3001\u5B9F\u969B\u306E\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0"{1}"\u3068\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002\u3053\u308C\u306F\u30A8\u30E9\u30FC\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +P-062 = \u8868\u8A18\u6CD5\u306F\u3001PUBLIC\u307E\u305F\u306FSYSTEM\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +P-063 = \u8868\u8A18\u6CD5"{0}"\u306E\u6700\u521D\u306E\u5B9A\u7FA9\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059 +P-064 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"%{0};"\u306E\u7D42\u7AEF\u304C\u672A\u5B8C\u4E86\u3067\u3059 +P-065 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u30FB\u30EA\u30BE\u30EB\u30D0\u304CSYSTEM ID\u3092\u63D0\u4F9B\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u76F8\u5BFEURI\u306B\u5F71\u97FF\u3092\u4E0E\u3048\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059 +# P-066 ... ID available +P-067 = \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30EB\u30FC\u30C8\u8981\u7D20\u304C\u3042\u308A\u307E\u305B\u3093 +P-068 = \u8868\u8A18\u540D\u306F\u5FC5\u9808\u3067\u3059 +P-069 = \u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"{0}"\u306E\u62E1\u5F35\u304C\u518D\u5E30\u7684\u3067\u3059 + +P-070 = \u30B5\u30ED\u30B2\u30FC\u30C8\u30FB\u30DA\u30A2\u306E\u5F8C\u90E8\u306E\u5F62\u5F0F\u304C\u4E0D\u6B63\u3067\u3059: &#x{0}; +P-071 = \u4E0D\u6B63\u306AXML\u6587\u5B57: &#x{0}; +P-072 = \u6587\u5B57\u30C7\u30FC\u30BF\u3067\u306F"]]>"\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093 +# Character data section starts with "" with text in between. No change needed. +P-073 = \u5BA3\u8A00\u3067\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059 +V-004 = \u5BA3\u8A00\u3055\u308C\u3066\u3044\u306A\u3044\u8868\u8A18\u6CD5"{0}"\u304C\u5BA3\u8A00\u3067\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059 +V-005 = \u8981\u7D20\u30BF\u30A4\u30D7"{0}"\u306F\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +V-006 = \u30EB\u30FC\u30C8\u8981\u7D20\u30BF\u30A4\u30D7\u306F"{0}"\u3067\u3059\u304C\u3001"{1}"\u3068\u3057\u3066\u5BA3\u8A00\u3055\u308C\u307E\u3057\u305F +V-007 = \u8981\u7D20"{1}"\u306E\u5C5E\u6027"{0}"\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093 +V-008 = \u8981\u7D20"{1}"\u306E\u5C5E\u6027"{0}"\u306E\u5024\u306F"{2}"\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 +# {0} - probably attribute name. +V-009 = "{0}"\u306E\u5C5E\u6027\u5024\u306F#REQUIRED\u3067\u3059 + +V-010 = \u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u3067\u3042\u308B\u305F\u3081\u3001\u5C5E\u6027"{0}"\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u3067\u304D\u307E\u305B\u3093 +V-011 = \u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u3067\u3042\u308B\u305F\u3081\u3001\u8981\u7D20"{0}"\u306B\u306F\u7121\u8996\u3067\u304D\u308B\u7A7A\u767D\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093 +V-012 = \u8981\u7D20"{0}"\u306F\u3059\u3067\u306B\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u3059 +V-013 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u5BA3\u8A00\u306E\u4E00\u90E8\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +# {0} - element name +V-014 = "{0}"\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306E\u30CD\u30B9\u30C8\u30FB\u30A8\u30E9\u30FC\u304C\u3042\u308A\u307E\u3059 +V-015 = \u8907\u5408\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B\u8981\u7D20"{0}"\u306E\u7E70\u8FD4\u3057\u304C\u3042\u308A\u307E\u3059 +V-016 = \u3053\u306E\u8981\u7D20\u306B\u306F\u3001ID\u5C5E\u6027"{0}"\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059 +V-017 = ID\u5C5E\u6027"{0}"\u306F#FIXED\u306B\u3067\u304D\u307E\u305B\u3093 +V-018 = ID\u5C5E\u6027"{0}"\u306F\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u3067\u304D\u307E\u305B\u3093 +V-019 = \u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u3067\u3059\u3002\u3053\u306E\u5C5E\u6027\u306F\u3001\u4E8B\u524D\u306B\u6B63\u898F\u5316\u3057\u3066\u304A\u304F\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059 + +V-020 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u6761\u4EF6\u4ED8\u304DDTD\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u4E00\u90E8\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +V-021 = \u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u306B\u30B3\u30E1\u30F3\u30C8\u306E\u4E00\u90E8\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093 +V-022 = \u672A\u5B9A\u7FA9\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FB\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3"%{0};"\u3078\u306E\u53C2\u7167 +V-023 = \u3053\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u3067\u3059\u3002\u3053\u306E\u7121\u8996\u3067\u304D\u308BCDATA\u7A7A\u767D\u306F\u7981\u6B62\u3055\u308C\u3066\u3044\u307E\u3059 +V-024 = \u5024"{0}"\u306EID\u5C5E\u6027\u3092\u6301\u3064\u8981\u7D20\u304C\u3042\u308A\u307E\u305B\u3093 +V-025 = ID\u5024\u306F\u3001XML\u540D\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"{0}"\u306F\u540D\u524D\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +V-026 = \u5024"{0}"\u306EID\u5C5E\u6027\u3092\u6301\u3064\u5225\u306E\u8981\u7D20\u304C\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059 +V-027 = IDREF/IDREFS\u5024\u306F\u3001XML\u540D\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"{0}"\u306F\u540D\u524D\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +V-028 = NMTOKEN/NMTOKENS\u5024\u306F\u3001XML\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"{0}"\u306F\u540D\u524D\u30C8\u30FC\u30AF\u30F3\u3067\u306F\u3042\u308A\u307E\u305B\u3093 +V-029 = \u5024"{0}"\u306F\u3001\u3053\u306E\u5C5E\u6027\u306E\u5217\u6319\u5024\u306E1\u3064\u3067\u306F\u3042\u308A\u307E\u305B\u3093 + +V-030 = \u5C5E\u6027\u5024"{0}"\u306F\u3001\u8868\u8A18\u6CD5\u540D\u3092\u6307\u5B9A\u3057\u307E\u305B\u3093 +V-031 = \u5C5E\u6027\u5024"{0}"\u306F\u3001\u672A\u89E3\u6790\u306E\u30A8\u30F3\u30C6\u30A3\u30C6\u30A3\u540D\u3092\u6307\u5B9A\u3057\u307E\u305B\u3093 +V-032 = NMTOKENS\u5C5E\u6027\u306B\u306F\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059 +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = \u7A7A\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u30FB\u30E2\u30C7\u30EB\u306B\u306F\u3001\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u542B\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093 +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = \u8981\u7D20"{0}"\u306F\u3001\u3053\u308C\u4EE5\u4E0A\u5165\u529B\u3067\u304D\u307E\u305B\u3093\u3002"{1}"\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093 +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = \u8981\u7D20"{0}"\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u3092\u8A31\u53EF\u3057\u307E\u305B\u3093 +V-038 = \u8981\u7D20"{0}"\u306B\u306F\u3001\u8FFD\u52A0\u306E\u8981\u7D20\u304C\u5FC5\u8981\u3067\u3059 +V-039 = IDREFS\u5C5E\u6027\u306B\u306F\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059 + +V-040 = ENTITIES\u5C5E\u6027\u306B\u306F\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u5024\u304C\u5FC5\u8981\u3067\u3059 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_ko.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_ko.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = \uAD6C\uBB38 \uBD84\uC11D\uAE30 \uC785\uB825 \uC18C\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4! +P-001 = \uBB38\uC11C \uB05D\uC5D0 \uC798\uBABB\uB41C \uBB38\uC790 &#x{0};\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +P-002 = "&{0};" \uC5D4\uD2F0\uD2F0 \uD655\uC7A5\uC758 \uD615\uC2DD\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-003 = \uC608\uC0C1\uCE58 \uC54A\uC740 \uC785\uB825\uC758 \uB05D\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. +# {0} - F000-F009, F011, F021. +P-004 = {0} \uACF5\uBC31\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-005 = \uACF5\uBC31\uB9CC {0}\uC744(\uB97C) \uD5C8\uC6A9\uD569\uB2C8\uB2E4. + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = \uC694\uC18C \uC774\uB984 \uC120\uC5B8 \uB2E4\uC74C + # Concatenated with P-004 (P-004 + F001) + F-001 = \uC18D\uC131 \uC774\uB984\uACFC \uC720\uD615 \uC0AC\uC774 + # Concatenated with P-004 (P-004 + F002) + F-002 = NOTATION \uC720\uD615 \uC774\uB984 \uB2E4\uC74C + # Concatenated with P-004 (P-004 + F003) + F-003 = \uC18D\uC131 \uC720\uD615\uACFC \uAE30\uBCF8\uAC12 \uC0AC\uC774 + # Concatenated with P-004 (P-004 + F004) + F-004 = #FIXED \uB2E4\uC74C + # Concatenated with P-004 (P-004 + F005) + F-005 = " terminating declaration "%HTML.Version" +P-008 = \uB2E4\uC74C \uBB38\uC790\uB294 "{0}" {1} {2}\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. + + # Concatenated with P-008 (P-008 + F020) + F-020 = \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uB97C \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F021) + F-021 = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0\uC5D0 \uB300\uD55C \uCC38\uC870\uB97C \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F022) + F-022 = \uC8FC\uC11D\uC744 \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F023) + F-023 = XML \uC120\uC5B8\uC5D0\uC11C + # Concatenated with P-008 (P-008 + F024) + F-024 = \uB0B4\uBD80 DTD \uBD80\uBD84 \uC9D1\uD569\uC744 \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F025) + F-025 = \uC120\uC5B8\uC744 \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F026) + F-026 = \uC18D\uC131 \uC774\uB984 \uB2E4\uC74C + # Concatenated with P-008 (P-008 + F027) + F-027 = \uC694\uC18C\uB97C \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F028) + F-028 = \uC694\uC18C\uC5D0 \uB300\uD55C \uCF58\uD150\uCE20 \uBAA8\uB378\uC744 \uC2DC\uC791\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F029) + F-029 = \uC18D\uC131 NOTATION \uBAA9\uB85D\uC744 \uC2DC\uC791\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F030) + F-030 = \uC870\uAC74 DTD \uBD80\uBD84 \uC9D1\uD569\uC744 \uC2DC\uC791\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F031) + F-031 = \uC120\uC5B8\uC744 \uC885\uB8CC\uD558\uB294 \uC911 + # Concatenated with P-008 (P-008 + F032) + F-032 = \uC120\uC5B8\uC744 \uC885\uB8CC\uD558\uB294 \uC911 + +P-009 = \uBB38\uC790 \uB610\uB294 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \uAD6C\uBB38\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +P-010 = \uC678\uBD80 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0\uB9CC \uC5D4\uD2F0\uD2F0 \uAC12\uC5D0 "%{0};"\uC744(\uB97C) \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +P-011 = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uCC38\uC870 \uAD6C\uBB38\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-012 = \uC18D\uC131\uAC12\uC5D0\uC11C "<"\uC5D0 \uB300\uD574 "<"\uB97C \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624. +P-013 = \uC18D\uC131\uC5D0 \uC678\uBD80 \uC5D4\uD2F0\uD2F0 "&{0};"\uC5D0 \uB300\uD55C \uC798\uBABB\uB41C \uCC38\uC870\uAC00 \uC788\uC2B5\uB2C8\uB2E4. +P-014 = \uC815\uC758\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0 "&{0};"\uC5D0 \uB300\uD55C \uCC38\uC870\uC785\uB2C8\uB2E4. +# {0} - F033-F035 +P-015 = {0}\uC5D0 \uB530\uC634\uD45C\uB97C \uC0AC\uC6A9\uD55C \uAC12\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. + + # Concatenated with P-015 (P-015 + F033) + F-033 = PUBLIC \uC2DD\uBCC4\uC790 + # Concatenated with P-015 (P-015 + F034) + F-034 = SYSTEM \uC2DD\uBCC4\uC790 + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = \uC18D\uC131\uAC12 {0} + +P-016 = PUBLIC \uC2DD\uBCC4\uC790\uC5D0 \uC798\uBABB\uB41C \uBB38\uC790\uAC00 \uC788\uC74C: "{0}" +P-017 = \uC8FC\uC11D\uC744 \uCC98\uB9AC\uD558\uB294 \uB3D9\uC548 \uC5D4\uD2F0\uD2F0\uC758 \uB05D\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. +P-018 = \uC9C0\uCE68 \uCC98\uB9AC \uB300\uC0C1\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-019 = XML \uC120\uC5B8\uB9CC \uC5D4\uD2F0\uD2F0\uB97C \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. + +P-020 = \uC798\uBABB\uB41C \uC9C0\uCE68 \uCC98\uB9AC \uB300\uC0C1: "{0}" +P-021 = \uC9C0\uCE68 \uCC98\uB9AC \uC911 \uB0B4\uBD80 \uC785\uB825\uC758 \uB05D\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. +P-022 = \uC9C0\uCE68 \uCC98\uB9AC \uC774\uB984\uC744 \uC798\uBABB\uB418\uC5C8\uAC70\uB098 \uACF5\uBC31\uC774 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-023 = XML \uC120\uC5B8\uC758 \uB05D\uC5D0 \uC798\uBABB\uB41C \uBB38\uC790 "&#x{0};"({1})\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +P-024 = "{0}=..."\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +P-025 = XML \uBC84\uC804 "{0}"\uC774(\uAC00) \uC120\uC5B8\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +P-026 = XML \uBC84\uC804 \uBB38\uC790\uC5F4 "{0}"\uC774(\uAC00) \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-027 = XML \uBC84\uC804 "{0}"\uC740(\uB294) \uC778\uC2DD\uB418\uC5C8\uC9C0\uB9CC "{1}"\uC740(\uB294) \uC778\uC2DD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +P-028 = \uB0B4\uBD80 DTD \uBD80\uBD84 \uC9D1\uD569\uC5D0\uB294 ""\uC774(\uAC00) \uD544\uC694\uD569\uB2C8\uB2E4. +P-035 = \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0\uC758 \uB05D\uC785\uB2C8\uB2E4. \uC885\uB8CC \uD0DC\uADF8\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-036 = ">"\uB294 "{1}"\uC774(\uAC00) \uC544\uB2CC \uC120\uC5B8\uC744 \uC885\uB8CC\uD574\uC57C \uD569\uB2C8\uB2E4. +P-037 = \uC2DC\uD000\uC2A4 \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uB294 "{0}"\uC774(\uAC00) \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +P-038 = \uC120\uD0DD \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uB294 "{0}"\uC774(\uAC00) \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +P-039 = "{0}"\uC744(\uB97C) \uD3EC\uD568\uD558\uB294 \uCF58\uD150\uCE20 \uBAA8\uB378\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. + +P-040 = \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uB294 "{0}"\uC774(\uAC00) \uC544\uB2CC \uC624\uB978\uCABD \uAD04\uD638 \uB610\uB294 "{1}"\uC774(\uAC00) \uD544\uC694\uD569\uB2C8\uB2E4. +P-041 = \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uB294 "{0}"\uC774(\uAC00) \uC544\uB2CC \uC624\uB978\uCABD \uAD04\uD638, "," \uB610\uB294 "|"\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +# {0} - element name, {1} - character as a hex number +P-042 = "{0}"\uC5D0 \uB300\uD55C \uD63C\uD569 \uCF58\uD150\uCE20 \uBAA8\uB378\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uB2E4\uC74C \uBB38\uC790 = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = "{0}"\uC5D0 \uB300\uD55C \uD63C\uD569 \uCF58\uD150\uCE20 \uBAA8\uB378\uC740 "{1}"\uC774(\uAC00) \uC544\uB2CC ")*"\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4. +P-044 = "{0}"\uC774(\uAC00) \uC544\uB2CC \uC18D\uC131 \uC120\uC5B8 \uB610\uB294 ">"\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = "{0}" \uC18D\uC131\uC5D0 \uB300\uD55C \uC720\uD615("{1}"(\uC73C)\uB85C \uC2DC\uC791)\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-046 = \uC870\uAC74 DTD \uC139\uC158\uC5D0 \uD0A4\uC6CC\uB4DC\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +P-047 = \uC885\uB8CC\uB418\uC9C0 \uC54A\uC740 \uC870\uAC74 DTD \uC139\uC158\uC785\uB2C8\uB2E4. +P-048 = "{0}"\uC774(\uAC00) \uC544\uB2CC INCLUDE \uBC0F IGNORE\uB9CC \uD5C8\uC6A9\uB429\uB2C8\uB2E4. +P-049 = \uC2ED\uC9C4 \uBB38\uC790 \uCC38\uC870\uAC00 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. + +P-050 = 16\uC9C4 \uBB38\uC790 \uCC38\uC870\uAC00 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-051 = \uC798\uBABB\uB41C XML \uBB38\uC790 &#x{0}; +P-052 = \uB0B4\uBD80 \uC5D4\uD2F0\uD2F0 "&{0};"\uC5D0\uC11C \uCF58\uD150\uCE20 \uB2E4\uC74C\uC5D0 \uBB38\uC790\uAC00 \uC788\uC2B5\uB2C8\uB2E4. +P-053 = "&{0};"\uACFC(\uC640) \uAC19\uC774 \uAD6C\uBB38\uC774 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0\uB294 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +P-054 = "&{0};"\uC5D0 \uB300\uD55C \uC6D0\uB798 \uC5D4\uD2F0\uD2F0 \uC815\uC758\uB97C \uC0AC\uC6A9\uD558\uB294 \uC911 +P-055 = \uC0C1\uB300 URI "{0}"\uC740(\uB294) \uBB38\uC11C URI \uC5C6\uC774 \uBD84\uC11D\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +P-056 = URI "{0}"\uC5D0 \uB2E8\uD3B8 ID\uAC00 \uC788\uC2B5\uB2C8\uB2E4. +P-057 = XML \uC120\uC5B8\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "?>"\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +P-058 = \uC678\uBD80 \uC5D4\uD2F0\uD2F0 "&{0};"\uC5D0\uC11C \uCF58\uD150\uCE20 \uB2E4\uC74C\uC5D0 \uBB38\uC790\uAC00 \uC788\uC2B5\uB2C8\uB2E4. +P-059 = \uC678\uBD80 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "%{0};"\uC5D0\uC11C \uB9C8\uD06C\uC5C5 \uB2E4\uC74C\uC5D0 \uBB38\uC790\uAC00 \uC788\uC2B5\uB2C8\uB2E4. + +P-060 = \uC778\uCF54\uB529 \uC774\uB984\uC5D0 \uC798\uBABB\uB41C \uBB38\uC790 "{0}"\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. +P-061 = \uC120\uC5B8\uB41C \uC778\uCF54\uB529 "{0}"\uC774(\uAC00) \uC2E4\uC81C \uC778\uCF54\uB529 "{1}"\uACFC(\uC640) \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC774\uB294 \uC624\uB958\uAC00 \uC544\uB2D0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +P-062 = \uD45C\uAE30\uBC95\uC740 PUBLIC \uB610\uB294 SYSTEM\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. +P-063 = "{0}" \uD45C\uAE30\uBC95\uC758 \uCCAB\uBC88\uC9F8 \uC815\uC758\uB97C \uC0AC\uC6A9\uD558\uB294 \uC911 +P-064 = \uC608\uC0C1\uCE58 \uC54A\uC740 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "%{0};"\uC758 \uB05D\uC5D0 \uB3C4\uB2EC\uD588\uC2B5\uB2C8\uB2E4. +P-065 = \uC5D4\uD2F0\uD2F0 \uBD84\uC11D\uAE30\uAC00 SYSTEM ID\uB97C \uC81C\uACF5\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC0C1\uB300 URI\uC5D0 \uC601\uD5A5\uC744 \uC904 \uC218 \uC788\uC2B5\uB2C8\uB2E4. +# P-066 ... ID available +P-067 = \uBB38\uC11C \uB8E8\uD2B8 \uC694\uC18C\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +P-068 = \uD45C\uAE30\uBC95 \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. +P-069 = "{0}" \uC5D4\uD2F0\uD2F0\uC758 \uD655\uC7A5\uC740 \uC21C\uD658\uC801\uC785\uB2C8\uB2E4. + +P-070 = \uB300\uB9AC \uC30D\uC758 \uB450\uBC88\uC9F8 \uBD80\uBD84 \uD615\uC2DD\uC774 \uC798\uBABB\uB428: &#x{0}; +P-071 = \uC798\uBABB\uB41C XML \uBB38\uC790: &#x{0}; +P-072 = \uBB38\uC790 \uB370\uC774\uD130\uB294 "]]>"\uB97C \uD3EC\uD568\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +# Character data section starts with "" with text in between. No change needed. +P-073 = \uC120\uC5B8\uC5D0 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +V-004 = \uC120\uC5B8\uB418\uC9C0 \uC54A\uC740 \uD45C\uAE30\uBC95 "{0}"\uC774(\uAC00) \uC120\uC5B8\uC5D0 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +V-005 = \uC694\uC18C \uC720\uD615 "{0}"\uC774(\uAC00) \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +V-006 = \uB8E8\uD2B8 \uC694\uC18C \uC720\uD615\uC774 "{0}"\uC774\uC9C0\uB9CC, "{1}"(\uC73C)\uB85C \uC120\uC5B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +V-007 = "{0}" \uC18D\uC131\uC774 "{1}" \uC694\uC18C\uC5D0 \uB300\uD574 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. +V-008 = "{1}" \uC694\uC18C\uC758 "{0}" \uC18D\uC131\uC5D0\uB294 "{2}" \uAC12\uB9CC \uC0AC\uC6A9\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# {0} - probably attribute name. +V-009 = "{0}"\uC5D0 \uB300\uD55C \uC18D\uC131\uAC12\uC740 #REQUIRED\uC785\uB2C8\uB2E4. + +V-010 = \uC774 \uBB38\uC11C\uB294 \uB3C5\uB9BD\uD615\uC774\uBBC0\uB85C "{0}" \uC18D\uC131\uC740 \uAE30\uBCF8\uAC12\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. +V-011 = \uC774 \uBB38\uC11C\uB294 \uB3C5\uB9BD\uD615\uC774\uBBC0\uB85C "{0}" \uC694\uC18C\uB294 \uBB34\uC2DC\uD560 \uC218 \uC788\uB294 \uACF5\uBC31\uC744 \uD3EC\uD568\uD558\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +V-012 = "{0}" \uC694\uC18C\uB294 \uC774\uBBF8 \uC120\uC5B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. +V-013 = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uBD80\uBD84 \uC120\uC5B8\uC774 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +# {0} - element name +V-014 = "{0}"\uC5D0 \uB300\uD55C \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uC11C \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 \uC911\uCCA9 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. +V-015 = \uD63C\uD569 \uCF58\uD150\uCE20 \uBAA8\uB378\uC774 "{0}" \uC694\uC18C\uB97C \uBC18\uBCF5\uD569\uB2C8\uB2E4. +V-016 = \uC774 \uC694\uC18C\uC5D0 \uC774\uBBF8 ID \uC18D\uC131 "{0}"\uC774(\uAC00) \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. +V-017 = ID \uC18D\uC131 "{0}"\uC740(\uB294) #FIXED\uAC00 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. +V-018 = ID \uC18D\uC131 "{0}"\uC740(\uB294) \uAE30\uBCF8\uAC12\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4. +V-019 = \uC774 \uBB38\uC11C\uB294 \uB3C5\uB9BD\uD615\uC774\uBBC0\uB85C \uC774 \uC18D\uC131\uC740 \uBBF8\uB9AC \uC815\uADDC\uD654\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +V-020 = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uBD80\uBD84 \uC870\uAC74 DTD \uC139\uC158\uC774 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +V-021 = \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0\uC5D0\uB294 \uBD80\uBD84 \uC8FC\uC11D\uC774 \uD3EC\uD568\uB418\uC9C0 \uC54A\uC544\uC57C \uD569\uB2C8\uB2E4. +V-022 = \uC815\uC758\uB418\uC9C0 \uC54A\uC740 \uB9E4\uAC1C\uBCC0\uC218 \uC5D4\uD2F0\uD2F0 "%{0};"\uC5D0 \uB300\uD55C \uCC38\uC870 +V-023 = \uC774 \uBB38\uC11C\uB294 \uB3C5\uB9BD\uD615\uC774\uBBC0\uB85C \uBB34\uC2DC\uD560 \uC218 \uC788\uB294 \uC774 CDATA \uACF5\uBC31\uC740 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. +V-024 = \uAC12\uC774 "{0}"\uC778 ID \uC18D\uC131\uC774 \uC788\uB294 \uC694\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. +V-025 = ID \uAC12\uC740 XML \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. "{0}"\uC740(\uB294) \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4. +V-026 = \uB2E4\uB978 \uC694\uC18C\uC5D0 \uAC12\uC774 "{0}"\uC778 ID \uC18D\uC131\uC774 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4. +V-027 = IDREF/IDREFS \uAC12\uC740 XML \uC774\uB984\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. "{0}"\uC740(\uB294) \uC774\uB984\uC774 \uC544\uB2D9\uB2C8\uB2E4. +V-028 = NMTOKEN/NMTOKENS \uAC12\uC740 XML \uC774\uB984 \uD1A0\uD070\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4. "{0}"\uC740(\uB294) \uC774\uB984 \uD1A0\uD070\uC774 \uC544\uB2D9\uB2C8\uB2E4. +V-029 = "{0}" \uAC12\uC740 \uC774 \uC18D\uC131\uC5D0 \uB300\uD574 \uC5F4\uAC70\uB41C \uAC12 \uC911 \uD558\uB098\uAC00 \uC544\uB2D9\uB2C8\uB2E4. + +V-030 = \uC18D\uC131\uAC12 "{0}"\uC774(\uAC00) \uD45C\uAE30\uBC95\uC744 \uBA85\uBA85\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +V-031 = \uC18D\uC131\uAC12 "{0}"\uC774(\uAC00) \uAD6C\uBB38 \uBD84\uC11D\uB418\uC9C0 \uC54A\uC740 \uC5D4\uD2F0\uD2F0\uB97C \uBA85\uBA85\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +V-032 = NMTOKENS \uC18D\uC131\uC5D0\uB294 \uD558\uB098 \uC774\uC0C1\uC758 \uAC12\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = EMPTY \uCF58\uD150\uCE20 \uBAA8\uB378\uC5D0\uB294 \uCF58\uD150\uCE20\uAC00 \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4. +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = "{0}" \uC694\uC18C\uB294 \uB354 \uC774\uC0C1\uC758 \uC785\uB825\uC744 \uD5C8\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. "{1}"\uC740(\uB294) \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = "{0}" \uC694\uC18C\uB294 \uD14D\uC2A4\uD2B8\uB97C \uD5C8\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. +V-038 = "{0}" \uC694\uC18C\uC5D0\uB294 \uCD94\uAC00 \uC694\uC18C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. +V-039 = IDREFS \uC18D\uC131\uC5D0\uB294 \uD558\uB098 \uC774\uC0C1\uC758 \uAC12\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. + +V-040 = ENTITIES \uC18D\uC131\uC5D0\uB294 \uD558\uB098 \uC774\uC0C1\uC758 \uAC12\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_pt_BR.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_pt_BR.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = N\u00E3o h\u00E1 origem da entrada do parser! +P-001 = Caractere inv\u00E1lido no final do documento, &#x{0}; +P-002 = A expans\u00E3o da entidade "&{0};" n\u00E3o est\u00E1 formatada corretamente +P-003 = Fim de entrada prematuro +# {0} - F000-F009, F011, F021. +P-004 = Espa\u00E7o em branco {0} n\u00E3o encontrado +P-005 = Somente espa\u00E7o em branco permitido {0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = ap\u00F3s a declara\u00E7\u00E3o do nome do elemento + # Concatenated with P-004 (P-004 + F001) + F-001 = entre o nome e o tipo do atributo + # Concatenated with P-004 (P-004 + F002) + F-002 = ap\u00F3s o nome do tipo de NOTATION + # Concatenated with P-004 (P-004 + F003) + F-003 = entre o tipo do atributo e o valor default + # Concatenated with P-004 (P-004 + F004) + F-004 = ap\u00F3s #FIXED + # Concatenated with P-004 (P-004 + F005) + F-005 = ap\u00F3s a declara\u00E7\u00E3o de " terminating declaration "%HTML.Version" +P-008 = O pr\u00F3ximo caractere deve ser "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = refer\u00EAncia final \u00E0 entidade + # Concatenated with P-008 (P-008 + F021) + F-021 = refer\u00EAncia final \u00E0 entidade do par\u00E2metro + # Concatenated with P-008 (P-008 + F022) + F-022 = coment\u00E1rio final + # Concatenated with P-008 (P-008 + F023) + F-023 = na Declara\u00E7\u00E3o XML + # Concatenated with P-008 (P-008 + F024) + F-024 = subconjunto DTD interno final + # Concatenated with P-008 (P-008 + F025) + F-025 = declara\u00E7\u00E3o final + # Concatenated with P-008 (P-008 + F026) + F-026 = ap\u00F3s o nome do atributo + # Concatenated with P-008 (P-008 + F027) + F-027 = elemento final + # Concatenated with P-008 (P-008 + F028) + F-028 = iniciando modelo de conte\u00FAdo para o elemento + # Concatenated with P-008 (P-008 + F029) + F-029 = iniciando lista de atributo NOTATIONS + # Concatenated with P-008 (P-008 + F030) + F-030 = subconjunto DTD de condi\u00E7\u00E3o inicial + # Concatenated with P-008 (P-008 + F031) + F-031 = declara\u00E7\u00E3o final + # Concatenated with P-008 (P-008 + F032) + F-032 = declara\u00E7\u00E3o final + +P-009 = Caractere ilegal ou sintaxe de refer\u00EAncia da entidade + +P-010 = Somente entidades do par\u00E2metro externo podem usar "%{0};" nos valores da entidade +P-011 = Sintaxe inv\u00E1lida de refer\u00EAncia da entidade do par\u00E2metro +P-012 = Use "<" para "<" nos valores de atributos +P-013 = Refer\u00EAncia inv\u00E1lida para a entidade externa "&{0};" no atributo +P-014 = Refer\u00EAncia \u00E0 entidade indefinida "&{0};" +# {0} - F033-F035 +P-015 = Esperando valor entre aspas para {0} + + # Concatenated with P-015 (P-015 + F033) + F-033 = Identificador PUBLIC + # Concatenated with P-015 (P-015 + F034) + F-034 = Identificador SYSTEM + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = valor do atributo {0} + +P-016 = Caractere inv\u00E1lido no identificador PUBLIC: "{0}" +P-017 = Final da entidade ao processar o coment\u00E1rio +P-018 = O destino da instru\u00E7\u00E3o de processamento n\u00E3o foi encontrado +P-019 = A declara\u00E7\u00E3o XML s\u00F3 pode come\u00E7ar entidades + +P-020 = Destino inv\u00E1lido da instru\u00E7\u00E3o de processamento: "{0}" +P-021 = Final da instru\u00E7\u00E3o de processamento de entrada interna +P-022 = Nome inv\u00E1lido da instru\u00E7\u00E3o de processamento ou espa\u00E7o em branco n\u00E3o encontrado +P-023 = Caractere inv\u00E1lido "&#x{0};" ({1}) no final da Declara\u00E7\u00E3o XML +P-024 = Esperava "{0}=..." +P-025 = A vers\u00E3o XML "{0}" deve ser declarada +P-026 = String inv\u00E1lida da vers\u00E3o XML "{0}" +P-027 = A vers\u00E3o XML "{0}" \u00E9 reconhecida, mas n\u00E3o "{1}" +P-028 = O subconjunto DTD interno n\u00E3o deve ter constru\u00E7\u00F5es "" esperado para encerrar o elemento que come\u00E7a na linha {1} +P-035 = Final da entidade n\u00E3o permitido; uma tag final n\u00E3o foi encontrada +P-036 = ">" deve encerrar a declara\u00E7\u00E3o , e n\u00E3o "{1}" +P-037 = O modelo de conte\u00FAdo da sequ\u00EAncia n\u00E3o deve conter "{0}" +P-038 = O modelo de conte\u00FAdo da op\u00E7\u00E3o n\u00E3o deve conter "{0}" +P-039 = Nenhum modelo de conte\u00FAdo deve conter "{0}" + +P-040 = \u00C9 necess\u00E1rio o par\u00EAntese direito ou "{1}" no modelo de conte\u00FAdo, e n\u00E3o "{0}" +P-041 = \u00C9 necess\u00E1rio o par\u00EAntese direito, "," ou "|" no modelo de conte\u00FAdo, e n\u00E3o "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = Modelo de conte\u00FAdo misto inv\u00E1lido para "{0}", o pr\u00F3ximo caractere = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = O modelo de conte\u00FAdo misto para "{0}" deve terminar com ")*", e n\u00E3o "{1}" +P-044 = Uma declara\u00E7\u00E3o de atributos ou ">" \u00E9 esperada, e n\u00E3o "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = Tipo inv\u00E1lido (come\u00E7a com "{1}") para o atributo "{0}" +P-046 = \u00C9 necess\u00E1rio a palavra-chave na se\u00E7\u00E3o DTD condicional +P-047 = Se\u00E7\u00E3o DTD condicional n\u00E3o encerrada +P-048 = Somente INCLUDE e IGNORE s\u00E3o permitidos, e n\u00E3o "{0}" +P-049 = Refer\u00EAncia inv\u00E1lida do caractere decimal + +P-050 = Refer\u00EAncia inv\u00E1lida do caractere hexadecimal +P-051 = Caractere XML inv\u00E1lido &#x{0}; +P-052 = A entidade interna "&{0};" tem caracteres ap\u00F3s o conte\u00FAdo +P-053 = Entidades sem parse como "&{0};" n\u00E3o devem ser inclu\u00EDdas +P-054 = Usando defini\u00E7\u00E3o de entidade original para "&{0};" +P-055 = O URI relativo "{0}"; n\u00E3o pode ser resolvido sem um URI do documento +P-056 = O URI "{0}" tem um ID de fragmento +P-057 = \u00C9 necess\u00E1rio "?>" para encerrar a declara\u00E7\u00E3o XML +P-058 = A entidade externa "&{0};" tem caracteres ap\u00F3s o conte\u00FAdo +P-059 = A entidade do par\u00E2metro externo "%{0};" tem caracteres ap\u00F3s a marca\u00E7\u00E3o + +P-060 = Caractere inv\u00E1lido "{0}" no nome da codifica\u00E7\u00E3o +P-061 = A codifica\u00E7\u00E3o declarada "{0}" n\u00E3o corresponde ao "{1}" real; isso pode n\u00E3o ser um erro +P-062 = A nota\u00E7\u00E3o deve ser PUBLIC ou SYSTEM +P-063 = Usando a primeira defini\u00E7\u00E3o da nota\u00E7\u00E3o "{0}" +P-064 = Final prematuro da entidade do par\u00E2metro "%{0};" +P-065 = O Resolvedor da Entidade n\u00E3o forneceu o id do SYSTEM; pode afetar URIs relativos +# P-066 ... ID available +P-067 = O elemento raiz do documento n\u00E3o foi encontrado +P-068 = Nome da nota\u00E7\u00E3o obrigat\u00F3rio +P-069 = A expans\u00E3o da entidade "{0}" \u00E9 recursiva + +P-070 = Segunda parte incorreta do par substituto: &#x{0}; +P-071 = Caractere XML inv\u00E1lido: &#x{0}; +P-072 = Os dados do caractere n\u00E3o podem ter "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = EOF ao fazer parse da se\u00E7\u00E3o +V-004 = A nota\u00E7\u00E3o n\u00E3o declarada "{0}" \u00E9 usada por uma declara\u00E7\u00E3o +V-005 = O tipo do elemento "{0}" n\u00E3o \u00E9 declarado +V-006 = O tipo do elemento raiz \u00E9 "{0}", mas foi declarado como "{1}" +V-007 = O atributo "{0}" n\u00E3o \u00E9 declarado para o elemento "{1}" +V-008 = O atributo "{0}" do elemento "{1}" s\u00F3 pode ter o valor "{2}" +# {0} - probably attribute name. +V-009 = O valor do atributo de "{0}" \u00E9 #REQUIRED + +V-010 = Este documento \u00E9 independente, portanto, o atributo "{0}" n\u00E3o deve ser definido como default +V-011 = Este documento \u00E9 independente, portanto, o elemento "{0}" n\u00E3o deve ter espa\u00E7o em branco ignor\u00E1vel +V-012 = O elemento "{0}" j\u00E1 foi declarado +V-013 = As entidades do par\u00E2metro n\u00E3o devem conter declara\u00E7\u00F5es parciais +# {0} - element name +V-014 = Erro de aninhamento da entidade do par\u00E2metro no modelo de conte\u00FAdo para "{0}" +V-015 = O modelo de conte\u00FAdo misto repete o elemento "{0}" +V-016 = Este elemento j\u00E1 tem um atributo de ID, "{0}" +V-017 = O atributo de ID "{0}" n\u00E3o deve ser #FIXED +V-018 = O atributo de ID "{0}" n\u00E3o deve ser definido como default +V-019 = Este documento \u00E9 independente; este atributo precisa ser pr\u00E9-normalizado + +V-020 = As entidades do par\u00E2metro n\u00E3o devem conter se\u00E7\u00F5es DTD condicionais parciais +V-021 = As entidades do par\u00E2metro n\u00E3o devem conter coment\u00E1rios parciais +V-022 = Refer\u00EAncia \u00E0 entidade do par\u00E2metro indefinido "%{0};" +V-023 = Este documento \u00E9 independente; este espa\u00E7o em branco CDATA ignor\u00E1vel \u00E9 proibido +V-024 = Nenhum elemento tem um atributo de ID com o valor "{0}" +V-025 = Os valores do ID devem ser nomes XML; "{0}" n\u00E3o \u00E9 um nome +V-026 = Outro elemento j\u00E1 tem um atributo de ID com o valor "{0}" +V-027 = Os valores IDREF/IDREFS devem ser nomes XML; "{0}" n\u00E3o \u00E9 um nome +V-028 = Os valores NMTOKEN/NMTOKENS devem ser tokens de nomes XML; "{0}" n\u00E3o \u00E9 um token de nome +V-029 = O valor "{0}" n\u00E3o \u00E9 um dos valores enumerados para este atributo + +V-030 = O valor do atributo "{0}" n\u00E3o nomeia uma nota\u00E7\u00E3o +V-031 = O valor do atributo "{0}" n\u00E3o nomeia uma entidade sem parse +V-032 = Os atributos NMTOKENS devem ter pelo menos um valor +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = Os modelos de conte\u00FAdo vazios n\u00E3o devem ter conte\u00FAdo +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = O elemento "{0}" n\u00E3o permite mais inser\u00E7\u00F5es; "{1}" n\u00E3o \u00E9 permitido +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = O elemento "{0}" n\u00E3o permite texto +V-038 = O elemento "{0}" requer elementos adicionais +V-039 = Os atributos IDREFS devem ter pelo menos um valor + +V-040 = Os atributos ENTITIES devem ter pelo menos um valor diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_zh_CN.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_zh_CN.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = \u65E0\u89E3\u6790\u5668\u8F93\u5165\u6E90! +P-001 = \u5728\u6587\u6863\u7ED3\u5C3E\u5B58\u5728\u975E\u6CD5\u5B57\u7B26, &#x{0}; +P-002 = \u5B9E\u4F53 "&{0};" \u7684\u6269\u5C55\u683C\u5F0F\u4E0D\u6B63\u786E +P-003 = \u8F93\u5165\u63D0\u524D\u7ED3\u675F +# {0} - F000-F009, F011, F021. +P-004 = \u7F3A\u5C11\u7A7A\u683C {0} +P-005 = \u4EC5\u5141\u8BB8\u7A7A\u683C{0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = \u5143\u7D20\u540D\u79F0\u58F0\u660E\u4E4B\u540E + # Concatenated with P-004 (P-004 + F001) + F-001 = \u4ECB\u4E8E\u5C5E\u6027\u540D\u79F0\u548C\u7C7B\u578B\u4E4B\u95F4 + # Concatenated with P-004 (P-004 + F002) + F-002 = NOTATION \u7C7B\u578B\u540D\u79F0\u4E4B\u540E + # Concatenated with P-004 (P-004 + F003) + F-003 = \u4ECB\u4E8E\u5C5E\u6027\u7C7B\u578B\u548C\u9ED8\u8BA4\u503C\u4E4B\u95F4 + # Concatenated with P-004 (P-004 + F004) + F-004 = \u5728 #FIXED \u4E4B\u540E + # Concatenated with P-004 (P-004 + F005) + F-005 = " terminating declaration "%HTML.Version" +P-008 = \u4E0B\u4E00\u4E2A\u5B57\u7B26\u5FC5\u987B\u4E3A "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = \u7EC8\u6B62\u5BF9\u5B9E\u4F53\u7684\u5F15\u7528 + # Concatenated with P-008 (P-008 + F021) + F-021 = \u7EC8\u6B62\u5BF9\u53C2\u6570\u5B9E\u4F53\u7684\u5F15\u7528 + # Concatenated with P-008 (P-008 + F022) + F-022 = \u7EC8\u6B62\u6CE8\u91CA + # Concatenated with P-008 (P-008 + F023) + F-023 = \u5728 XML \u58F0\u660E\u4E2D + # Concatenated with P-008 (P-008 + F024) + F-024 = \u7EC8\u6B62\u5185\u90E8 DTD \u5B50\u96C6 + # Concatenated with P-008 (P-008 + F025) + F-025 = \u7EC8\u6B62 \u58F0\u660E + # Concatenated with P-008 (P-008 + F026) + F-026 = \u5C5E\u6027\u540D\u79F0\u4E4B\u540E + # Concatenated with P-008 (P-008 + F027) + F-027 = \u7EC8\u6B62\u5143\u7D20 + # Concatenated with P-008 (P-008 + F028) + F-028 = \u542F\u52A8\u5143\u7D20\u7684\u5185\u5BB9\u6A21\u578B + # Concatenated with P-008 (P-008 + F029) + F-029 = \u542F\u52A8\u5C5E\u6027 NOTATIONS \u5217\u8868 + # Concatenated with P-008 (P-008 + F030) + F-030 = \u5F00\u59CB\u6761\u4EF6 DTD \u5B50\u96C6 + # Concatenated with P-008 (P-008 + F031) + F-031 = \u7EC8\u6B62 \u58F0\u660E + # Concatenated with P-008 (P-008 + F032) + F-032 = \u7EC8\u6B62 \u58F0\u660E + +P-009 = \u975E\u6CD5\u5B57\u7B26\u6216\u5B9E\u4F53\u5F15\u7528\u8BED\u6CD5 + +P-010 = \u53EA\u6709\u5916\u90E8\u53C2\u6570\u5B9E\u4F53\u624D\u80FD\u5728\u5B9E\u4F53\u503C\u4E2D\u4F7F\u7528 "%{0};" +P-011 = \u975E\u6CD5\u53C2\u6570\u5B9E\u4F53\u5F15\u7528\u8BED\u6CD5 +P-012 = \u5BF9\u4E8E\u5C5E\u6027\u503C\u4E2D\u7684 "<", \u8BF7\u4F7F\u7528 "<" +P-013 = \u975E\u6CD5\u5F15\u7528\u5C5E\u6027\u4E2D\u7684\u5916\u90E8\u5B9E\u4F53 "&{0};" +P-014 = \u5F15\u7528\u672A\u5B9A\u4E49\u7684\u5B9E\u4F53 "&{0};" +# {0} - F033-F035 +P-015 = \u5BF9\u4E8E{0}\u7684\u503C, \u5E94\u4F7F\u7528\u5F15\u53F7\u62EC\u8D77\u6765 + + # Concatenated with P-015 (P-015 + F033) + F-033 = PUBLIC \u6807\u8BC6\u7B26 + # Concatenated with P-015 (P-015 + F034) + F-034 = SYSTEM \u6807\u8BC6\u7B26 + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = \u5C5E\u6027\u503C{0} + +P-016 = PUBLIC \u6807\u8BC6\u7B26\u4E2D\u5B58\u5728\u975E\u6CD5\u5B57\u7B26: "{0}" +P-017 = \u5904\u7406\u6CE8\u91CA\u65F6\u9047\u5230\u5B9E\u4F53\u7ED3\u5C3E +P-018 = \u7F3A\u5C11\u5904\u7406\u6307\u4EE4\u76EE\u6807 +P-019 = XML \u58F0\u660E\u53EA\u80FD\u5F00\u59CB\u5B9E\u4F53 + +P-020 = \u975E\u6CD5\u5904\u7406\u6307\u4EE4\u76EE\u6807: "{0}" +P-021 = \u8F93\u5165\u7ED3\u5C3E\u5904\u4E8E\u5904\u7406\u6307\u4EE4\u5185 +P-022 = \u975E\u6CD5\u5904\u7406\u6307\u4EE4\u540D\u79F0, \u6216\u7F3A\u5C11\u7A7A\u683C +P-023 = \u5728 XML \u58F0\u660E\u7ED3\u5C3E\u5B58\u5728\u975E\u6CD5\u5B57\u7B26 "&#x{0};" ({1}) +P-024 = \u5E94\u4E3A "{0}=..." +P-025 = \u5E94\u58F0\u660E XML \u7248\u672C "{0}" +P-026 = \u975E\u6CD5 XML \u7248\u672C\u5B57\u7B26\u4E32 "{0}" +P-027 = \u5DF2\u8BC6\u522B XML \u7248\u672C "{0}", \u4F46\u65E0\u6CD5\u8BC6\u522B "{1}" +P-028 = \u5185\u90E8 DTD \u5B50\u96C6\u4E0D\u80FD\u62E5\u6709 "" \u6765\u7EC8\u6B62\u5728\u884C {1} \u5904\u5F00\u59CB\u7684\u5143\u7D20 +P-035 = \u4E0D\u5141\u8BB8\u5B9E\u4F53\u7ED3\u5C3E; \u7F3A\u5C11\u7ED3\u675F\u6807\u8BB0 +P-036 = ">" \u5FC5\u987B\u7EC8\u6B62 \u58F0\u660E, \u800C\u4E0D\u662F "{1}" +P-037 = \u5E8F\u5217\u5185\u5BB9\u6A21\u578B\u4E0D\u80FD\u5305\u542B "{0}" +P-038 = \u9009\u9879\u5185\u5BB9\u6A21\u578B\u4E0D\u80FD\u5305\u542B "{0}" +P-039 = \u4EFB\u4F55\u5185\u5BB9\u6A21\u578B\u4E0D\u80FD\u5305\u542B "{0}" + +P-040 = \u5728\u5185\u5BB9\u6A21\u578B\u4E2D\u9700\u8981\u53F3\u62EC\u53F7\u6216 "{1}", \u800C\u4E0D\u662F "{0}" +P-041 = \u5728\u5185\u5BB9\u6A21\u578B\u4E2D\u9700\u8981\u53F3\u62EC\u53F7, "," \u6216 "|", \u800C\u4E0D\u662F "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = "{0}" \u975E\u6CD5\u6DF7\u5408\u7684\u5185\u5BB9\u6A21\u578B, \u4E0B\u4E00\u4E2A\u5B57\u7B26 = &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = "{0}" \u6DF7\u5408\u7684\u5185\u5BB9\u6A21\u578B\u5FC5\u987B\u4EE5 ")*" \u7ED3\u675F, \u800C\u4E0D\u4EE5 "{1}" \u7ED3\u675F +P-044 = \u9700\u8981\u5C5E\u6027\u58F0\u660E\u6216 ">", \u800C\u4E0D\u662F "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = \u5C5E\u6027 "{0}" \u7684\u7C7B\u578B (\u4EE5 "{1}" \u5F00\u5934) \u975E\u6CD5 +P-046 = \u5728\u6761\u4EF6 DTD \u90E8\u5206\u9700\u8981\u5173\u952E\u5B57 +P-047 = \u672A\u7EC8\u6B62\u7684\u6761\u4EF6 DTD \u90E8\u5206 +P-048 = \u4EC5\u5141\u8BB8 INCLUDE \u548C IGNORE, \u4E0D\u5141\u8BB8 "{0}" +P-049 = \u975E\u6CD5\u5341\u8FDB\u5236\u5B57\u7B26\u5F15\u7528 + +P-050 = \u975E\u6CD5\u5341\u516D\u8FDB\u5236\u5B57\u7B26\u5F15\u7528 +P-051 = \u975E\u6CD5 XML \u5B57\u7B26 &#x{0}; +P-052 = \u5185\u90E8\u5B9E\u4F53 "&{0};" \u5728\u5185\u5BB9\u540E\u62E5\u6709\u5B57\u7B26 +P-053 = \u4E0D\u80FD\u5305\u542B\u672A\u89E3\u6790\u7684\u5B9E\u4F53, \u4F8B\u5982 "&{0};" +P-054 = \u4F7F\u7528 "&{0};" \u7684\u539F\u59CB\u5B9E\u4F53\u5B9A\u4E49 +P-055 = \u53EA\u6709\u7528\u6587\u6863 URI \u624D\u80FD\u89E3\u6790\u76F8\u5BF9 URI "{0}" +P-056 = URI "{0}" \u62E5\u6709\u4E00\u4E2A\u7247\u6BB5 ID +P-057 = \u9700\u8981 "?>" \u6765\u7EC8\u6B62 XML \u58F0\u660E +P-058 = \u5916\u90E8\u5B9E\u4F53 "&{0};" \u5728\u5185\u5BB9\u540E\u62E5\u6709\u5B57\u7B26 +P-059 = \u5916\u90E8\u53C2\u6570\u5B9E\u4F53 "%{0};" \u5728\u6807\u8BB0\u540E\u62E5\u6709\u5B57\u7B26 + +P-060 = \u7F16\u7801\u540D\u79F0\u4E2D\u5305\u542B\u975E\u6CD5\u5B57\u7B26 "{0}" +P-061 = \u58F0\u660E\u7684\u7F16\u7801 "{0}" \u4E0D\u4E0E\u5B9E\u9645\u7684\u7F16\u7801 "{1}" \u5339\u914D; \u8FD9\u53EF\u80FD\u4E0D\u662F\u9519\u8BEF +P-062 = \u6CE8\u91CA\u5FC5\u987B\u4E3A PUBLIC \u6216 SYSTEM +P-063 = \u6B63\u5728\u4F7F\u7528\u6CE8\u91CA "{0}" \u7684\u7B2C\u4E00\u4E2A\u5B9A\u4E49 +P-064 = \u53C2\u6570\u5B9E\u4F53 "%{0};" \u63D0\u524D\u7ED3\u675F +P-065 = \u5B9E\u4F53\u89E3\u6790\u5668\u6CA1\u6709\u63D0\u4F9B SYSTEM ID; \u53EF\u80FD\u4F1A\u5F71\u54CD\u76F8\u5BF9 URI +# P-066 ... ID available +P-067 = \u7F3A\u5C11\u6587\u6863\u6839\u5143\u7D20 +P-068 = \u9700\u8981\u6CE8\u91CA\u540D\u79F0 +P-069 = \u5B9E\u4F53 "{0}" \u7684\u6269\u5C55\u662F\u9012\u5F52\u7684 + +P-070 = \u4EE3\u7406\u5BF9\u7684\u7B2C\u4E8C\u90E8\u5206\u7684\u683C\u5F0F\u4E0D\u6B63\u786E: &#x{0}; +P-071 = \u975E\u6CD5 XML \u5B57\u7B26: &#x{0}; +P-072 = \u5B57\u7B26\u6570\u636E\u4E0D\u80FD\u62E5\u6709 "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = \u89E3\u6790 \u58F0\u660E\u4F7F\u7528 +V-004 = \u672A\u58F0\u660E\u7684\u6CE8\u91CA "{0}" \u7531 \u58F0\u660E\u4F7F\u7528 +V-005 = \u5143\u7D20\u7C7B\u578B "{0}" \u672A\u58F0\u660E +V-006 = \u6839\u5143\u7D20\u7C7B\u578B\u4E3A "{0}", \u4F46\u58F0\u660E\u4E3A "{1}" +V-007 = \u4E0D\u4E3A\u5143\u7D20 "{1}" \u58F0\u660E\u5C5E\u6027 "{0}" +V-008 = \u5143\u7D20 "{1}" \u7684\u5C5E\u6027 "{0}" \u5FC5\u987B\u53EA\u62E5\u6709\u503C "{2}" +# {0} - probably attribute name. +V-009 = "{0}" \u7684\u5C5E\u6027\u503C\u4E3A #REQUIRED + +V-010 = \u6B64\u6587\u6863\u662F\u72EC\u7ACB\u7684, \u56E0\u6B64\u5C5E\u6027 "{0}" \u4E00\u5B9A\u4E0D\u8981\u8BBE\u7F6E\u4E3A\u9ED8\u8BA4\u503C +V-011 = \u6B64\u6587\u6863\u662F\u72EC\u7ACB\u7684, \u56E0\u6B64\u5143\u7D20 "{0}" \u4E00\u5B9A\u4E0D\u8981\u6709\u53EF\u5FFD\u7565\u7684\u7A7A\u683C +V-012 = \u5143\u7D20 "{0}" \u5DF2\u58F0\u660E +V-013 = \u53C2\u6570\u5B9E\u4F53\u4E0D\u80FD\u5305\u542B\u90E8\u5206\u58F0\u660E +# {0} - element name +V-014 = "{0}" \u7684\u5185\u5BB9\u6A21\u578B\u4E2D\u7684\u53C2\u6570\u5B9E\u4F53\u5D4C\u5957\u9519\u8BEF +V-015 = \u6DF7\u5408\u5185\u5BB9\u6A21\u578B\u91CD\u590D\u5143\u7D20 "{0}" +V-016 = \u8BE5\u5143\u7D20\u5DF2\u62E5\u6709\u4E00\u4E2A ID \u5C5E\u6027 "{0}" +V-017 = ID \u5C5E\u6027 "{0}" \u4E0D\u80FD\u4E3A #FIXED +V-018 = ID \u5C5E\u6027 "{0}" \u4E0D\u80FD\u4E3A\u9ED8\u8BA4\u503C +V-019 = \u8BE5\u6587\u6863\u662F\u72EC\u7ACB\u7684; \u8BE5\u5C5E\u6027\u5FC5\u987B\u9884\u89C4\u8303\u5316 + +V-020 = \u53C2\u6570\u5B9E\u4F53\u4E0D\u80FD\u5305\u542B\u90E8\u5206\u6761\u4EF6 DTD \u90E8\u5206 +V-021 = \u53C2\u6570\u5B9E\u4F53\u4E0D\u80FD\u5305\u542B\u90E8\u5206\u6CE8\u91CA +V-022 = \u5F15\u7528\u672A\u5B9A\u4E49\u7684\u53C2\u6570\u5B9E\u4F53 "%{0};" +V-023 = \u8BE5\u6587\u6863\u662F\u72EC\u7ACB\u7684; \u7981\u6B62\u53EF\u5FFD\u7565\u7684 CDATA \u7A7A\u683C +V-024 = \u4EFB\u4F55\u5143\u7D20\u90FD\u4E0D\u62E5\u6709\u503C\u4E3A "{0}" \u7684 ID \u5C5E\u6027 +V-025 = ID \u503C\u5FC5\u987B\u4E3A XML \u540D\u79F0; "{0}" \u4E0D\u662F\u4E00\u4E2A\u540D\u79F0 +V-026 = \u53E6\u4E00\u5143\u7D20\u5DF2\u62E5\u6709\u503C\u4E3A "{0}" \u7684 ID \u5C5E\u6027 +V-027 = IDREF/IDREFS \u503C\u5FC5\u987B\u4E3A XML \u540D\u79F0; "{0}" \u4E0D\u662F\u4E00\u4E2A\u540D\u79F0 +V-028 = NMTOKEN/NMTOKENS \u503C\u5FC5\u987B\u4E3A XML \u540D\u79F0\u6807\u8BB0; "{0}" \u4E0D\u662F\u540D\u79F0\u6807\u8BB0 +V-029 = \u503C "{0}" \u4E0D\u662F\u8BE5\u5C5E\u6027\u7684\u5176\u4E2D\u4E00\u4E2A\u679A\u4E3E\u503C + +V-030 = \u5C5E\u6027\u503C "{0}" \u4E0D\u547D\u540D\u6CE8\u91CA +V-031 = \u5C5E\u6027\u503C "{0}" \u4E0D\u547D\u540D\u672A\u89E3\u6790\u7684\u5B9E\u4F53 +V-032 = NMTOKENS \u5C5E\u6027\u5FC5\u987B\u62E5\u6709\u81F3\u5C11\u4E00\u4E2A\u503C +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = EMPTY \u5185\u5BB9\u6A21\u578B\u4E0D\u80FD\u62E5\u6709\u5185\u5BB9 +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = \u5143\u7D20 "{0}" \u4E0D\u5141\u8BB8\u8FDB\u4E00\u6B65\u8F93\u5165; \u4E0D\u5141\u8BB8 "{1}" +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = \u5143\u7D20 "{0}" \u4E0D\u5141\u8BB8\u6587\u672C +V-038 = \u5143\u7D20 "{0}" \u9700\u8981\u9644\u52A0\u5143\u7D20 +V-039 = IDREFS \u5C5E\u6027\u5FC5\u987B\u62E5\u6709\u81F3\u5C11\u4E00\u4E2A\u503C + +V-040 = ENTITIES \u5C5E\u6027\u5FC5\u987B\u62E5\u6709\u81F3\u5C11\u4E00\u4E2A\u503C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_zh_TW.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/resources/Messages_en_zh_TW.properties Tue Apr 16 08:11:41 2013 -0700 @@ -0,0 +1,284 @@ +# +# 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. +# + +# +# English diagnostic messages (and fragments) for Sun's XML parser. +# +# P-NNN ... parser messages +# F-NNN ... message fragments (sometimes associated with more +# than one message, but usually just with one) +# V-NNN ... validation related messages +# +# Most messages can be produced in only one way. +# + + +# +# Generic parsing messages, not specific to validation +# +P-000 = \u7121\u5256\u6790\u5668\u8F38\u5165\u4F86\u6E90! +P-001 = \u6587\u4EF6\u7D50\u5C3E\u7684\u5B57\u5143\u7121\u6548, &#x{0}; +P-002 = \u5BE6\u9AD4 "&{0};" \u64F4\u5145\u7684\u683C\u5F0F\u4E0D\u6B63\u78BA +P-003 = \u8F38\u5165\u63D0\u524D\u7D50\u675F +# {0} - F000-F009, F011, F021. +P-004 = \u907A\u6F0F\u7A7A\u767D\u5B57\u5143 {0} +P-005 = \u53EA\u5141\u8A31\u7A7A\u767D\u5B57\u5143 {0} + + # + # unadorned "missing whitespace", with P-004 only + # + # Concatenated with P-004 (P-004 + F000) + F-000 = \u5143\u7D20\u540D\u7A31\u5BA3\u544A\u4E4B\u5F8C + # Concatenated with P-004 (P-004 + F001) + F-001 = \u5C6C\u6027\u540D\u7A31\u8207\u985E\u578B\u4E4B\u9593 + # Concatenated with P-004 (P-004 + F002) + F-002 = NOTATION \u985E\u578B\u540D\u7A31\u4E4B\u5F8C + # Concatenated with P-004 (P-004 + F003) + F-003 = \u5C6C\u6027\u985E\u578B\u8207\u9810\u8A2D\u503C\u4E4B\u9593 + # Concatenated with P-004 (P-004 + F004) + F-004 = #FIXED \u4E4B\u5F8C + # Concatenated with P-004 (P-004 + F005) + F-005 = " terminating declaration "%HTML.Version" +P-008 = \u4E0B\u4E00\u500B\u5B57\u5143\u5FC5\u9808\u70BA "{0}" {1} {2} + + # Concatenated with P-008 (P-008 + F020) + F-020 = \u6B63\u5728\u7D42\u6B62\u5BE6\u9AD4\u7684\u53C3\u7167 + # Concatenated with P-008 (P-008 + F021) + F-021 = \u6B63\u5728\u7D42\u6B62\u53C3\u6578\u5BE6\u9AD4\u7684\u53C3\u7167 + # Concatenated with P-008 (P-008 + F022) + F-022 = \u6B63\u5728\u7D42\u6B62\u8A3B\u89E3 + # Concatenated with P-008 (P-008 + F023) + F-023 = \u5728 XML \u5BA3\u544A\u4E2D + # Concatenated with P-008 (P-008 + F024) + F-024 = \u6B63\u5728\u7D42\u6B62\u5167\u90E8 DTD \u5B50\u96C6 + # Concatenated with P-008 (P-008 + F025) + F-025 = \u6B63\u5728\u7D42\u6B62 \u5BA3\u544A + # Concatenated with P-008 (P-008 + F026) + F-026 = \u5C6C\u6027\u540D\u7A31\u4E4B\u5F8C + # Concatenated with P-008 (P-008 + F027) + F-027 = \u6B63\u5728\u7D42\u6B62\u5143\u7D20 + # Concatenated with P-008 (P-008 + F028) + F-028 = \u6B63\u5728\u555F\u52D5\u5143\u7D20\u7684\u5167\u5BB9\u6A21\u578B + # Concatenated with P-008 (P-008 + F029) + F-029 = \u6B63\u5728\u555F\u52D5\u5C6C\u6027 NOTATIONS \u7684\u6E05\u55AE + # Concatenated with P-008 (P-008 + F030) + F-030 = \u6B63\u5728\u958B\u59CB\u689D\u4EF6 DTD \u5B50\u96C6 + # Concatenated with P-008 (P-008 + F031) + F-031 = \u6B63\u5728\u7D42\u6B62 \u5BA3\u544A + # Concatenated with P-008 (P-008 + F032) + F-032 = \u6B63\u5728\u7D42\u6B62 \u5BA3\u544A + +P-009 = \u7121\u6548\u7684\u5B57\u5143\u6216\u5BE6\u9AD4\u53C3\u7167\u8A9E\u6CD5 + +P-010 = \u53EA\u6709\u5916\u90E8\u53C3\u6578\u5BE6\u9AD4\u53EF\u5728\u5BE6\u9AD4\u503C\u4E2D\u4F7F\u7528 "%{0};" +P-011 = \u7121\u6548\u7684\u53C3\u6578\u5BE6\u9AD4\u53C3\u7167\u8A9E\u6CD5 +P-012 = \u5C6C\u6027\u503C\u4E2D\u8981\u4F7F\u7528 "<" \u505A\u70BA "<" +P-013 = \u5C6C\u6027\u4E2D\u5916\u90E8\u5BE6\u9AD4 "&{0};" \u7684\u53C3\u7167\u7121\u6548 +P-014 = \u672A\u5B9A\u7FA9\u5BE6\u9AD4 "&{0};" \u7684\u53C3\u7167 +# {0} - F033-F035 +P-015 = \u62EC\u4F4F\u7684\u503C\u61C9\u70BA {0} + + # Concatenated with P-015 (P-015 + F033) + F-033 = PUBLIC ID + # Concatenated with P-015 (P-015 + F034) + F-034 = SYSTEM ID + # {0} - attribute name. Concatenated with P-015 (P-015 + F033) + F-035 = \u5C6C\u6027\u503C {0} + +P-016 = PUBLIC ID "{0}" \u4E2D\u7684\u5B57\u5143\u7121\u6548 +P-017 = \u8655\u7406\u8A3B\u89E3\u6642\u5BE6\u9AD4\u7D50\u675F +P-018 = \u907A\u6F0F\u8655\u7406\u6307\u793A\u76EE\u6A19 +P-019 = XML \u5BA3\u544A\u53EF\u80FD\u53EA\u6703\u958B\u59CB\u5BE6\u9AD4 + +P-020 = \u7121\u6548\u7684\u8655\u7406\u6307\u793A\u76EE\u6A19: "{0}" +P-021 = \u8F38\u5165\u5728\u8655\u7406\u6307\u793A\u5167\u7D50\u675F +P-022 = \u8655\u7406\u6307\u793A\u540D\u7A31\u7121\u6548, \u6216\u907A\u6F0F\u7A7A\u767D\u5B57\u5143 +P-023 = XML \u5BA3\u544A\u7D50\u5C3E\u7684\u5B57\u5143 "&#x{0};" ({1}) \u7121\u6548 +P-024 = \u9810\u671F\u70BA "{0}=..." +P-025 = \u61C9\u5BA3\u544A XML \u7248\u672C "{0}" +P-026 = \u7121\u6548\u7684 XML \u7248\u672C\u5B57\u4E32 "{0}" +P-027 = \u8B58\u5225\u70BA XML \u7248\u672C "{0}", \u800C\u4E0D\u662F "{1}" +P-028 = \u5167\u90E8 DTD \u5B50\u96C6\u4E0D\u5F97\u6709 "" \u624D\u80FD\u7D42\u6B62\u7B2C {1} \u884C\u4E0A\u555F\u52D5\u7684\u5143\u7D20 +P-035 = \u4E0D\u5141\u8A31\u7D50\u675F\u5BE6\u9AD4; \u907A\u6F0F\u7D50\u675F\u6A19\u8A18 +P-036 = ">" \u5FC5\u9808\u7D42\u6B62 \u5BA3\u544A, \u800C\u4E0D\u662F "{1}" +P-037 = \u9806\u5E8F\u5167\u5BB9\u6A21\u578B\u4E0D\u5F97\u5305\u542B "{0}" +P-038 = \u9078\u64C7\u5167\u5BB9\u6A21\u578B\u4E0D\u5F97\u5305\u542B "{0}" +P-039 = \u5167\u5BB9\u6A21\u578B\u4E0D\u5F97\u5305\u542B "{0}" + +P-040 = \u5167\u5BB9\u6A21\u578B\u4E2D\u9700\u8981\u53F3\u62EC\u865F\u6216 "{1}", \u800C\u4E0D\u662F "{0}" +P-041 = \u5167\u5BB9\u6A21\u578B\u4E2D\u9700\u8981\u53F3\u62EC\u865F\u3001"," \u6216 "|", \u800C\u4E0D\u662F "{0}" +# {0} - element name, {1} - character as a hex number +P-042 = "{0}" \u7684\u6DF7\u5408\u5167\u5BB9\u6A21\u578B\u7121\u6548, \u4E0B\u4E00\u500B\u5B57\u5143\u70BA &#x{1}; +# {0} - element name, {1} - character e.g.: Mixed content model for "doc" must end with ")*", not "*". +P-043 = "{0}" \u7684\u6DF7\u5408\u5167\u5BB9\u6A21\u578B\u5FC5\u9808\u4EE5 ")*" \u7D50\u675F, \u800C\u4E0D\u662F "{1}" +P-044 = \u61C9\u70BA\u5C6C\u6027\u5BA3\u544A\u6216 ">", \u800C\u4E0D\u662F "{0}" +# {0} - attribute name, {1} - character e.g.: Illegal type (starts with "p") for attribute "xml:space" +P-045 = \u5C6C\u6027 "{0}" \u7684\u985E\u578B (\u4EE5 "{1}" \u958B\u982D) \u7121\u6548 +P-046 = \u689D\u4EF6 DTD \u5340\u6BB5\u9700\u8981\u95DC\u9375\u5B57 +P-047 = \u672A\u7D42\u6B62\u7684\u689D\u4EF6 DTD \u5340\u6BB5 +P-048 = \u53EA\u5141\u8A31 INCLUDE \u8207 IGNORE, \u800C\u4E0D\u662F "{0}" +P-049 = \u7121\u6548\u7684\u5341\u9032\u4F4D\u5B57\u5143\u53C3\u7167 + +P-050 = \u7121\u6548\u7684\u5341\u516D\u9032\u4F4D\u5B57\u5143\u53C3\u7167 +P-051 = \u4E0D\u5408\u6CD5\u7684 XML \u5B57\u5143 &#x{0}; +P-052 = \u5167\u90E8\u5BE6\u9AD4 "&{0};" \u6709\u5B57\u5143\u5728\u5167\u5BB9\u4E4B\u5F8C +P-053 = \u4E0D\u5F97\u5305\u542B\u5982 "&{0};" \u7B49\u7684\u672A\u5256\u6790\u5BE6\u9AD4 +P-054 = \u4F7F\u7528 "&{0};" \u7684\u539F\u59CB\u5BE6\u9AD4\u5B9A\u7FA9 +P-055 = \u6C92\u6709\u6587\u4EF6 URI \u7121\u6CD5\u89E3\u6790\u76F8\u5C0D URI "{0}"; +P-056 = URI "{0}" \u6709\u7247\u6BB5 ID +P-057 = \u9700\u8981 "?>" \u4EE5\u7D42\u6B62 XML \u5BA3\u544A +P-058 = \u5916\u90E8\u5BE6\u9AD4 "&{0};" \u6709\u5B57\u5143\u5728\u5167\u5BB9\u4E4B\u5F8C +P-059 = \u5916\u90E8\u53C3\u6578\u5BE6\u9AD4 "%{0};" \u6709\u5B57\u5143\u5728\u6A19\u8A18\u4E4B\u5F8C + +P-060 = \u7DE8\u78BC\u540D\u7A31\u4E2D\u7684\u5B57\u5143 "{0}" \u7121\u6548 +P-061 = \u5BA3\u544A\u7684\u7DE8\u78BC "{0}" \u8207\u5BE6\u969B\u7684\u4E00\u500B\u7DE8\u78BC\u4E0D\u76F8\u7B26 "{1}"; \u9019\u53EF\u80FD\u4E0D\u662F\u4E00\u500B\u932F\u8AA4 +P-062 = \u6A19\u8A18\u5FC5\u9808\u70BA PUBLIC \u6216 SYSTEM +P-063 = \u4F7F\u7528\u6A19\u8A18\u7684 "{0}" \u7684\u7B2C\u4E00\u500B\u5B9A\u7FA9 +P-064 = \u53C3\u6578\u5BE6\u9AD4 "%{0};" \u63D0\u524D\u7D50\u675F +P-065 = \u5BE6\u9AD4\u89E3\u6790\u7A0B\u5F0F\u672A\u63D0\u4F9B SYSTEM ID; \u53EF\u80FD\u6703\u5F71\u97FF\u76F8\u5C0D URI +# P-066 ... ID available +P-067 = \u907A\u6F0F\u6587\u4EF6\u6839\u5143\u7D20 +P-068 = \u9700\u8981\u6A19\u8A18\u540D\u7A31 +P-069 = \u5BE6\u9AD4 "{0}" \u7684\u64F4\u5145\u70BA\u905E\u8FF4\u5F0F + +P-070 = \u4EE3\u7406\u5B57\u7D44 &#x{0}; \u7B2C\u4E8C\u90E8\u4EFD\u7684\u683C\u5F0F\u4E0D\u6B63\u78BA +P-071 = \u7121\u6548\u7684 XML \u5B57\u5143: &#x{0}; +P-072 = \u5B57\u5143\u8CC7\u6599\u4E0D\u5F97\u6709 "]]>" +# Character data section starts with "" with text in between. No change needed. +P-073 = \u5256\u6790 \u5BA3\u544A\u4F7F\u7528 +V-004 = \u672A\u5BA3\u544A\u7684\u6A19\u8A18 "{0}" \u662F\u7531 \u5BA3\u544A\u4F7F\u7528 +V-005 = \u672A\u5BA3\u544A\u5143\u7D20\u985E\u578B "{0}" +V-006 = \u6839\u5143\u7D20\u985E\u578B\u70BA "{0}", \u4F46\u5BA3\u544A\u70BA "{1}" +V-007 = \u672A\u5BA3\u544A\u5143\u7D20 "{1}" \u7684\u5C6C\u6027 "{0}" +V-008 = \u5143\u7D20 "{1}" \u7684\u5C6C\u6027 "{0}" \u5FC5\u9808\u53EA\u6709\u503C "{2}" +# {0} - probably attribute name. +V-009 = "{0}" \u7684\u5C6C\u6027\u503C\u70BA #REQUIRED + +V-010 = \u6B64\u6587\u4EF6\u662F\u7368\u7ACB\u7684, \u56E0\u6B64\u4E0D\u80FD\u9810\u8A2D\u5C6C\u6027 "{0}" +V-011 = \u6B64\u6587\u4EF6\u662F\u7368\u7ACB\u7684, \u56E0\u6B64\u5143\u7D20 "{0}" \u4E0D\u5F97\u5305\u542B\u53EF\u5FFD\u7565\u7684\u7A7A\u767D\u5B57\u5143 +V-012 = \u5DF2\u5BA3\u544A\u5143\u7D20 "{0}" +V-013 = \u53C3\u6578\u5BE6\u9AD4\u4E0D\u5F97\u5305\u542B\u90E8\u4EFD\u5BA3\u544A +# {0} - element name +V-014 = "{0}" \u7684\u5167\u5BB9\u6A21\u578B\u4E2D\u6709\u53C3\u6578\u5BE6\u9AD4\u5DE2\u72C0\u932F\u8AA4 +V-015 = \u6DF7\u5408\u5167\u5BB9\u6A21\u578B\u91CD\u8907\u4E86\u5143\u7D20 "{0}" +V-016 = \u6B64\u5143\u7D20\u5DF2\u6709 ID \u5C6C\u6027 "{0}" +V-017 = ID \u5C6C\u6027 "{0}" \u4E0D\u5F97\u70BA #FIXED +V-018 = ID \u5C6C\u6027 "{0}" \u4E0D\u5F97\u8A2D\u5B9A\u9810\u8A2D\u503C +V-019 = \u6B64\u70BA\u7368\u7ACB\u6587\u4EF6; \u6B64\u5C6C\u6027\u9700\u8981\u9810\u5148\u6A19\u6E96\u5316 + +V-020 = \u53C3\u6578\u5BE6\u9AD4\u4E0D\u5F97\u5305\u542B\u90E8\u4EFD\u689D\u4EF6 DTD \u5340\u6BB5 +V-021 = \u53C3\u6578\u5BE6\u9AD4\u4E0D\u5F97\u5305\u542B\u90E8\u4EFD\u8A3B\u89E3 +V-022 = \u672A\u5B9A\u7FA9\u53C3\u6578\u5BE6\u9AD4 "%{0};" \u7684\u53C3\u7167 +V-023 = \u6B64\u70BA\u7368\u7ACB\u6587\u4EF6; \u7981\u6B62\u6B64\u7A2E\u53EF\u5FFD\u7565\u7684 CDATA \u7A7A\u767D\u5B57\u5143 +V-024 = \u6C92\u6709 ID \u5C6C\u6027\u503C\u70BA "{0}" \u7684\u5143\u7D20 +V-025 = ID \u503C\u5FC5\u9808\u70BA XML \u540D\u7A31; "{0}" \u4E0D\u662F\u540D\u7A31 +V-026 = \u5DF2\u6709\u5176\u4ED6\u5143\u7D20\u7684 ID \u5C6C\u6027\u503C\u70BA "{0}" +V-027 = IDREF/IDREFS \u503C\u5FC5\u9808\u70BA XML \u540D\u7A31; "{0}" \u4E0D\u662F\u540D\u7A31 +V-028 = NMTOKEN/NMTOKENS \u503C\u5FC5\u9808\u70BA XML \u540D\u7A31\u8A18\u865F; "{0}" \u4E0D\u662F\u8A18\u865F +V-029 = \u503C "{0}" \u4E0D\u662F\u6B64\u5C6C\u6027\u7684\u5176\u4E2D\u4E00\u500B\u5217\u8209\u503C + +V-030 = \u5C6C\u6027\u503C "{0}" \u4E0D\u6703\u547D\u540D\u6A19\u8A18 +V-031 = \u5C6C\u6027\u503C "{0}" \u4E0D\u6703\u547D\u540D\u672A\u5256\u6790\u7684\u5BE6\u9AD4 +V-032 = NMTOKENS \u5C6C\u6027\u5FC5\u9808\u81F3\u5C11\u6709\u4E00\u500B\u503C +# Empty content model is a special type of XML element. I'd leave the message in English as is (also libraries from outside of Oracle use this exact message) but the word EMPTY can be translated. +V-033 = EMPTY \u5167\u5BB9\u6A21\u578B\u4E0D\u5F97\u6709\u4EFB\u4F55\u5167\u5BB9 +# Usage not found. TODO Remove +#V-034 = Element "{0}" does not allow "{1}" -- {2} +# {0} - xml element name, {1} - xml element name e.g. Element "servlet-mapping" allows no further input; "url-pattern" is not allowed. +V-035 = \u5143\u7D20 "{0}" \u4E0D\u5141\u8A31\u5176\u4ED6\u8F38\u5165; \u4E0D\u5141\u8A31 "{1}" +# Usage not found. TODO Remove +#V-036 = Element "{0}" does not allow "{1}" here +V-037 = \u5143\u7D20 "{0}" \u4E0D\u5141\u8A31\u6587\u5B57 +V-038 = \u5143\u7D20 "{0}" \u9700\u8981\u5176\u4ED6\u5143\u7D20 +V-039 = IDREFS \u5C6C\u6027\u5FC5\u9808\u81F3\u5C11\u6709\u4E00\u500B\u503C + +V-040 = ENTITIES \u5C6C\u6027\u5FC5\u9808\u81F3\u5C11\u6709\u4E00\u500B\u503C diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/version.properties --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/version.properties Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/version.properties Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 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 @@ -23,8 +23,7 @@ # questions. # -build-id=b09 - build-version=JAX-WS RI 2.2.7-b09 - major-version=2.2.7 - svn-revision=12895 - svn-url=https://svn.java.net/svn/jax-ws~sources/branches/jaxws22/jaxws-ri +build-id=2.2.9-b13941 +build-version=JAX-WS RI 2.2.9-b13941 +major-version=2.2.9 +svn-revision=unknown diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/CDATA.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/CDATA.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/CDATA.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContentHandlerToXMLStreamWriter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContentHandlerToXMLStreamWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContentHandlerToXMLStreamWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/DummyLocation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/DummyLocation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/DummyLocation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NamedNodeMapIterator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NamedNodeMapIterator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NamedNodeMapIterator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NodeListIterator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NodeListIterator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/NodeListIterator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXResult.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXResult.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXResult.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXSource.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXSource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/StAXSource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -41,7 +41,7 @@ * A JAXP {@link javax.xml.transform.Source} implementation that wraps * the specified {@link javax.xml.stream.XMLStreamReader} or * {@link javax.xml.stream.XMLEventReader} for use by applications that - * expext a {@link javax.xml.transform.Source}. + * expect a {@link javax.xml.transform.Source}. * *

      * The fact that StAXSource derives from SAXSource is an implementation @@ -66,7 +66,7 @@ XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(new FileReader(args[0])); Source staxSource = new StAXSource(reader); - // createa StreamResult + // create a StreamResult Result streamResult = new StreamResult(System.out); // run the transform @@ -87,16 +87,19 @@ // SAX allows ContentHandler to be changed during the parsing, // but JAXB doesn't. So this repeater will sit between those // two components. - private XMLFilterImpl repeater = new XMLFilterImpl(); + private final XMLFilterImpl repeater = new XMLFilterImpl(); // this object will pretend as an XMLReader. // no matter what parameter is specified to the parse method, // it will just read from the StAX reader. private final XMLReader pseudoParser = new XMLReader() { + + @Override public boolean getFeature(String name) throws SAXNotRecognizedException { throw new SAXNotRecognizedException(name); } + @Override public void setFeature(String name, boolean value) throws SAXNotRecognizedException { // Should support these two features according to XMLReader javadoc. if (name.equals("http://xml.org/sax/features/namespaces") && value) { @@ -108,6 +111,7 @@ } } + @Override public Object getProperty(String name) throws SAXNotRecognizedException { if( "http://xml.org/sax/properties/lexical-handler".equals(name) ) { return lexicalHandler; @@ -115,6 +119,7 @@ throw new SAXNotRecognizedException(name); } + @Override public void setProperty(String name, Object value) throws SAXNotRecognizedException { if( "http://xml.org/sax/properties/lexical-handler".equals(name) ) { this.lexicalHandler = (LexicalHandler)value; @@ -127,40 +132,55 @@ // we will store this value but never use it by ourselves. private EntityResolver entityResolver; + + @Override public void setEntityResolver(EntityResolver resolver) { this.entityResolver = resolver; } + + @Override public EntityResolver getEntityResolver() { return entityResolver; } private DTDHandler dtdHandler; + + @Override public void setDTDHandler(DTDHandler handler) { this.dtdHandler = handler; } + @Override public DTDHandler getDTDHandler() { return dtdHandler; } + @Override public void setContentHandler(ContentHandler handler) { repeater.setContentHandler(handler); } + + @Override public ContentHandler getContentHandler() { return repeater.getContentHandler(); } private ErrorHandler errorHandler; + + @Override public void setErrorHandler(ErrorHandler handler) { this.errorHandler = handler; } + @Override public ErrorHandler getErrorHandler() { return errorHandler; } + @Override public void parse(InputSource input) throws SAXException { parse(); } + @Override public void parse(String systemId) throws SAXException { parse(); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderFilter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderToXMLStreamWriter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderToXMLStreamWriter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamReaderToXMLStreamWriter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,12 +25,20 @@ package com.sun.xml.internal.ws.util.xml; +import java.io.IOException; + +import javax.xml.bind.attachment.AttachmentMarshaller; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; import javax.xml.XMLConstants; +import com.sun.xml.internal.ws.streaming.MtomStreamWriter; +import com.sun.xml.internal.org.jvnet.staxex.Base64Data; +import com.sun.xml.internal.org.jvnet.staxex.XMLStreamReaderEx; +import com.sun.xml.internal.org.jvnet.staxex.XMLStreamWriterEx; + /** * Reads a sub-tree from {@link XMLStreamReader} and writes to {@link XMLStreamWriter} * as-is. @@ -50,6 +58,10 @@ private char[] buf; + boolean optimizeBase64Data = false; + + AttachmentMarshaller mtomAttachmentMarshaller; + /** * Reads one subtree and writes it out. * @@ -62,6 +74,11 @@ this.in = in; this.out = out; + optimizeBase64Data = (in instanceof XMLStreamReaderEx); + + if (out instanceof XMLStreamWriterEx && out instanceof MtomStreamWriter) { + mtomAttachmentMarshaller = ((MtomStreamWriter) out).getAttachmentMarshaller(); + } // remembers the nest level of elements to know when we are done. int depth=0; @@ -136,9 +153,29 @@ protected void handleCharacters() throws XMLStreamException { - for (int start=0,read=buf.length; read == buf.length; start+=buf.length) { - read = in.getTextCharacters(start, buf, 0, buf.length); - out.writeCharacters(buf, 0, read); + + CharSequence c = null; + + if (optimizeBase64Data) { + c = ((XMLStreamReaderEx)in).getPCDATA(); + } + + if ((c != null) && (c instanceof Base64Data)) { + if (mtomAttachmentMarshaller != null) { + Base64Data b64d = (Base64Data) c; + ((XMLStreamWriterEx)out).writeBinary(b64d.getDataHandler()); + } else { + try { + ((Base64Data)c).writeTo(out); + } catch (IOException e) { + throw new XMLStreamException(e); + } + } + } else { + for (int start=0,read=buf.length; read == buf.length; start+=buf.length) { + read = in.getTextCharacters(start, buf, 0, buf.length); + out.writeCharacters(buf, 0, read); + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamWriterFilter.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamWriterFilter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XMLStreamWriterFilter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -37,16 +37,14 @@ import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.dom.Text; -import org.xml.sax.EntityResolver; -import org.xml.sax.ErrorHandler; -import org.xml.sax.SAXException; -import org.xml.sax.SAXParseException; -import org.xml.sax.XMLReader; -import org.xml.sax.InputSource; +import org.xml.sax.*; +import javax.xml.XMLConstants; import javax.xml.namespace.QName; +import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParserFactory; +import javax.xml.stream.XMLInputFactory; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; @@ -57,6 +55,8 @@ import javax.xml.transform.sax.TransformerHandler; import javax.xml.transform.stream.StreamSource; import javax.xml.ws.WebServiceException; +import javax.xml.xpath.XPathFactory; +import javax.xml.xpath.XPathFactoryConfigurationException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStreamWriter; @@ -67,6 +67,8 @@ import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; +import java.util.logging.Level; +import java.util.logging.Logger; /** * @author WS Development Team @@ -75,6 +77,15 @@ private final static String LEXICAL_HANDLER_PROPERTY = "http://xml.org/sax/properties/lexical-handler"; + private static final Logger LOGGER = Logger.getLogger(XmlUtil.class.getName()); + + private static boolean globalSecureXmlProcessingEnabled; + + static { + String disableSecureXmlProcessing = System.getProperty("disableSecureXmlProcessing"); + globalSecureXmlProcessingEnabled = disableSecureXmlProcessing == null || !Boolean.valueOf(disableSecureXmlProcessing); + } + public static String getPrefix(String s) { int i = s.indexOf(':'); if (i == -1) @@ -163,7 +174,7 @@ } public static String getTextForNode(Node node) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); NodeList children = node.getChildNodes(); if (children.getLength() == 0) @@ -199,9 +210,9 @@ } } - static final TransformerFactory transformerFactory = TransformerFactory.newInstance(); + static final TransformerFactory transformerFactory = newTransformerFactory(); - static final SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); + static final SAXParserFactory saxParserFactory = newSAXParserFactory(true); static { saxParserFactory.setNamespaceAware(true); @@ -326,15 +337,81 @@ * {@link ErrorHandler} that always treat the error as fatal. */ public static final ErrorHandler DRACONIAN_ERROR_HANDLER = new ErrorHandler() { + @Override public void warning(SAXParseException exception) { } + @Override public void error(SAXParseException exception) throws SAXException { throw exception; } + @Override public void fatalError(SAXParseException exception) throws SAXException { throw exception; } }; + + public static DocumentBuilderFactory newDocumentBuilderFactory() { + return newDocumentBuilderFactory(true); + } + + public static DocumentBuilderFactory newDocumentBuilderFactory(boolean secureXmlProcessing) { + DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); + try { + factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, checkGlobalOverride(secureXmlProcessing)); + } catch (ParserConfigurationException e) { + LOGGER.log(Level.WARNING, "Factory [{}] doesn't support secure xml processing!", new Object[] { factory.getClass().getName() } ); + } + return factory; + } + + public static TransformerFactory newTransformerFactory(boolean secureXmlProcessingEnabled) { + TransformerFactory factory = TransformerFactory.newInstance(); + try { + factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, checkGlobalOverride(secureXmlProcessingEnabled)); + } catch (TransformerConfigurationException e) { + LOGGER.log(Level.WARNING, "Factory [{}] doesn't support secure xml processing!", new Object[]{factory.getClass().getName()}); + } + return factory; + } + + public static TransformerFactory newTransformerFactory() { + return newTransformerFactory(true); + } + + public static SAXParserFactory newSAXParserFactory(boolean secureXmlProcessingEnabled) { + SAXParserFactory factory = SAXParserFactory.newInstance(); + try { + factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, checkGlobalOverride(secureXmlProcessingEnabled)); + } catch (Exception e) { + LOGGER.log(Level.WARNING, "Factory [{}] doesn't support secure xml processing!", new Object[]{factory.getClass().getName()}); + } + return factory; + } + + public static XPathFactory newXPathFactory(boolean secureXmlProcessingEnabled) { + XPathFactory factory = XPathFactory.newInstance(); + try { + factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, checkGlobalOverride(secureXmlProcessingEnabled)); + } catch (XPathFactoryConfigurationException e) { + LOGGER.log(Level.WARNING, "Factory [{}] doesn't support secure xml processing!", new Object[] { factory.getClass().getName() } ); + } + return factory; + } + + public static XMLInputFactory newXMLInputFactory(boolean secureXmlProcessingEnabled) { + XMLInputFactory factory = XMLInputFactory.newInstance(); + if (checkGlobalOverride(secureXmlProcessingEnabled)) { + // TODO-Miran: are those apppropriate defaults? + factory.setProperty(XMLInputFactory.SUPPORT_DTD, false); + factory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false); + } + return factory; + } + + private static boolean checkGlobalOverride(boolean localSecureXmlProcessingEnabled) { + return globalSecureXmlProcessingEnabled && localSecureXmlProcessingEnabled; + } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -29,11 +29,13 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.addressing.AddressingVersion; -import com.sun.xml.internal.ws.api.message.HeaderList; +import com.sun.xml.internal.ws.api.message.AddressingUtils; import com.sun.xml.internal.ws.api.message.Message; +import com.sun.xml.internal.ws.api.message.MessageHeaders; import com.sun.xml.internal.ws.api.message.Messages; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.model.AbstractSEIModelImpl; @@ -61,8 +63,8 @@ final class ActionBasedOperationFinder extends WSDLOperationFinder { private static final Logger LOGGER = Logger.getLogger(ActionBasedOperationFinder.class.getName()); - private final Map uniqueOpSignatureMap; - private final Map actionMap; + private final Map uniqueOpSignatureMap; + private final Map actionMap; private final @NotNull AddressingVersion av; @@ -71,8 +73,8 @@ assert binding.getAddressingVersion() != null; // this dispatcher can be only used when addressing is on. av = binding.getAddressingVersion(); - uniqueOpSignatureMap = new HashMap(); - actionMap = new HashMap(); + uniqueOpSignatureMap = new HashMap(); + actionMap = new HashMap(); if (seiModel != null) { for (JavaMethodImpl m : ((AbstractSEIModelImpl) seiModel).getJavaMethods()) { @@ -94,8 +96,8 @@ LOGGER.warning(AddressingMessages.NON_UNIQUE_OPERATION_SIGNATURE( uniqueOpSignatureMap.get(opSignature),m.getOperationQName(),action,payloadName)); } - uniqueOpSignatureMap.put(opSignature, m.getOperationQName()); - actionMap.put(action,m.getOperationQName()); + uniqueOpSignatureMap.put(opSignature, wsdlOperationMapping(m)); + actionMap.put(action,wsdlOperationMapping(m)); } } } else { @@ -111,24 +113,28 @@ uniqueOpSignatureMap.get(opSignature),wsdlOp.getName(),action,payloadName)); } - uniqueOpSignatureMap.put(opSignature, wsdlOp.getName()); - actionMap.put(action,wsdlOp.getName()); + uniqueOpSignatureMap.put(opSignature, wsdlOperationMapping(wsdlOp)); + actionMap.put(action,wsdlOperationMapping(wsdlOp)); } } } - /** - * - * @param request Request Packet that is used to find the associated WSDLOperation - * @return WSDL operation Qname. - * return null if WS-Addressing is not engaged. - * @throws DispatchException with WSA defined fault message when it cannot find an associated WSDL operation. - * - */ - @Override - public QName getWSDLOperationQName(Packet request) throws DispatchException { - HeaderList hl = request.getMessage().getHeaders(); - String action = hl.getAction(av, binding.getSOAPVersion()); +// /** +// * +// * @param request Request Packet that is used to find the associated WSDLOperation +// * @return WSDL operation Qname. +// * return null if WS-Addressing is not engaged. +// * @throws DispatchException with WSA defined fault message when it cannot find an associated WSDL operation. +// * +// */ +// @Override +// public QName getWSDLOperationQName(Packet request) throws DispatchException { +// return getWSDLOperationMapping(request).getWSDLBoundOperation().getName(); +// } + + public WSDLOperationMapping getWSDLOperationMapping(Packet request) throws DispatchException { + MessageHeaders hl = request.getMessage().getHeaders(); + String action = AddressingUtils.getAction(hl, av, binding.getSOAPVersion()); if (action == null) // Addressing is not enagaged, return null to use other ways to dispatch. @@ -146,16 +152,16 @@ payloadName = new QName(nsUri, localPart); } - QName opName = uniqueOpSignatureMap.get(new ActionBasedOperationSignature(action, payloadName)); - if (opName != null) - return opName; + WSDLOperationMapping opMapping = uniqueOpSignatureMap.get(new ActionBasedOperationSignature(action, payloadName)); + if (opMapping != null) + return opMapping; //Seems like in Wstrust STS wsdls, the payload does not match what is specified in the wsdl leading to incorrect // wsdl operation resolution. Use just wsa:Action to dispatch as a last resort. //try just with wsa:Action - opName = actionMap.get(action); - if (opName != null) - return opName; + opMapping = actionMap.get(action); + if (opMapping != null) + return opMapping; // invalid action header Message result = Messages.create(action, av, binding.getSOAPVersion()); @@ -163,6 +169,4 @@ throw new DispatchException(result); } - - } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationSignature.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationSignature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/ActionBasedOperationSignature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/DispatchException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/DispatchException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/DispatchException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/OperationDispatcher.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/OperationDispatcher.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/OperationDispatcher.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,6 +29,7 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.message.Packet; import com.sun.xml.internal.ws.api.message.Message; @@ -65,15 +66,20 @@ } /** - * + * @deprecated use getWSDLOperationMapping(Packet request) * @param request Packet * @return QName of the wsdl operation. * @throws DispatchException if a unique operartion cannot be associated with this packet. */ public @NotNull QName getWSDLOperationQName(Packet request) throws DispatchException { - QName opName; + WSDLOperationMapping m = getWSDLOperationMapping(request); + return m != null ? m.getOperationName() : null; + } + + public @NotNull WSDLOperationMapping getWSDLOperationMapping(Packet request) throws DispatchException { + WSDLOperationMapping opName; for(WSDLOperationFinder finder: opFinders) { - opName = finder.getWSDLOperationQName(request); + opName = finder.getWSDLOperationMapping(request); if(opName != null) return opName; } @@ -85,6 +91,5 @@ Message faultMsg = SOAPFaultBuilder.createSOAPFaultMessage( binding.getSOAPVersion(), faultString, binding.getSOAPVersion().faultCodeClient); throw new DispatchException(faultMsg); - } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/PayloadQNameBasedOperationFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/PayloadQNameBasedOperationFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/PayloadQNameBasedOperationFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,6 +28,7 @@ import com.sun.istack.internal.Nullable; import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.message.Message; @@ -62,7 +63,7 @@ public static final String EMPTY_PAYLOAD_NSURI = ""; public static final QName EMPTY_PAYLOAD = new QName(EMPTY_PAYLOAD_NSURI, EMPTY_PAYLOAD_LOCAL); - private final QNameMap methodHandlers = new QNameMap(); + private final QNameMap methodHandlers = new QNameMap(); private final QNameMap> unique = new QNameMap>(); @@ -98,7 +99,7 @@ // Set up method handlers only for unique QNames. So that dispatching // happens consistently for a method if (unique.get(name).size() == 1) { - methodHandlers.put(name, m.getOperationQName()); + methodHandlers.put(name, wsdlOperationMapping(m)); } } } else { @@ -106,7 +107,7 @@ QName name = wsdlOp.getReqPayloadName(); if (name == null) name = EMPTY_PAYLOAD; - methodHandlers.put(name, wsdlOp.getName()); + methodHandlers.put(name, wsdlOperationMapping(wsdlOp)); } } } @@ -119,7 +120,9 @@ * @throws DispatchException if the payload itself is incorrect, this happens when the payload is not accepted by * any operation in the port. */ - public QName getWSDLOperationQName(Packet request) throws DispatchException{ +// public QName getWSDLOperationQName(Packet request) throws DispatchException{ + + public WSDLOperationMapping getWSDLOperationMapping(Packet request) throws DispatchException { Message message = request.getMessage(); String localPart = message.getPayloadLocalPart(); String nsUri; @@ -131,7 +134,7 @@ if(nsUri == null) nsUri = EMPTY_PAYLOAD_NSURI; } - QName op = methodHandlers.get(nsUri, localPart); + WSDLOperationMapping op = methodHandlers.get(nsUri, localPart); // Check if payload itself is correct. Usually it is, so let us check last if (op == null && !unique.containsKey(nsUri,localPart)) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SDDocumentResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SDDocumentResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SDDocumentResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SOAPActionBasedOperationFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SOAPActionBasedOperationFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/SOAPActionBasedOperationFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 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 @@ -29,6 +29,7 @@ import com.sun.xml.internal.ws.api.WSBinding; import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.message.Packet; @@ -49,11 +50,11 @@ * @author Jitendra Kotamraju */ final class SOAPActionBasedOperationFinder extends WSDLOperationFinder { - private final Map methodHandlers; + private final Map methodHandlers; public SOAPActionBasedOperationFinder(WSDLPort wsdlModel, WSBinding binding, @Nullable SEIModel seiModel) { super(wsdlModel,binding,seiModel); - methodHandlers = new HashMap(); + methodHandlers = new HashMap(); // Find if any SOAPAction repeat for operations Map unique = new HashMap(); @@ -73,18 +74,19 @@ // Set up method handlers only for unique SOAPAction values so // that dispatching happens consistently for a method if (unique.get(soapAction) == 1) { - methodHandlers.put('"' + soapAction + '"', m.getOperationQName()); + methodHandlers.put('"' + soapAction + '"', wsdlOperationMapping(m)); } } } else { for(WSDLBoundOperation wsdlOp: wsdlModel.getBinding().getBindingOperations()) { - methodHandlers.put(wsdlOp.getSOAPAction(),wsdlOp.getName()); + methodHandlers.put(wsdlOp.getSOAPAction(), wsdlOperationMapping(wsdlOp)); } } } - public QName getWSDLOperationQName(Packet request) { +// public QName getWSDLOperationQName(Packet request) { + public WSDLOperationMapping getWSDLOperationMapping(Packet request) throws DispatchException { return request.soapAction == null ? null : methodHandlers.get(request.soapAction); } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/WSDLOperationFinder.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/WSDLOperationFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/WSDLOperationFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -26,9 +26,13 @@ package com.sun.xml.internal.ws.wsdl; import com.sun.xml.internal.ws.api.message.Packet; +import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundOperation; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort; +import com.sun.xml.internal.ws.api.model.JavaMethod; import com.sun.xml.internal.ws.api.model.SEIModel; +import com.sun.xml.internal.ws.api.model.WSDLOperationMapping; import com.sun.xml.internal.ws.api.WSBinding; +import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; @@ -38,7 +42,7 @@ * Extensions if this class will be used for dispatching the request message to the correct endpoint method by * identifying the wsdl operation associated with the request. * - * @See OperationDispatcher + * @see OperationDispatcher * * @author Rama Pulavarthi */ @@ -59,10 +63,51 @@ * In such case, other OperationFinders are queried to resolve a WSDL operation. * It should throw an instance of DispatchException if it finds incorrect information in the packet. * + * @deprecated use getWSDLOperationMapping(Packet request) + * * @param request Request Packet that is used to find the associated WSDLOperation * @return QName of the WSDL Operation that this request correponds to. * null when it cannot find a unique operation to dispatch to. * @throws DispatchException When the information in the Packet is invalid */ - public abstract QName getWSDLOperationQName(Packet request) throws DispatchException; + public QName getWSDLOperationQName(Packet request) throws DispatchException { + WSDLOperationMapping m = getWSDLOperationMapping(request); + return m != null ? m.getOperationName() : null; + } + + public WSDLOperationMapping getWSDLOperationMapping(Packet request) throws DispatchException { + return null; + } + + protected WSDLOperationMapping wsdlOperationMapping(JavaMethodImpl j) { + return new WSDLOperationMappingImpl(j.getOperation(), j); + } + + protected WSDLOperationMapping wsdlOperationMapping(WSDLBoundOperation o) { + return new WSDLOperationMappingImpl(o, null); + } + + static class WSDLOperationMappingImpl implements WSDLOperationMapping { + private WSDLBoundOperation wsdlOperation; + private JavaMethod javaMethod; + private QName operationName; + + WSDLOperationMappingImpl(WSDLBoundOperation wsdlOperation, JavaMethodImpl javaMethod) { + this.wsdlOperation = wsdlOperation; + this.javaMethod = javaMethod; + operationName = (javaMethod != null) ? javaMethod.getOperationQName() : wsdlOperation.getName(); + } + + public WSDLBoundOperation getWSDLBoundOperation() { + return wsdlOperation; + } + + public JavaMethod getJavaMethod() { + return javaMethod; + } + + public QName getOperationName() { + return operationName; + } + } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/DelegatingParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/DelegatingParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/DelegatingParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/EntityResolverWrapper.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/EntityResolverWrapper.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/EntityResolverWrapper.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ErrorHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ErrorHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ErrorHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/FoolProofParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/FoolProofParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/FoolProofParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/InaccessibleWSDLException.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/InaccessibleWSDLException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/InaccessibleWSDLException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -34,7 +34,7 @@ * A list of {@link InaccessibleWSDLException} wrapped in one exception. * *

      - * This exception is used to report all the errors during WSDL parsing from {@link RuntimeWSDLParser#parse(java.net.URL, org.xml.sax.EntityResolver, boolean, com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension[])} + * This exception is used to report all the errors during WSDL parsing from {@link RuntimeWSDLParser#parse(java.net.URL, javax.xml.transform.Source, org.xml.sax.EntityResolver, boolean, com.sun.xml.internal.ws.api.server.Container, com.sun.xml.internal.ws.api.wsdl.parser.WSDLParserExtension[])} * * @author Vivek Pandey */ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MIMEConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MIMEConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MIMEConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -29,13 +29,13 @@ interface MIMEConstants { + // namespace URIs - public static String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; + static final String NS_WSDL_MIME = "http://schemas.xmlsoap.org/wsdl/mime/"; // QNames - public static QName QNAME_CONTENT = new QName(NS_WSDL_MIME, "content"); - public static QName QNAME_MULTIPART_RELATED = - new QName(NS_WSDL_MIME, "multipartRelated"); - public static QName QNAME_PART = new QName(NS_WSDL_MIME, "part"); - public static QName QNAME_MIME_XML = new QName(NS_WSDL_MIME, "mimeXml"); + static final QName QNAME_CONTENT = new QName(NS_WSDL_MIME, "content"); + static final QName QNAME_MULTIPART_RELATED = new QName(NS_WSDL_MIME, "multipartRelated"); + static final QName QNAME_PART = new QName(NS_WSDL_MIME, "part"); + static final QName QNAME_MIME_XML = new QName(NS_WSDL_MIME, "mimeXml"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MemberSubmissionAddressingWSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MemberSubmissionAddressingWSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MemberSubmissionAddressingWSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MexEntityResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MexEntityResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/MexEntityResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ParserUtil.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ParserUtil.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/ParserUtil.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/RuntimeWSDLParser.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/RuntimeWSDLParser.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/RuntimeWSDLParser.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -32,6 +32,7 @@ import com.sun.xml.internal.stream.buffer.XMLStreamBufferMark; import com.sun.xml.internal.stream.buffer.stax.StreamReaderBufferCreator; import com.sun.xml.internal.ws.api.BindingID; +import com.sun.xml.internal.ws.api.BindingIDFactory; import com.sun.xml.internal.ws.api.SOAPVersion; import com.sun.xml.internal.ws.api.EndpointAddress; import com.sun.xml.internal.ws.api.WSDLLocator; @@ -100,6 +101,7 @@ private final XMLEntityResolver resolver; private final PolicyResolver policyResolver; + /** * The {@link WSDLParserExtension}. Always non-null. */ @@ -224,10 +226,6 @@ return wsdlParser.wsdlDoc; } - private static WSDLModelImpl tryWithMex(@NotNull RuntimeWSDLParser wsdlParser, @NotNull URL wsdlLoc, @NotNull EntityResolver resolver, boolean isClientSide, Container container, Throwable e, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws SAXException, XMLStreamException { - return tryWithMex(wsdlParser, wsdlLoc, resolver, isClientSide, container, e, Service.class, policyResolver, extensions); - } - private static WSDLModelImpl tryWithMex(@NotNull RuntimeWSDLParser wsdlParser, @NotNull URL wsdlLoc, @NotNull EntityResolver resolver, boolean isClientSide, Container container, Throwable e, Class serviceClass, PolicyResolver policyResolver, WSDLParserExtension... extensions) throws SAXException, XMLStreamException { ArrayList exceptions = new ArrayList(); try { @@ -246,10 +244,6 @@ throw new InaccessibleWSDLException(exceptions); } - private WSDLModelImpl parseUsingMex(@NotNull URL wsdlLoc, @NotNull EntityResolver resolver, boolean isClientSide, Container container, PolicyResolver policyResolver, WSDLParserExtension[] extensions) throws IOException, SAXException, XMLStreamException, URISyntaxException { - return parseUsingMex(wsdlLoc, resolver, isClientSide, container, Service.class, policyResolver, extensions); - } - private WSDLModelImpl parseUsingMex(@NotNull URL wsdlLoc, @NotNull EntityResolver resolver, boolean isClientSide, Container container, Class serviceClass, PolicyResolver policyResolver, WSDLParserExtension[] extensions) throws IOException, SAXException, XMLStreamException, URISyntaxException { //try MEX MetaDataResolver mdResolver = null; @@ -347,10 +341,6 @@ this.extensionFacade = new WSDLParserExtensionFacade(this.extensions.toArray(new WSDLParserExtension[0])); } - private Parser resolveWSDL(@Nullable URL wsdlLoc, @NotNull Source wsdlSource) throws IOException, SAXException, XMLStreamException { - return resolveWSDL(wsdlLoc, wsdlSource, Service.class); - } - private Parser resolveWSDL(@Nullable URL wsdlLoc, @NotNull Source wsdlSource, Class serviceClass) throws IOException, SAXException, XMLStreamException { String systemId = wsdlSource.getSystemId(); @@ -369,22 +359,22 @@ } } } - if(parser == null){ - //If a WSDL source is provided that is known to be readable, then - //prioritize that over the URL - this avoids going over the network - //an additional time if a valid WSDL Source is provided - Deva Sagar 09/20/2011 - if (wsdlSource != null && isKnownReadableSource(wsdlSource)) { + if (parser == null) { + //If a WSDL source is provided that is known to be readable, then + //prioritize that over the URL - this avoids going over the network + //an additional time if a valid WSDL Source is provided - Deva Sagar 09/20/2011 + if (isKnownReadableSource(wsdlSource)) { parser = new Parser(wsdlLoc, createReader(wsdlSource)); - } else if (wsdlLoc != null) { - parser = new Parser(wsdlLoc, createReader(wsdlLoc, serviceClass)); - } + } else if (wsdlLoc != null) { + parser = new Parser(wsdlLoc, createReader(wsdlLoc, serviceClass)); + } - //parser could still be null if isKnownReadableSource returns - //false and wsdlLoc is also null. Fall back to using Source based - //parser since Source is not null - if (parser == null) { - parser = new Parser(wsdlLoc, createReader(wsdlSource)); - } + //parser could still be null if isKnownReadableSource returns + //false and wsdlLoc is also null. Fall back to using Source based + //parser since Source is not null + if (parser == null) { + parser = new Parser(wsdlLoc, createReader(wsdlSource)); + } } return parser; } @@ -568,7 +558,9 @@ while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); if (WSDLConstants.NS_SOAP_BINDING.equals(name)) { - binding.setBindingId(BindingID.SOAP11_HTTP); + String transport = reader.getAttributeValue(null, WSDLConstants.ATTR_TRANSPORT); + binding.setBindingId(createBindingId(transport, SOAPVersion.SOAP_11)); + String style = reader.getAttributeValue(null, "style"); if ((style != null) && (style.equals("rpc"))) { @@ -578,7 +570,9 @@ } goToEnd(reader); } else if (WSDLConstants.NS_SOAP12_BINDING.equals(name)) { - binding.setBindingId(BindingID.SOAP12_HTTP); + String transport = reader.getAttributeValue(null, WSDLConstants.ATTR_TRANSPORT); + binding.setBindingId(createBindingId(transport, SOAPVersion.SOAP_12)); + String style = reader.getAttributeValue(null, "style"); if ((style != null) && (style.equals("rpc"))) { binding.setStyle(Style.RPC); @@ -594,6 +588,18 @@ } } + private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { + if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { + for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { + BindingID bindingId = f.create(transport, soapVersion); + if(bindingId!=null) { + return bindingId; + } + } + } + return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; + } + private void parseBindingOperation(XMLStreamReader reader, WSDLBoundPortTypeImpl binding) { String bindingOpName = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); @@ -913,7 +919,7 @@ QName descName = reader.getAttributeName(i); if (descName.getLocalPart().equals("element")) kind = WSDLDescriptorKind.ELEMENT; - else if (descName.getLocalPart().equals("TYPE")) + else if (descName.getLocalPart().equals("type")) kind = WSDLDescriptorKind.TYPE; if (descName.getLocalPart().equals("element") || descName.getLocalPart().equals("type")) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/SOAPConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/SOAPConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/SOAPConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingMetadataWSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingMetadataWSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingMetadataWSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingWSDLParserExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingWSDLParserExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/W3CAddressingWSDLParserExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLConstants.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -35,49 +35,45 @@ */ public interface WSDLConstants { // namespace URIs - public static final String PREFIX_NS_WSDL = "wsdl"; - public static final String NS_XMLNS = "http://www.w3.org/2001/XMLSchema"; - public static final String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; - public static final String NS_SOAP11_HTTP_BINDING = "http://schemas.xmlsoap.org/soap/http"; + static final String PREFIX_NS_WSDL = "wsdl"; + static final String NS_XMLNS = "http://www.w3.org/2001/XMLSchema"; + static final String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/"; + static final String NS_SOAP11_HTTP_BINDING = "http://schemas.xmlsoap.org/soap/http"; - public static final QName QNAME_SCHEMA = new QName(NS_XMLNS, "schema"); + static final QName QNAME_SCHEMA = new QName(NS_XMLNS, "schema"); // QNames - public static final QName QNAME_BINDING = new QName(NS_WSDL, "binding"); - public static final QName QNAME_DEFINITIONS = new QName(NS_WSDL, "definitions"); - public static final QName QNAME_DOCUMENTATION = new QName(NS_WSDL, "documentation"); - public static final QName NS_SOAP_BINDING_ADDRESS = new QName("http://schemas.xmlsoap.org/wsdl/soap/", - "address"); - public static final QName NS_SOAP_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/soap/", - "binding"); - public static final QName NS_SOAP12_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/soap12/", - "binding"); - public static final QName NS_SOAP12_BINDING_ADDRESS = new QName("http://schemas.xmlsoap.org/wsdl/soap12/", - "address"); + static final QName QNAME_BINDING = new QName(NS_WSDL, "binding"); + static final QName QNAME_DEFINITIONS = new QName(NS_WSDL, "definitions"); + static final QName QNAME_DOCUMENTATION = new QName(NS_WSDL, "documentation"); + static final QName NS_SOAP_BINDING_ADDRESS = new QName("http://schemas.xmlsoap.org/wsdl/soap/", "address"); + static final QName NS_SOAP_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/soap/", "binding"); + static final QName NS_SOAP12_BINDING = new QName("http://schemas.xmlsoap.org/wsdl/soap12/", "binding"); + static final QName NS_SOAP12_BINDING_ADDRESS = new QName("http://schemas.xmlsoap.org/wsdl/soap12/", "address"); - //public static final QName QNAME_FAULT = new QName(NS_WSDL, "fault"); - public static final QName QNAME_IMPORT = new QName(NS_WSDL, "import"); + //static final QName QNAME_FAULT = new QName(NS_WSDL, "fault"); + static final QName QNAME_IMPORT = new QName(NS_WSDL, "import"); - //public static final QName QNAME_INPUT = new QName(NS_WSDL, "input"); - public static final QName QNAME_MESSAGE = new QName(NS_WSDL, "message"); - public static final QName QNAME_PART = new QName(NS_WSDL, "part"); - public static final QName QNAME_OPERATION = new QName(NS_WSDL, "operation"); - public static final QName QNAME_INPUT = new QName(NS_WSDL, "input"); - public static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); + //static final QName QNAME_INPUT = new QName(NS_WSDL, "input"); + static final QName QNAME_MESSAGE = new QName(NS_WSDL, "message"); + static final QName QNAME_PART = new QName(NS_WSDL, "part"); + static final QName QNAME_OPERATION = new QName(NS_WSDL, "operation"); + static final QName QNAME_INPUT = new QName(NS_WSDL, "input"); + static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); - //public static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); - //public static final QName QNAME_PART = new QName(NS_WSDL, "part"); - public static final QName QNAME_PORT = new QName(NS_WSDL, "port"); - public static final QName QNAME_ADDRESS = new QName(NS_WSDL, "address"); - public static final QName QNAME_PORT_TYPE = new QName(NS_WSDL, "portType"); - public static final QName QNAME_FAULT = new QName(NS_WSDL, "fault"); - public static final QName QNAME_SERVICE = new QName(NS_WSDL, "service"); - public static final QName QNAME_TYPES = new QName(NS_WSDL, "types"); + //static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output"); + //static final QName QNAME_PART = new QName(NS_WSDL, "part"); + static final QName QNAME_PORT = new QName(NS_WSDL, "port"); + static final QName QNAME_ADDRESS = new QName(NS_WSDL, "address"); + static final QName QNAME_PORT_TYPE = new QName(NS_WSDL, "portType"); + static final QName QNAME_FAULT = new QName(NS_WSDL, "fault"); + static final QName QNAME_SERVICE = new QName(NS_WSDL, "service"); + static final QName QNAME_TYPES = new QName(NS_WSDL, "types"); - public static final String ATTR_TRANSPORT = "transport"; - public static final String ATTR_LOCATION = "location"; - public static final String ATTR_NAME = "name"; - public static final String ATTR_TNS = "targetNamespace"; + static final String ATTR_TRANSPORT = "transport"; + static final String ATTR_LOCATION = "location"; + static final String ATTR_NAME = "name"; + static final String ATTR_TNS = "targetNamespace"; - //public static final QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_WSDL, "arrayType"); + //static final QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_WSDL, "arrayType"); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionContextImpl.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionContextImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionContextImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionFacade.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionFacade.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/WSDLParserExtensionFacade.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/DocumentLocationResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/TXWContentHandler.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/TXWContentHandler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/TXWContentHandler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -64,7 +64,10 @@ for(int i = 0; i < atts.getLength(); i++) { String auri = atts.getURI(i); if ("http://www.w3.org/2000/xmlns/".equals(auri)) { - txw._namespace(atts.getValue(i),atts.getLocalName(i)); + if ("xmlns".equals(atts.getLocalName(i))) + txw._namespace(atts.getValue(i), ""); + else + txw._namespace(atts.getValue(i),atts.getLocalName(i)); } else { if ("schemaLocation".equals(atts.getLocalName(i)) && "".equals(atts.getValue(i))) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/UsingAddressing.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/UsingAddressing.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/UsingAddressing.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingMetadataWSDLGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingMetadataWSDLGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingMetadataWSDLGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingWSDLGeneratorExtension.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingWSDLGeneratorExtension.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/W3CAddressingWSDLGeneratorExtension.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -69,7 +69,10 @@ if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { - if (method.getBinding().getSOAPAction().equals("")) { + + String soapAction = method.getBinding().getSOAPAction(); + // in SOAP 1.2 soapAction is optional ... + if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); @@ -143,7 +146,7 @@ public void addBindingExtension(TypedXmlWriter binding) { if (!enabled) return; - UsingAddressing ua = binding._element(AddressingVersion.W3C.wsdlExtensionTag, UsingAddressing.class); + binding._element(AddressingVersion.W3C.wsdlExtensionTag, UsingAddressing.class); /* Do not generate wsdl:required=true if(required) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGenerator.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -28,6 +28,8 @@ import static com.sun.xml.internal.bind.v2.schemagen.Util.*; +import com.oracle.webservices.internal.api.databinding.WSDLResolver; + import com.sun.xml.internal.txw2.TXW; import com.sun.xml.internal.txw2.TypedXmlWriter; import com.sun.xml.internal.txw2.output.ResultFactory; @@ -48,6 +50,7 @@ import com.sun.xml.internal.ws.model.JavaMethodImpl; import com.sun.xml.internal.ws.model.ParameterImpl; import com.sun.xml.internal.ws.model.WrapperParameter; +import com.sun.xml.internal.ws.util.xml.XmlUtil; import com.sun.xml.internal.ws.wsdl.parser.SOAPConstants; import com.sun.xml.internal.ws.wsdl.parser.WSDLConstants; import com.sun.xml.internal.ws.wsdl.writer.document.Binding; @@ -68,11 +71,18 @@ import com.sun.xml.internal.ws.wsdl.writer.document.soap.Header; import com.sun.xml.internal.ws.wsdl.writer.document.soap.SOAPAddress; import com.sun.xml.internal.ws.wsdl.writer.document.soap.SOAPFault; +import com.sun.xml.internal.ws.wsdl.writer.document.xsd.Schema; import com.sun.xml.internal.ws.spi.db.BindingContext; import com.sun.xml.internal.ws.spi.db.BindingHelper; +import com.sun.xml.internal.ws.spi.db.TypeInfo; +import com.sun.xml.internal.ws.spi.db.WrapperComposite; import com.sun.xml.internal.ws.util.RuntimeVersion; import com.sun.xml.internal.ws.policy.jaxws.PolicyWSDLGeneratorExtension; import com.sun.xml.internal.ws.encoding.soap.streaming.SOAPNamespaceConstants; +import com.sun.xml.internal.bind.v2.schemagen.xmlschema.Element; +import com.sun.xml.internal.bind.v2.schemagen.xmlschema.ComplexType; +import com.sun.xml.internal.bind.v2.schemagen.xmlschema.ExplicitGroup; +import com.sun.xml.internal.bind.v2.schemagen.xmlschema.LocalElement; import javax.jws.soap.SOAPBinding.Style; import javax.jws.soap.SOAPBinding.Use; @@ -95,6 +105,7 @@ import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; +import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; @@ -198,6 +209,7 @@ private final Class implType; private boolean inlineSchemas; // TODO + private final boolean disableSecureXmlProcessing; /** * Creates the WSDLGenerator @@ -209,6 +221,22 @@ */ public WSDLGenerator(AbstractSEIModelImpl model, WSDLResolver wsdlResolver, WSBinding binding, Container container, Class implType, boolean inlineSchemas, WSDLGeneratorExtension... extensions) { + this(model, wsdlResolver, binding, container, implType, inlineSchemas, false, extensions); + } + + /** + * Creates the WSDLGenerator + * @param model The {@link AbstractSEIModelImpl} used to generate the WSDL + * @param wsdlResolver The {@link WSDLResolver} to use resovle names while generating the WSDL + * @param binding specifies which {@link javax.xml.ws.BindingType} to generate + * @param disableSecureXmlProcessing specifies whether to disable the secure xml processing feature + * @param extensions an array {@link WSDLGeneratorExtension} that will + * be invoked to generate WSDL extensions + */ + public WSDLGenerator(AbstractSEIModelImpl model, WSDLResolver wsdlResolver, WSBinding binding, Container container, + Class implType, boolean inlineSchemas, boolean disableSecureXmlProcessing, + WSDLGeneratorExtension... extensions) { + this.model = model; resolver = new JAXWSOutputSchemaResolver(); this.wsdlResolver = wsdlResolver; @@ -217,6 +245,7 @@ this.implType = implType; extensionHandlers = new ArrayList(); this.inlineSchemas = inlineSchemas; + this.disableSecureXmlProcessing = disableSecureXmlProcessing; // register handlers for default extensions register(new W3CAddressingWSDLGeneratorExtension()); @@ -306,48 +335,59 @@ this.serializer = serializer; } + @Override public void startDocument() { serializer.startDocument(); comment(new StringBuilder(VERSION_COMMENT)); text(new StringBuilder("\n")); } + @Override public void beginStartTag(String uri, String localName, String prefix) { serializer.beginStartTag(uri, localName, prefix); } + @Override public void writeAttribute(String uri, String localName, String prefix, StringBuilder value) { serializer.writeAttribute(uri, localName, prefix, value); } + @Override public void writeXmlns(String prefix, String uri) { serializer.writeXmlns(prefix, uri); } + @Override public void endStartTag(String uri, String localName, String prefix) { serializer.endStartTag(uri, localName, prefix); } + @Override public void endTag() { serializer.endTag(); } + @Override public void text(StringBuilder text) { serializer.text(text); } + @Override public void cdata(StringBuilder text) { serializer.cdata(text); } + @Override public void comment(StringBuilder comment) { serializer.comment(comment); } + @Override public void endDocument() { serializer.endDocument(); } + @Override public void flush() { serializer.flush(); } @@ -419,12 +459,11 @@ model.getBindingContext().generateSchema(resolver); } catch (IOException e) { // TODO locallize and wrap this - e.printStackTrace(); throw new WebServiceException(e.getMessage()); } } if (resolver.nonGlassfishSchemas != null) { - TransformerFactory tf = TransformerFactory.newInstance(); + TransformerFactory tf = XmlUtil.newTransformerFactory(!disableSecureXmlProcessing); try { Transformer t = tf.newTransformer(); for (DOMResult xsd : resolver.nonGlassfishSchemas) { @@ -433,13 +472,69 @@ t.transform(new DOMSource(doc.getDocumentElement()), sax); } } catch (TransformerConfigurationException e) { - e.printStackTrace(); throw new WebServiceException(e.getMessage(), e); } catch (TransformerException e) { - e.printStackTrace(); throw new WebServiceException(e.getMessage(), e); } } + generateWrappers(); + } + + void generateWrappers() { + List wrappers = new ArrayList(); + for (JavaMethodImpl method : model.getJavaMethods()) { + if(method.getBinding().isRpcLit()) continue; + for (ParameterImpl p : method.getRequestParameters()) { + if (p instanceof WrapperParameter) { + if (WrapperComposite.class.equals((((WrapperParameter)p).getTypeInfo().type))) { + wrappers.add((WrapperParameter)p); + } + } + } + for (ParameterImpl p : method.getResponseParameters()) { + if (p instanceof WrapperParameter) { + if (WrapperComposite.class.equals((((WrapperParameter)p).getTypeInfo().type))) { + wrappers.add((WrapperParameter)p); + } + } + } + } + if (wrappers.isEmpty()) return; + HashMap xsds = new HashMap(); + for(WrapperParameter wp : wrappers) { + String tns = wp.getName().getNamespaceURI(); + Schema xsd = xsds.get(tns); + if (xsd == null) { + xsd = types.schema(); + xsd.targetNamespace(tns); + xsds.put(tns, xsd); + } + Element e = xsd._element(Element.class); + e._attribute("name", wp.getName().getLocalPart()); + e.type(wp.getName()); + ComplexType ct = xsd._element(ComplexType.class); + ct._attribute("name", wp.getName().getLocalPart()); + ExplicitGroup sq = ct.sequence(); + for (ParameterImpl p : wp.getWrapperChildren() ) { + if (p.getBinding().isBody()) { + LocalElement le = sq.element(); + le._attribute("name", p.getName().getLocalPart()); + TypeInfo typeInfo = p.getItemType(); + boolean repeatedElement = false; + if (typeInfo == null) { + typeInfo = p.getTypeInfo(); + } else { + repeatedElement = true; + } + QName type = model.getBindingContext().getTypeName(typeInfo); + le.type(type); + if (repeatedElement) { + le.minOccurs(0); + le.maxOccurs("unbounded"); + } + } + } + } } /** @@ -484,15 +579,8 @@ } } if (method.getMEP() != MEP.ONE_WAY) { -// message = portDefinitions.message().name(method.getOperation().getName().getLocalPart()+RESPONSE); message = portDefinitions.message().name(method.getResponseMessageName()); extension.addOutputMessageExtension(message, method); - if (unwrappable) { - for (ParameterImpl param : method.getResponseParameters()) { - if (isHeaderParameter(param)) - unwrappable = false; - } - } for (ParameterImpl param : method.getResponseParameters()) { if (isDoclit) { @@ -548,6 +636,8 @@ case ONE_WAY: generateInputMessage(operation, method); break; + default: + break; } // faults for (CheckedExceptionImpl exception : method.getCheckedExceptions()) { @@ -601,7 +691,7 @@ */ protected void generateRpcParameterOrder(Operation operation, JavaMethodImpl method) { String partName; - StringBuffer paramOrder = new StringBuffer(); + StringBuilder paramOrder = new StringBuilder(); Set partNames = new HashSet(); List sortedParams = sortMethodParameters(method); int i = 0; @@ -629,10 +719,10 @@ */ protected void generateDocumentParameterOrder(Operation operation, JavaMethodImpl method) { String partName; - StringBuffer paramOrder = new StringBuffer(); + StringBuilder paramOrder = new StringBuilder(); Set partNames = new HashSet(); List sortedParams = sortMethodParameters(method); - boolean isWrapperStyle = isWrapperStyle(method); +// boolean isWrapperStyle = isWrapperStyle(method); int i = 0; for (ParameterImpl parameter : sortedParams) { // System.out.println("param: "+parameter.getIndex()+" name: "+parameter.getName().getLocalPart()); @@ -697,7 +787,7 @@ paramSet.addAll(method.getResponseParameters()); } Iterator params = paramSet.iterator(); - if (paramSet.size() == 0) + if (paramSet.isEmpty()) return sortedParams; ParameterImpl param = params.next(); sortedParams.add(param); @@ -744,23 +834,23 @@ * Generates the Binding section of the WSDL */ protected void generateBinding() { - Binding binding = serviceDefinitions.binding().name(model.getBoundPortTypeName().getLocalPart()); - extension.addBindingExtension(binding); - binding.type(model.getPortTypeName()); + Binding newBinding = serviceDefinitions.binding().name(model.getBoundPortTypeName().getLocalPart()); + extension.addBindingExtension(newBinding); + newBinding.type(model.getPortTypeName()); boolean first = true; for (JavaMethodImpl method : model.getJavaMethods()) { if (first) { SOAPBinding sBinding = method.getBinding(); SOAPVersion soapVersion = sBinding.getSOAPVersion(); if (soapVersion == SOAPVersion.SOAP_12) { - com.sun.xml.internal.ws.wsdl.writer.document.soap12.SOAPBinding soapBinding = binding.soap12Binding(); + com.sun.xml.internal.ws.wsdl.writer.document.soap12.SOAPBinding soapBinding = newBinding.soap12Binding(); soapBinding.transport(this.binding.getBindingId().getTransport()); if (sBinding.getStyle().equals(Style.DOCUMENT)) soapBinding.style(DOCUMENT); else soapBinding.style(RPC); } else { - com.sun.xml.internal.ws.wsdl.writer.document.soap.SOAPBinding soapBinding = binding.soapBinding(); + com.sun.xml.internal.ws.wsdl.writer.document.soap.SOAPBinding soapBinding = newBinding.soapBinding(); soapBinding.transport(this.binding.getBindingId().getTransport()); if (sBinding.getStyle().equals(Style.DOCUMENT)) soapBinding.style(DOCUMENT); @@ -770,9 +860,9 @@ first = false; } if (this.binding.getBindingId().getSOAPVersion() == SOAPVersion.SOAP_12) - generateSOAP12BindingOperation(method, binding); + generateSOAP12BindingOperation(method, newBinding); else - generateBindingOperation(method, binding); + generateBindingOperation(method, newBinding); } } @@ -798,7 +888,7 @@ if (bodyParams.size() > 0) { ParameterImpl param = bodyParams.iterator().next(); if (isRpc) { - StringBuffer parts = new StringBuffer(); + StringBuilder parts = new StringBuilder(); int i = 0; for (ParameterImpl parameter : ((WrapperParameter) param).getWrapperChildren()) { if (i++ > 0) @@ -823,34 +913,33 @@ } if (method.getMEP() != MEP.ONE_WAY) { - boolean unwrappable = headerParams.size() == 0; // output bodyParams.clear(); headerParams.clear(); splitParameters(bodyParams, headerParams, method.getResponseParameters()); - unwrappable = unwrappable ? headerParams.size() == 0 : unwrappable; TypedXmlWriter output = operation.output(); extension.addBindingOperationOutputExtension(output, method); body = output._element(Body.class); body.use(LITERAL); if (headerParams.size() > 0) { - String parts = ""; + StringBuilder parts = new StringBuilder(); if (bodyParams.size() > 0) { ParameterImpl param = bodyParams.iterator().hasNext() ? bodyParams.iterator().next() : null; if (param != null) { if (isRpc) { int i = 0; for (ParameterImpl parameter : ((WrapperParameter) param).getWrapperChildren()) { - if (i++ > 0) - parts += " "; - parts += parameter.getPartName(); + if (i++ > 0) { + parts.append(" "); + } + parts.append(parameter.getPartName()); } } else { - parts = param.getPartName(); + parts = new StringBuilder(param.getPartName()); } } } - body.parts(parts); + body.parts(parts.toString()); QName responseMessage = new QName(targetNamespace, method.getResponseMessageName()); generateSOAPHeaders(output, headerParams, responseMessage); } @@ -892,7 +981,7 @@ if (bodyParams.size() > 0) { ParameterImpl param = bodyParams.iterator().next(); if (isRpc) { - StringBuffer parts = new StringBuffer(); + StringBuilder parts = new StringBuilder(); int i = 0; for (ParameterImpl parameter : ((WrapperParameter) param).getWrapperChildren()) { if (i++ > 0) @@ -918,11 +1007,9 @@ if (method.getMEP() != MEP.ONE_WAY) { // output - boolean unwrappable = headerParams.size() == 0; bodyParams.clear(); headerParams.clear(); splitParameters(bodyParams, headerParams, method.getResponseParameters()); - unwrappable = unwrappable ? headerParams.size() == 0 : unwrappable; TypedXmlWriter output = operation.output(); extension.addBindingOperationOutputExtension(output, method); body = output._element(com.sun.xml.internal.ws.wsdl.writer.document.soap12.Body.class); @@ -931,14 +1018,15 @@ if (bodyParams.size() > 0) { ParameterImpl param = bodyParams.iterator().next(); if (isRpc) { - String parts = ""; + StringBuilder parts = new StringBuilder(); int i = 0; for (ParameterImpl parameter : ((WrapperParameter) param).getWrapperChildren()) { - if (i++ > 0) - parts += " "; - parts += parameter.getPartName(); + if (i++ > 0) { + parts.append(" "); + } + parts.append(parameter.getPartName()); } - body.parts(parts); + body.parts(parts.toString()); } else { body.parts(param.getPartName()); } @@ -1003,7 +1091,7 @@ Port port = service.port().name(portQName.getLocalPart()); port.binding(model.getBoundPortTypeName()); extension.addPortExtension(port); - if (model.getJavaMethods().size() == 0) + if (model.getJavaMethods().isEmpty()) return; if (this.binding.getBindingId().getSOAPVersion() == SOAPVersion.SOAP_12) { @@ -1133,7 +1221,7 @@ if (relPath == null) return uri; // recursion found no commonality in the two uris at all - StringBuffer relUri = new StringBuffer(); + StringBuilder relUri = new StringBuilder(); relUri.append(relPath); if (theUri.getQuery() != null) relUri.append('?').append(theUri.getQuery()); @@ -1172,6 +1260,7 @@ * @return the {@link Result} for JAXB to generate the schema into * @throws java.io.IOException thrown if on IO error occurs */ + @Override public Result createOutput(String namespaceUri, String suggestedFileName) throws IOException { return inlineSchemas ? ((nonGlassfishSchemas != null) ? nonGlassfishSchemaResult(namespaceUri, suggestedFileName) : createInlineSchema(namespaceUri, suggestedFileName)) diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGeneratorExtensionFacade.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGeneratorExtensionFacade.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLGeneratorExtensionFacade.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLPatcher.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLPatcher.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLPatcher.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -30,6 +30,7 @@ import com.sun.xml.internal.ws.util.xml.XMLStreamReaderToXMLStreamWriter; import com.sun.xml.internal.ws.wsdl.parser.WSDLConstants; import com.sun.xml.internal.ws.addressing.W3CAddressingConstants; +import com.sun.xml.internal.ws.addressing.v200408.MemberSubmissionAddressingConstants; import com.sun.istack.internal.Nullable; import javax.xml.namespace.QName; @@ -158,11 +159,13 @@ if (value != null) { portName = new QName(targetNamespace,value); } - } else if (name.equals(W3CAddressingConstants.WSA_EPR_QNAME)) { + } else if (name.equals(W3CAddressingConstants.WSA_EPR_QNAME) + || name.equals(MemberSubmissionAddressingConstants.WSA_EPR_QNAME)) { if (serviceName != null && portName != null) { inEpr = true; } - } else if (name.equals(W3CAddressingConstants.WSA_ADDRESS_QNAME)) { + } else if (name.equals(W3CAddressingConstants.WSA_ADDRESS_QNAME) + || name.equals(MemberSubmissionAddressingConstants.WSA_ADDRESS_QNAME)) { if (inEpr) { inEprAddress = true; } @@ -177,12 +180,14 @@ serviceName = null; } else if (name.equals(WSDLConstants.QNAME_PORT)) { portName = null; - } else if (name.equals(W3CAddressingConstants.WSA_EPR_QNAME)) { + } else if (name.equals(W3CAddressingConstants.WSA_EPR_QNAME) + || name.equals(MemberSubmissionAddressingConstants.WSA_EPR_QNAME)) { if (inEpr) { inEpr = false; } - } else if (name.equals(W3CAddressingConstants.WSA_ADDRESS_QNAME)) { - if (inEprAddress) { + } else if (name.equals(W3CAddressingConstants.WSA_ADDRESS_QNAME) + || name.equals(MemberSubmissionAddressingConstants.WSA_ADDRESS_QNAME)) { + if (inEprAddress) { String value = getAddressLocation(); if (value != null) { logger.fine("Fixing EPR Address for service:"+serviceName+ " port:"+portName diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLResolver.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLResolver.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLResolver.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -25,52 +25,10 @@ package com.sun.xml.internal.ws.wsdl.writer; -import com.sun.istack.internal.NotNull; -import com.sun.istack.internal.Nullable; -import javax.xml.transform.Result; -import javax.xml.ws.Holder; - - /** - * WSDLResolver is used by WSDLGenerator while generating WSDL and its associated - * documents. It is used to control what documents need to be generated and what - * documents need to be picked from metadata. If endpont's document metadata - * already contains some documents, their systemids may be used for wsdl:import, - * and schema:import. The suggested filenames are relative urls(for e.g: EchoSchema1.xsd) - * The Result object systemids are also relative urls(for e.g: AbsWsdl.wsdl). + * @deprecated Use com.oracle.webservices.internal.api.databinding.WSDLResolver directly * - * @author Jitendra Kotamraju */ -public interface WSDLResolver { - /** - * Create a Result object into which concrete WSDL is to be generated. - * - * @return Result for the concrete WSDL - */ - public @NotNull Result getWSDL(@NotNull String suggestedFilename); - - /** - * Create a Result object into which abstract WSDL is to be generated. If the the - * abstract WSDL is already in metadata, it is not generated. - * - * Update filename if the suggested filename need to be changed in wsdl:import. - * This needs to be done if the metadata contains abstract WSDL, and that systemid - * needs to be reflected in concrete WSDL's wsdl:import - * - * @return null if abstract WSDL need not be generated - */ - public @Nullable Result getAbstractWSDL(@NotNull Holder filename); - - /** - * Create a Result object into which schema doc is to be generated. Typically if - * there is a schema doc for namespace in metadata, then it is not generated. - * - * Update filename if the suggested filename need to be changed in xsd:import. This - * needs to be done if the metadata contains the document, and that systemid - * needs to be reflected in some other document's xsd:import - * - * @return null if schema need not be generated - */ - public @Nullable Result getSchemaOutput(@NotNull String namespace, @NotNull Holder filename); +public interface WSDLResolver extends com.oracle.webservices.internal.api.databinding.WSDLResolver { } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Binding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Binding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Binding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/BindingOperationType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/BindingOperationType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/BindingOperationType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Definitions.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Definitions.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Definitions.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Documented.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Documented.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Documented.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Fault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Fault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Fault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/FaultType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/FaultType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/FaultType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Import.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Import.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Import.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Message.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Message.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Message.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/OpenAtts.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/OpenAtts.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/OpenAtts.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Operation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Operation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Operation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/ParamType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/ParamType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/ParamType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Part.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Part.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Part.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Port.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Port.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Port.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/PortType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/PortType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/PortType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Service.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Service.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Service.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/StartWithExtensionsType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/StartWithExtensionsType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/StartWithExtensionsType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Types.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Types.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/Types.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Address.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Address.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Address.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Binding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Binding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Binding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Operation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Operation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/Operation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/http/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Body.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Body.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Body.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/BodyType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/BodyType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/BodyType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Header.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Header.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/Header.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/HeaderFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/HeaderFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/HeaderFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPAddress.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPAddress.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPAddress.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPOperation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/SOAPOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Body.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Body.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Body.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/BodyType.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/BodyType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/BodyType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Header.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Header.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/Header.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/HeaderFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/HeaderFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/HeaderFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPAddress.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPAddress.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPAddress.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPBinding.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPBinding.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPBinding.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPFault.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPOperation.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPOperation.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/SOAPOperation.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/soap12/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Import.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Import.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Import.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Schema.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Schema.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/Schema.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -28,7 +28,6 @@ import com.sun.xml.internal.txw2.TypedXmlWriter; import com.sun.xml.internal.txw2.annotation.XmlAttribute; import com.sun.xml.internal.txw2.annotation.XmlElement; -import com.sun.xml.internal.ws.wsdl.writer.document.Documented; import com.sun.xml.internal.ws.wsdl.writer.document.*; /** @@ -43,4 +42,7 @@ @XmlElement("import") public Import _import(); + + @XmlAttribute + public com.sun.xml.internal.ws.wsdl.writer.document.xsd.Schema targetNamespace(String value); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/package-info.java --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/package-info.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/xsd/package-info.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/annotation/Generated.java --- a/src/share/jaxws_classes/javax/annotation/Generated.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/Generated.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -34,14 +34,14 @@ * in a single file. When used, the value element must have the name of the * code generator. The recommended convention is to use the fully qualified * name of the code generator in the value field . - * For example: com.company.package.classname. + *

      For example: com.company.package.classname. * The date element is used to indicate the date the source was generated. * The date element must follow the ISO 8601 standard. For example the date * element would have the following value 2001-07-04T12:08:56.235-0700 * which represents 2001-07-04 12:08:56 local time in the U.S. Pacific - * Time time zone. - * The comment element is a place holder for any comments that the code - * generator may want to include in the generated code. + * Time time zone.

      + *

      The comment element is a place holder for any comments that the code + * generator may want to include in the generated code.

      * * @since Common Annotations 1.0 */ diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/annotation/PostConstruct.java --- a/src/share/jaxws_classes/javax/annotation/PostConstruct.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/PostConstruct.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -38,19 +38,19 @@ * if the class does not request any resources to be injected. Only one * method can be annotated with this annotation. The method on which the * PostConstruct annotation is applied MUST fulfill all of the following - * criteria - -- The method MUST NOT have any parameters except in the case of EJB - * interceptors in which case it takes an InvocationC ontext object as - * defined by the EJB specification. - * - The return type of the method MUST be void. - * - The method MUST NOT throw a checked exception. - * - The method on which PostConstruct is applied MAY be public, protected, - * package private or private. - * - The method MUST NOT be static except for the application client. - * - The method MAY be final. - * - If the method throws an unchecked exception the class MUST NOT be put into + * criteria:
        + *
      • The method MUST NOT have any parameters except in the case of EJB + * interceptors in which case it takes an InvocationContext object as + * defined by the EJB specification.
      • + *
      • The return type of the method MUST be void.
      • + *
      • The method MUST NOT throw a checked exception.
      • + *
      • The method on which PostConstruct is applied MAY be public, protected, + * package private or private.
      • + *
      • The method MUST NOT be static except for the application client.
      • + *
      • The method MAY be final.
      • + *
      • If the method throws an unchecked exception the class MUST NOT be put into * service except in the case of EJBs where the EJB can handle exceptions and - * even recover from them. + * even recover from them.
      * @since Common Annotations 1.0 * @see javax.annotation.PreDestroy * @see javax.annotation.Resource diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/annotation/PreDestroy.java --- a/src/share/jaxws_classes/javax/annotation/PreDestroy.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/PreDestroy.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -37,18 +37,18 @@ * supported by all container managed objects that support PostConstruct * except the application client container in Java EE 5. The method on which * the PreDestroy annotation is applied MUST fulfill all of the following - * criteria - - * - The method MUST NOT have any parameters except in the case of EJB + * criteria:
        + *
      • The method MUST NOT have any parameters except in the case of EJB * interceptors in which case it takes an InvocationContext object as defined - * by the EJB specification. - * - The return type of the method MUST be void. - * - The method MUST NOT throw a checked exception. - * - The method on which PreDestroy is applied MAY be public, protected, - * package private or private. - * - The method MUST NOT be static. - * - The method MAY be final. - * - If the method throws an unchecked exception it is ignored except in the - * case of EJBs where the EJB can handle exceptions. + * by the EJB specification.
      • + *
      • The return type of the method MUST be void.
      • + *
      • The method MUST NOT throw a checked exception.
      • + *
      • The method on which PreDestroy is applied MAY be public, protected, + * package private or private.
      • + *
      • The method MUST NOT be static.
      • + *
      • The method MAY be final.
      • + *
      • If the method throws an unchecked exception it is ignored except in the + * case of EJBs where the EJB can handle exceptions.
      • * * @see javax.annotation.PostConstruct * @see javax.annotation.Resource diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/annotation/Resource.java --- a/src/share/jaxws_classes/javax/annotation/Resource.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/Resource.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2011, 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 @@ -78,7 +78,7 @@ * For class annotations, there is no default and this must be * specified. */ - Class type() default java.lang.Object.class; + Class type() default java.lang.Object.class; /** * The two possible authentication types for a resource. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/annotation/Resources.java --- a/src/share/jaxws_classes/javax/annotation/Resources.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/annotation/Resources.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2011, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/ContextFinder.java --- a/src/share/jaxws_classes/javax/xml/bind/ContextFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/ContextFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -500,7 +500,7 @@ String classnameAsResource = clazz.getName().replace('.', '/') + ".class"; if(loader == null) { - loader = ClassLoader.getSystemClassLoader(); + loader = getSystemClassLoader(); } return loader.getResource(classnameAsResource); @@ -592,4 +592,17 @@ } } + private static ClassLoader getSystemClassLoader() { + if (System.getSecurityManager() == null) { + return ClassLoader.getSystemClassLoader(); + } else { + return (ClassLoader) java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public java.lang.Object run() { + return ClassLoader.getSystemClassLoader(); + } + }); + } + } + } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java --- a/src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 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 @@ -256,7 +256,8 @@ } public boolean parseBoolean(String lexicalXSDBoolean) { - return _parseBoolean(lexicalXSDBoolean); + Boolean b = _parseBoolean(lexicalXSDBoolean); + return (b == null) ? false : b.booleanValue(); } public static Boolean _parseBoolean(CharSequence literal) { diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/JAXBContext.java --- a/src/share/jaxws_classes/javax/xml/bind/JAXBContext.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/JAXBContext.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -53,7 +53,7 @@ * that must be processed. (see JLS, Section 7.4.1 "Named Packages"). * *
      • {@link #newInstance(Class...) JAXBContext.newInstance( com.acme.foo.Foo.class )}
        - * The JAXBContext instance is intialized with class(es) + * The JAXBContext instance is initialized with class(es) * passed as parameter(s) and classes that are statically reachable from * these class(es). See {@link #newInstance(Class...)} for details. *
      • @@ -218,7 +218,7 @@ * For each package/class explicitly passed in to the {@link #newInstance} method, in the order they are specified, * jaxb.properties file is looked up in its package, by using the associated classloader — * this is {@link Class#getClassLoader() the owner class loader} for a {@link Class} argument, and for a package - * the speified {@link ClassLoader}. + * the specified {@link ClassLoader}. * *

        * If such a file is discovered, it is {@link Properties#load(InputStream) loaded} as a property file, and @@ -627,12 +627,16 @@ public static JAXBContext newInstance( Class[] classesToBeBound, Map properties ) throws JAXBException { - if (classesToBeBound == null) throw new IllegalArgumentException(); + if (classesToBeBound == null) { + throw new IllegalArgumentException(); + } // but it is an error to have nulls in it. - for( int i=classesToBeBound.length-1; i>=0; i-- ) - if(classesToBeBound[i]==null) + for (int i = classesToBeBound.length - 1; i >= 0; i--) { + if (classesToBeBound[i] == null) { throw new IllegalArgumentException(); + } + } return ContextFinder.find(classesToBeBound,properties); } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/JAXBIntrospector.java --- a/src/share/jaxws_classes/javax/xml/bind/JAXBIntrospector.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/JAXBIntrospector.java Tue Apr 16 08:11:41 2013 -0700 @@ -46,7 +46,7 @@ public abstract class JAXBIntrospector { /** - *

        Return true iff object represents a JAXB element.

        + *

        Return true if object represents a JAXB element.

        *

        Parameter object is a JAXB element for following cases: *

          *
        1. It is an instance of javax.xml.bind.JAXBElement.
        2. diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/JAXBPermission.java --- a/src/share/jaxws_classes/javax/xml/bind/JAXBPermission.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/JAXBPermission.java Tue Apr 16 08:11:41 2013 -0700 @@ -25,7 +25,6 @@ package javax.xml.bind; -import java.awt.*; import java.security.BasicPermission; /** @@ -61,7 +60,7 @@ * Malicious code can set {@link DatatypeConverterInterface}, which has * VM-wide singleton semantics, before a genuine JAXB implementation sets one. * This allows malicious code to gain access to objects that it may otherwise - * not have access to, such as {@link Frame#getFrames()} that belongs to + * not have access to, such as {@link java.awt.Frame#getFrames()} that belongs to * another application running in the same JVM. * * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/Marshaller.java --- a/src/share/jaxws_classes/javax/xml/bind/Marshaller.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/Marshaller.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/Unmarshaller.java --- a/src/share/jaxws_classes/javax/xml/bind/Unmarshaller.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/Unmarshaller.java Tue Apr 16 08:11:41 2013 -0700 @@ -346,7 +346,7 @@ * terminates the marshal operation after encountering either a fatal error or an error. * For a JAXB 2.0 client application, there is no explicitly defined default * validation handler and the default event handling only - * terminates the marshal operation after encountering a fatal error. + * terminates the unmarshal operation after encountering a fatal error. * * * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/annotation/XmlInlineBinaryData.java --- a/src/share/jaxws_classes/javax/xml/bind/annotation/XmlInlineBinaryData.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/annotation/XmlInlineBinaryData.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -27,7 +27,6 @@ import java.lang.annotation.Retention; import java.lang.annotation.Target; -import java.awt.*; import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; @@ -42,7 +41,7 @@ * base64-encoded binary data in XML. * *

          - * When XOP encoding is enabled as described in {@link AttachmentMarshaller#isXOPPackage()}, this annotation disables datatypes such as {@link Image} or {@link Source} or byte[] that are bound to base64-encoded binary from being considered for + * When XOP encoding is enabled as described in {@link AttachmentMarshaller#isXOPPackage()}, this annotation disables datatypes such as {@link java.awt.Image} or {@link Source} or byte[] that are bound to base64-encoded binary from being considered for * XOP encoding. If a JAXB property is annotated with this annotation or if * the JAXB property's base type is annotated with this annotation, * neither diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/annotation/XmlMimeType.java --- a/src/share/jaxws_classes/javax/xml/bind/annotation/XmlMimeType.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/annotation/XmlMimeType.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -27,7 +27,6 @@ import java.lang.annotation.Retention; import java.lang.annotation.Target; -import java.awt.*; import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; @@ -40,7 +39,7 @@ * *

          * This annotation is used in conjunction with datatypes such as - * {@link Image} or {@link Source} that are bound to base64-encoded binary in XML. + * {@link java.awt.Image} or {@link Source} that are bound to base64-encoded binary in XML. * *

          * If a property that has this annotation has a sibling property bound to diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlAdapter.java --- a/src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlAdapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2013, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java --- a/src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java Tue Apr 16 08:11:41 2013 -0700 @@ -93,7 +93,7 @@ @Retention(RUNTIME) @Target({PACKAGE,FIELD,METHOD,TYPE,PARAMETER}) public @interface XmlJavaTypeAdapter { /** - * Points to the clsss that converts a value type to a bound type or vice versa. + * Points to the class that converts a value type to a bound type or vice versa. * See {@link XmlAdapter} for more details. */ Class value(); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/AttachmentPart.java --- a/src/share/jaxws_classes/javax/xml/soap/AttachmentPart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/AttachmentPart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/Detail.java --- a/src/share/jaxws_classes/javax/xml/soap/Detail.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/Detail.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/DetailEntry.java --- a/src/share/jaxws_classes/javax/xml/soap/DetailEntry.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/DetailEntry.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/FactoryFinder.java --- a/src/share/jaxws_classes/javax/xml/soap/FactoryFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/FactoryFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 @@ -39,16 +39,12 @@ * or could not be instantiated */ private static Object newInstance(String className, - ClassLoader classLoader) + ClassLoader classLoader, + String defaultFactoryClass) throws SOAPException { try { - Class spiClass; - if (classLoader == null) { - spiClass = Class.forName(className); - } else { - spiClass = classLoader.loadClass(className); - } + Class spiClass = safeLoadClass(className, classLoader, defaultFactoryClass); return spiClass.newInstance(); } catch (ClassNotFoundException x) { throw new SOAPException( @@ -73,68 +69,10 @@ * a system property * @exception SOAPException if there is a SOAP error */ - static Object find(String factId) + static Object find(String factoryId) throws SOAPException { - final ClassLoader classLoader; - final String factoryId = factId; - try { - classLoader = Thread.currentThread().getContextClassLoader(); - } catch (Exception x) { - throw new SOAPException(x.toString(), x); - } - - // Use the system property first - try { - String systemProp = - System.getProperty( factoryId ); - if( systemProp!=null) { - return newInstance(systemProp, classLoader); - } - } catch (SecurityException se) { - } - - // try to read from $java.home/lib/jaxm.properties - try { - String javah=System.getProperty( "java.home" ); - String configFile = javah + File.separator + - "lib" + File.separator + "jaxm.properties"; - final File f=new File( configFile ); - if( f.exists()) { - Properties props=new Properties(); - props.load( new FileInputStream(f)); - String factoryClassName = props.getProperty(factoryId); - return newInstance(factoryClassName, classLoader); - } - } catch(Exception ex ) { - } - - String serviceId = "META-INF/services/" + factoryId; - // try to find services in CLASSPATH - try { - InputStream is=null; - if (classLoader == null) { - is=ClassLoader.getSystemResourceAsStream(serviceId); - } else { - is=classLoader.getResourceAsStream(serviceId); - } - - if( is!=null ) { - BufferedReader rd = - new BufferedReader(new InputStreamReader(is, "UTF-8")); - - String factoryClassName = rd.readLine(); - rd.close(); - - if (factoryClassName != null && - ! "".equals(factoryClassName)) { - return newInstance(factoryClassName, classLoader); - } - } - } catch( Exception ex ) { - } - - return null; + return find(factoryId, null, false); } /** @@ -160,11 +98,35 @@ static Object find(String factoryId, String fallbackClassName) throws SOAPException { + return find(factoryId, fallbackClassName, true); + } - Object obj = find(factoryId); - if (obj != null) - return obj; - + /** + * Finds the implementation Class object for the given + * factory name, or if that fails, finds the Class object + * for the given default class name, but only if tryFallback + * is true. The arguments supplied must be used in order + * If using the first argument is successful, the second one will not + * be used. Note the default class name may be needed even if fallback + * is not to be attempted, so certain error condiitons can be handled. + *

          + * This method is package private so that this code can be shared. + * + * @return the Class object of the specified message factory; + * may not be null + * + * @param factoryId the name of the factory to find, which is + * a system property + * @param defaultClassName the implementation class name, which is + * to be used only if nothing else + * is found; null to indicate + * that there is no default class name + * @param tryFallback whether to try the default class as a + * fallback + * @exception SOAPException if there is a SOAP error + */ + static Object find(String factoryId, String defaultClassName, + boolean tryFallback) throws SOAPException { ClassLoader classLoader; try { classLoader = Thread.currentThread().getContextClassLoader(); @@ -172,11 +134,99 @@ throw new SOAPException(x.toString(), x); } - if (fallbackClassName == null) { + // Use the system property first + try { + String systemProp = + System.getProperty( factoryId ); + if( systemProp!=null) { + return newInstance(systemProp, classLoader, defaultClassName); + } + } catch (SecurityException se) { + } + + // try to read from $java.home/lib/jaxm.properties + try { + String javah=System.getProperty( "java.home" ); + String configFile = javah + File.separator + + "lib" + File.separator + "jaxm.properties"; + File f=new File( configFile ); + if( f.exists()) { + Properties props=new Properties(); + props.load( new FileInputStream(f)); + String factoryClassName = props.getProperty(factoryId); + return newInstance(factoryClassName, classLoader, defaultClassName); + } + } catch(Exception ex ) { + } + + String serviceId = "META-INF/services/" + factoryId; + // try to find services in CLASSPATH + try { + InputStream is=null; + if (classLoader == null) { + is=ClassLoader.getSystemResourceAsStream(serviceId); + } else { + is=classLoader.getResourceAsStream(serviceId); + } + + if( is!=null ) { + BufferedReader rd = + new BufferedReader(new InputStreamReader(is, "UTF-8")); + + String factoryClassName = rd.readLine(); + rd.close(); + + if (factoryClassName != null && + ! "".equals(factoryClassName)) { + return newInstance(factoryClassName, classLoader, defaultClassName); + } + } + } catch( Exception ex ) { + } + + // If not found and fallback should not be tried, return a null result. + if (!tryFallback) + return null; + + // We didn't find the class through the usual means so try the default + // (built in) factory if specified. + if (defaultClassName == null) { throw new SOAPException( "Provider for " + factoryId + " cannot be found", null); } + return newInstance(defaultClassName, classLoader, defaultClassName); + } - return newInstance(fallbackClassName, classLoader); + /** + * Loads the class, provided that the calling thread has an access to the + * class being loaded. If this is the specified default factory class and it + * is restricted by package.access we get a SecurityException and can do a + * Class.forName() on it so it will be loaded by the bootstrap class loader. + */ + private static Class safeLoadClass(String className, + ClassLoader classLoader, String defaultFactoryClass) + throws ClassNotFoundException { + try { + // make sure that the current thread has an access to the package of the given name. + SecurityManager s = System.getSecurityManager(); + if (s != null) { + int i = className.lastIndexOf('.'); + if (i != -1) { + s.checkPackageAccess(className.substring(0, i)); + } + } + + if (classLoader == null) + return Class.forName(className); + else + return classLoader.loadClass(className); + } catch (SecurityException se) { + // The FactoryFinder is in the bootstrap class loader, so + // the following should work, but we only attempt it + // if it the the default class. + if (className.equals(defaultFactoryClass)) + return Class.forName(className); + throw se; + } } } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/MessageFactory.java --- a/src/share/jaxws_classes/javax/xml/soap/MessageFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/MessageFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 @@ -100,11 +100,11 @@ throws SOAPException { try { MessageFactory factory = (MessageFactory) - FactoryFinder.find(MESSAGE_FACTORY_PROPERTY); + FactoryFinder.find(MESSAGE_FACTORY_PROPERTY, + DEFAULT_MESSAGE_FACTORY, false); if (factory != null) return factory; - return newInstance(SOAPConstants.SOAP_1_1_PROTOCOL); } catch (Exception ex) { throw new SOAPException( diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/MimeHeader.java --- a/src/share/jaxws_classes/javax/xml/soap/MimeHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/MimeHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/MimeHeaders.java --- a/src/share/jaxws_classes/javax/xml/soap/MimeHeaders.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/MimeHeaders.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/Name.java --- a/src/share/jaxws_classes/javax/xml/soap/Name.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/Name.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/Node.java --- a/src/share/jaxws_classes/javax/xml/soap/Node.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/Node.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SAAJMetaFactory.java --- a/src/share/jaxws_classes/javax/xml/soap/SAAJMetaFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SAAJMetaFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SAAJResult.java --- a/src/share/jaxws_classes/javax/xml/soap/SAAJResult.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SAAJResult.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPBody.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPBody.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPBody.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPBodyElement.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPBodyElement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPBodyElement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPConnection.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPConnection.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPConnection.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPConnectionFactory.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPConnectionFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPConnectionFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPConstants.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPConstants.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPConstants.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPElement.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPElement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPElement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPElementFactory.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPElementFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPElementFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPEnvelope.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPEnvelope.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPEnvelope.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPException.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPException.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPException.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPFactory.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 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 @@ -54,6 +54,14 @@ "javax.xml.soap.SOAPFactory"; /** + * A constant representing the name of the default SOAPFactory + * factory class to be used if another cannot be found. + * a SOAPFactory implementation class. + */ + static private final String DEFAULT_SOAP_FACTORY + = "com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl"; + + /** * Creates a SOAPElement object from an existing DOM * Element. If the DOM Element that is passed in * as an argument is already a SOAPElement then this method @@ -255,7 +263,8 @@ throws SOAPException { try { - SOAPFactory factory = (SOAPFactory) FactoryFinder.find(SOAP_FACTORY_PROPERTY); + SOAPFactory factory = (SOAPFactory) FactoryFinder.find( + SOAP_FACTORY_PROPERTY, DEFAULT_SOAP_FACTORY, false); if (factory != null) return factory; return newInstance(SOAPConstants.SOAP_1_1_PROTOCOL); diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPFault.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPFault.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPFault.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPFaultElement.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPFaultElement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPFaultElement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPHeader.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPHeader.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPHeader.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPHeaderElement.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPHeaderElement.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPHeaderElement.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPMessage.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPMessage.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPMessage.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/SOAPPart.java --- a/src/share/jaxws_classes/javax/xml/soap/SOAPPart.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/SOAPPart.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/soap/Text.java --- a/src/share/jaxws_classes/javax/xml/soap/Text.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/soap/Text.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 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 diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/WebServiceRefs.java --- a/src/share/jaxws_classes/javax/xml/ws/WebServiceRefs.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/WebServiceRefs.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -40,7 +40,7 @@ * It can be used to inject both service and proxy * instances. These injected references are not thread safe. * If the references are accessed by multiple threads, - * usual synchronization techinques can be used to + * usual synchronization techniques can be used to * support multiple threads. * *

          diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/handler/Handler.java --- a/src/share/jaxws_classes/javax/xml/ws/handler/Handler.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/handler/Handler.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -77,7 +77,7 @@ /** * Called at the conclusion of a message exchange pattern just prior to - * the JAX-WS runtime disptaching a message, fault or exception. Refer to + * the JAX-WS runtime dispatching a message, fault or exception. Refer to * the description of the handler * framework in the JAX-WS specification for full details. * diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/soap/AddressingFeature.java --- a/src/share/jaxws_classes/javax/xml/ws/soap/AddressingFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/soap/AddressingFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -27,7 +27,6 @@ import javax.xml.ws.WebServiceFeature; import javax.xml.ws.Endpoint; -import javax.xml.ws.Dispatch; import javax.xml.ws.Service; /** @@ -36,7 +35,7 @@ * with any other binding is undefined. *

          * This feature can be used during the creation of SEI proxy, and - * {@link Dispatch} instances on the client side and {@link Endpoint} + * {@link javax.xml.ws.Dispatch} instances on the client side and {@link Endpoint} * instances on the server side. This feature cannot be used for {@link Service} * instance creation on the client side. *

          @@ -127,8 +126,8 @@ * requires WS-Addressing. If required is true, WS-Addressing headers MUST * be present on incoming and outgoing messages. */ - // didn't make it as private final for compatibility - protected /* final */ boolean required; + // should be private final, keeping original modifier due to backwards compatibility + protected boolean required; /** * If addressing is enabled, this property determines if endpoint requires diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/soap/MTOMFeature.java --- a/src/share/jaxws_classes/javax/xml/ws/soap/MTOMFeature.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/soap/MTOMFeature.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -27,7 +27,6 @@ import javax.xml.ws.WebServiceFeature; import javax.xml.ws.WebServiceException; -import javax.xml.ws.Dispatch; import javax.xml.ws.Endpoint; import javax.xml.ws.Service; @@ -36,7 +35,7 @@ * web service. * * This feature can be used during the creation of SEI proxy, and - * {@link Dispatch} instances on the client side and {@link Endpoint} + * {@link javax.xml.ws.Dispatch} instances on the client side and {@link Endpoint} * instances on the server side. This feature cannot be used for {@link Service} * instance creation on the client side. * @@ -70,7 +69,8 @@ * as attachment. * The value of this property MUST always be >= 0. Default value is 0. */ - protected int threshold = 0; + // should be changed to private final, keeping original modifier to keep backwards compatibility + protected int threshold; /** @@ -79,6 +79,7 @@ */ public MTOMFeature() { this.enabled = true; + this.threshold = 0; } /** @@ -88,6 +89,7 @@ */ public MTOMFeature(boolean enabled) { this.enabled = enabled; + this.threshold = 0; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/spi/FactoryFinder.java --- a/src/share/jaxws_classes/javax/xml/ws/spi/FactoryFinder.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/spi/FactoryFinder.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -25,13 +25,9 @@ package javax.xml.ws.spi; -import java.io.InputStream; -import java.io.File; -import java.io.FileInputStream; +import java.io.*; import java.util.Properties; -import java.io.BufferedReader; -import java.io.InputStreamReader; import javax.xml.ws.WebServiceException; class FactoryFinder { @@ -93,8 +89,9 @@ String serviceId = "META-INF/services/" + factoryId; // try to find services in CLASSPATH + BufferedReader rd = null; try { - InputStream is=null; + InputStream is; if (classLoader == null) { is=ClassLoader.getSystemResourceAsStream(serviceId); } else { @@ -102,22 +99,23 @@ } if( is!=null ) { - BufferedReader rd = - new BufferedReader(new InputStreamReader(is, "UTF-8")); + rd = new BufferedReader(new InputStreamReader(is, "UTF-8")); String factoryClassName = rd.readLine(); - rd.close(); if (factoryClassName != null && ! "".equals(factoryClassName)) { return newInstance(factoryClassName, classLoader); } } - } catch( Exception ex ) { + } catch( Exception ignored) { + } finally { + close(rd); } // try to read from $java.home/lib/jaxws.properties + FileInputStream inStream = null; try { String javah=System.getProperty( "java.home" ); String configFile = javah + File.separator + @@ -125,14 +123,16 @@ File f=new File( configFile ); if( f.exists()) { Properties props=new Properties(); - props.load( new FileInputStream(f)); + inStream = new FileInputStream(f); + props.load(inStream); String factoryClassName = props.getProperty(factoryId); return newInstance(factoryClassName, classLoader); } - } catch(Exception ex ) { + } catch(Exception ignored) { + } finally { + close(inStream); } - // Use the system property try { String systemProp = @@ -140,7 +140,7 @@ if( systemProp!=null) { return newInstance(systemProp, classLoader); } - } catch (SecurityException se) { + } catch (SecurityException ignored) { } if (fallbackClassName == null) { @@ -151,6 +151,15 @@ return newInstance(fallbackClassName, classLoader); } + private static void close(Closeable closeable) { + if (closeable != null) { + try { + closeable.close(); + } catch (IOException ignored) { + } + } + } + /** * Loads the class, provided that the calling thread has an access to the class being loaded. @@ -184,7 +193,7 @@ try { Class.forName(OSGI_SERVICE_LOADER_CLASS_NAME); return true; - } catch (ClassNotFoundException cnfe) { + } catch (ClassNotFoundException ignored) { } return false; } @@ -196,9 +205,9 @@ Class[] args = new Class[]{serviceClass}; Class target = Class.forName(OSGI_SERVICE_LOADER_CLASS_NAME); java.lang.reflect.Method m = target.getMethod("lookupProviderInstances", Class.class); - java.util.Iterator iter = ((Iterable) m.invoke(null, args)).iterator(); + java.util.Iterator iter = ((Iterable) m.invoke(null, (Object[]) args)).iterator(); return iter.hasNext() ? iter.next() : null; - } catch (Exception e) { + } catch (Exception ignored) { // log and continue return null; } diff -r 26c840af7720 -r a5e7c2f093c9 src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java --- a/src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java Thu Apr 11 09:40:09 2013 -0700 +++ b/src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java Tue Apr 16 08:11:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -71,6 +71,11 @@ private final static JAXBContext w3cjc = getW3CJaxbContext(); + // should be changed to package private, keeping original modifier to keep backwards compatibility + protected static final String NS = "http://www.w3.org/2005/08/addressing"; + + // default constructor forbidden ... + // should be private, keeping original modifier to keep backwards compatibility protected W3CEndpointReference() { } @@ -137,6 +142,7 @@ List elements; + @XmlType(name="address", namespace=W3CEndpointReference.NS) private static class Address { protected Address() {} @XmlValue @@ -146,6 +152,7 @@ } + @XmlType(name="elements", namespace=W3CEndpointReference.NS) private static class Elements { protected Elements() {} @XmlAnyElement @@ -154,5 +161,4 @@ Map attributes; } - protected static final String NS = "http://www.w3.org/2005/08/addressing"; }