getVisibleNamespacePrefixes();
/**
* Creates a {@code QName} whose namespace URI is the one associated
@@ -429,7 +429,7 @@
* {@link Node}s of this element. This includes {@code javax.xml.soap.Text}
* objects as well as {@code SOAPElement} objects.
*
- * Calling this method may cause child {@code Element},
+ * Calling this method must cause child {@code Element},
* {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be
* replaced by {@code SOAPElement}, {@code SOAPHeaderElement},
* {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as
@@ -444,14 +444,14 @@
* @return an iterator with the content of this {@code SOAPElement}
* object
*/
- public Iterator getChildElements();
+ public Iterator getChildElements();
/**
* Returns an {@code Iterator} over all the immediate child
* {@link Node}s of this element with the specified name. All of these
* children will be {@code SOAPElement} nodes.
*
- * Calling this method may cause child {@code Element},
+ * Calling this method must cause child {@code Element},
* {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be
* replaced by {@code SOAPElement}, {@code SOAPHeaderElement},
* {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as
@@ -471,14 +471,14 @@
* specified name
* @see SOAPElement#getChildElements(javax.xml.namespace.QName)
*/
- public Iterator getChildElements(Name name);
+ public Iterator getChildElements(Name name);
/**
* Returns an {@code Iterator} over all the immediate child
* {@link Node}s of this element with the specified qname. All of these
* children will be {@code SOAPElement} nodes.
*
- * Calling this method may cause child {@code Element},
+ * Calling this method must cause child {@code Element},
* {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be
* replaced by {@code SOAPElement}, {@code SOAPHeaderElement},
* {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as
@@ -499,7 +499,7 @@
* @see SOAPElement#getChildElements(Name)
* @since 1.6, SAAJ 1.3
*/
- public Iterator getChildElements(QName qname);
+ public Iterator getChildElements(QName qname);
/**
* Sets the encoding style for this {@code SOAPElement} object
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPElementFactory.java 2017-05-03 18:06:16.623094233 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPElementFactory.java 2017-05-03 18:06:16.515094236 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +103,9 @@
* @param uri a {@code String} giving the URI of the
* namespace to which the new element belongs
*
+ * @return the new {@code SOAPElement} object that was
+ * created
+ *
* @exception SOAPException if there is an error in creating the
* {@code SOAPElement} object
*
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPException.java 2017-05-03 18:06:17.127094218 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPException.java 2017-05-03 18:06:17.031094221 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -83,6 +83,9 @@
/**
* Constructs a {@code SOAPException} object initialized
* with the given {@code Throwable} object.
+ *
+ * @param cause a {@code Throwable} object that is to
+ * be embedded in this {@code SOAPException} object
*/
public SOAPException(Throwable cause) {
super(cause.toString());
@@ -103,6 +106,7 @@
* message of the embedded {@code Throwable} object,
* if there is one
*/
+ @Override
public String getMessage() {
String message = super.getMessage();
if (message == null && cause != null) {
@@ -121,6 +125,7 @@
* if there is none
*/
+ @Override
public Throwable getCause() {
return cause;
}
@@ -151,6 +156,7 @@
* @throws IllegalStateException if the cause for this {@code SOAPException} object
* has already been initialized
*/
+ @Override
public synchronized Throwable initCause(Throwable cause) {
if (this.cause != null) {
throw new IllegalStateException("Can't override cause");
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPFactory.java 2017-05-03 18:06:17.651094202 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPFactory.java 2017-05-03 18:06:17.535094206 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -150,6 +150,8 @@
* @param prefix the prefix for this {@code SOAPElement}
* @param uri a {@code String} giving the URI of the
* namespace to which the new element belongs
+ * @return the new {@code SOAPElement} object that was
+ * created
*
* @exception SOAPException if there is an error in creating the
* {@code SOAPElement} object
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPFault.java 2017-05-03 18:06:18.159094188 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPFault.java 2017-05-03 18:06:18.063094190 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,7 +162,7 @@
*
* @since 1.6, SAAJ 1.3
*/
- public Iterator getFaultSubcodes();
+ public Iterator getFaultSubcodes();
/**
* Removes any Subcodes that may be contained by this
@@ -381,7 +381,7 @@
*
* @since 1.6, SAAJ 1.3
*/
- public Iterator getFaultReasonLocales() throws SOAPException;
+ public Iterator getFaultReasonLocales() throws SOAPException;
/**
* Returns an {@code Iterator} over a sequence of
@@ -397,7 +397,7 @@
*
* @since 1.6, SAAJ 1.3
*/
- public Iterator getFaultReasonTexts() throws SOAPException;
+ public Iterator getFaultReasonTexts() throws SOAPException;
/**
* Returns the Reason Text associated with the given {@code Locale}.
@@ -468,6 +468,8 @@
* this {@code SOAPFault} object. The Node element
* is optional in SOAP 1.2.
*
+ * @param uri - the URI of the Node
+ *
* @exception SOAPException if there was an error in setting the
* Node for this {@code SOAPFault} object.
* @exception UnsupportedOperationException if this message does not
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPHeader.java 2017-05-03 18:06:18.667094173 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPHeader.java 2017-05-03 18:06:18.559094176 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,7 +118,7 @@
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator examineMustUnderstandHeaderElements(String actor);
+ public Iterator examineMustUnderstandHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
@@ -144,7 +144,7 @@
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
- public Iterator examineHeaderElements(String actor);
+ public Iterator examineHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
@@ -168,7 +168,7 @@
* @see #examineHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
- public Iterator extractHeaderElements(String actor);
+ public Iterator extractHeaderElements(String actor);
/**
* Creates a new NotUnderstood {@code SOAPHeaderElement} object initialized
@@ -199,7 +199,7 @@
* @exception SOAPException if a SOAP error occurs.
* @since 1.6, SAAJ 1.3
*/
- public SOAPHeaderElement addUpgradeHeaderElement(Iterator supportedSOAPURIs)
+ public SOAPHeaderElement addUpgradeHeaderElement(Iterator supportedSOAPURIs)
throws SOAPException;
/**
@@ -243,7 +243,7 @@
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator examineAllHeaderElements();
+ public Iterator examineAllHeaderElements();
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
@@ -258,6 +258,6 @@
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator extractAllHeaderElements();
+ public Iterator extractAllHeaderElements();
}
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPMessage.java 2017-05-03 18:06:19.163094158 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPMessage.java 2017-05-03 18:06:19.063094161 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -205,7 +205,7 @@
*
* @return an iterator over all the attachments in this message
*/
- public abstract Iterator getAttachments();
+ public abstract Iterator getAttachments();
/**
* Retrieves all the {@code AttachmentPart} objects that have header
@@ -217,7 +217,7 @@
* @return an iterator over all attachments that have a header that matches
* one of the given headers
*/
- public abstract Iterator getAttachments(MimeHeaders headers);
+ public abstract Iterator getAttachments(MimeHeaders headers);
/**
* Removes all the {@code AttachmentPart} objects that have header
@@ -266,12 +266,14 @@
* object. An {@code AttachmentPart} object must be created before
* it can be added to a message.
*
- * @param AttachmentPart
- * an {@code AttachmentPart} object that is to become part
+ * @param attachmentPart
+ * an {@code attachmentPart} object that is to become part
* of this {@code SOAPMessage} object
* @exception IllegalArgumentException
+ * if there was a problem with the specified {@code attachmentPart}
+ * object
*/
- public abstract void addAttachmentPart(AttachmentPart AttachmentPart);
+ public abstract void addAttachmentPart(AttachmentPart attachmentPart);
/**
* Creates a new empty {@code AttachmentPart} object. Note that the
--- old/src/java.xml.ws/share/classes/javax/xml/soap/SOAPPart.java 2017-05-03 18:06:19.675094143 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/SOAPPart.java 2017-05-03 18:06:19.571094146 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -213,7 +213,7 @@
* @return an {@code Iterator} object with all of the Mime
* headers for this {@code SOAPPart} object
*/
- public abstract Iterator getAllMimeHeaders();
+ public abstract Iterator getAllMimeHeaders();
/**
* Retrieves all {@code MimeHeader} objects that match a name in
@@ -224,7 +224,7 @@
* @return all of the MIME headers that match one of the names in the
* given array, returned as an {@code Iterator} object
*/
- public abstract Iterator getMatchingMimeHeaders(String[] names);
+ public abstract Iterator getMatchingMimeHeaders(String[] names);
/**
* Retrieves all {@code MimeHeader} objects whose name does
@@ -237,7 +237,7 @@
* given array. The nonmatching MIME headers are returned as an
* {@code Iterator} object.
*/
- public abstract Iterator getNonMatchingMimeHeaders(String[] names);
+ public abstract Iterator getNonMatchingMimeHeaders(String[] names);
/**
* Sets the content of the {@code SOAPEnvelope} object with the data
--- old/src/java.xml.ws/share/classes/javax/xml/soap/ServiceLoaderUtil.java 2017-05-03 18:06:20.167094129 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/ServiceLoaderUtil.java 2017-05-03 18:06:20.067094132 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -46,8 +46,7 @@
ServiceLoader serviceLoader = ServiceLoader.load(spiClass);
for (P impl : serviceLoader) {
- logger.fine("ServiceProvider loading Facility used; returning object [" +
- impl.getClass().getName() + "]");
+ logger.log(Level.FINE, "ServiceProvider loading Facility used; returning object [{0}]", impl.getClass().getName());
return impl;
}
--- old/src/java.xml.ws/share/classes/javax/xml/soap/package-info.java 2017-05-03 18:06:20.659094115 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/soap/package-info.java 2017-05-03 18:06:20.551094118 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,7 @@
/**
* Provides the API for creating and building SOAP messages. This package
- * is defined in the SOAP with Attachments API for JavaTM
+ * is defined in the SOAP with Attachments API for JavaTM
* (SAAJ) 1.4 specification.
*
*
The API in the javax.xml.soap
package allows you to do the following:
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Action.java 2017-05-03 18:06:21.199094099 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Action.java 2017-05-03 18:06:21.099094102 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -129,12 +129,16 @@
/**
* Explicit value of the WS-Addressing {@code Action} message addressing property for the {@code input}
* message of the operation.
+ *
+ * @return {@code Action} message addressing property for the {@code input} message
*/
String input() default "";
/**
* Explicit value of the WS-Addressing {@code Action} message addressing property for the {@code output}
* message of the operation.
+ *
+ * @return {@code Action} message addressing property for the {@code output} message
*/
String output() default "";
@@ -143,6 +147,8 @@
* message(s) of the operation. Each exception that is mapped to a fault and requires an explicit WS-Addressing
* {@code Action} message addressing property, needs to be specified as a value in this property
* using {@link FaultAction} annotation.
+ *
+ * @return {@code Action} message addressing property for the {@code fault} message(s)
*/
FaultAction[] fault() default { };
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/AsyncHandler.java 2017-05-03 18:06:21.699094084 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/AsyncHandler.java 2017-05-03 18:06:21.595094087 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 @@
* clients that wish to receive callback notification of the completion of
* service endpoint operations invoked asynchronously.
*
+ * @param The type of the message or payload
* @since 1.6, JAX-WS 2.0
**/
public interface AsyncHandler {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/BindingProvider.java 2017-05-03 18:06:22.191094070 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/BindingProvider.java 2017-05-03 18:06:22.095094073 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -164,6 +164,7 @@
* this {@code BindingProvider} instance. The instance
* returned will be of type {@code clazz}.
*
+ * @param the type of {@code EndpointReference}
* @param clazz Specifies the type of {@code EndpointReference}
* that MUST be returned.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/BindingType.java 2017-05-03 18:06:22.683094055 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/BindingType.java 2017-05-03 18:06:22.583094058 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,13 +30,15 @@
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
+import javax.xml.ws.http.HTTPBinding;
+import javax.xml.ws.soap.SOAPBinding;
/**
* The {@code BindingType} annotation is used to
* specify the binding to use for a web service
* endpoint implementation class.
*
- * This annotation may be overriden programmatically or via
+ * This annotation may be overridden programmatically or via
* deployment descriptors, depending on the platform in use.
*
* @since 1.6, JAX-WS 2.0
@@ -47,12 +49,11 @@
@Documented
public @interface BindingType {
/**
- * A binding identifier (a URI).
- * If not specified, the default is the SOAP 1.1 / HTTP binding.
- *
- * See the {@code SOAPBinding} and {@code HTTPBinding}
+ * A binding identifier (a URI). If not specified, the default is the SOAP 1.1 / HTTP binding.
+ * See the {@link SOAPBinding} and {@link HTTPBinding}
* for the definition of the standard binding identifiers.
*
+ * @return A binding identifier (a URI)
* @see javax.xml.ws.Binding
* @see javax.xml.ws.soap.SOAPBinding#SOAP11HTTP_BINDING
* @see javax.xml.ws.soap.SOAPBinding#SOAP12HTTP_BINDING
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Dispatch.java 2017-05-03 18:06:23.191094041 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Dispatch.java 2017-05-03 18:06:23.091094043 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,12 +27,14 @@
import java.util.concurrent.Future;
+
/** The {@code Dispatch} interface provides support
* for the dynamic invocation of a service endpoint operations. The
* {@code javax.xml.ws.Service}
* class acts as a factory for the creation of {@code Dispatch}
* instances.
*
+ * @param The type of the message or payload
* @since 1.6, JAX-WS 2.0
**/
public interface Dispatch extends BindingProvider {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Endpoint.java 2017-05-03 18:06:23.691094026 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Endpoint.java 2017-05-03 18:06:23.595094029 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,7 +81,6 @@
**/
public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
-
/**
* Creates an endpoint with the specified implementor object. If there is
* a binding specified via a BindingType annotation then it MUST be used else
@@ -272,7 +271,6 @@
return Provider.provider().createAndPublishEndpoint(address, implementor, features);
}
-
/**
* Publishes this endpoint at the provided server context.
* A server context encapsulates the server infrastructure
@@ -406,7 +404,6 @@
**/
public abstract void setExecutor(java.util.concurrent.Executor executor);
-
/**
* Returns the property bag for this {@code Endpoint} instance.
*
@@ -450,11 +447,11 @@
**/
public abstract EndpointReference getEndpointReference(Element... referenceParameters);
-
/**
* Returns the {@code EndpointReference} associated with
* this {@code Endpoint} instance.
*
+ * @param The type of EndpointReference.
* @param clazz Specifies the type of EndpointReference that MUST be returned.
* @param referenceParameters Reference parameters to be associated with the
* returned {@code EndpointReference} instance.
@@ -478,7 +475,7 @@
Element... referenceParameters);
/**
- * By settng a {@code EndpointContext}, JAX-WS runtime knows about
+ * By setting a {@code EndpointContext}, JAX-WS runtime knows about
* addresses of other endpoints in an application. If multiple endpoints
* share different ports of a WSDL, then the multiple port addresses
* are patched when the WSDL is accessed.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/EndpointReference.java 2017-05-03 18:06:24.203094011 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/EndpointReference.java 2017-05-03 18:06:24.095094014 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,10 @@
//
//Default constructor to be only called by derived types.
//
+
+ /**
+ * Default constructor.
+ */
protected EndpointReference(){}
/**
@@ -150,6 +154,7 @@
* method can be used to manually configure handlers for this port.
*
*
+ * @param Service endpoint interface
* @param serviceEndpointInterface Service endpoint interface
* @param features An array of {@code WebServiceFeatures} to configure on the
* proxy. Supported features not in the {@code features
@@ -183,7 +188,10 @@
/**
* Displays EPR infoset for debugging convenience.
+ *
+ * @return a string representation of the object
*/
+ @Override
public String toString() {
StringWriter w = new StringWriter();
writeTo(new StreamResult(w));
--- old/src/java.xml.ws/share/classes/javax/xml/ws/FaultAction.java 2017-05-03 18:06:24.723093996 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/FaultAction.java 2017-05-03 18:06:24.623093999 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -153,12 +153,16 @@
@Target(ElementType.METHOD)
public @interface FaultAction {
/**
- * Name of the exception class
+ * Name of the exception class.
+ *
+ * @return the name of the exception class
*/
Class extends Exception> className();
/**
- * Value of WS-Addressing {@code Action} message addressing property for the exception
+ * Value of WS-Addressing {@code Action} message addressing property for the exception.
+ *
+ * @return WS-Addressing {@code Action} message addressing property for the exception
*/
String value() default "";
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Holder.java 2017-05-03 18:06:25.227093981 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Holder.java 2017-05-03 18:06:25.127093984 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 @@
/**
* Holds a value of type {@code T}.
*
+ * @param Type of the value in the holder.
* @since 1.6, JAX-WS 2.0
*/
public final class Holder implements Serializable {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Provider.java 2017-05-03 18:06:25.775093965 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Provider.java 2017-05-03 18:06:25.639093969 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 @@
* the {@code Provider} instance will receive entire protocol messages
* or just message payloads.
*
+ * @param The type of the request
* @since 1.6, JAX-WS 2.0
*
* @see javax.xml.transform.Source
@@ -46,7 +47,7 @@
**/
public interface Provider {
- /** Invokes an operation occording to the contents of the request
+ /** Invokes an operation according to the contents of the request
* message.
*
* @param request The request message or message payload.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/RequestWrapper.java 2017-05-03 18:06:26.287093950 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/RequestWrapper.java 2017-05-03 18:06:26.175093953 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,22 +49,26 @@
public @interface RequestWrapper {
/**
* Element's local name.
+ * @return local name
*/
public String localName() default "";
/**
* Element's namespace name.
+ * @return target namespace name
*/
public String targetNamespace() default "";
/**
* Request wrapper bean name.
+ * @return bean name
*/
public String className() default "";
/**
* wsdl:part name for the wrapper part
*
+ * @return wsdl:part name
* @since 1.7, JAX-WS 2.2
*/
public String partName() default "";
--- old/src/java.xml.ws/share/classes/javax/xml/ws/RespectBinding.java 2017-05-03 18:06:26.995093929 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/RespectBinding.java 2017-05-03 18:06:26.895093932 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +63,8 @@
public @interface RespectBinding {
/**
* Specifies if this feature is enabled or disabled.
+ *
+ * @return {@code true} if this feature is enabled, {@code false} otherwise
*/
boolean enabled() default true;
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Response.java 2017-05-03 18:06:27.515093914 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Response.java 2017-05-03 18:06:27.395093918 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,9 +36,10 @@
* to check the status of the request. The {@code get(...)} methods may
* throw the standard
* set of exceptions and their cause may be a {@code RemoteException} or a
- * {@link WebServiceException} that represents the error that occured during the
+ * {@link WebServiceException} that represents the error that occurred during the
* asynchronous method invocation.
*
+ * @param The type of the response
* @since 1.6, JAX-WS 2.0
**/
public interface Response extends Future {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/ResponseWrapper.java 2017-05-03 18:06:28.039093899 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/ResponseWrapper.java 2017-05-03 18:06:27.935093902 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,22 +49,26 @@
/**
* Element's local name.
+ * @return local name
*/
public String localName() default "";
/**
* Element's namespace name.
+ * @return target namespace name
*/
public String targetNamespace() default "";
/**
* Response wrapper bean name.
+ * @return bean name
*/
public String className() default "";
/**
* wsdl:part name for the wrapper part
*
+ * @return wsdl:part name
* @since 1.7, JAX-WS 2.2
*/
public String partName() default "";
--- old/src/java.xml.ws/share/classes/javax/xml/ws/Service.java 2017-05-03 18:06:28.531093884 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/Service.java 2017-05-03 18:06:28.435093887 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,14 +71,48 @@
* access to entire protocol message, {@code PAYLOAD} to protocol message
* payload only.
**/
- public enum Mode { MESSAGE, PAYLOAD }
+ public enum Mode {
+ /**
+ * Message mode.
+ */
+ MESSAGE,
+
+ /**
+ * Payload mode.
+ */
+ PAYLOAD }
+
+ /**
+ * Creates a {@code Service}.
+ *
+ * The specified WSDL document location and service qualified name MUST
+ * uniquely identify a {@code wsdl:service} element.
+ *
+ * @param wsdlDocumentLocation {@code URL} for the WSDL document location
+ * for the service
+ * @param serviceName {@code QName} for the service
+ */
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,
this.getClass());
}
+ /**
+ * Creates a {@code Service}. The created instance is
+ * configured with the web service features.
+ *
+ * The specified WSDL document location and service qualified name MUST
+ * uniquely identify a {@code wsdl:service} element.
+ *
+ * @param wsdlDocumentLocation {@code URL} for the WSDL document location
+ * for the service
+ * @param serviceName {@code QName} for the service
+ * @param features Web Service features that must be configured on
+ * the service. If the provider doesn't understand a feature,
+ * it must throw a WebServiceException.
+ */
protected Service(java.net.URL wsdlDocumentLocation, QName serviceName, WebServiceFeature ... features) {
delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation,
serviceName,
@@ -93,6 +127,7 @@
* specifies the service endpoint interface that is supported by
* the created dynamic proxy instance.
*
+ * @param Service endpoint interface.
* @param portName Qualified name of the service endpoint in
* the WSDL service description.
* @param serviceEndpointInterface Service endpoint interface
@@ -126,6 +161,7 @@
* specifies the service endpoint interface that is supported by
* the created dynamic proxy instance.
*
+ * @param Service endpoint interface.
* @param portName Qualified name of the service endpoint in
* the WSDL service description.
* @param serviceEndpointInterface Service endpoint interface
@@ -170,6 +206,7 @@
* binding (and a port) and configuring the proxy accordingly.
* The returned proxy should not be reconfigured by the client.
*
+ * @param Service endpoint interface.
* @param serviceEndpointInterface Service endpoint interface.
* @return Object instance that supports the
* specified service endpoint interface.
@@ -190,14 +227,14 @@
/**
- * The {@code getPort} method returns a proxy. The parameter
- * {@code serviceEndpointInterface} specifies the service
- * endpoint interface that is supported by the returned proxy.
- * In the implementation of this method, the JAX-WS
- * runtime system takes the responsibility of selecting a protocol
- * binding (and a port) and configuring the proxy accordingly.
- * The returned proxy should not be reconfigured by the client.
+ * The {@code getPort} method returns a proxy.The parameter
+ {@code serviceEndpointInterface} specifies the service
+ endpoint interface that is supported by the returned proxy. In the implementation of this method, the JAX-WS
+ runtime system takes the responsibility of selecting a protocol
+ binding (and a port) and configuring the proxy accordingly.
+ The returned proxy should not be reconfigured by the client.
*
+ * @param Service endpoint interface.
* @param serviceEndpointInterface Service endpoint interface.
* @param features A list of WebServiceFeatures to configure on the
* proxy. Supported features not in the {@code features
@@ -267,6 +304,7 @@
* {@code serviceEndpointInterface} and the WSDL
* associated with this {@code Service} instance.
*
+ * @param Service endpoint interface.
* @param endpointReference The {@code EndpointReference}
* for the target service endpoint that will be invoked by the
* returned proxy.
@@ -328,6 +366,7 @@
* Creates a {@code Dispatch} instance for use with objects of
* the client's choosing.
*
+ * @param The type of the message or payload
* @param portName Qualified name for the target service endpoint
* @param type The class of object used for messages or message
* payloads. Implementations are required to support
@@ -357,6 +396,7 @@
* Creates a {@code Dispatch} instance for use with objects of
* the client's choosing.
*
+ * @param The type of the message or payload
* @param portName Qualified name for the target service endpoint
* @param type The class of object used for messages or message
* payloads. Implementations are required to support
@@ -419,6 +459,7 @@
* where the {@code portName} is retrieved from the
* WSDL or {@code EndpointReference} metadata.
*
+ * @param The type of the message or payload
* @param endpointReference The {@code EndpointReference}
* for the target service endpoint that will be invoked by the
* returned {@code Dispatch} object.
@@ -698,6 +739,7 @@
* @param wsdlDocumentLocation {@code URL} for the WSDL document location
* for the service
* @param serviceName {@code QName} for the service
+ * @return Service instance
* @throws WebServiceException If any error in creation of the
* specified service.
**/
@@ -720,6 +762,7 @@
* @param features Web Service features that must be configured on
* the service. If the provider doesn't understand a feature,
* it must throw a WebServiceException.
+ * @return Service instance configured with requested web service features
* @throws WebServiceException If any error in creation of the
* specified service.
* @since 1.7, JAX-WS 2.2
@@ -734,6 +777,7 @@
* Creates a {@code Service} instance.
*
* @param serviceName {@code QName} for the service
+ * @return Service instance
* @throws WebServiceException If any error in creation of the
* specified service
*/
@@ -749,6 +793,7 @@
* @param features Web Service features that must be configured on
* the service. If the provider doesn't understand a feature,
* it must throw a WebServiceException.
+ * @return Service instance configured with requested web service features
* @throws WebServiceException If any error in creation of the
* specified service
*
--- old/src/java.xml.ws/share/classes/javax/xml/ws/ServiceMode.java 2017-05-03 18:06:29.043093869 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/ServiceMode.java 2017-05-03 18:06:28.943093872 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,8 @@
* wishes to work with protocol message payloads only. {@code MESSAGE} indicates
* that the {@code Provider} implementation wishes to work with entire protocol
* messages.
- **/
+ *
+ * @return Service mode.
+ **/
public Service.Mode value() default Service.Mode.PAYLOAD;
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebEndpoint.java 2017-05-03 18:06:29.531093855 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebEndpoint.java 2017-05-03 18:06:29.431093858 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +51,8 @@
public @interface WebEndpoint {
/**
* The local name of the endpoint.
+ *
+ * @return ocal name of the endpoint
**/
String name() default "";
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceClient.java 2017-05-03 18:06:30.015093841 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceClient.java 2017-05-03 18:06:29.915093844 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -46,18 +46,24 @@
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface WebServiceClient {
- /**
- * The local name of the Web service.
- **/
- String name() default "";
+ /**
+ * The local name of the Web service.
+ *
+ * @return local name
+ */
+ String name() default "";
- /**
- * The namespace for the Web service.
- **/
- String targetNamespace() default "";
+ /**
+ * The namespace for the Web service.
+ *
+ * @return target namespace name
+ */
+ String targetNamespace() default "";
- /**
- * The location of the WSDL document for the service (a URL).
- **/
- String wsdlLocation() default "";
+ /**
+ * The location of the WSDL document for the service (a URL).
+ *
+ * @return location of the WSDL document (a URL)
+ */
+ String wsdlLocation() default "";
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceContext.java 2017-05-03 18:06:30.499093827 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceContext.java 2017-05-03 18:06:30.399093830 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +128,7 @@
* Returns the {@code EndpointReference} associated with
* this endpoint.
*
+ * @param The type of {@code EndpointReference}.
* @param clazz The type of {@code EndpointReference} that
* MUST be returned.
* @param referenceParameters Reference parameters to be associated with the
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceFeature.java 2017-05-03 18:06:31.007093812 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceFeature.java 2017-05-03 18:06:30.891093815 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,9 +66,10 @@
*/
protected boolean enabled = false;
-
- protected WebServiceFeature(){}
-
+ /**
+ * Default constructor.
+ */
+ protected WebServiceFeature() {}
/**
* Returns {@code true} if this feature is enabled.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceProvider.java 2017-05-03 18:06:31.507093797 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceProvider.java 2017-05-03 18:06:31.407093800 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,21 +42,29 @@
public @interface WebServiceProvider {
/**
* Location of the WSDL description for the service.
+ *
+ * @return location of the WSDL description
*/
String wsdlLocation() default "";
/**
* Service name.
+ *
+ * @return service name
*/
String serviceName() default "";
/**
* Target namespace for the service
+ *
+ * @return target namespace
*/
String targetNamespace() default "";
/**
* Port name.
+ *
+ * @return port name
*/
String portName() default "";
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceRef.java 2017-05-03 18:06:32.003093783 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceRef.java 2017-05-03 18:06:31.899093786 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
+import javax.annotation.Resource;
/**
* The {@code WebServiceRef} annotation is used to
@@ -72,12 +73,12 @@
* annotation annotated with the {@code WebServiceFeatureAnnotation}
* that is specified with {@code WebServiceRef}, an ERROR MUST be given.
*
- * @see javax.annotation.Resource
+ * @see Resource
* @see WebServiceFeatureAnnotation
*
* @since 1.6, JAX-WS 2.0
*
-**/
+ **/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@@ -92,6 +93,8 @@
*
* The JNDI name can be absolute(with any logical namespace) or relative
* to JNDI {@code java:comp/env} namespace.
+ *
+ * @return absolute or relative JNDI name
*/
String name() default "";
@@ -101,6 +104,8 @@
* the default is the type of the JavaBeans property.
* For class annotations, there is no default and this MUST be
* specified.
+ *
+ * @return type of the resource
*/
Class> type() default Object.class;
@@ -119,6 +124,8 @@
* form or type of mapped name, nor the ability to use mapped names.
* The mapped name is product-dependent and often installation-dependent.
* No use of a mapped name is portable.
+ *
+ * @return product specific resource name
*/
String mappedName() default "";
@@ -126,6 +133,8 @@
* The service class, always a type extending
* {@code javax.xml.ws.Service}. This element MUST be specified
* whenever the type of the reference is a service endpoint interface.
+ *
+ * @return the service class extending {@code javax.xml.ws.Service}
*/
// 2.1 has Class value() default Object.class;
// Fixing this raw Class type correctly in 2.2 API. This shouldn't cause
@@ -136,6 +145,8 @@
* A URL pointing to the WSDL document for the web service.
* If not specified, the WSDL location specified by annotations
* on the resource type is used instead.
+ *
+ * @return a URL pointing to the WSDL document
*/
String wsdlLocation() default "";
@@ -143,6 +154,7 @@
* A portable JNDI lookup name that resolves to the target
* web service reference.
*
+ * @return portable JNDI lookup name
* @since 1.7, JAX-WS 2.2
*/
String lookup() default "";
--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceRefs.java 2017-05-03 18:06:32.527093768 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServiceRefs.java 2017-05-03 18:06:32.415093771 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +78,8 @@
public @interface WebServiceRefs {
/**
* Array used for multiple web service reference declarations.
+ *
+ * @return multiple web service reference declarations
*/
WebServiceRef[] value();
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/handler/Handler.java 2017-05-03 18:06:33.023093753 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/handler/Handler.java 2017-05-03 18:06:32.923093756 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,11 +26,11 @@
package javax.xml.ws.handler;
import javax.xml.ws.ProtocolException;
-import javax.xml.ws.handler.MessageContext;
/** The {@code Handler} interface
* is the base interface for JAX-WS handlers.
*
+ * @param message context
* @since 1.6, JAX-WS 2.0
**/
public interface Handler {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/handler/LogicalHandler.java 2017-05-03 18:06:33.503093739 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/handler/LogicalHandler.java 2017-05-03 18:06:33.403093742 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 @@
/** The {@code LogicalHandler} extends
* Handler to provide typesafety for the message context parameter.
*
+ * @param message context
* @since 1.6, JAX-WS 2.0
**/
public interface LogicalHandler extends Handler {
--- old/src/java.xml.ws/share/classes/javax/xml/ws/handler/MessageContext.java 2017-05-03 18:06:33.991093725 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/handler/MessageContext.java 2017-05-03 18:06:33.891093728 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -180,7 +180,17 @@
* {@code HANDLER}
* are only normally visible to handlers.
*/
- public enum Scope {APPLICATION, HANDLER};
+ public enum Scope {
+
+ /**
+ * Application visibility.
+ */
+ APPLICATION,
+
+ /**
+ * Handler visibility.
+ */
+ HANDLER};
/**
* Sets the scope of a property.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/handler/soap/SOAPHandler.java 2017-05-03 18:06:34.503093710 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/handler/soap/SOAPHandler.java 2017-05-03 18:06:34.391093713 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 @@
* to provide typesafety for the message context parameter and add a method
* to obtain access to the headers that may be processed by the handler.
*
+ * @param message context
* @since 1.6, JAX-WS 2.0
**/
public interface SOAPHandler
--- old/src/java.xml.ws/share/classes/javax/xml/ws/soap/Addressing.java 2017-05-03 18:06:35.011093695 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/soap/Addressing.java 2017-05-03 18:06:34.911093698 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,9 +31,7 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
-import javax.xml.ws.BindingProvider;
import javax.xml.ws.WebServiceRef;
-import javax.xml.ws.WebServiceRefs;
import javax.xml.ws.WebServiceProvider;
import javax.xml.ws.soap.AddressingFeature.Responses;
import javax.xml.ws.spi.WebServiceFeatureAnnotation;
@@ -44,7 +42,7 @@
* with any other binding is undefined.
*
* This annotation MUST only be used in conjunction with the
- * {@link javax.jws.WebService}, {@link WebServiceProvider},
+ * {@code javax.jws.WebService}, {@link WebServiceProvider},
* and {@link WebServiceRef} annotations.
* When used with a {@code javax.jws.WebService} annotation, this
* annotation MUST only be used on the service endpoint implementation
@@ -70,6 +68,8 @@
* Corresponding
*
* 3.1.1 Addressing Assertion must be generated in the generated WSDL.
+ *
+ * @return {@code true} if endpoint supports WS-Addressing, {@code false} otherwise
*/
boolean enabled() default true;
@@ -80,6 +80,8 @@
* be present on incoming messages. A corresponding
*
* 3.1.1 Addressing Assertion must be generated in the WSDL.
+ *
+ * @return {@code true} if endpoint requires WS-Addressing, {@code false} otherwise
*/
boolean required() default false;
@@ -106,6 +108,7 @@
*
* 3.1.3 NonAnonymousResponses Assertion in the generated WSDL.
*
+ * @return supported response types
* @since 1.7, JAX-WS 2.2
*/
Responses responses() default Responses.ALL;
--- old/src/java.xml.ws/share/classes/javax/xml/ws/soap/MTOM.java 2017-05-03 18:06:35.527093680 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/soap/MTOM.java 2017-05-03 18:06:35.431093683 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +63,8 @@
public @interface MTOM {
/**
* Specifies if this feature is enabled or disabled.
+ *
+ * @return {@code true} if MTOM is supported, {@code false} otherwise
*/
boolean enabled() default true;
@@ -70,6 +72,8 @@
* Property for MTOM threshold value. When MTOM is enabled, binary data above this
* size in bytes will be XOP encoded or sent as attachment. The value of this property
* MUST always be {@literal >=} 0. Default value is 0.
+ *
+ * @return MTOM threshold in bytes
*/
int threshold() default 0;
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/spi/Provider.java 2017-05-03 18:06:36.031093665 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/spi/Provider.java 2017-05-03 18:06:35.915093668 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,8 @@
package javax.xml.ws.spi;
-import java.net.URL;
import java.util.List;
-import java.util.Iterator;
import java.util.Map;
-import java.util.ServiceLoader;
import javax.xml.namespace.QName;
import javax.xml.ws.*;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
@@ -77,6 +74,7 @@
*
Finally, a platform default implementation is used.
*
*
+ * @return provider object
*/
public static Provider provider() {
try {
@@ -123,7 +121,6 @@
throw new UnsupportedOperationException("JAX-WS 2.2 implementation must override this default behaviour.");
}
-
/**
*
* Creates an endpoint object with the provided binding and implementation
@@ -139,7 +136,6 @@
public abstract Endpoint createEndpoint(String bindingId,
Object implementor);
-
/**
* Creates and publishes an endpoint object with the specified
* address and implementation object.
@@ -199,6 +195,7 @@
* {@code serviceName} metadata.
*
*
+ * @param Service endpoint interface
* @param endpointReference the EndpointReference that will
* be invoked by the returned proxy.
* @param serviceEndpointInterface Service endpoint interface
--- old/src/java.xml.ws/share/classes/javax/xml/ws/spi/ServiceDelegate.java 2017-05-03 18:06:36.531093650 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/spi/ServiceDelegate.java 2017-05-03 18:06:36.431093653 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +51,9 @@
*/
public abstract class ServiceDelegate {
+ /**
+ * Default constructor.
+ */
protected ServiceDelegate() {
}
@@ -61,6 +64,7 @@
* specifies the service endpoint interface that is supported by
* the created dynamic proxy instance.
*
+ * @param Service endpoint interface
* @param portName Qualified name of the service endpoint in
* the WSDL service description
* @param serviceEndpointInterface Service endpoint interface
@@ -92,6 +96,7 @@
* specifies the service endpoint interface that is supported by
* the created dynamic proxy instance.
*
+ * @param Service endpoint interface
* @param portName Qualified name of the service endpoint in
* the WSDL service description
* @param serviceEndpointInterface Service endpoint interface
@@ -164,6 +169,7 @@
* {@code serviceEndpointInterface} and the WSDL
* associated with this {@code Service} instance.
*
+ * @param Service endpoint interface.
* @param endpointReference The {@code EndpointReference}
* for the target service endpoint that will be invoked by the
* returned proxy.
@@ -209,6 +215,7 @@
* binding (and a port) and configuring the proxy accordingly.
* The returned proxy should not be reconfigured by the client.
*
+ * @param Service endpoint interface
* @param serviceEndpointInterface Service endpoint interface
* @return Object instance that supports the
* specified service endpoint interface
@@ -235,6 +242,7 @@
* binding (and a port) and configuring the proxy accordingly.
* The returned proxy should not be reconfigured by the client.
*
+ * @param Service endpoint interface
* @param serviceEndpointInterface Service endpoint interface
* @param features An array of {@code WebServiceFeatures} to configure on the
* proxy. Supported features not in the {@code features
@@ -286,6 +294,8 @@
* Creates a {@code Dispatch} instance for use with objects of
* the user's choosing.
*
+ * @param type used for messages or message payloads. Implementations are required to
+ * support {@code javax.xml.transform.Source} and {@code javax.xml.soap.SOAPMessage}.
* @param portName Qualified name for the target service endpoint
* @param type The class of object used for messages or message
* payloads. Implementations are required to support
@@ -310,6 +320,8 @@
* Creates a {@code Dispatch} instance for use with objects of
* the user's choosing.
*
+ * @param type used for messages or message payloads. Implementations are required to
+ * support {@code javax.xml.transform.Source} and {@code javax.xml.soap.SOAPMessage}.
* @param portName Qualified name for the target service endpoint
* @param type The class of object used for messages or message
* payloads. Implementations are required to support
@@ -369,6 +381,9 @@
* where the {@code portName} is retrieved from the
* WSDL or {@code EndpointReference} metadata.
*
+ * @param type of object used to messages or message
+ * payloads. Implementations are required to support
+ * {@code javax.xml.transform.Source} and {@code javax.xml.soap.SOAPMessage}.
* @param endpointReference The {@code EndpointReference}
* for the target service endpoint that will be invoked by the
* returned {@code Dispatch} object.
--- old/src/java.xml.ws/share/classes/javax/xml/ws/spi/WebServiceFeatureAnnotation.java 2017-05-03 18:06:37.047093635 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/spi/WebServiceFeatureAnnotation.java 2017-05-03 18:06:36.951093638 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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 java.lang.annotation.RetentionPolicy;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.WebServiceRef;
-import javax.xml.ws.WebServiceRefs;
import javax.xml.ws.RespectBinding;
import javax.xml.ws.soap.Addressing;
import javax.xml.ws.soap.MTOM;
@@ -74,12 +73,14 @@
* Unique identifier for the WebServiceFeature. This
* identifier MUST be unique across all implementations
* of JAX-WS.
+ * @return unique identifier for the WebServiceFeature
*/
String id();
/**
* The {@code WebServiceFeature} bean that is associated
* with the {@code WebServiceFeature} annotation
+ * @return the {@code WebServiceFeature} bean
*/
Class extends WebServiceFeature> bean();
}
--- old/src/java.xml.ws/share/classes/javax/xml/ws/spi/http/HttpContext.java 2017-05-03 18:06:37.543093621 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/spi/http/HttpContext.java 2017-05-03 18:06:37.439093624 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,6 +41,9 @@
*/
public abstract class HttpContext {
+ /**
+ * The handler to set for this context.
+ */
protected HttpHandler handler;
/**
--- old/src/java.xml.ws/share/classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java 2017-05-03 18:06:38.039093606 +0300
+++ new/src/java.xml.ws/share/classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java 2017-05-03 18:06:37.939093609 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,10 +72,18 @@
private final JAXBContext w3cjc = getW3CJaxbContext();
// should be changed to package private, keeping original modifier to keep backwards compatibility
+
+ /**
+ * Addressing namespace.
+ */
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
+
+ /**
+ * Default constructor.
+ */
protected W3CEndpointReference() {
}
@@ -110,6 +118,7 @@
/**
* {@inheritDoc}
*/
+ @Override
public void writeTo(Result result){
try {
Marshaller marshaller = w3cjc.createMarshaller();
--- old/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JModuleDirective.java 2017-05-03 18:06:38.571093591 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JModuleDirective.java 2017-05-03 18:06:38.451093594 +0300
@@ -94,14 +94,17 @@
/**
* Returns a hash code for this module directive based on directive type and name.
- * The hash code for a module directive is computed as
- * 97 * Integer.hashCode(type_ordinal_value + 1) + name.hashCode()
- *
using {@code int} arithmetic.
+ * The hash code for a module directive is computed as
+ *
+ * {@code 97 * (type_ordinal_value + 1) + name.hashCode()}
+ *
+ * using {@code int} arithmetic.
+ *
* @return a hash code value for this object.
*/
@Override
public int hashCode() {
- return 97 * (Integer.valueOf(getType().ordinal() + 1)).hashCode() + name.hashCode();
+ return 97 * (getType().ordinal() + 1) + name.hashCode();
}
/**
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle.properties 2017-05-03 18:06:39.091093576 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle.properties 2017-05-03 18:06:38.995093578 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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.3.0-b170215.1712
+ schemagen 2.3.0-b170412.1723
FULLVERSION = \
- schemagen full version "2.3.0-b170215.1712"
+ schemagen full version "2.3.0-b170412.1723"
USAGE = \
Usage: schemagen [-options ...] \n\
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_de.properties 2017-05-03 18:06:39.635093560 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_de.properties 2017-05-03 18:06:39.519093563 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = Nicht vorhandenes Verzeichnis: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = schemagen vollst\u00E4ndige Version "2.3.0-b170215.1712"
+FULLVERSION = schemagen vollst\u00E4ndige Version "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_es.properties 2017-05-03 18:06:40.155093545 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_es.properties 2017-05-03 18:06:40.059093547 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = Directorio no existente: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = versi\u00F3n completa de schemagen "2.3.0-b170215.1712"
+FULLVERSION = versi\u00F3n completa de schemagen "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_fr.properties 2017-05-03 18:06:40.675093529 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_fr.properties 2017-05-03 18:06:40.579093532 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = R\u00E9pertoire {0} inexistant
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = version compl\u00E8te de schemagen "2.3.0-b170215.1712"
+FULLVERSION = version compl\u00E8te de schemagen "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_it.properties 2017-05-03 18:06:41.199093514 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_it.properties 2017-05-03 18:06:41.099093517 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = Directory non esistente: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = versione completa schemagen "2.3.0-b170215.1712"
+FULLVERSION = versione completa schemagen "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_ja.properties 2017-05-03 18:06:41.823093496 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_ja.properties 2017-05-03 18:06:41.687093500 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u304C\u5B58\u5728\u3057\u307E\u305B\u3093: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = schemagen\u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3"2.3.0-b170215.1712"
+FULLVERSION = schemagen\u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3"2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_ko.properties 2017-05-03 18:06:42.511093476 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_ko.properties 2017-05-03 18:06:42.403093479 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = \uC874\uC7AC\uD558\uC9C0 \uC54A\uB294 \uB514\uB809\uD1A0\uB9AC: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = schemagen \uC815\uC2DD \uBC84\uC804 "2.3.0-b170215.1712"
+FULLVERSION = schemagen \uC815\uC2DD \uBC84\uC804 "2.3.0-b170412.1723"
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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_pt_BR.properties 2017-05-03 18:06:43.031093460 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_pt_BR.properties 2017-05-03 18:06:42.935093463 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = Diret\u00F3rio n\u00E3o existente: {0}
-VERSION = gera\u00E7\u00E3o do esquema 2.3.0-b170215.1712
+VERSION = gera\u00E7\u00E3o do esquema 2.3.0-b170412.1723
-FULLVERSION = vers\u00E3o completa da gera\u00E7\u00E3o do esquema "2.3.0-b170215.1712"
+FULLVERSION = vers\u00E3o completa da gera\u00E7\u00E3o do esquema "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_zh_CN.properties 2017-05-03 18:06:43.607093444 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_zh_CN.properties 2017-05-03 18:06:43.507093446 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = \u4E0D\u5B58\u5728\u7684\u76EE\u5F55: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.3.0-b170215.1712"
+FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_zh_TW.properties 2017-05-03 18:06:44.107093429 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/MessageBundle_zh_TW.properties 2017-05-03 18:06:44.011093432 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
# 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 @@
BASEDIR_DOESNT_EXIST = \u4E0D\u5B58\u5728\u7684\u76EE\u9304: {0}
-VERSION = schemagen 2.3.0-b170215.1712
+VERSION = schemagen 2.3.0-b170412.1723
-FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.3.0-b170215.1712"
+FULLVERSION = schemagen \u5B8C\u6574\u7248\u672C "2.3.0-b170412.1723"
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
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle.properties 2017-05-03 18:06:44.651093413 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle.properties 2017-05-03 18:06:44.535093416 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -173,23 +173,23 @@
Driver.FailedToGenerateCode = \
Failed to produce code.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
Driver.FilePrologComment = \
- This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170215.1712 \n\
+ This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170412.1723 \n\
See https://jaxb.java.net/ \n\
Any modifications to this file will be lost upon recompilation of the source schema. \n\
Generated on: {0} \n
Driver.Version = \
- xjc 2.3.0-b170215.1712
+ xjc 2.3.0-b170412.1723
Driver.FullVersion = \
- xjc full version "2.3.0-b170215.1712"
+ xjc full version "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_de.properties 2017-05-03 18:06:45.163093398 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_de.properties 2017-05-03 18:06:45.067093401 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = Code konnte nicht erzeugt werden.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170215.1712 generiert \nSiehe https://jaxb.java.net/ \n\u00c4nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. \nGeneriert: {0} \n
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170412.1723 generiert \nSiehe https://jaxb.java.net/ \n\u00c4nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. \nGeneriert: {0} \n
-Driver.Version = xjc 2.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = xjc vollst\u00E4ndige Version "2.3.0-b170215.1712"
+Driver.FullVersion = xjc vollst\u00E4ndige Version "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_es.properties 2017-05-03 18:06:45.671093383 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_es.properties 2017-05-03 18:06:45.551093387 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = Fallo al producir c\u00f3digo.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = Este archivo ha sido generado por la arquitectura JavaTM para la implantaci\u00f3n de la referencia de enlace (JAXB) XML v2.3.0-b170215.1712 \nVisite https://jaxb.java.net/ \nTodas las modificaciones realizadas en este archivo se perder\u00e1n si se vuelve a compilar el esquema de origen. \nGenerado el: {0} \n
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = Este archivo ha sido generado por la arquitectura JavaTM para la implantaci\u00f3n de la referencia de enlace (JAXB) XML v2.3.0-b170412.1723 \nVisite https://jaxb.java.net/ \nTodas las modificaciones realizadas en este archivo se perder\u00e1n si se vuelve a compilar el esquema de origen. \nGenerado el: {0} \n
-Driver.Version = xjc 2.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = versi\u00F3n completa de xjc "2.3.0-b170215.1712"
+Driver.FullVersion = versi\u00F3n completa de xjc "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_fr.properties 2017-05-03 18:06:46.187093368 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_fr.properties 2017-05-03 18:06:46.071093372 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# 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,17 +131,17 @@
Driver.FailedToGenerateCode = Echec de la production du code.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-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.3.0-b170215.1712 \nVoir https://jaxb.java.net/ \nToute modification apport\u00e9e \u00e0 ce fichier sera perdue lors de la recompilation du sch\u00e9ma source. \nG\u00e9n\u00e9r\u00e9 le : {0} \n
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+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.3.0-b170412.1723 \nVoir https://jaxb.java.net/ \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.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = version compl\u00E8te xjc "2.3.0-b170215.1712"
+Driver.FullVersion = version compl\u00E8te xjc "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_it.properties 2017-05-03 18:06:46.695093353 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_it.properties 2017-05-03 18:06:46.591093356 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = Produzione del codice non riuscita.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = Questo file \u00e8 stato generato dall''architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.3.0-b170215.1712 \nVedere https://jaxb.java.net/ \nQualsiasi modifica a questo file andr\u00e0 persa durante la ricompilazione dello schema di origine. \nGenerato il: {0} \n
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = Questo file \u00e8 stato generato dall''architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.3.0-b170412.1723 \nVedere https://jaxb.java.net/ \nQualsiasi modifica a questo file andr\u00e0 persa durante la ricompilazione dello schema di origine. \nGenerato il: {0} \n
-Driver.Version = xjc 2.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = versione completa xjc "2.3.0-b170215.1712"
+Driver.FullVersion = versione completa xjc "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_ja.properties 2017-05-03 18:06:47.203093338 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_ja.properties 2017-05-03 18:06:47.099093341 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = \u30b3\u30fc\u30c9\u306e\u751f\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001JavaTM Architecture for XML Binding(JAXB) Reference Implementation\u3001v2.3.0-b170215.1712\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u307e\u3057\u305f \nhttps://jaxb.java.net/\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
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001JavaTM Architecture for XML Binding(JAXB) Reference Implementation\u3001v2.3.0-b170412.1723\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u307e\u3057\u305f \nhttps://jaxb.java.net/\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.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = xjc\u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3"2.3.0-b170215.1712"
+Driver.FullVersion = xjc\u30D5\u30EB\u30FB\u30D0\u30FC\u30B8\u30E7\u30F3"2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_ko.properties 2017-05-03 18:06:47.719093323 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_ko.properties 2017-05-03 18:06:47.615093326 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = \ucf54\ub4dc \uc0dd\uc131\uc744 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = \uc774 \ud30c\uc77c\uc740 JAXB(JavaTM Architecture for XML Binding) \ucc38\uc870 \uad6c\ud604 2.3.0-b170215.1712 \ubc84\uc804\uc744 \ud1b5\ud574 \uc0dd\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \nhttps://jaxb.java.net/\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
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = \uc774 \ud30c\uc77c\uc740 JAXB(JavaTM Architecture for XML Binding) \ucc38\uc870 \uad6c\ud604 2.3.0-b170412.1723 \ubc84\uc804\uc744 \ud1b5\ud574 \uc0dd\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \nhttps://jaxb.java.net/\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.3.0-b170215.1712
+Driver.Version = XJC 2.3.0-b170412.1723
-Driver.FullVersion = XJC \uC815\uC2DD \uBC84\uC804 "2.3.0-b170215.1712"
+Driver.FullVersion = XJC \uC815\uC2DD \uBC84\uC804 "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_pt_BR.properties 2017-05-03 18:06:48.235093308 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_pt_BR.properties 2017-05-03 18:06:48.135093311 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = Falha ao produzir o c\u00f3digo.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = Este arquivo foi gerado pela Arquitetura JavaTM para Implementa\u00e7\u00e3o de Refer\u00eancia (JAXB) de Bind XML, v2.3.0-b170215.1712 \nConsulte https://jaxb.java.net/ \nTodas as modifica\u00e7\u00f5es neste arquivo ser\u00e3o perdidas ap\u00f3s a recompila\u00e7\u00e3o do esquema de origem. \nGerado em: {0} \n
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = Este arquivo foi gerado pela Arquitetura JavaTM para Implementa\u00e7\u00e3o de Refer\u00eancia (JAXB) de Bind XML, v2.3.0-b170412.1723 \nConsulte https://jaxb.java.net/ \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.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = vers\u00E3o completa de xjc "2.3.0-b170215.1712"
+Driver.FullVersion = vers\u00E3o completa de xjc "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_zh_CN.properties 2017-05-03 18:06:48.743093293 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_zh_CN.properties 2017-05-03 18:06:48.643093296 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# 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,17 +131,17 @@
Driver.FailedToGenerateCode = \u65e0\u6cd5\u751f\u6210\u4ee3\u7801\u3002
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = \u6b64\u6587\u4ef6\u662f\u7531 JavaTM Architecture for XML Binding (JAXB) \u5f15\u7528\u5b9e\u73b0 v2.3.0-b170215.1712 \u751f\u6210\u7684\n\u8bf7\u8bbf\u95ee https://jaxb.java.net/ \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
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = \u6b64\u6587\u4ef6\u662f\u7531 JavaTM Architecture for XML Binding (JAXB) \u5f15\u7528\u5b9e\u73b0 v2.3.0-b170412.1723 \u751f\u6210\u7684\n\u8bf7\u8bbf\u95ee https://jaxb.java.net/ \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.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = xjc \u5B8C\u6574\u7248\u672C "2.3.0-b170215.1712"
+Driver.FullVersion = xjc \u5B8C\u6574\u7248\u672C "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_zh_TW.properties 2017-05-03 18:06:49.275093278 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/MessageBundle_zh_TW.properties 2017-05-03 18:06:49.139093282 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -127,17 +127,17 @@
Driver.FailedToGenerateCode = \u7121\u6cd5\u7522\u751f\u7a0b\u5f0f\u78bc.
-# DO NOT localize the 2.3.0-b170215.1712 string - it is a token for an mvn
-Driver.FilePrologComment = \u6b64\u6a94\u6848\u662f\u7531 JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170215.1712 \u6240\u7522\u751f \n\u8acb\u53c3\u95b1 https://jaxb.java.net/ \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
+# DO NOT localize the 2.3.0-b170412.1723 string - it is a token for an mvn
+Driver.FilePrologComment = \u6b64\u6a94\u6848\u662f\u7531 JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0-b170412.1723 \u6240\u7522\u751f \n\u8acb\u53c3\u95b1 https://jaxb.java.net/ \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.3.0-b170215.1712
+Driver.Version = xjc 2.3.0-b170412.1723
-Driver.FullVersion = xjc \u5B8C\u6574\u7248\u672C "2.3.0-b170215.1712"
+Driver.FullVersion = xjc \u5B8C\u6574\u7248\u672C "2.3.0-b170412.1723"
-Driver.BuildID = 2.3.0-b170215.1712
+Driver.BuildID = 2.3.0-b170412.1723
# for JDK integration - include version in source zip
-jaxb.jdk.version=@@JAXB_JDK_VERSION@@
+jaxb.jdk.version=2.3.0-b170412.1723
# 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.
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/Options.java 2017-05-03 18:06:49.799093263 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/Options.java 2017-05-03 18:06:49.683093266 +0300
@@ -77,37 +77,53 @@
* The configuration in this class should be abstract enough so that
* it could be parsed from both command-line or Ant.
*/
-public class Options
-{
- /** If "-debug" is specified. */
+public class Options {
+ /**
+ * If "-debug" is specified.
+ */
public boolean debugMode;
- /** If the "-verbose" option is specified. */
+ /**
+ * If the "-verbose" option is specified.
+ */
public boolean verbose;
- /** If the "-quiet" option is specified. */
+ /**
+ * If the "-quiet" option is specified.
+ */
public boolean quiet;
- /** If the -readOnly option is specified. */
+ /**
+ * If the -readOnly option is specified.
+ */
public boolean readOnly;
- /** No file header comment (to be more friendly with diff.) */
+ /**
+ * No file header comment (to be more friendly with diff.)
+ */
public boolean noFileHeader;
- /** When on, fixes getter/setter generation to match the Bean Introspection API */
+ /**
+ * When on, fixes getter/setter generation to match the Bean Introspection API
+ */
public boolean enableIntrospection;
- /** When on, generates content property for types with multiple xs:any derived elements (which is supposed to be correct behaviour) */
+ /**
+ * When on, generates content property for types with multiple xs:any derived elements (which is supposed to be correct behaviour)
+ */
public boolean contentForWildcard;
- /** Encoding to be used by generated java sources, null for platform default. */
+ /**
+ * Encoding to be used by generated java sources, null for platform default.
+ */
public String encoding;
/**
* If true XML security features when parsing XML documents will be disabled.
* The default value is false.
- *
+ *
* Boolean
+ *
* @since 2.2.6
*/
public boolean disableXmlSecurity;
@@ -116,7 +132,7 @@
* Check the source schemas with extra scrutiny.
* The exact meaning depends on the schema language.
*/
- public boolean strictCheck =true;
+ public boolean strictCheck = true;
/**
* If -explicit-annotation option is specified.
@@ -149,7 +165,7 @@
public int compatibilityMode = STRICT;
public boolean isExtensionMode() {
- return compatibilityMode==EXTENSION;
+ return compatibilityMode == EXTENSION;
}
private static final Logger logger = com.sun.xml.internal.bind.Util.getClassLogger();
@@ -277,30 +293,26 @@
/**
* Sets the {@link FieldRendererFactory}.
- *
+ *
*
* This method is for plugins to call to set a custom {@link FieldRendererFactory}.
*
- * @param frf
- * The {@link FieldRendererFactory} to be installed. Must not be null.
- * @param owner
- * Identifies the plugin that owns this {@link FieldRendererFactory}.
- * When two {@link Plugin}s try to call this method, this allows XJC
- * to report it as a user-friendly error message.
- *
- * @throws BadCommandLineException
- * If a conflit happens, this exception carries a user-friendly error
- * message, indicating a conflict.
+ * @param frf The {@link FieldRendererFactory} to be installed. Must not be null.
+ * @param owner Identifies the plugin that owns this {@link FieldRendererFactory}.
+ * When two {@link Plugin}s try to call this method, this allows XJC
+ * to report it as a user-friendly error message.
+ * @throws BadCommandLineException If a conflit happens, this exception carries a user-friendly error
+ * message, indicating a conflict.
*/
public void setFieldRendererFactory(FieldRendererFactory frf, Plugin owner) throws BadCommandLineException {
// since this method is for plugins, make it bit more fool-proof than usual
- if(frf==null)
+ if (frf == null)
throw new IllegalArgumentException();
- if(fieldRendererFactoryOwner!=null) {
+ if (fieldRendererFactoryOwner != null) {
throw new BadCommandLineException(
Messages.format(Messages.FIELD_RENDERER_CONFLICT,
fieldRendererFactoryOwner.getOptionName(),
- owner.getOptionName() ));
+ owner.getOptionName()));
}
this.fieldRendererFactoryOwner = owner;
this.fieldRendererFactory = frf;
@@ -318,30 +330,26 @@
/**
* Sets the {@link NameConverter}.
- *
+ *
*
* This method is for plugins to call to set a custom {@link NameConverter}.
*
- * @param nc
- * The {@link NameConverter} to be installed. Must not be null.
- * @param owner
- * Identifies the plugin that owns this {@link NameConverter}.
- * When two {@link Plugin}s try to call this method, this allows XJC
- * to report it as a user-friendly error message.
- *
- * @throws BadCommandLineException
- * If a conflit happens, this exception carries a user-friendly error
- * message, indicating a conflict.
+ * @param nc The {@link NameConverter} to be installed. Must not be null.
+ * @param owner Identifies the plugin that owns this {@link NameConverter}.
+ * When two {@link Plugin}s try to call this method, this allows XJC
+ * to report it as a user-friendly error message.
+ * @throws BadCommandLineException If a conflit happens, this exception carries a user-friendly error
+ * message, indicating a conflict.
*/
public void setNameConverter(NameConverter nc, Plugin owner) throws BadCommandLineException {
// since this method is for plugins, make it bit more fool-proof than usual
- if(nc==null)
+ if (nc == null)
throw new IllegalArgumentException();
- if(nameConverter!=null) {
+ if (nameConverter != null) {
throw new BadCommandLineException(
Messages.format(Messages.NAME_CONVERTER_CONFLICT,
nameConverterOwner.getOptionName(),
- owner.getOptionName() ));
+ owner.getOptionName()));
}
this.nameConverterOwner = owner;
this.nameConverter = nc;
@@ -349,15 +357,16 @@
/**
* Gets all the {@link Plugin}s discovered so far.
- *
+ *
*
* A plugins are enumerated when this method is called for the first time,
* by taking {@link #classpaths} into account. That means
* "-cp plugin.jar" has to come before you specify options to enable it.
+ *
* @return
*/
public List getAllPlugins() {
- if(allPlugins==null) {
+ if (allPlugins == null) {
allPlugins = findServices(Plugin.class);
}
@@ -365,29 +374,34 @@
}
public Language getSchemaLanguage() {
- if( schemaLanguage==null)
+ if (schemaLanguage == null)
schemaLanguage = guessSchemaLanguage();
return schemaLanguage;
}
+
public void setSchemaLanguage(Language _schemaLanguage) {
this.schemaLanguage = _schemaLanguage;
}
- /** Input schema files.
- * @return */
+ /**
+ * Input schema files.
+ *
+ * @return
+ */
public InputSource[] getGrammars() {
return grammars.toArray(new InputSource[grammars.size()]);
}
/**
* Adds a new input schema.
+ *
* @param is
*/
- public void addGrammar( InputSource is ) {
+ public void addGrammar(InputSource is) {
grammars.add(absolutize(is));
}
- private InputSource fileToInputSource( File source ) {
+ private InputSource fileToInputSource(File source) {
try {
String url = source.toURL().toExternalForm();
return new InputSource(Util.escapeSpace(url));
@@ -396,27 +410,27 @@
}
}
- public void addGrammar( File source ) {
+ public void addGrammar(File source) {
addGrammar(fileToInputSource(source));
}
/**
* Recursively scan directories and add all XSD files in it.
+ *
* @param dir
*/
- public void addGrammarRecursive( File dir ) {
- addRecursive(dir,".xsd",grammars);
+ public void addGrammarRecursive(File dir) {
+ addRecursive(dir, ".xsd", grammars);
}
- private void addRecursive( File dir, String suffix, List result ) {
+ private void addRecursive(File dir, String suffix, List result) {
File[] files = dir.listFiles();
- if(files==null) return; // work defensively
+ if (files == null) return; // work defensively
- for( File f : files ) {
- if(f.isDirectory())
- addRecursive(f,suffix,result);
- else
- if(f.getPath().endsWith(suffix))
+ for (File f : files) {
+ if (f.isDirectory())
+ addRecursive(f, suffix, result);
+ else if (f.getPath().endsWith(suffix))
result.add(absolutize(fileToInputSource(f)));
}
}
@@ -426,59 +440,68 @@
// absolutize all the system IDs in the input, so that we can map system IDs to DOM trees.
try {
URL baseURL = new File(".").getCanonicalFile().toURL();
- is.setSystemId( new URL(baseURL,is.getSystemId()).toExternalForm() );
- } catch( IOException e ) {
+ is.setSystemId(new URL(baseURL, is.getSystemId()).toExternalForm());
+ } catch (IOException e) {
logger.log(Level.FINE, "{0}, {1}", new Object[]{is.getSystemId(), e.getLocalizedMessage()});
}
return is;
}
- /** Input external binding files.
- * @return */
+ /**
+ * Input external binding files.
+ *
+ * @return
+ */
public InputSource[] getBindFiles() {
return bindFiles.toArray(new InputSource[bindFiles.size()]);
}
/**
* Adds a new binding file.
+ *
* @param is
*/
- public void addBindFile( InputSource is ) {
+ public void addBindFile(InputSource is) {
bindFiles.add(absolutize(is));
}
/**
* Adds a new binding file.
+ *
* @param bindFile
*/
- public void addBindFile( File bindFile ) {
+ public void addBindFile(File bindFile) {
bindFiles.add(fileToInputSource(bindFile));
}
/**
* Recursively scan directories and add all ".xjb" files in it.
+ *
* @param dir
*/
- public void addBindFileRecursive( File dir ) {
- addRecursive(dir,".xjb",bindFiles);
+ public void addBindFileRecursive(File dir) {
+ addRecursive(dir, ".xjb", bindFiles);
}
public final List classpaths = new ArrayList<>();
+
/**
* Gets a classLoader that can load classes specified via the
* -classpath option.
+ *
* @param parent
* @return
*/
- public ClassLoader getUserClassLoader( ClassLoader parent ) {
+ public ClassLoader getUserClassLoader(ClassLoader parent) {
if (classpaths.isEmpty())
return parent;
return new URLClassLoader(
- classpaths.toArray(new URL[classpaths.size()]),parent);
+ classpaths.toArray(new URL[classpaths.size()]), parent);
}
/**
* Gets Java module name option.
+ *
* @return Java module name option or {@code null} if this option was not set.
*/
public String getModuleName() {
@@ -491,13 +514,11 @@
*
* @param args
* @param i
- * @return
- * 0 if the argument is not understood. Returning 0
- * will let the caller report an error.
- * @exception BadCommandLineException
- * If the callee wants to provide a custom message for an error.
+ * @return 0 if the argument is not understood. Returning 0
+ * will let the caller report an error.
+ * @throws BadCommandLineException If the callee wants to provide a custom message for an error.
*/
- public int parseArgument( String[] args, int i ) throws BadCommandLineException {
+ public int parseArgument(String[] args, int i) throws BadCommandLineException {
if (args[i].equals("-classpath") || args[i].equals("-cp")) {
String a = requireArgument(args[i], args, ++i);
for (String p : a.split(File.pathSeparator)) {
@@ -506,16 +527,16 @@
classpaths.add(file.toURL());
} catch (MalformedURLException e) {
throw new BadCommandLineException(
- Messages.format(Messages.NOT_A_VALID_FILENAME,file),e);
+ Messages.format(Messages.NOT_A_VALID_FILENAME, file), e);
}
}
return 2;
}
if (args[i].equals("-d")) {
- targetDir = new File(requireArgument("-d",args,++i));
- if( !targetDir.exists() )
+ targetDir = new File(requireArgument("-d", args, ++i));
+ if (!targetDir.exists())
throw new BadCommandLineException(
- Messages.format(Messages.NON_EXISTENT_DIR,targetDir));
+ Messages.format(Messages.NON_EXISTENT_DIR, targetDir));
return 2;
}
if (args[i].equals("-readOnly")) {
@@ -523,8 +544,8 @@
return 1;
}
if (args[i].equals("-p")) {
- defaultPackage = requireArgument("-p",args,++i);
- if(defaultPackage.length()==0) { // user specified default package
+ defaultPackage = requireArgument("-p", args, ++i);
+ if (defaultPackage.length() == 0) { // user specified default package
// there won't be any package to annotate, so disable them
// automatically as a usability feature
packageLevelAnnotations = false;
@@ -544,11 +565,11 @@
strictCheck = false;
return 1;
}
- if( args[i].equals("-npa")) {
+ if (args[i].equals("-npa")) {
packageLevelAnnotations = false;
return 1;
}
- if( args[i].equals("-no-header")) {
+ if (args[i].equals("-no-header")) {
noFileHeader = true;
return 1;
}
@@ -581,7 +602,7 @@
return 1;
}
if (args[i].equals("-b")) {
- addFile(requireArgument("-b",args,++i),bindFiles,".xjb");
+ addFile(requireArgument("-b", args, ++i), bindFiles, ".xjb");
return 2;
}
if (args[i].equals("-dtd")) {
@@ -601,10 +622,10 @@
return 1;
}
if (args[i].equals("-target")) {
- String token = requireArgument("-target",args,++i);
+ String token = requireArgument("-target", args, ++i);
target = SpecVersion.parse(token);
- if(target==null)
- throw new BadCommandLineException(Messages.format(Messages.ILLEGAL_TARGET_VERSION,token));
+ if (target == null)
+ throw new BadCommandLineException(Messages.format(Messages.ILLEGAL_TARGET_VERSION, token));
return 2;
}
if (args[i].equals("-httpproxyfile")) {
@@ -614,16 +635,16 @@
}
File file = new File(args[++i]);
- if(!file.exists()) {
+ if (!file.exists()) {
throw new BadCommandLineException(
- Messages.format(Messages.NO_SUCH_FILE,file));
+ Messages.format(Messages.NO_SUCH_FILE, file));
}
- try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF-8"))) {
+ try (BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8"))) {
parseProxy(in.readLine());
} catch (IOException e) {
throw new BadCommandLineException(
- Messages.format(Messages.FAILED_TO_PARSE,file,e.getMessage()),e);
+ Messages.format(Messages.FAILED_TO_PARSE, file, e.getMessage()), e);
}
return 2;
@@ -638,33 +659,33 @@
return 2;
}
if (args[i].equals("-host")) {
- proxyHost = requireArgument("-host",args,++i);
+ proxyHost = requireArgument("-host", args, ++i);
return 2;
}
if (args[i].equals("-port")) {
- proxyPort = requireArgument("-port",args,++i);
+ proxyPort = requireArgument("-port", args, ++i);
return 2;
}
- if( args[i].equals("-catalog") ) {
+ if (args[i].equals("-catalog")) {
// use Sun's "XML Entity and URI Resolvers" by Norman Walsh
// to resolve external entities.
// https://xerces.apache.org/xml-commons/components/resolver/resolver-article.html
- File catalogFile = new File(requireArgument("-catalog",args,++i));
+ File catalogFile = new File(requireArgument("-catalog", args, ++i));
try {
addCatalog(catalogFile);
} catch (IOException e) {
throw new BadCommandLineException(
- Messages.format(Messages.FAILED_TO_PARSE,catalogFile,e.getMessage()),e);
+ Messages.format(Messages.FAILED_TO_PARSE, catalogFile, e.getMessage()), e);
}
return 2;
}
- if( args[i].equals("-Xtest-class-name-allocator") ) {
+ if (args[i].equals("-Xtest-class-name-allocator")) {
classNameAllocator = new ClassNameAllocator() {
@Override
public String assignClassName(String packageName, String className) {
- System.out.printf("assignClassName(%s,%s)\n",packageName,className);
- return className+"_Type";
+ System.out.printf("assignClassName(%s,%s)\n", packageName, className);
+ return className + "_Type";
}
};
return 1;
@@ -685,9 +706,9 @@
}
// see if this is one of the extensions
- for( Plugin plugin : getAllPlugins() ) {
+ for (Plugin plugin : getAllPlugins()) {
try {
- if( ('-'+plugin.getOptionName()).equals(args[i]) ) {
+ if (('-' + plugin.getOptionName()).equals(args[i])) {
activePlugins.add(plugin);
plugin.onActivated(this);
pluginURIs.addAll(plugin.getCustomizationURIs());
@@ -696,17 +717,17 @@
// this is new in 2.1, and due to the backward compatibility reason,
// if plugin didn't understand it, we still return 1 to indicate
// that this option is consumed.
- int r = plugin.parseArgument(this,args,i);
- if(r!=0)
+ int r = plugin.parseArgument(this, args, i);
+ if (r != 0)
return r;
else
return 1;
}
- int r = plugin.parseArgument(this,args,i);
- if(r!=0) return r;
+ int r = plugin.parseArgument(this, args, i);
+ if (r != 0) return r;
} catch (IOException e) {
- throw new BadCommandLineException(e.getMessage(),e);
+ throw new BadCommandLineException(e.getMessage(), e);
}
}
@@ -740,12 +761,13 @@
try {
Integer.valueOf(proxyPort);
} catch (NumberFormatException e) {
- throw new BadCommandLineException(Messages.format(Messages.ILLEGAL_PROXY,text));
+ throw new BadCommandLineException(Messages.format(Messages.ILLEGAL_PROXY, text));
}
}
/**
* Obtains an operand and reports an error if it's not there.
+ *
* @param optionName
* @param args
* @param i
@@ -755,7 +777,7 @@
public String requireArgument(String optionName, String[] args, int i) throws BadCommandLineException {
if (i == args.length || args[i].startsWith("-")) {
throw new BadCommandLineException(
- Messages.format(Messages.MISSING_OPERAND,optionName));
+ Messages.format(Messages.MISSING_OPERAND, optionName));
}
return args[i];
}
@@ -764,9 +786,8 @@
* Parses a token to a file (or a set of files)
* and add them as {@link InputSource} to the specified list.
*
- * @param suffix
- * If the given token is a directory name, we do a recursive search
- * and find all files that have the given suffix.
+ * @param suffix If the given token is a directory name, we do a recursive search
+ * and find all files that have the given suffix.
*/
private void addFile(String name, List target, String suffix) throws BadCommandLineException {
Object src;
@@ -774,14 +795,14 @@
src = Util.getFileOrURL(name);
} catch (IOException e) {
throw new BadCommandLineException(
- Messages.format(Messages.NOT_A_FILE_NOR_URL,name));
+ Messages.format(Messages.NOT_A_FILE_NOR_URL, name));
}
- if(src instanceof URL) {
- target.add(absolutize(new InputSource(Util.escapeSpace(((URL)src).toExternalForm()))));
+ if (src instanceof URL) {
+ target.add(absolutize(new InputSource(Util.escapeSpace(((URL) src).toExternalForm()))));
} else {
- File fsrc = (File)src;
- if(fsrc.isDirectory()) {
- addRecursive(fsrc,suffix,target);
+ File fsrc = (File) src;
+ if (fsrc.isDirectory()) {
+ addRecursive(fsrc, suffix, target);
} else {
target.add(absolutize(fileToInputSource(fsrc)));
}
@@ -794,6 +815,7 @@
/**
* Adds a new catalog file.Use created or existed resolver to parse new catalog file.
+ *
* @param catalogFile
* @throws java.io.IOException
*/
@@ -809,25 +831,24 @@
* Parses arguments and fill fields of this object.
*
* @param args
- * @exception BadCommandLineException
- * thrown when there's a problem in the command-line arguments
+ * @throws BadCommandLineException thrown when there's a problem in the command-line arguments
*/
- public void parseArguments( String[] args ) throws BadCommandLineException {
+ public void parseArguments(String[] args) throws BadCommandLineException {
for (int i = 0; i < args.length; i++) {
- if(args[i].length()==0)
+ if (args[i].length() == 0)
throw new BadCommandLineException();
if (args[i].charAt(0) == '-') {
- int j = parseArgument(args,i);
- if(j==0)
+ int j = parseArgument(args, i);
+ if (j == 0)
throw new BadCommandLineException(
Messages.format(Messages.UNRECOGNIZED_PARAMETER, args[i]));
- i += (j-1);
+ i += (j - 1);
} else {
- if(args[i].endsWith(".jar"))
+ if (args[i].endsWith(".jar"))
scanEpisodeFile(new File(args[i]));
else
- addFile(args[i],grammars,".xsd");
+ addFile(args[i], grammars, ".xsd");
}
}
@@ -854,7 +875,7 @@
throw new BadCommandLineException(
Messages.format(Messages.MISSING_GRAMMAR));
- if( schemaLanguage==null )
+ if (schemaLanguage == null)
schemaLanguage = guessSchemaLanguage();
// if(target==SpecVersion.V2_2 && !isExtensionMode())
@@ -862,13 +883,14 @@
// "Currently 2.2 is still not finalized yet, so using it requires the -extension switch." +
// "NOTE THAT 2.2 SPEC MAY CHANGE BEFORE IT BECOMES FINAL.");
- if(pluginLoadFailure!=null)
+ if (pluginLoadFailure != null)
throw new BadCommandLineException(
- Messages.format(Messages.PLUGIN_LOAD_FAILURE,pluginLoadFailure));
+ Messages.format(Messages.PLUGIN_LOAD_FAILURE, pluginLoadFailure));
}
/**
* Finds the {@code META-INF/sun-jaxb.episode} file to add as a binding customization.
+ *
* @param jar
* @throws com.sun.tools.internal.xjc.BadCommandLineException
*/
@@ -882,13 +904,14 @@
}
} catch (IOException e) {
throw new BadCommandLineException(
- Messages.format(Messages.FAILED_TO_LOAD,jar,e.getMessage()), e);
+ Messages.format(Messages.FAILED_TO_LOAD, jar, e.getMessage()), e);
}
}
/**
* Guesses the schema language.
+ *
* @return
*/
public Language guessSchemaLanguage() {
@@ -910,27 +933,30 @@
/**
* Creates a configured CodeWriter that produces files into the specified directory.
+ *
* @return
* @throws java.io.IOException
*/
public CodeWriter createCodeWriter() throws IOException {
- return createCodeWriter(new FileCodeWriter( targetDir, readOnly, encoding ));
+ return createCodeWriter(new FileCodeWriter(targetDir, readOnly, encoding));
}
/**
* Creates a configured CodeWriter that produces files into the specified directory.
+ *
* @param core
* @return
*/
- public CodeWriter createCodeWriter( CodeWriter core ) {
- if(noFileHeader)
+ public CodeWriter createCodeWriter(CodeWriter core) {
+ if (noFileHeader)
return core;
- return new PrologCodeWriter( core,getPrologComment() );
+ return new PrologCodeWriter(core, getPrologComment());
}
/**
* Gets the string suitable to be used as the prolog comment baked into artifacts.This is the string like "This file was generated by the JAXB RI on YYYY/mm/dd..."
+ *
* @return
*/
public String getPrologComment() {
@@ -957,7 +983,7 @@
* Looks for all "META-INF/services/[className]" files and
* create one instance for each class name found inside this file.
*/
- private List findServices( Class clazz) {
+ private List findServices(Class clazz) {
final List result = new ArrayList<>();
final boolean debug = getDebugPropertyValue();
try {
@@ -967,12 +993,12 @@
final ServiceLoader sl = ServiceLoader.load(clazz, tccl);
for (T t : sl)
result.add(t);
- } catch( Throwable e ) {
+ } catch (Throwable e) {
// ignore any error
StringWriter w = new StringWriter();
e.printStackTrace(new PrintWriter(w));
pluginLoadFailure = w.toString();
- if(debug)
+ if (debug)
System.out.println(pluginLoadFailure);
}
return result;
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/api/SpecVersion.java 2017-05-03 18:06:50.327093247 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/api/SpecVersion.java 2017-05-03 18:06:50.235093250 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,5 +55,21 @@
return null;
}
+ /**
+ * Gives the String representation of the {@link SpecVersion}
+ */
+ public String getVersion(){
+ switch(this){
+ case V2_0:
+ return "2.0";
+ case V2_1:
+ return "2.1";
+ case V2_2:
+ return "2.2";
+ default:
+ return null;
+ }
+ }
+
public static final SpecVersion LATEST = V2_2;
}
--- old/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java 2017-05-03 18:06:50.859093232 +0300
+++ new/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java 2017-05-03 18:06:50.731093235 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -85,7 +85,7 @@
*/
public final class DOMForest {
/** actual data storage {@code map}. */
- private final Map core = new HashMap();
+ private final Map core = new LinkedHashMap<>();
/**
* To correctly feed documents to a schema parser, we need to remember
--- old/src/jdk.xml.bind/share/classes/module-info.java 2017-05-03 18:06:51.383093216 +0300
+++ new/src/jdk.xml.bind/share/classes/module-info.java 2017-05-03 18:06:51.263093220 +0300
@@ -23,6 +23,13 @@
* questions.
*/
+/**
+ * Defines tools for JAXB classes and XML schema generation.
+ *
+ * @moduleGraph
+ * @since 9
+ */
+@Deprecated(since="9", forRemoval=true)
module jdk.xml.bind {
requires java.activation;
requires java.compiler;
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/ProcessorException.java 2017-05-03 18:06:51.895093201 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/ProcessorException.java 2017-05-03 18:06:51.791093204 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* 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,9 +27,6 @@
import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* ProcessorException represents an exception that occurred while processing
* a web service.
@@ -55,9 +52,4 @@
public String getDefaultResourceBundleName() {
return "com.sun.tools.internal.ws.resources.processor";
}
-
- @Override
- public ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(getDefaultResourceBundleName(), locale);
- }
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ConfigurationMessages.java 2017-05-03 18:06:52.435093185 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ConfigurationMessages.java 2017-05-03 18:06:52.303093189 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,39 +25,45 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ConfigurationMessages {
- private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.configuration";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, ConfigurationMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
- }
+ private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.configuration";
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new ConfigurationMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
public static Localizable localizableCONFIGURATION_NOT_BINDING_FILE(Object arg0) {
- return messageFactory.getMessage("configuration.notBindingFile", arg0);
+ return MESSAGE_FACTORY.getMessage("configuration.notBindingFile", arg0);
}
-
/**
* Ignoring: binding file "{0}". It is not a jaxws or a jaxb binding file.
*
*/
public static String CONFIGURATION_NOT_BINDING_FILE(Object arg0) {
- return localizer.localize(localizableCONFIGURATION_NOT_BINDING_FILE(arg0));
+ return LOCALIZER.localize(localizableCONFIGURATION_NOT_BINDING_FILE(arg0));
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/GeneratorMessages.java 2017-05-03 18:06:52.947093170 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/GeneratorMessages.java 2017-05-03 18:06:52.843093174 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,54 +25,62 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class GeneratorMessages {
+
private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.generator";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, GeneratorMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new GeneratorMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ public static Localizable localizableGENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("generator.indentingwriter.charset.cantencode", arg0);
}
- public static Localizable localizableGENERATOR_SERVICE_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
- return messageFactory.getMessage("generator.service.classAlreadyExist", arg0, arg1);
+ /**
+ * WSDL has some characters which native java encoder can''t encode: "{0}"
+ *
+ */
+ public static String GENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(Object arg0) {
+ return LOCALIZER.localize(localizableGENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(arg0));
+ }
+
+ public static Localizable localizableGENERATOR_CANNOT_CREATE_DIR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("generator.cannot.create.dir", arg0);
}
/**
- * Could not generate Service, class: {0} already exists. Rename wsdl:Service "{1}" using JAX-WS customization
+ * can''t create directory: {0}
*
*/
- public static String GENERATOR_SERVICE_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
- return localizer.localize(localizableGENERATOR_SERVICE_CLASS_ALREADY_EXIST(arg0, arg1));
+ public static String GENERATOR_CANNOT_CREATE_DIR(Object arg0) {
+ return LOCALIZER.localize(localizableGENERATOR_CANNOT_CREATE_DIR(arg0));
}
- public static Localizable localizableGENERATOR_SEI_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
- return messageFactory.getMessage("generator.sei.classAlreadyExist", arg0, arg1);
+ public static Localizable localizableGENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("generator.internal.error.should.not.happen", arg0);
}
/**
- * Could not generate SEI, class: {0} already exists. Rename wsdl:portType "{1}" using JAX-WS customization
+ * internal error (should not happen): {0}
*
*/
- public static String GENERATOR_SEI_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
- return localizer.localize(localizableGENERATOR_SEI_CLASS_ALREADY_EXIST(arg0, arg1));
+ public static String GENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(Object arg0) {
+ return LOCALIZER.localize(localizableGENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(arg0));
}
public static Localizable localizableGENERATOR_NESTED_GENERATOR_ERROR(Object arg0) {
- return messageFactory.getMessage("generator.nestedGeneratorError", arg0);
+ return MESSAGE_FACTORY.getMessage("generator.nestedGeneratorError", arg0);
}
/**
@@ -80,43 +88,42 @@
*
*/
public static String GENERATOR_NESTED_GENERATOR_ERROR(Object arg0) {
- return localizer.localize(localizableGENERATOR_NESTED_GENERATOR_ERROR(arg0));
+ return LOCALIZER.localize(localizableGENERATOR_NESTED_GENERATOR_ERROR(arg0));
}
- public static Localizable localizableGENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(Object arg0) {
- return messageFactory.getMessage("generator.internal.error.should.not.happen", arg0);
+ public static Localizable localizableGENERATOR_SEI_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("generator.sei.classAlreadyExist", arg0, arg1);
}
/**
- * internal error (should not happen): {0}
+ * Could not generate SEI, class: {0} already exists. Rename wsdl:portType "{1}" using JAX-WS customization
*
*/
- public static String GENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(Object arg0) {
- return localizer.localize(localizableGENERATOR_INTERNAL_ERROR_SHOULD_NOT_HAPPEN(arg0));
+ public static String GENERATOR_SEI_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableGENERATOR_SEI_CLASS_ALREADY_EXIST(arg0, arg1));
}
- public static Localizable localizableGENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(Object arg0) {
- return messageFactory.getMessage("generator.indentingwriter.charset.cantencode", arg0);
+ public static Localizable localizableGENERATOR_SERVICE_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("generator.service.classAlreadyExist", arg0, arg1);
}
/**
- * WSDL has some characters which native java encoder can''t encode: "{0}"
+ * Could not generate Service, class: {0} already exists. Rename wsdl:Service "{1}" using JAX-WS customization
*
*/
- public static String GENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(Object arg0) {
- return localizer.localize(localizableGENERATOR_INDENTINGWRITER_CHARSET_CANTENCODE(arg0));
+ public static String GENERATOR_SERVICE_CLASS_ALREADY_EXIST(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableGENERATOR_SERVICE_CLASS_ALREADY_EXIST(arg0, arg1));
}
- public static Localizable localizableGENERATOR_CANNOT_CREATE_DIR(Object arg0) {
- return messageFactory.getMessage("generator.cannot.create.dir", arg0);
- }
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
- /**
- * can''t create directory: {0}
- *
- */
- public static String GENERATOR_CANNOT_CREATE_DIR(Object arg0) {
- return localizer.localize(localizableGENERATOR_CANNOT_CREATE_DIR(arg0));
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/JavacompilerMessages.java 2017-05-03 18:06:53.471093155 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/JavacompilerMessages.java 2017-05-03 18:06:53.371093158 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,26 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class JavacompilerMessages {
- private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.javacompiler";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, JavacompilerMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
- }
+ private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.javacompiler";
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new JavacompilerMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
public static Localizable localizableNO_JAVACOMPILER_ERROR() {
- return messageFactory.getMessage("no.javacompiler.error");
+ return MESSAGE_FACTORY.getMessage("no.javacompiler.error");
}
/**
@@ -56,7 +52,18 @@
*
*/
public static String NO_JAVACOMPILER_ERROR() {
- return localizer.localize(localizableNO_JAVACOMPILER_ERROR());
+ return LOCALIZER.localize(localizableNO_JAVACOMPILER_ERROR());
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ModelMessages.java 2017-05-03 18:06:53.999093140 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ModelMessages.java 2017-05-03 18:06:53.899093143 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,271 +25,282 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ModelMessages {
+
private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.model";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, ModelMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new ModelMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ public static Localizable localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("model.importer.invalidMinorMinorOrPatchVersion", arg0, arg1, arg2);
}
- public static Localizable localizableMODEL_NESTED_MODEL_ERROR(Object arg0) {
- return messageFactory.getMessage("model.nestedModelError", arg0);
+ /**
+ * model version "{1}" newer than runtime version "{2}" (line {0}): need to upgrade to a newer runtime
+ *
+ */
+ public static String MODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(arg0, arg1, arg2));
+ }
+
+ public static Localizable localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("model.schema.unsupportedType", arg0, arg1, arg2);
}
/**
- * model error: {0}
+ * unsupported type ({0}): "{1}" (namespace: {2})
*
*/
- public static String MODEL_NESTED_MODEL_ERROR(Object arg0) {
- return localizer.localize(localizableMODEL_NESTED_MODEL_ERROR(arg0));
+ public static String MODEL_SCHEMA_UNSUPPORTED_TYPE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(arg0, arg1, arg2));
}
- public static Localizable localizableMODEL_EXCEPTION_NOTUNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.exception.notunique", arg0, arg1);
+ public static Localizable localizableMODEL_IMPORTER_INVALID_CLASS(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.importer.invalidClass", arg0, arg1);
}
/**
- * Failed to generate Java signature: duplicate exception names {0}. Use JAXWS binding customization to rename the wsdl:part "{1}"
+ * invalid class name "{1}" in model document (line {0})
*
*/
- public static String MODEL_EXCEPTION_NOTUNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_EXCEPTION_NOTUNIQUE(arg0, arg1));
+ public static String MODEL_IMPORTER_INVALID_CLASS(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_IMPORTER_INVALID_CLASS(arg0, arg1));
}
- public static Localizable localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(Object arg0) {
- return messageFactory.getMessage("model.schema.invalidWildcard.allCompositor", arg0);
+ public static Localizable localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES() {
+ return MESSAGE_FACTORY.getMessage("model.arraywrapper.no.subtypes");
}
/**
- * xsd:all compositor not supported for the wildcard in schema type: "{0}"
+ * LiteralArrayWrapper cannot have subtypes
*
*/
- public static String MODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(arg0));
+ public static String MODEL_ARRAYWRAPPER_NO_SUBTYPES() {
+ return LOCALIZER.localize(localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES());
}
- public static Localizable localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(Object arg0) {
- return messageFactory.getMessage("model.schema.simpleTypeWithFacets", arg0);
+ public static Localizable localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.uniqueness.javastructuretype", arg0, arg1);
}
/**
- * facet "{0}" not supported on simple type: "{0}"
+ * uniqueness constraint violation, duplicate member "{0}" added to JavaStructureType "{1}"
*
*/
- public static String MODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(arg0));
+ public static String MODEL_UNIQUENESS_JAVASTRUCTURETYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(arg0, arg1));
}
- public static Localizable localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(Object arg0) {
- return messageFactory.getMessage("model.schema.unionNotSupported", arg0);
+ public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.schema.invalidSimpleType.invalidItemType", arg0, arg1);
}
/**
- * simpleType: "{0}" derivation by xsd:union not supported
+ * in simpleType: "{0}", itemType "{1}" can not be derived by list
*
*/
- public static String MODEL_SCHEMA_UNION_NOT_SUPPORTED(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(arg0));
+ public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(arg0, arg1));
}
- public static Localizable localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(Object arg0) {
- return messageFactory.getMessage("model.complexType.simpleContent.reservedName", arg0);
+ public static Localizable localizableMODEL_IMPORTER_INVALID_VERSION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.importer.invalidVersion", arg0, arg1);
}
/**
- * invalid attribute name: "_value" in complexType: "{0}", _value is JAXWS reserved name, this name is generated in the generated javabean class to hold content value in the generated javabean class for complexType/simpleContent.
+ * invalid version "{1}" in model document (line {0})
*
*/
- public static String MODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(Object arg0) {
- return localizer.localize(localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(arg0));
+ public static String MODEL_IMPORTER_INVALID_VERSION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_IMPORTER_INVALID_VERSION(arg0, arg1));
}
- public static Localizable localizableMODEL_IMPORTER_INVALID_ID(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.importer.invalidId", arg0, arg1);
+ public static Localizable localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.exporter.unsupportedClass", arg0);
}
/**
- * invalid id "{1} in model document (line {0})
+ * model exporter: unsupported class: {0}
*
*/
- public static String MODEL_IMPORTER_INVALID_ID(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_IMPORTER_INVALID_ID(arg0, arg1));
+ public static String MODEL_EXPORTER_UNSUPPORTED_CLASS(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(arg0));
}
- public static Localizable localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(Object arg0) {
- return messageFactory.getMessage("model.schema.jaxbException.message", arg0);
+ public static Localizable localizableMODEL_NESTED_MODEL_ERROR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.nestedModelError", arg0);
}
/**
- * "{0}"
+ * model error: {0}
*
*/
- public static String MODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(arg0));
+ public static String MODEL_NESTED_MODEL_ERROR(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_NESTED_MODEL_ERROR(arg0));
}
- public static Localizable localizableMODEL_INVALID_MESSAGE_TYPE(Object arg0) {
- return messageFactory.getMessage("model.invalid.message.type", arg0);
+ public static Localizable localizableMODEL_EXCEPTION_NOTUNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.exception.notunique", arg0, arg1);
}
/**
- * invalid message type: {0}
+ * Failed to generate Java signature: duplicate exception names {0}. Use JAXWS binding customization to rename the wsdl:part "{1}"
*
*/
- public static String MODEL_INVALID_MESSAGE_TYPE(Object arg0) {
- return localizer.localize(localizableMODEL_INVALID_MESSAGE_TYPE(arg0));
+ public static String MODEL_EXCEPTION_NOTUNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_EXCEPTION_NOTUNIQUE(arg0, arg1));
}
- public static Localizable localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
- return messageFactory.getMessage("ConsoleErrorReporter.UnknownLocation");
+ public static Localizable localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
+ return MESSAGE_FACTORY.getMessage("model.arraywrapper.only.one.member");
}
/**
- * unknown location
+ * LiteralArrayWrapper may only have one element member.
*
*/
- public static String CONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
- return localizer.localize(localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION());
+ public static String MODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
+ return LOCALIZER.localize(localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER());
}
- public static Localizable localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(Object arg0) {
- return messageFactory.getMessage("model.exporter.unsupportedClass", arg0);
+ public static Localizable localizableMODEL_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.saxparser.exception", arg0, arg1);
}
/**
- * model exporter: unsupported class: {0}
+ * {0}
+ * {1}
*
*/
- public static String MODEL_EXPORTER_UNSUPPORTED_CLASS(Object arg0) {
- return localizer.localize(localizableMODEL_EXPORTER_UNSUPPORTED_CLASS(arg0));
+ public static String MODEL_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_SAXPARSER_EXCEPTION(arg0, arg1));
}
- public static Localizable localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("model.schema.elementNotFound", arg0);
+ public static Localizable localizableMODEL_IMPORTER_INVALID_ID(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.importer.invalidId", arg0, arg1);
}
/**
- * Element "{0}" not found.
+ * invalid id "{1} in model document (line {0})
*
*/
- public static String MODEL_SCHEMA_ELEMENT_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(arg0));
+ public static String MODEL_IMPORTER_INVALID_ID(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_IMPORTER_INVALID_ID(arg0, arg1));
}
- public static Localizable localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.uniqueness.javastructuretype", arg0, arg1);
+ public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.parameter.notunique.wrapper", arg0, arg1);
}
/**
- * uniqueness constraint violation, duplicate member "{0}" added to JavaStructureType "{1}"
+ * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
+ * 1. Use JAXWS binding customization to rename the wsdl:part "{1}"
+ * 2. Run wsimport with -extension switch.
+ * 3. This is wrapper style operation, to resolve parameter name conflict, you can also try disabling wrapper style by using false wsdl customization.
*
*/
- public static String MODEL_UNIQUENESS_JAVASTRUCTURETYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_UNIQUENESS_JAVASTRUCTURETYPE(arg0, arg1));
+ public static String MODEL_PARAMETER_NOTUNIQUE_WRAPPER(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(arg0, arg1));
}
- public static Localizable localizableMODEL_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.saxparser.exception", arg0, arg1);
+ public static Localizable localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.elementNotFound", arg0);
}
/**
- * {0}
- * {1}
+ * Element "{0}" not found.
*
*/
- public static String MODEL_SAXPARSER_EXCEPTION(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_SAXPARSER_EXCEPTION(arg0, arg1));
+ public static String MODEL_SCHEMA_ELEMENT_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_ELEMENT_NOT_FOUND(arg0));
}
- public static Localizable localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("model.schema.unsupportedType", arg0, arg1, arg2);
+ public static Localizable localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.unionNotSupported", arg0);
}
/**
- * unsupported type ({0}): "{1}" (namespace: {2})
+ * simpleType: "{0}" derivation by xsd:union not supported
*
*/
- public static String MODEL_SCHEMA_UNSUPPORTED_TYPE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableMODEL_SCHEMA_UNSUPPORTED_TYPE(arg0, arg1, arg2));
+ public static String MODEL_SCHEMA_UNION_NOT_SUPPORTED(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_UNION_NOT_SUPPORTED(arg0));
}
- public static Localizable localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(Object arg0) {
- return messageFactory.getMessage("model.schema.listNotSupported", arg0);
+ public static Localizable localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
+ return MESSAGE_FACTORY.getMessage("ConsoleErrorReporter.UnknownLocation");
}
/**
- * simpleType: "{0}" derivation by xsd:list not supported
+ * unknown location
*
*/
- public static String MODEL_SCHEMA_LIST_NOT_SUPPORTED(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(arg0));
+ public static String CONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION() {
+ return LOCALIZER.localize(localizableCONSOLE_ERROR_REPORTER_UNKNOWN_LOCATION());
}
- public static Localizable localizableMODEL_ARRAYWRAPPER_NO_PARENT() {
- return messageFactory.getMessage("model.arraywrapper.no.parent");
+ public static Localizable localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.invalidLiteralInEnumeration.anonymous", arg0);
}
/**
- * LiteralArrayWrapper cannot have a parent type
+ * invalid literal "{0}" in anonymous enumeration
*
*/
- public static String MODEL_ARRAYWRAPPER_NO_PARENT() {
- return localizer.localize(localizableMODEL_ARRAYWRAPPER_NO_PARENT());
+ public static String MODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(arg0));
}
- public static Localizable localizableMODEL_PARENT_TYPE_ALREADY_SET(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("model.parent.type.already.set", arg0, arg1, arg2);
+ public static Localizable localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
+ return MESSAGE_FACTORY.getMessage("model.arraywrapper.no.content.member");
}
/**
- * parent of type "{0}" already set to "{1}", new value = "{2}"
+ * LiteralArrayWrapper cannot have a content member
*
*/
- public static String MODEL_PARENT_TYPE_ALREADY_SET(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableMODEL_PARENT_TYPE_ALREADY_SET(arg0, arg1, arg2));
+ public static String MODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
+ return LOCALIZER.localize(localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER());
}
- public static Localizable localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES() {
- return messageFactory.getMessage("model.arraywrapper.no.subtypes");
+ public static Localizable localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
+ return MESSAGE_FACTORY.getMessage("model.arraywrapper.member.already.set");
}
/**
- * LiteralArrayWrapper cannot have subtypes
+ * LiteralArrayWrapper element member already set.
*
*/
- public static String MODEL_ARRAYWRAPPER_NO_SUBTYPES() {
- return localizer.localize(localizableMODEL_ARRAYWRAPPER_NO_SUBTYPES());
+ public static String MODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
+ return LOCALIZER.localize(localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET());
}
- public static Localizable localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("model.importer.invalidMinorMinorOrPatchVersion", arg0, arg1, arg2);
+ public static Localizable localizableMODEL_INVALID_MESSAGE_TYPE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.invalid.message.type", arg0);
}
/**
- * model version "{1}" newer than runtime version "{2}" (line {0}): need to upgrade to a newer runtime
+ * invalid message type: {0}
*
*/
- public static String MODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableMODEL_IMPORTER_INVALID_MINOR_MINOR_OR_PATCH_VERSION(arg0, arg1, arg2));
+ public static String MODEL_INVALID_MESSAGE_TYPE(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_INVALID_MESSAGE_TYPE(arg0));
}
public static Localizable localizableMODEL_SCHEMA_CIRCULARITY(Object arg0) {
- return messageFactory.getMessage("model.schema.circularity", arg0);
+ return MESSAGE_FACTORY.getMessage("model.schema.circularity", arg0);
}
/**
@@ -297,192 +308,188 @@
*
*/
public static String MODEL_SCHEMA_CIRCULARITY(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_CIRCULARITY(arg0));
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_CIRCULARITY(arg0));
}
- public static Localizable localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
- return messageFactory.getMessage("model.arraywrapper.member.already.set");
+ public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.schema.invalidSimpleType.noItemLiteralType", arg0, arg1);
}
/**
- * LiteralArrayWrapper element member already set.
+ * in simpleType: "{0}", xsd:list itemType "{1}" is invalid
*
*/
- public static String MODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET() {
- return localizer.localize(localizableMODEL_ARRAYWRAPPER_MEMBER_ALREADY_SET());
+ public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(arg0, arg1));
}
- public static Localizable localizableMODEL_IMPORTER_INVALID_CLASS(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.importer.invalidClass", arg0, arg1);
+ public static Localizable localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.listNotSupported", arg0);
}
/**
- * invalid class name "{1}" in model document (line {0})
+ * simpleType: "{0}" derivation by xsd:list not supported
*
*/
- public static String MODEL_IMPORTER_INVALID_CLASS(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_IMPORTER_INVALID_CLASS(arg0, arg1));
+ public static String MODEL_SCHEMA_LIST_NOT_SUPPORTED(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_LIST_NOT_SUPPORTED(arg0));
}
- public static Localizable localizableMODEL_IMPORTER_INVALID_VERSION(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.importer.invalidVersion", arg0, arg1);
+ public static Localizable localizable_002F_002F_REPLACEMENT() {
+ return MESSAGE_FACTORY.getMessage("//replacement");
}
/**
- * invalid version "{1}" in model document (line {0})
+ * for Uxxx codes
*
*/
- public static String MODEL_IMPORTER_INVALID_VERSION(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_IMPORTER_INVALID_VERSION(arg0, arg1));
+ public static String _002F_002F_REPLACEMENT() {
+ return LOCALIZER.localize(localizable_002F_002F_REPLACEMENT());
}
- public static Localizable localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(Object arg0, Object arg1) {
- return messageFactory.getMessage("ConsoleErrorReporter.LineXOfY", arg0, arg1);
+ public static Localizable localizableMODEL_PART_NOT_UNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.part.notUnique", arg0, arg1);
}
/**
- * line {0} of {1}
+ * parts in wsdl:message "{0}", reference "{1}", they must reference unique global elements.
*
*/
- public static String CONSOLE_ERROR_REPORTER_LINE_X_OF_Y(Object arg0, Object arg1) {
- return localizer.localize(localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(arg0, arg1));
+ public static String MODEL_PART_NOT_UNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_PART_NOT_UNIQUE(arg0, arg1));
}
- public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.parameter.notunique", arg0, arg1);
+ public static Localizable localizableMODEL_ARRAYWRAPPER_NO_PARENT() {
+ return MESSAGE_FACTORY.getMessage("model.arraywrapper.no.parent");
}
/**
- * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
- * 1. Use JAXWS binding customization to rename the wsdl:part "{1}"
- * 2. Run wsimport with -extension switch.
+ * LiteralArrayWrapper cannot have a parent type
*
*/
- public static String MODEL_PARAMETER_NOTUNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_PARAMETER_NOTUNIQUE(arg0, arg1));
+ public static String MODEL_ARRAYWRAPPER_NO_PARENT() {
+ return LOCALIZER.localize(localizableMODEL_ARRAYWRAPPER_NO_PARENT());
}
- public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.schema.invalidSimpleType.invalidItemType", arg0, arg1);
+ public static Localizable localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.complexType.simpleContent.reservedName", arg0);
}
/**
- * in simpleType: "{0}", itemType "{1}" can not be derived by list
+ * invalid attribute name: "_value" in complexType: "{0}", _value is JAXWS reserved name, this name is generated in the generated javabean class to hold content value in the generated javabean class for complexType/simpleContent.
*
*/
- public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_INVALID_ITEM_TYPE(arg0, arg1));
+ public static String MODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_COMPLEX_TYPE_SIMPLE_CONTENT_RESERVED_NAME(arg0));
}
- public static Localizable localizableMODEL_UNIQUENESS() {
- return messageFactory.getMessage("model.uniqueness");
+ public static Localizable localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.simpleTypeWithFacets", arg0);
}
/**
- * uniqueness constraint violation
+ * facet "{0}" not supported on simple type: "{0}"
*
*/
- public static String MODEL_UNIQUENESS() {
- return localizer.localize(localizableMODEL_UNIQUENESS());
+ public static String MODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_SIMPLE_TYPE_WITH_FACETS(arg0));
}
- public static Localizable localizable_002F_002F_REPLACEMENT() {
- return messageFactory.getMessage("//replacement");
+ public static Localizable localizableMODEL_SCHEMA_NOT_IMPLEMENTED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.notImplemented", arg0);
}
/**
- * for Uxxx codes
+ * unsupported XML Schema feature ({0})
*
*/
- public static String _002F_002F_REPLACEMENT() {
- return localizer.localize(localizable_002F_002F_REPLACEMENT());
+ public static String MODEL_SCHEMA_NOT_IMPLEMENTED(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_NOT_IMPLEMENTED(arg0));
}
- public static Localizable localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.schema.invalidSimpleType.noItemLiteralType", arg0, arg1);
+ public static Localizable localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.jaxbException.message", arg0);
}
/**
- * in simpleType: "{0}", xsd:list itemType "{1}" is invalid
+ * "{0}"
*
*/
- public static String MODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_SCHEMA_INVALID_SIMPLE_TYPE_NO_ITEM_LITERAL_TYPE(arg0, arg1));
+ public static String MODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_JAXB_EXCEPTION_MESSAGE(arg0));
}
- public static Localizable localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
- return messageFactory.getMessage("model.arraywrapper.only.one.member");
+ public static Localizable localizableMODEL_UNIQUENESS() {
+ return MESSAGE_FACTORY.getMessage("model.uniqueness");
}
/**
- * LiteralArrayWrapper may only have one element member.
+ * uniqueness constraint violation
*
*/
- public static String MODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER() {
- return localizer.localize(localizableMODEL_ARRAYWRAPPER_ONLY_ONE_MEMBER());
+ public static String MODEL_UNIQUENESS() {
+ return LOCALIZER.localize(localizableMODEL_UNIQUENESS());
}
- public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.parameter.notunique.wrapper", arg0, arg1);
+ public static Localizable localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("model.schema.invalidWildcard.allCompositor", arg0);
}
/**
- * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
- * 1. Use JAXWS binding customization to rename the wsdl:part "{1}"
- * 2. Run wsimport with -extension switch.
- * 3. This is wrapper style operation, to resolve parameter name conflict, you can also try disabling wrapper style by using false wsdl customization.
+ * xsd:all compositor not supported for the wildcard in schema type: "{0}"
*
*/
- public static String MODEL_PARAMETER_NOTUNIQUE_WRAPPER(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_PARAMETER_NOTUNIQUE_WRAPPER(arg0, arg1));
+ public static String MODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(Object arg0) {
+ return LOCALIZER.localize(localizableMODEL_SCHEMA_INVALID_WILDCARD_ALL_COMPOSITOR(arg0));
}
- public static Localizable localizableMODEL_SCHEMA_NOT_IMPLEMENTED(Object arg0) {
- return messageFactory.getMessage("model.schema.notImplemented", arg0);
+ public static Localizable localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("ConsoleErrorReporter.LineXOfY", arg0, arg1);
}
/**
- * unsupported XML Schema feature ({0})
+ * line {0} of {1}
*
*/
- public static String MODEL_SCHEMA_NOT_IMPLEMENTED(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_NOT_IMPLEMENTED(arg0));
+ public static String CONSOLE_ERROR_REPORTER_LINE_X_OF_Y(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableCONSOLE_ERROR_REPORTER_LINE_X_OF_Y(arg0, arg1));
}
- public static Localizable localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(Object arg0) {
- return messageFactory.getMessage("model.schema.invalidLiteralInEnumeration.anonymous", arg0);
+ public static Localizable localizableMODEL_PARENT_TYPE_ALREADY_SET(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("model.parent.type.already.set", arg0, arg1, arg2);
}
/**
- * invalid literal "{0}" in anonymous enumeration
+ * parent of type "{0}" already set to "{1}", new value = "{2}"
*
*/
- public static String MODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(Object arg0) {
- return localizer.localize(localizableMODEL_SCHEMA_INVALID_LITERAL_IN_ENUMERATION_ANONYMOUS(arg0));
+ public static String MODEL_PARENT_TYPE_ALREADY_SET(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableMODEL_PARENT_TYPE_ALREADY_SET(arg0, arg1, arg2));
}
- public static Localizable localizableMODEL_PART_NOT_UNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("model.part.notUnique", arg0, arg1);
+ public static Localizable localizableMODEL_PARAMETER_NOTUNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("model.parameter.notunique", arg0, arg1);
}
/**
- * parts in wsdl:message "{0}", reference "{1}", they must reference unique global elements.
+ * Failed to generate Java signature: duplicate parameter name "{0}". Try one of these
+ * 1. Use JAXWS binding customization to rename the wsdl:part "{1}"
+ * 2. Run wsimport with -extension switch.
*
*/
- public static String MODEL_PART_NOT_UNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableMODEL_PART_NOT_UNIQUE(arg0, arg1));
+ public static String MODEL_PARAMETER_NOTUNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMODEL_PARAMETER_NOTUNIQUE(arg0, arg1));
}
- public static Localizable localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
- return messageFactory.getMessage("model.arraywrapper.no.content.member");
- }
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
- /**
- * LiteralArrayWrapper cannot have a content member
- *
- */
- public static String MODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER() {
- return localizer.localize(localizableMODEL_ARRAYWRAPPER_NO_CONTENT_MEMBER());
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ModelerMessages.java 2017-05-03 18:06:54.519093125 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ModelerMessages.java 2017-05-03 18:06:54.419093127 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,1587 +25,1594 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class ModelerMessages {
- private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.modeler";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, ModelerMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
- }
+ private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.modeler";
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new ModelerMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.invalidSchemaType", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringFault.notLiteral", arg0, arg1);
}
/**
- * Ignoring the mime:part. mime part: {0} can not be mapped to schema type: {1}
+ * ignoring encoded fault "{0}" of binding operation "{1}"
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.parameterorder.parameter", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.multiplePartBinding", arg0, arg1);
}
/**
- * "{0}" specified in the parameterOrder attribute of operation "{1}" is not a valid part of the message.
+ * abstract operation "{0}" binding, part "{1}" has multiple binding.
*
*/
- public static String WSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.noSoapFaultName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeaderFault.notLiteral", arg0, arg1, arg2);
}
/**
- * soap:fault name not specified, wsdl:fault "{0}" in operation "{1}"
+ * ignoring header fault part="{0}" message="{1}" of operation {2}, use attribute must be "literal"
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT() {
- return messageFactory.getMessage("wsdlmodeler.warning.nonconforming.wsdl.import");
+ public static Localizable localizableWSDLMODELER_INVALID_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.header.notLiteral", arg0, arg1);
}
/**
- * Non conforming WS-I WSDL used for wsdl:import
+ * Invalid header "{0}" of binding operation "{1}": not literal
*
*/
- public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT() {
- return localizer.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT());
+ public static String WSDLMODELER_INVALID_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADER_NOT_LITERAL(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.notSupportedStyle", arg0);
}
/**
- * output message of binding operation "{0}" must specify a value for the "namespace" attribute
+ * ignoring operation "{0}": not request-response or one-way
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.fault.notLiteral", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts", arg0);
}
/**
- * ignoring encoded fault "{0}" in literal binding operation "{1}"
+ * more than one part left out in the parameterOrder attribute of operation "{0}"
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(arg0, arg1));
+ public static String WSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName", arg0, arg1);
}
/**
- * input message of binding operation "{0}" does not have a SOAP body extension
+ * Ignoring operation "{0}", can''t generate java method ,customized name "{1}" of the wsdl:operation is a java keyword.
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.notSupportedStyle", arg0, arg1);
}
/**
- * ignoring SOAP port "{0}": unrecognized transport. try running wsimport with -extension switch.
+ * Invalid WSDL, wsdl:operation "{0}" in wsdl:portType "{1}": not request-response or one-way
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.notFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.nonconforming.wsdl.types");
}
/**
- * in binding "{1}", operation "{0}" does not match any operation in the corresponding port type
+ * Non conforming WS-I WSDL used for wsdl:types
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES() {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES());
}
- public static Localizable localizableWSDLMODELER_UNSUPPORTED_BINDING_MIME() {
- return messageFactory.getMessage("wsdlmodeler.unsupportedBinding.mime");
+ public static Localizable localizableWSDLMODELER_INVALID_HEADER_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.header.notFound", arg0, arg1);
}
/**
- * WSDL MIME binding is not currently supported!
+ * header "{0}" of binding operation "{1}": not found
*
*/
- public static String WSDLMODELER_UNSUPPORTED_BINDING_MIME() {
- return localizer.localize(localizableWSDLMODELER_UNSUPPORTED_BINDING_MIME());
+ public static String WSDLMODELER_INVALID_HEADER_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADER_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute", arg0, arg1, arg2);
+ public static Localizable localizableMIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart", arg0);
}
/**
- * ignoring header fault part="{0}" message="{1}" of operation {2}
+ * Headers not in root mime:part with soap:body, ignoring headers in operation "{0}"
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(arg0, arg1, arg2));
+ public static String MIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_UNSUPPORTED_BINDING_MIME() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.unsupportedBinding.mime");
}
/**
- * Invalid operation "{0}", can''t generate java method. Parameter: part "{2}" in wsdl:message "{1}", is a java keyword. Use customization to change the parameter name or change the wsdl:part name.
+ * WSDL MIME binding is not currently supported!
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(arg0, arg1, arg2));
+ public static String WSDLMODELER_UNSUPPORTED_BINDING_MIME() {
+ return LOCALIZER.localize(localizableWSDLMODELER_UNSUPPORTED_BINDING_MIME());
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.headerfault.notLiteral", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_NON_UNIQUE_BODY_ERROR(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.nonUnique.body.error", arg0, arg1, arg2, arg3);
}
/**
- * Invalid headerfault "{0}" of binding operation "{1}": not literal
+ * Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. In port {0}, Operations "{1}" and "{2}" have the same request body block {3}. Try running wsimport with -extension switch, runtime will try to dispatch using SOAPAction
*
*/
- public static String WSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(arg0, arg1));
+ public static String WSDLMODELER_NON_UNIQUE_BODY_ERROR(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizableWSDLMODELER_NON_UNIQUE_BODY_ERROR(arg0, arg1, arg2, arg3));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART() {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.differentPart");
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.missingNamespace", arg0, arg1);
}
/**
- * Ignoring the mime:part. Invalid mime:part, the mime:content has different part attribute.
+ * fault "{0}" in operation "{1}" must specify a value for the "namespace" attribute
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART() {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART());
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_ERROR_PART_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.error.partNotFound", arg0, arg1);
+ public static Localizable localizableWSDLMODLER_WARNING_OPERATION_USE() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodler.warning.operation.use");
}
/**
- * part "{1}" of operation "{0}" could not be resolved!
+ * The WSDL used has operations with literal and encoded use. -f:searchschema is not supported for this scenario.
*
*/
- public static String WSDLMODELER_ERROR_PART_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_ERROR_PART_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODLER_WARNING_OPERATION_USE() {
+ return LOCALIZER.localize(localizableWSDLMODLER_WARNING_OPERATION_USE());
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_ERROR_PARTS_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.error.partsNotFound", arg0, arg1);
}
/**
- * Invalid header "{0}" in operation {1}: part must specify a "element" attribute
+ * parts "{0}" not found in the message "{1}", wrong WSDL
*
*/
- public static String WSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1));
+ public static String WSDLMODELER_ERROR_PARTS_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_ERROR_PARTS_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName", arg0);
+ public static Localizable localizableWSDLMODELER_JAXB_JAVATYPE_NOTFOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.jaxb.javatype.notfound", arg0, arg1);
}
/**
- * Invalid operation "{0}", it''s java reserved word, can''t generate java method. Use customization to change the operation name.
+ * Schema descriptor {0} in message part "{1}" is not defined and could not be bound to Java. Perhaps the schema descriptor {0} is not defined in the schema imported/included in the WSDL. You can either add such imports/includes or run wsimport and provide the schema location using -b switch.
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(arg0));
+ public static String WSDLMODELER_JAXB_JAVATYPE_NOTFOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_JAXB_JAVATYPE_NOTFOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.outputMissingSoapFault", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.headerfault.notLiteral", arg0, arg1);
}
/**
- * fault "{0}" in operation "{1}" does not have a SOAP fault extension
+ * Invalid headerfault "{0}" of binding operation "{1}": not literal
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(arg0, arg1));
+ public static String WSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADERFAULT_NOT_LITERAL(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart", arg0);
+ public static Localizable localizableWSDLMODELER_20_RPCENC_NOT_SUPPORTED() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler20.rpcenc.not.supported");
}
/**
- * ignoring operation "{0}": message part does not refer to a schema type declaration
+ * rpc/encoded wsdl's are not supported in JAXWS 2.0.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(arg0));
+ public static String WSDLMODELER_20_RPCENC_NOT_SUPPORTED() {
+ return LOCALIZER.localize(localizableWSDLMODELER_20_RPCENC_NOT_SUPPORTED());
}
- public static Localizable localizableWSDLMODLER_WARNING_OPERATION_USE() {
- return messageFactory.getMessage("wsdlmodler.warning.operation.use");
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.notFound", arg0, arg1);
}
/**
- * The WSDL used has operations with literal and encoded use. -f:searchschema is not supported for this scenario.
+ * fault "{0}" in operation "{1}" does not match any fault in the corresponding port type operation
*
*/
- public static String WSDLMODLER_WARNING_OPERATION_USE() {
- return localizer.localize(localizableWSDLMODLER_WARNING_OPERATION_USE());
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringNonSOAPPort", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_DOCLITOPERATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.doclitoperation", arg0);
}
/**
- * ignoring port "{0}": not a standard SOAP port. try running wsimport with -extension switch.
+ * Invalid wsdl:operation "{0}": its a document-literal operation, message part must refer to a schema element declaration
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(arg0));
+ public static String WSDLMODELER_INVALID_DOCLITOPERATION(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_DOCLITOPERATION(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.notNCName", arg0, arg1);
}
/**
- * fault "{0}" refers to message "{1}", but the message has more than one parts
+ * Ignoring operation "{0}", it has illegal character ''{1}'' in its name. Its rpc-literal operation - jaxws won't be able to serialize it!
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND() {
- return messageFactory.getMessage("wsdlmodeler.warning.noServiceDefinitionsFound");
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimePart.nameNotAllowed", arg0);
}
/**
- * WSDL document does not define any services
+ * name attribute on wsdl:part in Operation "{0}" is ignored. Its not allowed as per WS-I AP 1.0.
*
*/
- public static String WSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND() {
- return localizer.localize(localizableWSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND());
+ public static String MIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringFault.cant.resolve.message", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.notLiteral", arg0);
}
/**
- * ignoring fault "{0}" of binding operation "{1}": cannot resolve message
+ * ignoring document-style operation "{0}": parameters are not literal
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(arg0));
}
- public static Localizable localizableWSDLMODELER_JAXB_JAVATYPE_NOTFOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.jaxb.javatype.notfound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringFault.documentOperation", arg0, arg1);
}
/**
- * Schema descriptor {0} in message part "{1}" is not defined and could not be bound to Java. Perhaps the schema descriptor {0} is not defined in the schema imported/included in the WSDL. You can either add such imports/includes or run wsimport and provide the schema location using -b switch.
+ * ignoring fault "{0}" of document-style operation "{1}"
*
*/
- public static String WSDLMODELER_JAXB_JAVATYPE_NOTFOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_JAXB_JAVATYPE_NOTFOUND(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.port.SOAPBinding.mixedStyle", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.notUnique", arg0, arg1);
}
/**
- * not a WS-I BP1.1 compliant SOAP port "{0}": the WSDL binding has mixed style, it must be rpc-literal or document-literal operation!
+ * fault "{0}" in operation "{1}" matches more than one fault in the corresponding port type operation
*
*/
- public static String WSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_DOCLITOPERATION(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.doclitoperation", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.missingInputName", arg0);
}
/**
- * Invalid wsdl:operation "{0}": its a document-literal operation, message part must refer to a schema element declaration
+ * binding operation "{0}" must specify a name for its input message
*
*/
- public static String WSDLMODELER_INVALID_DOCLITOPERATION(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_DOCLITOPERATION(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(arg0));
}
- public static Localizable localizableMODELER_NESTED_MODEL_ERROR(Object arg0) {
- return messageFactory.getMessage("modeler.nestedModelError", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle", arg0, arg1, arg2);
}
/**
- * modeler error: {0}
+ * Invalid operation "{0}", can''t generate java method parameter. Local name of the wrapper child "{1}" in the global element "{2}" is a java keyword. Use customization to change the parameter name.
*
*/
- public static String MODELER_NESTED_MODEL_ERROR(Object arg0) {
- return localizer.localize(localizableMODELER_NESTED_MODEL_ERROR(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.duplicate.fault.soap.name", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringSOAPBinding12", arg0);
}
/**
- * ignoring fault "{0}" of operation "{1}", soap:fault name "{2}" is not unique
+ * Ignoring SOAP port "{0}": it uses non-standard SOAP 1.2 binding.
+ * You must specify the "-extension" option to use this binding.
*
*/
- public static String WSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.wrongSoapFaultName", arg0, arg1, arg2);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.mesagePartElementKind", arg0);
}
/**
- * name of soap:fault "{0}" doesn''t match the name of wsdl:fault "{1}" in operation "{2}"
+ * wsdl:part element referenced by mime:content part attribute: {0} must be defined using type attribute!
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(arg0, arg1, arg2));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.notLiteral", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringSOAPBinding.nonHTTPTransport", arg0);
}
/**
- * ignoring document-style operation "{0}": parameters are not literal
+ * ignoring SOAP port "{0}": unrecognized transport. try running wsimport with -extension switch.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_LITERAL(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_NON_HTTP_TRANSPORT(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle", arg0);
+ public static Localizable localizableWSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.duplicate.fault.soap.name", arg0, arg1, arg2);
}
/**
- * ignoring operation "{0}": cannot handle document-style operations
+ * ignoring fault "{0}" of operation "{1}", soap:fault name "{2}" is not unique
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(arg0));
+ public static String WSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_DUPLICATE_FAULT_SOAP_NAME(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringFault.notLiteral", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage", arg0);
}
/**
- * ignoring encoded fault "{0}" of binding operation "{1}"
+ * ignoring operation "{0}": output message is empty
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_LITERAL(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_RPCLITOPERATION(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.rpclitoperation", arg0);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimePart.moreThanOneSOAPBody", arg0);
}
/**
- * Invalid wsdl:operation "{0}": its a rpc-literal operation, message part must refer to a schema type declaration
+ * Ignoring operation "{0}". The Multipart/Related structure has invalid root part: more than one soap:body parts found
*
*/
- public static String WSDLMODELER_INVALID_RPCLITOPERATION(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_RPCLITOPERATION(arg0));
+ public static String MIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.messageHasMoreThanOnePart", arg0, arg1);
}
/**
- * Invalid operation "{0}", can''t generate java method. Parameter,customized name "{1}" is a java keyword.
+ * fault "{0}" refers to message "{1}", but the message has more than one parts
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MESSAGE_HAS_MORE_THAN_ONE_PART(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.memberSubmissionAddressingUsed", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart", arg0);
}
/**
- * obsolete addressing version 08-2004:"{0}" used; version "{1}" should be used instead.
+ * ignoring operation "{0}": message part does not refer to a schema element declaration
*
*/
- 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 String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.bindingOperation.multiplePartBinding", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULTS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringFaults", arg0);
}
/**
- * Check the abstract operation "{0}" binding, part "{1}" has multiple binding. Will try to generated artifacts anyway...
+ * ignoring faults declared by operation "{0}"
*
*/
- public static String WSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_FAULTS(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULTS(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_12(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.port.SOAPBinding12", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace", arg0);
}
/**
- * SOAP port "{0}": uses a non-standard SOAP 1.2 binding.
+ * input message of binding operation "{0}" must specify a value for the "namespace" attribute
*
*/
- public static String WSDLMODELER_WARNING_PORT_SOAP_BINDING_12(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_12(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.portTypeFault.notFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleElementMessagePart", arg0);
}
/**
- * fault "{0}" in portType operation "{1}" does not match any fault in the corresponding binding operation
+ * ignoring operation "{0}": message part does not refer to a schema type declaration
*
*/
- public static String WSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_ELEMENT_MESSAGE_PART(arg0));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(Object arg0) {
- return messageFactory.getMessage("mimemodeler.invalidMimePart.nameNotAllowed", arg0);
+ public static Localizable localizableMODELER_NESTED_MODEL_ERROR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("modeler.nestedModelError", arg0);
}
/**
- * name attribute on wsdl:part in Operation "{0}" is ignored. Its not allowed as per WS-I AP 1.0.
+ * modeler error: {0}
*
*/
- public static String MIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_PART_NAME_NOT_ALLOWED(arg0));
+ public static String MODELER_NESTED_MODEL_ERROR(Object arg0) {
+ return LOCALIZER.localize(localizableMODELER_NESTED_MODEL_ERROR(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringMimePart.notFound", arg0, arg1);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART() {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.differentPart");
}
/**
- * ignoring mime:part, cannot find part "{0}" referenced by the mime:content in the wsdl:operation "{1}"
+ * Ignoring the mime:part. Invalid mime:part, the mime:content has different part attribute.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(arg0, arg1));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART() {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_DIFFERENT_PART());
}
- public static Localizable localizableWSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.operation.MoreThanOnePartInMessage", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.ignoringMemberSubmissionAddressing", arg0, arg1);
}
/**
- * Ignoring operation "{0}": more than one part bound to body
+ * 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_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(arg0));
+ 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_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.bindingOperation.multiplePartBinding", arg0, arg1);
}
/**
- * Ignoring operation "{0}", can''t generate java method. Parameter: part "{2}" in wsdl:message "{1}", is a java keyword. Use customization to change the parameter name or change the wsdl:part name.
+ * Check the abstract operation "{0}" binding, part "{1}" has multiple binding. Will try to generated artifacts anyway...
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_BINDING_OPERATION_MULTIPLE_PART_BINDING(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.fault.cant.resolve.message", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringNonSOAPPort.noAddress", arg0);
}
/**
- * fault message "{0}" in binding operation "{1}" could not be resolved
+ * ignoring port "{0}": no SOAP address specified. try running wsimport with -extension switch.
*
*/
- public static String WSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.emptyMessage", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_12(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.port.SOAPBinding12", arg0);
}
/**
- * fault "{0}" refers to message "{1}", but the message has no parts
+ * SOAP port "{0}": uses a non-standard SOAP 1.2 binding.
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_PORT_SOAP_BINDING_12(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_12(arg0));
}
- public static Localizable localizableWSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.rpclit.unkownschematype", arg0, arg1, arg2);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.invalidSchemaType", arg0, arg1);
}
/**
- * XML type "{0}" could not be resolved, XML to JAVA binding failed! Please check the wsdl:part "{1}" in the wsdl:message "{2}".
+ * Ignoring the mime:part. mime part: {0} can not be mapped to schema type: {1}
*
*/
- public static String WSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(arg0, arg1, arg2));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_INVALID_SCHEMA_TYPE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.notEncoded", arg0);
}
/**
- * ignoring operation "{0}": cannot handle "parts" attribute of "soap:body" element
+ * ignoring RPC-style operation "{0}": parameters are not encoded
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(arg0));
}
- public static Localizable localizableWSDLMODELER_NON_UNIQUE_BODY_ERROR(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("wsdlmodeler.nonUnique.body.error", arg0, arg1, arg2, arg3);
+ public static Localizable localizableWSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.header.message.partMustHaveElementDescriptor", arg0, arg1);
}
/**
- * Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. In port {0}, Operations "{1}" and "{2}" have the same request body block {3}. Try running wsimport with -extension switch, runtime will try to dispatch using SOAPAction
+ * Invalid header "{0}" in operation {1}: part must specify a "element" attribute
*
*/
- public static String WSDLMODELER_NON_UNIQUE_BODY_ERROR(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizableWSDLMODELER_NON_UNIQUE_BODY_ERROR(arg0, arg1, arg2, arg3));
+ public static String WSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADER_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.message.partMustHaveElementDescriptor", arg0, arg1);
}
/**
- * ignoring port "{0}", its not WS-I BP 1.1 compliant: the wsdl binding has mixed style, it must be rpc-literal or document-literal operation. try running wsimport with -extension switch.
+ * in message "{0}", part "{1}" must specify a "element" attribute
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(arg0));
+ public static String WSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(Object arg0) {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.missingTypeAttribute", arg0);
+ public static Localizable localizableWSDLMODELER_ERROR_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.error.partNotFound", arg0, arg1);
}
/**
- * Missing type attribute in mime:content in operation "{0}". part attribute must be present in mime:content declaration.
+ * part "{1}" of operation "{0}" could not be resolved!
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(arg0));
+ public static String WSDLMODELER_ERROR_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_ERROR_PART_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.operationName", arg0);
}
/**
- * ignoring operation "{0}": input message is empty
+ * Invalid operation "{0}", it''s java reserved word, can''t generate java method. Use customization to change the operation name.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.noPortsInService", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.notInPortType", arg0, arg1);
}
/**
- * Service "{0}" does not contain any usable ports. try running wsimport with -extension switch.
+ * in binding "{1}", operation "{0}" does not appear in the corresponding port type
*
*/
- public static String WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.parameterOrder.tooManyUnmentionedParts", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalidOperation", arg0);
}
/**
- * more than one part left out in the parameterOrder attribute of operation "{0}"
+ * invalid operation: {0}
*
*/
- public static String WSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_PARAMETER_ORDER_TOO_MANY_UNMENTIONED_PARTS(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.inputSoapBody.missingNamespace", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace", arg0, arg1);
}
/**
- * input message of binding operation "{0}" must specify a value for the "namespace" attribute
+ * output header "{1}" of binding operation "{0}" must specify a value for the "namespace" attribute
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage", arg0);
}
/**
- * ignoring header "{0}" of binding operation "{1}"
+ * ignoring operation "{0}": more than one part in input message
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_RESPONSEBEAN_NOTFOUND(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.responsebean.notfound", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.missingOutputName", arg0);
}
/**
- * wsimport failed to generate async response bean for operation: {0}
+ * binding operation "{0}" must specify a name for its output message
*
*/
- public static String WSDLMODELER_RESPONSEBEAN_NOTFOUND(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_RESPONSEBEAN_NOTFOUND(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(arg0));
}
- public static Localizable localizableWSDLMODELER_20_RPCENC_NOT_SUPPORTED() {
- return messageFactory.getMessage("wsdlmodeler20.rpcenc.not.supported");
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.missingName", arg0, arg1);
}
/**
- * rpc/encoded wsdl's are not supported in JAXWS 2.0.
+ * fault "{0}" in operation "{1}" must specify a value for the "name" attribute
*
*/
- public static String WSDLMODELER_20_RPCENC_NOT_SUPPORTED() {
- return localizer.localize(localizableWSDLMODELER_20_RPCENC_NOT_SUPPORTED());
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.partNotFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.notFound", arg0, arg1);
}
/**
- * ignoring operation "{0}": part "{1}" not found
+ * in binding "{1}", operation "{0}" does not match any operation in the corresponding port type
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.message.partMustHaveElementDescriptor", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleBodyPartsAttribute", arg0);
}
/**
- * in message "{0}", part "{1}" must specify a "element" attribute
+ * ignoring operation "{0}": cannot handle "parts" attribute of "soap:body" element
*
*/
- public static String WSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_BODY_PARTS_ATTRIBUTE(arg0));
}
- public static Localizable localizableWSDLMODELER_ERROR_PARTS_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.error.partsNotFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.nonWrapperStyle", arg0, arg1, arg2);
}
/**
- * parts "{0}" not found in the message "{1}", wrong WSDL
+ * Ignoring operation "{0}", can''t generate java method. Parameter: part "{2}" in wsdl:message "{1}", is a java keyword. Use customization to change the parameter name or change the wsdl:part name.
*
*/
- public static String WSDLMODELER_ERROR_PARTS_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_ERROR_PARTS_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringFault.notEncoded", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode", arg0);
}
/**
- * ignoring literal fault "{0}" of binding operation "{1}"
+ * ignoring operation "{0}": binding style and operation style are conflicting
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.notSupportedStyle", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.notFound", arg0, arg1);
}
/**
- * ignoring operation "{0}": not request-response or one-way
+ * ignoring header "{0}" of binding operation "{1}": not found
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_SUPPORTED_STYLE(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.multiplePartBinding", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_MEMBER_SUBMISSION_ADDRESSING_USED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.memberSubmissionAddressingUsed", arg0, arg1);
}
/**
- * abstract operation "{0}" binding, part "{1}" has multiple binding.
+ * obsolete addressing version 08-2004:"{0}" used; version "{1}" should be used instead.
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_PART_BINDING(arg0, arg1));
+ 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_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_NO_SOAP_ADDRESS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.noSOAPAddress", arg0);
}
/**
- * in binding "{1}", operation "{0}" does not reference a unique operation in the corresponding port type
+ * Port "{0}" is not a SOAP port, it has no soap:address
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(arg0, arg1));
+ public static String WSDLMODELER_WARNING_NO_SOAP_ADDRESS(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NO_SOAP_ADDRESS(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.cant.resolve.message", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName", arg0);
}
/**
- * ignoring header "{0}" of binding operation "{1}": cannot resolve message
+ * Ignoring operation "{0}", it''s java reserved word, can''t generate java method. Use customization to change the operation name.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customizedOperationName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.notLiteral", arg0, arg1);
}
/**
- * Ignoring operation "{0}", can''t generate java method ,customized name "{1}" of the wsdl:operation is a java keyword.
+ * ignoring header "{0}" of binding operation "{1}": not literal
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.notLiteral", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.outputMissingSoapFault", arg0, arg1);
}
/**
- * ignoring header "{0}" of binding operation "{1}": not literal
+ * fault "{0}" in operation "{1}" does not have a SOAP fault extension
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_LITERAL(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_OUTPUT_MISSING_SOAP_FAULT(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_NON_UNIQUE_BODY_WARNING(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.nonUnique.body.warning", arg0, arg1, arg2, arg3);
}
/**
- * input header "{1}" of binding operation "{0}" must specify a value for the "namespace" attribute
+ * Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. In port {0}, Operations "{1}" and "{2}" have the same request body block {3}. Method dispatching may fail, runtime will try to dispatch using SOAPAction
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(arg0, arg1));
+ public static String WSDLMODELER_NON_UNIQUE_BODY_WARNING(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizableWSDLMODELER_NON_UNIQUE_BODY_WARNING(arg0, arg1, arg2, arg3));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.missingInputName", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.port.SOAPBinding.mixedStyle", arg0);
}
/**
- * binding operation "{0}" must specify a name for its input message
+ * not a WS-I BP1.1 compliant SOAP port "{0}": the WSDL binding has mixed style, it must be rpc-literal or document-literal operation!
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_INPUT_NAME(arg0));
+ public static String WSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_PORT_SOAP_BINDING_MIXED_STYLE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringNonSOAPPort.noAddress", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.noSoapFaultName", arg0, arg1);
}
/**
- * ignoring port "{0}": no SOAP address specified. try running wsimport with -extension switch.
+ * soap:fault name not specified, wsdl:fault "{0}" in operation "{1}"
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT_NO_ADDRESS(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NO_SOAP_FAULT_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.resultIsInOutParameter", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor", arg0, arg1, arg2);
}
/**
- * result is "inout" parameter in operation: {0}
+ * Invalid headerfault "{0}" for header {1} in operation {2}: part must specify an "element" attribute
*
*/
- public static String WSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(arg0));
+ public static String WSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADER_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.header.notFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.rpclit.unkownschematype", arg0, arg1, arg2);
}
/**
- * header "{0}" of binding operation "{1}": not found
+ * XML type "{0}" could not be resolved, XML to JAVA binding failed! Please check the wsdl:part "{1}" in the wsdl:message "{2}".
*
*/
- public static String WSDLMODELER_INVALID_HEADER_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADER_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_RPCLIT_UNKOWNSCHEMATYPE(arg0, arg1, arg2));
}
- public static Localizable localizableMIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("mimemodeler.elementPart.invalidElementMimeType", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_R_2716(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.r2716", arg0, arg1);
}
/**
- * The mime:content part refers to wsdl:part "{0}", defined using element attribute. Please make sure the mime type: "{1}" is appropriate to serialize XML.
+ * R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for {0}: "{1}"
*
*/
- public static String MIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_R_2716(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_R_2716(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.header.notLiteral", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle", arg0, arg1, arg2);
}
/**
- * Invalid header "{0}" of binding operation "{1}": not literal
+ * Ignoring operation "{0}", can''t generate java method parameter. Local name of the wrapper child "{1}" in the global element "{2}" is a java keyword. Use customization to change the parameter name.
*
*/
- public static String WSDLMODELER_INVALID_HEADER_NOT_LITERAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADER_NOT_LITERAL(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(arg0, arg1, arg2));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(Object arg0) {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.mesagePartElementKind", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.fault.notLiteral", arg0, arg1);
}
/**
- * wsdl:part element referenced by mime:content part attribute: {0} must be defined using type attribute!
+ * ignoring encoded fault "{0}" in literal binding operation "{1}"
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MESAGE_PART_ELEMENT_KIND(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_FAULT_NOT_LITERAL(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.notEncoded", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.outputSoapBody.missingNamespace", arg0);
}
/**
- * ignoring RPC-style operation "{0}": parameters are not encoded
+ * output message of binding operation "{0}" must specify a value for the "namespace" attribute
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_ENCODED(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES() {
- return messageFactory.getMessage("wsdlmodeler.warning.nonconforming.wsdl.types");
+ public static Localizable localizableWSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.header.cant.resolve.message", arg0, arg1);
}
/**
- * Non conforming WS-I WSDL used for wsdl:types
+ * header "{0}" of binding operation "{1}": cannot resolve message
*
*/
- public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES() {
- return localizer.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_TYPES());
+ public static String WSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInInputMessage", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.searchSchema.unrecognizedTypes", arg0);
}
/**
- * ignoring operation "{0}": more than one part in input message
+ * encountered {0} unrecognized type(s)
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_INPUT_MESSAGE(arg0));
+ public static String WSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyOutputMessage", arg0);
+ public static Localizable localizableWSDLMODELER_RESPONSEBEAN_NOTFOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.responsebean.notfound", arg0);
}
/**
- * ignoring operation "{0}": output message is empty
+ * wsimport failed to generate async response bean for operation: {0}
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_OUTPUT_MESSAGE(arg0));
+ public static String WSDLMODELER_RESPONSEBEAN_NOTFOUND(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_RESPONSEBEAN_NOTFOUND(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_R_2716_R_2726(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.r2716r2726", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.unsolvableNamingConflicts", arg0);
}
/**
- * R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for {0}: "{1}"
+ * the following naming conflicts occurred: {0}
*
*/
- public static String WSDLMODELER_WARNING_R_2716_R_2726(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_R_2716_R_2726(arg0, arg1));
+ public static String WSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_IGNORING_MEMBER_SUBMISSION_ADDRESSING(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.ignoringMemberSubmissionAddressing", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.noPortsInService", arg0);
}
/**
- * 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.
+ * Service "{0}" does not contain any usable ports. try running 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 String WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_NO_SOAP_ADDRESS(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.noSOAPAddress", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringFault.cant.resolve.message", arg0, arg1);
}
/**
- * Port "{0}" is not a SOAP port, it has no soap:address
+ * ignoring fault "{0}" of binding operation "{1}": cannot resolve message
*
*/
- public static String WSDLMODELER_WARNING_NO_SOAP_ADDRESS(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_NO_SOAP_ADDRESS(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_CANT_RESOLVE_MESSAGE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULTS(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringFaults", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.partNotFound", arg0, arg1);
}
/**
- * ignoring faults declared by operation "{0}"
+ * ignoring operation "{0}": part "{1}" not found
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_FAULTS(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULTS(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_PART_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.missingName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeaderFault.noElementAttribute", arg0, arg1, arg2);
}
/**
- * fault "{0}" in operation "{1}" must specify a value for the "name" attribute
+ * ignoring header fault part="{0}" message="{1}" of operation {2}
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAME(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NO_ELEMENT_ATTRIBUTE(arg0, arg1, arg2));
}
- public static Localizable localizableMIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(Object arg0) {
- return messageFactory.getMessage("mimemodeler.warning.IgnoringinvalidHeaderPart.notDeclaredInRootPart", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_R_2716_R_2726(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.r2716r2726", arg0, arg1);
}
/**
- * Headers not in root mime:part with soap:body, ignoring headers in operation "{0}"
+ * R2716/R2726 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit or rpc/lit for {0}: "{1}"
*
*/
- public static String MIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_WARNING_IGNORINGINVALID_HEADER_PART_NOT_DECLARED_IN_ROOT_PART(arg0));
+ public static String WSDLMODELER_WARNING_R_2716_R_2726(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_R_2716_R_2726(arg0, arg1));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS() {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.errorLoadingJavaClass");
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.multipleMatchingOperations", arg0, arg1);
}
/**
- * Couldn't find class "{0}" for mime type "{1}"
+ * in binding "{1}", operation "{0}" does not reference a unique operation in the corresponding port type
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS() {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS());
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MULTIPLE_MATCHING_OPERATIONS(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.notInPortType", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.notEncoded", arg0, arg1);
}
/**
- * in binding "{1}", operation "{0}" does not appear in the corresponding port type
+ * ignoring header "{0}" of binding operation "{1}": not SOAP-encoded
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_NOT_IN_PORT_TYPE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.conflictStyleInWSIMode", arg0);
+ public static Localizable localizableMIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.elementPart.invalidElementMimeType", arg0, arg1);
}
/**
- * ignoring operation "{0}": binding style and operation style are conflicting
+ * The mime:content part refers to wsdl:part "{0}", defined using element attribute. Please make sure the mime type: "{1}" is appropriate to serialize XML.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CONFLICT_STYLE_IN_WSI_MODE(arg0));
+ public static String MIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMIMEMODELER_ELEMENT_PART_INVALID_ELEMENT_MIME_TYPE(arg0, arg1));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(Object arg0) {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.missingPartAttribute", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.portTypeFault.notFound", arg0, arg1);
}
/**
- * Ignoring operation "{0}", missing part attribute in mime:content. part attribute must be present in mime:content declaration.
+ * fault "{0}" in portType operation "{1}" does not match any fault in the corresponding binding operation
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(arg0));
+ public static String WSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_PORT_TYPE_FAULT_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.searchSchema.unrecognizedTypes", arg0);
+ public static Localizable localizableWSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.resultIsInOutParameter", arg0);
}
/**
- * encountered {0} unrecognized type(s)
+ * result is "inout" parameter in operation: {0}
*
*/
- public static String WSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_SEARCH_SCHEMA_UNRECOGNIZED_TYPES(arg0));
+ public static String WSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_RESULT_IS_IN_OUT_PARAMETER(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.operation.MoreThanOnePartInMessage", arg0);
}
/**
- * Invalid operation "{0}", can''t generate java method ,customized name "{1}" of the wsdl:operation is a java keyword.
+ * Ignoring operation "{0}": more than one part bound to body
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(arg0, arg1));
+ public static String WSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.header.cant.resolve.message", arg0, arg1);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS() {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.errorLoadingJavaClass");
}
/**
- * header "{0}" of binding operation "{1}": cannot resolve message
+ * Couldn't find class "{0}" for mime type "{1}"
*
*/
- public static String WSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADER_CANT_RESOLVE_MESSAGE(arg0, arg1));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS() {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_ERROR_LOADING_JAVA_CLASS());
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.missingNamespace", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_RPCLITOPERATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.rpclitoperation", arg0);
}
/**
- * fault "{0}" in operation "{1}" must specify a value for the "namespace" attribute
+ * Invalid wsdl:operation "{0}": its a rpc-literal operation, message part must refer to a schema type declaration
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_MISSING_NAMESPACE(arg0, arg1));
+ public static String WSDLMODELER_INVALID_RPCLITOPERATION(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_RPCLITOPERATION(arg0));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(Object arg0) {
- return messageFactory.getMessage("mimemodeler.invalidMimePart.moreThanOneSOAPBody", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.partFromBody", arg0);
}
/**
- * Ignoring operation "{0}". The Multipart/Related structure has invalid root part: more than one soap:body parts found
+ * header part: "{0}" already bound by soapbind:body, illegal to bind the part twice
*
*/
- public static String MIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(Object arg0) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_PART_MORE_THAN_ONE_SOAP_BODY(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.inconsistentDefinition", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.noServiceDefinitionsFound");
}
/**
- * ignoring header "{0}" of operation "{1}": part not found
+ * WSDL document does not define any services
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(arg0, arg1));
+ public static String WSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND() {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NO_SERVICE_DEFINITIONS_FOUND());
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.notFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.emptyMessage", arg0, arg1);
}
/**
- * fault "{0}" in operation "{1}" does not match any fault in the corresponding port type operation
+ * fault "{0}" refers to message "{1}", but the message has no parts
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_EMPTY_MESSAGE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.parameterorder.parameter", arg0, arg1);
}
/**
- * Ignoring operation "{0}", can''t generate java method. Parameter,customized name "{1}" is a java keyword.
+ * "{0}" specified in the parameterOrder attribute of operation "{1}" is not a valid part of the message.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(arg0, arg1));
+ public static String WSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_PARAMETERORDER_PARAMETER(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension", arg0);
+ public static Localizable localizableWSDLMODELER_DUPLICATE_FAULT_PART_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.duplicate.fault.part.name", arg0, arg1, arg2);
}
/**
- * ignoring schema element (unsupported version): {0}
+ * ignoring fault "{0}" of operation "{1}", part name "{2}" is not unique
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(arg0));
+ public static String WSDLMODELER_DUPLICATE_FAULT_PART_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_DUPLICATE_FAULT_PART_NAME(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeaderFault.notFound", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringNonSOAPPort", arg0);
}
/**
- * ignoring header fault "{0}", cannot find part "{1}" in binding "{2}"
+ * ignoring port "{0}": not a standard SOAP port. try running wsimport with -extension switch.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_NON_SOAP_PORT(arg0));
}
- public static Localizable localizableWSDLMODELER_NON_UNIQUE_BODY_WARNING(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("wsdlmodeler.nonUnique.body.warning", arg0, arg1, arg2, arg3);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customizedOperationName", arg0, arg1);
}
/**
- * Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signature on the wire for successful dispatch. In port {0}, Operations "{1}" and "{2}" have the same request body block {3}. Method dispatching may fail, runtime will try to dispatch using SOAPAction
+ * Invalid operation "{0}", can''t generate java method ,customized name "{1}" of the wsdl:operation is a java keyword.
*
*/
- public static String WSDLMODELER_NON_UNIQUE_BODY_WARNING(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizableWSDLMODELER_NON_UNIQUE_BODY_WARNING(arg0, arg1, arg2, arg3));
+ public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOMIZED_OPERATION_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.wrapperStyle", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.nonWrapperStyle", arg0, arg1, arg2);
}
/**
- * Invalid operation "{0}", can''t generate java method parameter. Local name of the wrapper child "{1}" in the global element "{2}" is a java keyword. Use customization to change the parameter name.
+ * Invalid operation "{0}", can''t generate java method. Parameter: part "{2}" in wsdl:message "{1}", is a java keyword. Use customization to change the parameter name or change the wsdl:part name.
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(arg0, arg1, arg2));
+ public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_NON_WRAPPER_STYLE(arg0, arg1, arg2));
}
- public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("mimemodeler.invalidMimeContent.unknownSchemaType", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.cant.resolve.message", arg0, arg1);
}
/**
- * Unknown schema type: {1} for mime:content part: {0}
+ * ignoring header "{0}" of binding operation "{1}": cannot resolve message
*
*/
- public static String MIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_CANT_RESOLVE_MESSAGE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_R_2716(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.r2716", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.inputMissingSoapBody", arg0);
}
/**
- * R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for {0}: "{1}"
+ * input message of binding operation "{0}" does not have a SOAP body extension
*
*/
- public static String WSDLMODELER_WARNING_R_2716(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_R_2716(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.notFound", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.parameterOrder.invalidParameterOrder", arg0);
}
/**
- * ignoring header "{0}" of binding operation "{1}": not found
+ * parameterOrder attribute on operation "{0}" is invalid, ignoring parameterOrder hint
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_FOUND(arg0, arg1));
+ public static String WSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleTypeMessagePart", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.noOperationsInPort", arg0);
}
/**
- * ignoring operation "{0}": message part does not refer to a schema element declaration
+ * Port "{0}" does not contain any usable operations
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_TYPE_MESSAGE_PART(arg0));
+ public static String WSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.parameterOrder.invalidParameterOrder", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT() {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.nonconforming.wsdl.import");
}
/**
- * parameterOrder attribute on operation "{0}" is invalid, ignoring parameterOrder hint
+ * Non conforming WS-I WSDL used for wsdl:import
*
*/
- public static String WSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_PARAMETER_ORDER_INVALID_PARAMETER_ORDER(arg0));
+ public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT() {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_IMPORT());
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.missingOutputName", arg0);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.missingTypeAttribute", arg0);
}
/**
- * binding operation "{0}" must specify a name for its output message
+ * Missing type attribute in mime:content in operation "{0}". part attribute must be present in mime:content declaration.
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_MISSING_OUTPUT_NAME(arg0));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalidOperation", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.inputHeader.missingNamespace", arg0, arg1);
}
/**
- * invalid operation: {0}
+ * input header "{1}" of binding operation "{0}" must specify a value for the "namespace" attribute
*
*/
- public static String WSDLMODELER_INVALID_OPERATION(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_INPUT_HEADER_MISSING_NAMESPACE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.outputHeader.missingNamespace", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.parameter.differentTypes", arg0, arg1);
}
/**
- * output header "{1}" of binding operation "{0}" must specify a value for the "namespace" attribute
+ * parameter "{0}" of operation "{1}" appears with different types in the input and output messages
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_HEADER_MISSING_NAMESPACE(arg0, arg1));
+ public static String WSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.partFromBody", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage", arg0);
}
/**
- * header part: "{0}" already bound by soapbind:body, illegal to bind the part twice
+ * ignoring operation "{0}": more than one part in output message
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_PART_FROM_BODY(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.notSupportedStyle", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.nonconforming.wsdl.use", arg0);
}
/**
- * Invalid WSDL, wsdl:operation "{0}" in wsdl:portType "{1}": not request-response or one-way
+ * Processing WS-I non conforming operation "{0}" with RPC-Style and SOAP-encoded
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.notNCName", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleDocumentStyle", arg0);
}
/**
- * Ignoring operation "{0}", it has illegal character ''{1}'' in its name. Its rpc-literal operation - jaxws won't be able to serialize it!
+ * ignoring operation "{0}": cannot handle document-style operations
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_NOT_NC_NAME(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_DOCUMENT_STYLE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.parameter.differentTypes", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingFault.wrongSoapFaultName", arg0, arg1, arg2);
}
/**
- * parameter "{0}" of operation "{1}" appears with different types in the input and output messages
+ * name of soap:fault "{0}" doesn''t match the name of wsdl:fault "{1}" in operation "{2}"
*
*/
- public static String WSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_PARAMETER_DIFFERENT_TYPES(arg0, arg1));
+ public static String WSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_WRONG_SOAP_FAULT_NAME(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringFault.documentOperation", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.MoreThanOnePartInMessage", arg0);
}
/**
- * ignoring fault "{0}" of document-style operation "{1}"
+ * operation "{0}": more than one part bound to body
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_DOCUMENT_OPERATION(arg0, arg1));
+ public static String WSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.nonconforming.wsdl.use", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_NON_SOAP_PORT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.nonSOAPPort", arg0);
}
/**
- * Processing WS-I non conforming operation "{0}" with RPC-Style and SOAP-encoded
+ * port "{0}": not a standard SOAP port. The generated artifacts may not work with JAX-WS runtime.
*
*/
- public static String WSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_NONCONFORMING_WSDL_USE(arg0));
+ public static String WSDLMODELER_WARNING_NON_SOAP_PORT(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_NON_SOAP_PORT(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_NON_SOAP_PORT(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.nonSOAPPort", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_STATE_MODELING_OPERATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalidState.modelingOperation", arg0);
}
/**
- * port "{0}": not a standard SOAP port. The generated artifacts may not work with JAX-WS runtime.
+ * invalid state while modeling operation: {0}
*
*/
- public static String WSDLMODELER_WARNING_NON_SOAP_PORT(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_NON_SOAP_PORT(arg0));
+ public static String WSDLMODELER_INVALID_STATE_MODELING_OPERATION(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_STATE_MODELING_OPERATION(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.invalid.headerfault.message.partMustHaveElementDescriptor", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleEmptyInputMessage", arg0);
}
/**
- * Invalid headerfault "{0}" for header {1} in operation {2}: part must specify an "element" attribute
+ * ignoring operation "{0}": input message is empty
*
*/
- public static String WSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_INVALID_HEADERFAULT_MESSAGE_PART_MUST_HAVE_ELEMENT_DESCRIPTOR(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_EMPTY_INPUT_MESSAGE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_STATE_MODELING_OPERATION(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalidState.modelingOperation", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody", arg0);
}
/**
- * invalid state while modeling operation: {0}
+ * output message of binding operation "{0}" does not have a SOAP body extension
*
*/
- public static String WSDLMODELER_INVALID_STATE_MODELING_OPERATION(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_STATE_MODELING_OPERATION(arg0));
+ public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.operationName", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeaderFault.notFound", arg0, arg1, arg2);
}
/**
- * Ignoring operation "{0}", it''s java reserved word, can''t generate java method. Use customization to change the operation name.
+ * ignoring header fault "{0}", cannot find part "{1}" in binding "{2}"
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_OPERATION_NAME(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_FOUND(arg0, arg1, arg2));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeader.notEncoded", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader", arg0, arg1);
}
/**
- * ignoring header "{0}" of binding operation "{1}": not SOAP-encoded
+ * ignoring header "{0}" of binding operation "{1}"
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_NOT_ENCODED(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_DUPLICATE_FAULT_PART_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.duplicate.fault.part.name", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.fault.cant.resolve.message", arg0, arg1);
}
/**
- * ignoring fault "{0}" of operation "{1}", part name "{2}" is not unique
+ * fault message "{0}" in binding operation "{1}" could not be resolved
*
*/
- public static String WSDLMODELER_DUPLICATE_FAULT_PART_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_DUPLICATE_FAULT_PART_NAME(arg0, arg1, arg2));
+ public static String WSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_FAULT_CANT_RESOLVE_MESSAGE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.operation.MoreThanOnePartInMessage", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringMimePart.notFound", arg0, arg1);
}
/**
- * operation "{0}": more than one part bound to body
+ * ignoring mime:part, cannot find part "{0}" referenced by the mime:content in the wsdl:operation "{1}"
*
*/
- public static String WSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_OPERATION_MORE_THAN_ONE_PART_IN_MESSAGE(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_MIME_PART_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringSOAPBinding12", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringUnrecognizedSchemaExtension", arg0);
}
/**
- * Ignoring SOAP port "{0}": it uses non-standard SOAP 1.2 binding.
- * You must specify the "-extension" option to use this binding.
+ * ignoring schema element (unsupported version): {0}
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_12(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_UNRECOGNIZED_SCHEMA_EXTENSION(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingFault.notUnique", arg0, arg1);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringSOAPBinding.mixedStyle", arg0);
}
/**
- * fault "{0}" in operation "{1}" matches more than one fault in the corresponding port type operation
+ * ignoring port "{0}", its not WS-I BP 1.1 compliant: the wsdl binding has mixed style, it must be rpc-literal or document-literal operation. try running wsimport with -extension switch.
*
*/
- public static String WSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_FAULT_NOT_UNIQUE(arg0, arg1));
+ public static String WSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_SOAP_BINDING_MIXED_STYLE(arg0));
}
- public static Localizable localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.invalid.bindingOperation.outputMissingSoapBody", arg0);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.unknownSchemaType", arg0, arg1);
}
/**
- * output message of binding operation "{0}" does not have a SOAP body extension
+ * Unknown schema type: {1} for mime:content part: {0}
*
*/
- public static String WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(arg0));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_UNKNOWN_SCHEMA_TYPE(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringHeaderFault.notLiteral", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringFault.notEncoded", arg0, arg1);
}
/**
- * ignoring header fault part="{0}" message="{1}" of operation {2}, use attribute must be "literal"
+ * ignoring literal fault "{0}" of binding operation "{1}"
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_FAULT_NOT_LITERAL(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_FAULT_NOT_ENCODED(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.cannotHandleMoreThanOnePartInOutputMessage", arg0);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.customName", arg0, arg1);
}
/**
- * ignoring operation "{0}": more than one part in output message
+ * Ignoring operation "{0}", can''t generate java method. Parameter,customized name "{1}" is a java keyword.
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_CANNOT_HANDLE_MORE_THAN_ONE_PART_IN_OUTPUT_MESSAGE(arg0));
+ public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.warning.noOperationsInPort", arg0);
+ public static Localizable localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("mimemodeler.invalidMimeContent.missingPartAttribute", arg0);
}
/**
- * Port "{0}" does not contain any usable operations
+ * Ignoring operation "{0}", missing part attribute in mime:content. part attribute must be present in mime:content declaration.
*
*/
- public static String WSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_WARNING_NO_OPERATIONS_IN_PORT(arg0));
+ public static String MIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(Object arg0) {
+ return LOCALIZER.localize(localizableMIMEMODELER_INVALID_MIME_CONTENT_MISSING_PART_ATTRIBUTE(arg0));
}
- public static Localizable localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsdlmodeler.warning.ignoringOperation.javaReservedWordNotAllowed.wrapperStyle", arg0, arg1, arg2);
+ public static Localizable localizableWSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.warning.ignoringHeader.inconsistentDefinition", arg0, arg1);
}
/**
- * Ignoring operation "{0}", can''t generate java method parameter. Local name of the wrapper child "{1}" in the global element "{2}" is a java keyword. Use customization to change the parameter name.
+ * ignoring header "{0}" of operation "{1}": part not found
*
*/
- public static String WSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSDLMODELER_WARNING_IGNORING_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_WRAPPER_STYLE(arg0, arg1, arg2));
+ public static String WSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_WARNING_IGNORING_HEADER_INCONSISTENT_DEFINITION(arg0, arg1));
}
- public static Localizable localizableWSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(Object arg0) {
- return messageFactory.getMessage("wsdlmodeler.unsolvableNamingConflicts", arg0);
+ public static Localizable localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsdlmodeler.invalid.operation.javaReservedWordNotAllowed.customName", arg0, arg1);
}
/**
- * the following naming conflicts occurred: {0}
+ * Invalid operation "{0}", can''t generate java method. Parameter,customized name "{1}" is a java keyword.
*
*/
- public static String WSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(Object arg0) {
- return localizer.localize(localizableWSDLMODELER_UNSOLVABLE_NAMING_CONFLICTS(arg0));
+ public static String WSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSDLMODELER_INVALID_OPERATION_JAVA_RESERVED_WORD_NOT_ALLOWED_CUSTOM_NAME(arg0, arg1));
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ProcessorMessages.java 2017-05-03 18:06:55.175093105 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/ProcessorMessages.java 2017-05-03 18:06:55.075093108 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,11 @@
package com.sun.tools.internal.ws.resources;
-import com.sun.istack.internal.localization.LocalizableMessageFactory;
-import com.sun.istack.internal.localization.Localizer;
-
import java.util.Locale;
import java.util.ResourceBundle;
+import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
+import com.sun.istack.internal.localization.Localizer;
/**
@@ -37,12 +37,20 @@
*
*/
public final class ProcessorMessages {
+
private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.processor";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, ProcessorMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new ProcessorMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
}
+
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/UtilMessages.java 2017-05-03 18:06:55.687093090 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/UtilMessages.java 2017-05-03 18:06:55.583093093 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,62 +25,69 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class UtilMessages {
- private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.util";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, UtilMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
- }
+ private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.util";
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new UtilMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- public static Localizable localizableSAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(Object arg0) {
- return messageFactory.getMessage("sax2dom.notsupported.createelement", arg0);
+ public static Localizable localizableNULL_NAMESPACE_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("null.namespace.found", arg0);
}
/**
- * SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0}
+ * Encountered error in wsdl. Check namespace of element <{0}>
*
*/
- public static String SAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(Object arg0) {
- return localizer.localize(localizableSAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(arg0));
+ public static String NULL_NAMESPACE_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableNULL_NAMESPACE_FOUND(arg0));
}
- public static Localizable localizableNULL_NAMESPACE_FOUND(Object arg0) {
- return messageFactory.getMessage("null.namespace.found", arg0);
+ public static Localizable localizableHOLDER_VALUEFIELD_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("holder.valuefield.not.found", arg0);
}
/**
- * Encountered error in wsdl. Check namespace of element <{0}>
+ * Could not find the field in the Holder that contains the Holder''s value: {0}
*
*/
- public static String NULL_NAMESPACE_FOUND(Object arg0) {
- return localizer.localize(localizableNULL_NAMESPACE_FOUND(arg0));
+ public static String HOLDER_VALUEFIELD_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableHOLDER_VALUEFIELD_NOT_FOUND(arg0));
}
- public static Localizable localizableHOLDER_VALUEFIELD_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("holder.valuefield.not.found", arg0);
+ public static Localizable localizableSAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("sax2dom.notsupported.createelement", arg0);
}
/**
- * Could not find the field in the Holder that contains the Holder''s value: {0}
+ * SAX2DOMEx.DomImplDoesntSupportCreateElementNs: {0}
*
*/
- public static String HOLDER_VALUEFIELD_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableHOLDER_VALUEFIELD_NOT_FOUND(arg0));
+ public static String SAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizableSAX_2_DOM_NOTSUPPORTED_CREATEELEMENT(arg0));
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java 2017-05-03 18:06:56.191093076 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WebserviceapMessages.java 2017-05-03 18:06:56.091093079 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,318 +25,326 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class WebserviceapMessages {
+
private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.webserviceap";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, WebserviceapMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new WebserviceapMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.method.is.abstract", arg0, arg1);
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.endpointinterfaces.do.not.match", arg0, arg1);
+ /**
+ * Classes annotated with @javax.jws.WebService must not have abstract methods. Class: {0} Method: {1}
+ *
+ */
+ public static String WEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(arg0, arg1));
+ }
+
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.and.webserviceprovider", arg0);
}
/**
- * The endpoint interface {0} does not match the interface {1}.
+ * Classes cannot be annotated with both @javax.jws.WebService and @javax.xml.ws.WebServiceProvider. Class: {0}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(arg0, arg1));
+ public static String WEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(arg0));
}
- public static Localizable localizableWEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.invalid.webmethod.element.with.exclude", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.doc.bare.and.no.one.in", arg0, arg1);
}
/**
- * The @javax.jws.WebMethod.{0} element cannot be specified with the @javax.jws.WebMethod.exclude element. Class: {1} method: {2}
+ * Document literal bare methods must have one non-header, IN/INOUT parameter. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.sei.cannot.contain.constant.values", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.literal.bare.must.have.only.one.in.parameter", arg0, arg1, arg2);
}
/**
- * A service endpoint interface cannot contain constant declaration: Interface: {0} field: {1}.
+ * Document literal bare methods must have no more than 1 non-header in parameter. Class: {0} method: {1} number of non-header parameters: {2}
*
*/
- public static String WEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(arg0, arg1));
+ public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.invalid.soapbinding.parameterstyle", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.bare.holder.parameters.must.not.be.inout", arg0, arg1, arg2);
}
/**
- * Incorrect usage of Annotation {0} on {1}, ParameterStyle can only be WRAPPED with RPC Style Web service.
+ * javax.xml.ws.Holder parameters in document bare operations must be WebParam.Mode.INOUT; Class: {0} method: {1} parameter: {2}
*
*/
- public static String WEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(arg0, arg1));
+ public static String WEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.rpc.literal.parameters.must.have.webparam", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.doc.bare.return.and.out", arg0, arg1);
}
/**
- * All RPC literal parameters must have a WebParam annotation. Class: {0} method: {1} parameter {2}
+ * Document/literal bare methods cannot have a return type and out parameters. Class: {0}, method: {1}
*
*/
- public static String WEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.method.exception.bean.name.not.unique", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_COMPILATION_FAILED() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.compilationFailed");
}
/**
- * Exception bean names must be unique and must not clash with other generated classes. Class: {0} exception {1}
+ * compilation failed, errors should have been reported
*
*/
- public static String WEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
+ public static String WEBSERVICEAP_COMPILATION_FAILED() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_COMPILATION_FAILED());
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.and.webserviceprovider", arg0);
+ public static Localizable localizableWEBSERVICEAP_MIXED_BINDING_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.mixed.binding.style", arg0);
}
/**
- * Classes cannot be annotated with both @javax.jws.WebService and @javax.xml.ws.WebServiceProvider. Class: {0}
+ * Class: {0} contains mixed bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT cannot be mixed.
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_AND_WEBSERVICEPROVIDER(arg0));
+ public static String WEBSERVICEAP_MIXED_BINDING_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_MIXED_BINDING_STYLE(arg0));
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.no.default.constructor", arg0);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinterface.on.interface", arg0, arg1);
}
/**
- * Classes annotated with @javax.jws.WebService must have a public default constructor. Class: {0}
+ * Service endpoint interface: {0} cannot have a WebService.endpointInterface annotation: {1}
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(arg0));
+ public static String WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_DOC_BARE_NO_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.doc.bare.no.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.no.package.class.must.have.targetnamespace", arg0);
}
/**
- * Document/literal bare methods with no return type or OUT/INOUT parameters must be annotated as @Oneway. Class: {0}, method: {1}
+ * @javax.jws.Webservice annotated classes that do not belong to a package must have the @javax.jws.Webservice.targetNamespace element. Class: {0}
*
*/
- public static String WEBSERVICEAP_DOC_BARE_NO_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOC_BARE_NO_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(arg0));
}
- public static Localizable localizableWEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.failed.to.parse.handlerchain.file", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_SUCCEEDED() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.succeeded");
}
/**
- * Failed to parse HandlerChain file. Class: {0}, file: {1}
+ * Success
*
*/
- public static String WEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(arg0, arg1));
+ public static String WEBSERVICEAP_SUCCEEDED() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_SUCCEEDED());
}
- public static Localizable localizableWEBSERVICEAP_JAVA_TYPE_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("webserviceap.java.typeNotFound", arg0);
+ public static Localizable localizableWEBSERVICEAP_ERROR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.error", arg0);
}
/**
- * The type: {0} was not found in the mapping
+ * error: {0}
*
*/
- public static String WEBSERVICEAP_JAVA_TYPE_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_JAVA_TYPE_NOT_FOUND(arg0));
+ public static String WEBSERVICEAP_ERROR(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ERROR(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.oneway.operation.cannot.declare.exceptions", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.could.not.find.handlerchain", arg0, arg1);
}
/**
- * The method {1} of class {0} is annotated @Oneway but declares the exception {2}
+ * Could not find the handlerchain {0} in the handler file {1}
*
*/
- public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.webservice.method.is.static.or.final", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinterface.class.not.found", arg0);
}
/**
- * Method annotated with @javax.jws.WebMethod must not be static or final. Class: {0} Method: {1}
+ * The endpointInterface class {0} could not be found
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(arg0, arg1));
+ public static String WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.oneway.operation.cannot.have.return.type", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.return.type.cannot.implement.remote", arg0, arg1, arg2);
}
/**
- * The method {1} of class {0} is annotated @Oneway but has a return type.
+ * Method return types cannot implement java.rmi.Remote. Class: {0} method: {1} return type: {2}
*
*/
- public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(arg0, arg1));
+ public static String WEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_WARNING(Object arg0) {
- return messageFactory.getMessage("webserviceap.warning", arg0);
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.method.is.static.or.final", arg0, arg1);
}
/**
- * warning: {0}
+ * Method annotated with @javax.jws.WebMethod must not be static or final. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_WARNING(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WARNING(arg0));
+ public static String WEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_STATIC_OR_FINAL(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.method.response.wrapper.bean.name.not.unique", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.sei.annotation", arg0, arg1);
}
/**
- * Response wrapper bean names must be unique and must not clash with other generated classes. Class: {0} method {1}
+ * The @{0} annotation cannot be used on a service endpoint interface. Class: {1}
*
*/
- public static String WEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
+ public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.endpointinterface.on.interface", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.no.default.constructor", arg0);
}
/**
- * Service endpoint interface: {0} cannot have a WebService.endpointInterface annotation: {1}
+ * Classes annotated with @javax.jws.WebService must have a public default constructor. Class: {0}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE(arg0, arg1));
+ public static String WEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_NO_DEFAULT_CONSTRUCTOR(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ONEWAY_AND_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.oneway.and.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.doc.bare.no.return.and.no.out", arg0, arg1);
}
/**
- * @Oneway methods cannot have out parameters. Class: {0} method {1}
+ * Document literal bare methods that do not have a return value must have a single OUT/INOUT parameter. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_ONEWAY_AND_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ONEWAY_AND_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.rpc.literal.webparams.must.specify.name", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.exception.bean.name.not.unique", arg0, arg1);
}
/**
- * All RPC literal WebParams must specify a name. Class: {0} method {1} parameter {2}
+ * Exception bean names must be unique and must not clash with other generated classes. Class: {0} exception {1}
*
*/
- public static String WEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.invalid.sei.annotation.element.exclude", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_DOC_BARE_NO_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.doc.bare.no.out", arg0, arg1);
}
/**
- * The @javax.jws.WebMethod({0}) cannot be used on a service endpoint interface. Class: {1} method: {2}
+ * Document/literal bare methods with no return type or OUT/INOUT parameters must be annotated as @Oneway. Class: {0}, method: {1}
*
*/
- public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_DOC_BARE_NO_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOC_BARE_NO_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_CLASS_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("webserviceap.class.not.found", arg0);
+ public static Localizable localizableWEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.failed.to.find.handlerchain.file", arg0, arg1);
}
/**
- * Class Not Found: {0}
+ * Cannot find HandlerChain file. class: {0}, file: {1}
*
*/
- public static String WEBSERVICEAP_CLASS_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_CLASS_NOT_FOUND(arg0));
+ public static String WEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(Object arg0) {
- return messageFactory.getMessage("webserviceap.endpointinteface.plus.element", arg0);
+ public static Localizable localizableWEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.oneway.and.not.one.in", arg0, arg1);
}
/**
- * The @javax.jws.WebService.{0} element cannot be used in with @javax.jws.WebService.endpointInterface element.
+ * Document literal bare methods annotated with @javax.jws.Oneway must have one non-header IN parameter. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(arg0));
+ public static String WEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS() {
- return messageFactory.getMessage("webserviceap.cannot.combine.handlerchain.soapmessagehandlers");
+ public static Localizable localizableWEBSERVICEAP_CLASS_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.class.not.found", arg0);
}
/**
- * You cannot specify both HanlderChain and SOAPMessageHandlers annotations
+ * Class Not Found: {0}
*
*/
- public static String WEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS() {
- return localizer.localize(localizableWEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS());
+ public static String WEBSERVICEAP_CLASS_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_CLASS_NOT_FOUND(arg0));
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.class.is.innerclass.not.static", arg0);
+ public static Localizable localizableWEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.parameter.types.cannot.implement.remote", arg0, arg1, arg2, arg3);
}
/**
- * Inner classes annotated with @javax.jws.WebService must be static. Class: {0}
+ * Method parameter types cannot implement java.rmi.Remote. Class: {0} method: {1} parameter: {2} type: {3}
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(arg0));
+ public static String WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(arg0, arg1, arg2, arg3));
}
public static Localizable localizableWEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.non.in.parameters.must.be.holder", arg0, arg1, arg2);
+ return MESSAGE_FACTORY.getMessage("webserviceap.non.in.parameters.must.be.holder", arg0, arg1, arg2);
}
/**
@@ -344,83 +352,83 @@
*
*/
public static String WEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(arg0, arg1, arg2));
+ return LOCALIZER.localize(localizableWEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.invalid.sei.annotation.element", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_INIT_PARAM_FORMAT_ERROR() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.init_param.format.error");
}
/**
- * The @javax.jws.WebService.{0} element cannot be specified on a service endpoint interface. Class: {1}
+ * a element must have exactly 1 and 1
*
*/
- public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(arg0, arg1));
+ public static String WEBSERVICEAP_INIT_PARAM_FORMAT_ERROR() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INIT_PARAM_FORMAT_ERROR());
}
- public static Localizable localizableWEBSERVICEAP_SUCCEEDED() {
- return messageFactory.getMessage("webserviceap.succeeded");
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.literal.bare.must.have.one.in.or.out", arg0, arg1);
}
/**
- * Success
+ * Document literal bare methods must have at least one of: a return, an in parameter or an out parameter. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_SUCCEEDED() {
- return localizer.localize(localizableWEBSERVICEAP_SUCCEEDED());
+ public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.doc.bare.and.no.one.in", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.oneway.operation.cannot.have.holders", arg0, arg1);
}
/**
- * Document literal bare methods must have one non-header, IN/INOUT parameter. Class: {0} Method: {1}
+ * The method {1} of class {0} is annotated @Oneway but contains INOUT or OUT parameters (javax.xml.ws.Holder)
*
*/
- public static String WEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN(arg0, arg1));
+ public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.webservice.method.is.abstract", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinteface.plus.element", arg0);
}
/**
- * Classes annotated with @javax.jws.WebService must not have abstract methods. Class: {0} Method: {1}
+ * The @javax.jws.WebService.{0} element cannot be used in with @javax.jws.WebService.endpointInterface element.
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_METHOD_IS_ABSTRACT(arg0, arg1));
+ public static String WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT(arg0));
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("webserviceap.document.literal.bare.method.return.not.unique", arg0, arg1, arg2, arg3);
+ public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.sei.annotation.element", arg0, arg1);
}
/**
- * Document literal bare methods must have a unique result name return type combination. Class {0} method: {1}, result name: {2} return type: {3}
+ * The @javax.jws.WebService.{0} element cannot be specified on a service endpoint interface. Class: {1}
*
*/
- public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(arg0, arg1, arg2, arg3));
+ public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND() {
- return messageFactory.getMessage("webserviceap.no.webservice.endpoint.found");
+ public static Localizable localizableWEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.header.parameters.must.have.webparam.name", arg0, arg1, arg2);
}
/**
- * A web service endpoint could not be found
+ * All WebParam annotations on header parameters must specify a name. Class: {0} method {1} parameter {2}
*
*/
- public static String WEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND() {
- return localizer.localize(localizableWEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND());
+ public static String WEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(arg0, arg1, arg2));
}
public static Localizable localizableWEBSERVICEAP_FILE_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("webserviceap.fileNotFound", arg0);
+ return MESSAGE_FACTORY.getMessage("webserviceap.fileNotFound", arg0);
}
/**
@@ -428,347 +436,335 @@
*
*/
public static String WEBSERVICEAP_FILE_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_FILE_NOT_FOUND(arg0));
- }
-
- public static Localizable localizableWEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(Object arg0) {
- return messageFactory.getMessage("webserviceap.invalid.handlerchain.file.nohandler-config", arg0);
- }
-
- /**
- * The handlerchain file {0} is invalid, it does not contain a handler-config element
- *
- */
- public static String WEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(arg0));
+ return LOCALIZER.localize(localizableWEBSERVICEAP_FILE_NOT_FOUND(arg0));
}
- public static Localizable localizableWEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.header.parameters.must.have.webparam.name", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_METHOD_NOT_ANNOTATED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.not.annotated", arg0, arg1);
}
/**
- * All WebParam annotations on header parameters must specify a name. Class: {0} method {1} parameter {2}
+ * The method {0} on class {1} is not annotated.
*
*/
- public static String WEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_HEADER_PARAMETERS_MUST_HAVE_WEBPARAM_NAME(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_METHOD_NOT_ANNOTATED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_NOT_ANNOTATED(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.method.return.type.cannot.implement.remote", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinterface.has.no.webservice.annotation", arg0);
}
/**
- * Method return types cannot implement java.rmi.Remote. Class: {0} method: {1} return type: {2}
+ * The endpoint interface {0} must have a WebService annotation
*
*/
- public static String WEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_RETURN_TYPE_CANNOT_IMPLEMENT_REMOTE(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(Object arg0) {
- return messageFactory.getMessage("webserviceap.endpointinteface.plus.annotation", arg0);
+ public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.rpc.literal.webparams.must.specify.name", arg0, arg1, arg2);
}
/**
- * The @{0} annotation cannot be used in with @javax.jws.WebService.endpointInterface element.
+ * All RPC literal WebParams must specify a name. Class: {0} method {1} parameter {2}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(arg0));
+ public static String WEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_RPC_LITERAL_WEBPARAMS_MUST_SPECIFY_NAME(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.holder.parameters.must.not.be.in.only", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.literal.bare.method.not.unique", arg0, arg1, arg2);
}
/**
- * javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class: {0} method: {1} parameter: {2}
+ * Document literal bare methods must have unique parameter names. Class: {0} method: {1} parameter name: {2}
*
*/
- public static String WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.document.literal.bare.must.have.only.one.in.parameter", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.rpc.literal.must.not.be.bare", arg0);
}
/**
- * Document literal bare methods must have no more than 1 non-header in parameter. Class: {0} method: {1} number of non-header parameters: {2}
+ * RPC literal SOAPBindings must have parameterStyle WRAPPED. Class: {0}.
*
*/
- public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONLY_ONE_IN_PARAMETER(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(arg0));
}
- public static Localizable localizableWEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.doc.bare.return.and.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.oneway.operation.cannot.declare.exceptions", arg0, arg1, arg2);
}
/**
- * Document/literal bare methods cannot have a return type and out parameters. Class: {0}, method: {1}
+ * The method {1} of class {0} is annotated @Oneway but declares the exception {2}
*
*/
- public static String WEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOC_BARE_RETURN_AND_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_DECLARE_EXCEPTIONS(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("webserviceap.method.parameter.types.cannot.implement.remote", arg0, arg1, arg2, arg3);
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.literal.bare.method.return.not.unique", arg0, arg1, arg2, arg3);
}
/**
- * Method parameter types cannot implement java.rmi.Remote. Class: {0} method: {1} parameter: {2} type: {3}
+ * Document literal bare methods must have a unique result name return type combination. Class {0} method: {1}, result name: {2} return type: {3}
*
*/
- public static String WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(arg0, arg1, arg2, arg3));
+ public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_RETURN_NOT_UNIQUE(arg0, arg1, arg2, arg3));
}
- public static Localizable localizableWEBSERVICEAP_COMPILATION_FAILED() {
- return messageFactory.getMessage("webserviceap.compilationFailed");
+ public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.oneway.operation.cannot.have.return.type", arg0, arg1);
}
/**
- * compilation failed, errors should have been reported
+ * The method {1} of class {0} is annotated @Oneway but has a return type.
*
*/
- public static String WEBSERVICEAP_COMPILATION_FAILED() {
- return localizer.localize(localizableWEBSERVICEAP_COMPILATION_FAILED());
+ public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_RETURN_TYPE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_MODEL_ALREADY_EXISTS() {
- return messageFactory.getMessage("webserviceap.model.already.exists");
+ public static Localizable localizableWEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.no.webservice.endpoint.found");
}
/**
- * model already exists
+ * A web service endpoint could not be found
*
*/
- public static String WEBSERVICEAP_MODEL_ALREADY_EXISTS() {
- return localizer.localize(localizableWEBSERVICEAP_MODEL_ALREADY_EXISTS());
+ public static String WEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_NO_WEBSERVICE_ENDPOINT_FOUND());
}
- public static Localizable localizableWEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.could.not.find.typedecl", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_ONEWAY_AND_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.oneway.and.out", arg0, arg1);
}
/**
- * Could not get TypeElement for: {0} in annotation processing round: {1}
+ * @Oneway methods cannot have out parameters. Class: {0} method {1}
*
*/
- public static String WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(arg0, arg1));
+ public static String WEBSERVICEAP_ONEWAY_AND_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ONEWAY_AND_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.class.not.public", arg0);
+ public static Localizable localizableWEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.cannot.combine.handlerchain.soapmessagehandlers");
}
/**
- * Classes annotated with @javax.jws.WebService must be public. Class: {0}
+ * You cannot specify both HanlderChain and SOAPMessageHandlers annotations
*
*/
- public static String WEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(arg0));
+ public static String WEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_CANNOT_COMBINE_HANDLERCHAIN_SOAPMESSAGEHANDLERS());
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.document.literal.bare.method.not.unique", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.class.is.innerclass.not.static", arg0);
}
/**
- * Document literal bare methods must have unique parameter names. Class: {0} method: {1} parameter name: {2}
+ * Inner classes annotated with @javax.jws.WebService must be static. Class: {0}
*
*/
- public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_METHOD_NOT_UNIQUE(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_INNERCLASS_NOT_STATIC(arg0));
}
- public static Localizable localizableWEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.rpc.soapbinding.not.allowed.on.method", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_INFO(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.info", arg0);
}
/**
- * SOAPBinding.Style.RPC binding annotations are not allowed on methods. Class: {0} Method: {1}
+ * info: {0}
*
*/
- public static String WEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(arg0, arg1));
+ public static String WEBSERVICEAP_INFO(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INFO(arg0));
}
- public static Localizable localizableWEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(Object arg0) {
- return messageFactory.getMessage("webserviceap.no.package.class.must.have.targetnamespace", arg0);
+ public static Localizable localizableWEBSERVICEAP_JAVA_TYPE_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.java.typeNotFound", arg0);
}
/**
- * @javax.jws.Webservice annotated classes that do not belong to a package must have the @javax.jws.Webservice.targetNamespace element. Class: {0}
+ * The type: {0} was not found in the mapping
*
*/
- public static String WEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_NO_PACKAGE_CLASS_MUST_HAVE_TARGETNAMESPACE(arg0));
+ public static String WEBSERVICEAP_JAVA_TYPE_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_JAVA_TYPE_NOT_FOUND(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(Object arg0) {
- return messageFactory.getMessage("webserviceap.endpointinterface.has.no.webservice.annotation", arg0);
+ public static Localizable localizableWEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.rpc.soapbinding.not.allowed.on.method", arg0, arg1);
}
/**
- * The endpoint interface {0} must have a WebService annotation
+ * SOAPBinding.Style.RPC binding annotations are not allowed on methods. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION(arg0));
+ public static String WEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_RPC_SOAPBINDING_NOT_ALLOWED_ON_METHOD(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_INFO(Object arg0) {
- return messageFactory.getMessage("webserviceap.info", arg0);
+ public static Localizable localizableWEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.could.not.find.typedecl", arg0, arg1);
}
/**
- * info: {0}
+ * Could not get TypeElement for: {0} in annotation processing round: {1}
*
*/
- public static String WEBSERVICEAP_INFO(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_INFO(arg0));
+ public static String WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(Object arg0) {
- return messageFactory.getMessage("webserviceap.rpc.literal.must.not.be.bare", arg0);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinterfaces.do.not.match", arg0, arg1);
}
/**
- * RPC literal SOAPBindings must have parameterStyle WRAPPED. Class: {0}.
+ * The endpoint interface {0} does not match the interface {1}.
*
*/
- public static String WEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_RPC_LITERAL_MUST_NOT_BE_BARE(arg0));
+ public static String WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.could.not.find.handlerchain", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.response.wrapper.bean.name.not.unique", arg0, arg1);
}
/**
- * Could not find the handlerchain {0} in the handler file {1}
+ * Response wrapper bean names must be unique and must not clash with other generated classes. Class: {0} method {1}
*
*/
- public static String WEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_COULD_NOT_FIND_HANDLERCHAIN(arg0, arg1));
+ public static String WEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_RESPONSE_WRAPPER_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(Object arg0) {
- return messageFactory.getMessage("webserviceap.rpc.encoded.not.supported", arg0);
+ public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.document.literal.bare.cannot.have.more.than.one.out", arg0, arg1);
}
/**
- * The class {0} has a rpc/encoded SOAPBinding. Rpc/encoded SOAPBindings are not supported in JAXWS 2.0.
+ * Document literal bare methods must have a return value or one out parameter. Class: {0} Method: {1}
*
*/
- public static String WEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(arg0));
+ public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_ERROR(Object arg0) {
- return messageFactory.getMessage("webserviceap.error", arg0);
+ public static Localizable localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webservice.encoded.not.supported", arg0, arg1);
}
/**
- * error: {0}
+ * The {0} class has invalid SOAPBinding annotation. {1}/encoded SOAPBinding is not supported
*
*/
- public static String WEBSERVICEAP_ERROR(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_ERROR(arg0));
+ public static String WEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("webserviceap.endpointinterface.class.not.found", arg0);
+ public static Localizable localizableWEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.operation.name.not.unique", arg0, arg1, arg2);
}
/**
- * The endpointInterface class {0} could not be found
+ * Operation names must be unique. Class: {0} method: {1} operation name: {2}
*
*/
- public static String WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND(arg0));
+ public static String WEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.method.not.implemented", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.handlerchain.file.nohandler-config", arg0);
}
/**
- * Methods in an endpointInterface must be implemented in the implementation class. Interface Class:{0} Implementation Class:{1} Method: {2}
+ * The handlerchain file {0} is invalid, it does not contain a handler-config element
*
*/
- public static String WEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_HANDLERCHAIN_FILE_NOHANDLER_CONFIG(arg0));
}
- public static Localizable localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
- return messageFactory.getMessage("webserviceap.parsing.javac.options.error");
+ public static Localizable localizableWEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.request.wrapper.bean.name.not.unique", arg0, arg1);
}
/**
- * Can't get javac options from processingEnv.
+ * Request wrapper bean names must be unique and must not clash with other generated classes. Class: {0} method {1}
*
*/
- public static String WEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
- return localizer.localize(localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR());
+ public static String WEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
- return messageFactory.getMessage("webservice.encoded.not.supported", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_MODEL_ALREADY_EXISTS() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.model.already.exists");
}
/**
- * The {0} class has invalid SOAPBinding annotation. {1}/encoded SOAPBinding is not supported
+ * model already exists
*
*/
- public static String WEBSERVICE_ENCODED_NOT_SUPPORTED(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICE_ENCODED_NOT_SUPPORTED(arg0, arg1));
+ public static String WEBSERVICEAP_MODEL_ALREADY_EXISTS() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_MODEL_ALREADY_EXISTS());
}
- public static Localizable localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
- return messageFactory.getMessage("webserviceap.handlerclass.notspecified", arg0);
+ public static Localizable localizableWEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.soapbinding.parameterstyle", arg0, arg1);
}
/**
- * A handler in the HandlerChain file: {0} does not specify a handler-class
+ * Incorrect usage of Annotation {0} on {1}, ParameterStyle can only be WRAPPED with RPC Style Web service.
*
*/
- public static String WEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(arg0));
+ public static String WEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.failed.to.find.handlerchain.file", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.rpc.literal.parameters.must.have.webparam", arg0, arg1, arg2);
}
/**
- * Cannot find HandlerChain file. class: {0}, file: {1}
+ * All RPC literal parameters must have a WebParam annotation. Class: {0} method: {1} parameter {2}
*
*/
- public static String WEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_FAILED_TO_FIND_HANDLERCHAIN_FILE(arg0, arg1));
+ public static String WEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_RPC_LITERAL_PARAMETERS_MUST_HAVE_WEBPARAM(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.doc.bare.no.return.and.no.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
+ return MESSAGE_FACTORY.getMessage("webserviceap.parsing.javac.options.error");
}
/**
- * Document literal bare methods that do not have a return value must have a single OUT/INOUT parameter. Class: {0} Method: {1}
+ * Can't get javac options from processingEnv.
*
*/
- public static String WEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR() {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_PARSING_JAVAC_OPTIONS_ERROR());
}
public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_ABSTRACT(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.class.is.abstract", arg0);
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.class.is.abstract", arg0);
}
/**
@@ -776,95 +772,95 @@
*
*/
public static String WEBSERVICEAP_WEBSERVICE_CLASS_IS_ABSTRACT(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_ABSTRACT(arg0));
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_ABSTRACT(arg0));
}
- public static Localizable localizableWEBSERVICEAP_INIT_PARAM_FORMAT_ERROR() {
- return messageFactory.getMessage("webserviceap.init_param.format.error");
+ public static Localizable localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.method.not.implemented", arg0, arg1, arg2);
}
/**
- * a element must have exactly 1 and 1
+ * Methods in an endpointInterface must be implemented in the implementation class. Interface Class:{0} Implementation Class:{1} Method: {2}
*
*/
- public static String WEBSERVICEAP_INIT_PARAM_FORMAT_ERROR() {
- return localizer.localize(localizableWEBSERVICEAP_INIT_PARAM_FORMAT_ERROR());
+ public static String WEBSERVICEAP_METHOD_NOT_IMPLEMENTED(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_METHOD_NOT_IMPLEMENTED(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_MIXED_BINDING_STYLE(Object arg0) {
- return messageFactory.getMessage("webserviceap.mixed.binding.style", arg0);
+ public static Localizable localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.endpointinteface.plus.annotation", arg0);
}
/**
- * Class: {0} contains mixed bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT cannot be mixed.
+ * The @{0} annotation cannot be used in with @javax.jws.WebService.endpointInterface element.
*
*/
- public static String WEBSERVICEAP_MIXED_BINDING_STYLE(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_MIXED_BINDING_STYLE(arg0));
+ public static String WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION(arg0));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_NOT_ANNOTATED(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.method.not.annotated", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.rpc.encoded.not.supported", arg0);
}
/**
- * The method {0} on class {1} is not annotated.
+ * The class {0} has a rpc/encoded SOAPBinding. Rpc/encoded SOAPBindings are not supported in JAXWS 2.0.
*
*/
- public static String WEBSERVICEAP_METHOD_NOT_ANNOTATED(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_NOT_ANNOTATED(arg0, arg1));
+ public static String WEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_RPC_ENCODED_NOT_SUPPORTED(arg0));
}
- public static Localizable localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.oneway.operation.cannot.have.holders", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.sei.cannot.contain.constant.values", arg0, arg1);
}
/**
- * The method {1} of class {0} is annotated @Oneway but contains INOUT or OUT parameters (javax.xml.ws.Holder)
+ * A service endpoint interface cannot contain constant declaration: Interface: {0} field: {1}.
*
*/
- public static String WEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ONEWAY_OPERATION_CANNOT_HAVE_HOLDERS(arg0, arg1));
+ public static String WEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_SEI_CANNOT_CONTAIN_CONSTANT_VALUES(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.document.literal.bare.cannot.have.more.than.one.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.holder.parameters.must.not.be.in.only", arg0, arg1, arg2);
}
/**
- * Document literal bare methods must have a return value or one out parameter. Class: {0} Method: {1}
+ * javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class: {0} method: {1} parameter: {2}
*
*/
- public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_CANNOT_HAVE_MORE_THAN_ONE_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.invalid.sei.annotation", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.sei.annotation.element.exclude", arg0, arg1, arg2);
}
/**
- * The @{0} annotation cannot be used on a service endpoint interface. Class: {1}
+ * The @javax.jws.WebMethod({0}) cannot be used on a service endpoint interface. Class: {1} method: {2}
*
*/
- public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION(arg0, arg1));
+ public static String WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.operation.name.not.unique", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.class.not.public", arg0);
}
/**
- * Operation names must be unique. Class: {0} method: {1} operation name: {2}
+ * Classes annotated with @javax.jws.WebService must be public. Class: {0}
*
*/
- public static String WEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_OPERATION_NAME_NOT_UNIQUE(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_NOT_PUBLIC(arg0));
}
public static Localizable localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_FINAL(Object arg0) {
- return messageFactory.getMessage("webserviceap.webservice.class.is.final", arg0);
+ return MESSAGE_FACTORY.getMessage("webserviceap.webservice.class.is.final", arg0);
}
/**
@@ -872,55 +868,66 @@
*
*/
public static String WEBSERVICEAP_WEBSERVICE_CLASS_IS_FINAL(Object arg0) {
- return localizer.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_FINAL(arg0));
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WEBSERVICE_CLASS_IS_FINAL(arg0));
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.document.literal.bare.must.have.one.in.or.out", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.invalid.webmethod.element.with.exclude", arg0, arg1, arg2);
}
/**
- * Document literal bare methods must have at least one of: a return, an in parameter or an out parameter. Class: {0} Method: {1}
+ * The @javax.jws.WebMethod.{0} element cannot be specified with the @javax.jws.WebMethod.exclude element. Class: {1} method: {2}
*
*/
- public static String WEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_LITERAL_BARE_MUST_HAVE_ONE_IN_OR_OUT(arg0, arg1));
+ public static String WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(arg0, arg1, arg2));
}
- public static Localizable localizableWEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.method.request.wrapper.bean.name.not.unique", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_WARNING(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.warning", arg0);
}
/**
- * Request wrapper bean names must be unique and must not clash with other generated classes. Class: {0} method {1}
+ * warning: {0}
*
*/
- public static String WEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_METHOD_REQUEST_WRAPPER_BEAN_NAME_NOT_UNIQUE(arg0, arg1));
+ public static String WEBSERVICEAP_WARNING(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_WARNING(arg0));
}
- public static Localizable localizableWEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("webserviceap.document.bare.holder.parameters.must.not.be.inout", arg0, arg1, arg2);
+ public static Localizable localizableWEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.failed.to.parse.handlerchain.file", arg0, arg1);
}
/**
- * javax.xml.ws.Holder parameters in document bare operations must be WebParam.Mode.INOUT; Class: {0} method: {1} parameter: {2}
+ * Failed to parse HandlerChain file. Class: {0}, file: {1}
*
*/
- public static String WEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWEBSERVICEAP_DOCUMENT_BARE_HOLDER_PARAMETERS_MUST_NOT_BE_INOUT(arg0, arg1, arg2));
+ public static String WEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_FAILED_TO_PARSE_HANDLERCHAIN_FILE(arg0, arg1));
}
- public static Localizable localizableWEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(Object arg0, Object arg1) {
- return messageFactory.getMessage("webserviceap.oneway.and.not.one.in", arg0, arg1);
+ public static Localizable localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("webserviceap.handlerclass.notspecified", arg0);
}
/**
- * Document literal bare methods annotated with @javax.jws.Oneway must have one non-header IN parameter. Class: {0} Method: {1}
+ * A handler in the HandlerChain file: {0} does not specify a handler-class
*
*/
- public static String WEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(Object arg0, Object arg1) {
- return localizer.localize(localizableWEBSERVICEAP_ONEWAY_AND_NOT_ONE_IN(arg0, arg1));
+ public static String WEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(Object arg0) {
+ return LOCALIZER.localize(localizableWEBSERVICEAP_HANDLERCLASS_NOTSPECIFIED(arg0));
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WscompileMessages.java 2017-05-03 18:06:56.807093058 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WscompileMessages.java 2017-05-03 18:06:56.703093061 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,222 +25,252 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class WscompileMessages {
- private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.wscompile";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, WscompileMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
- }
+ private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.wscompile";
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new WscompileMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
- return messageFactory.getMessage("wsimport.archivingArtifacts", arg0);
+ public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.NotAFileNorURL", arg0);
}
/**
- *
- * Archiving the generated artifacts into {0}.
- *
+ * "{0}" is neither a file name nor an URL
*
*/
- public static String WSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
- return localizer.localize(localizableWSIMPORT_ARCHIVING_ARTIFACTS(arg0));
+ public static String WSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0));
}
- public static Localizable localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) {
- return messageFactory.getMessage("wsgen.class.must.be.implementation.class", arg0);
+ public static Localizable localizableWSGEN_USAGE_EXTENSIONS() {
+ return MESSAGE_FACTORY.getMessage("wsgen.usage.extensions");
}
/**
- * The class "{0}" is not an endpoint implementation class.
+ *
+ * Extensions:
+ * -Xnocompile do not compile generated Java files
*
*/
- public static String WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) {
- return localizer.localize(localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(arg0));
+ public static String WSGEN_USAGE_EXTENSIONS() {
+ return LOCALIZER.localize(localizableWSGEN_USAGE_EXTENSIONS());
}
- public static Localizable localizableWSGEN_FULLVERSION(Object arg0) {
- return messageFactory.getMessage("wsgen.fullversion", arg0);
+ public static Localizable localizableWSIMPORT_HELP(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.help", arg0);
}
/**
- * wsgen full version "{0}"
+ *
+ * Usage: {0} [options]
+ *
+ * where [options] include:
+ * -b specify jaxws/jaxb binding files or additional schemas
+ * (Each must have its own -b)
+ * -B Pass this option to JAXB schema compiler
+ * -catalog specify catalog file to resolve external entity references
+ * supports TR9401, XCatalog, and OASIS XML Catalog format.
+ * -classpath specify where to find user class files and wsimport extensions
+ * -cp specify where to find user class files and wsimport extensions
+ * -d specify where to place generated output files
+ * -encoding specify character encoding used by source files
+ * -extension allow vendor extensions - functionality not specified
+ * by the specification. Use of extensions may
+ * result in applications that are not portable or
+ * may not interoperate with other implementations
+ * -help display help
+ * -httpproxy: set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort
+ * (port defaults to 8080)
+ * -J pass this option to javac
+ * -keep keep generated files
+ * -p specifies the target package
+ * -m generate module-info.java with given Java module name
+ * -quiet suppress wsimport output
+ * -s specify where to place generated source files
+ * -target generate code as per the given JAXWS spec version
+ * Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2
+ * e.g. 2.0 will generate compliant code for JAXWS 2.0 spec
+ * -verbose output messages about what the compiler is doing
+ * -version print version information
+ * -fullversion print full version information
+ * -wsdllocation @WebServiceClient.wsdlLocation value
+ * -clientjar creates the jar file of the generated artifacts along with the
+ * WSDL metadata required for invoking the web service.
+ * -generateJWS generate stubbed JWS implementation file
+ * -implDestDir specify where to generate JWS implementation file
+ * -implServiceName local portion of service name for generated JWS implementation
+ * -implPortName local portion of port name for generated JWS implementation
*
*/
- public static String WSGEN_FULLVERSION(Object arg0) {
- return localizer.localize(localizableWSGEN_FULLVERSION(arg0));
+ public static String WSIMPORT_HELP(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_HELP(arg0));
}
- public static Localizable localizableWRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wrapperTask.loadingIncorrectApi", arg0, arg1, arg2);
+ public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0);
}
/**
- * You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API.
+ * "{0}" is not a valid target version. "2.0" and "2.1" are supported.
*
*/
- public static String WRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWRAPPER_TASK_LOADING_INCORRECT_API(arg0, arg1, arg2));
+ public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0));
}
- public static Localizable localizableWSIMPORT_WSDLLOCATION_CLIENTJAR() {
- return messageFactory.getMessage("wsimport.wsdllocation.clientjar");
+ public static Localizable localizableWSIMPORT_USAGE_EXAMPLES() {
+ return MESSAGE_FACTORY.getMessage("wsimport.usage.examples");
}
/**
- * wsdlLocation cannot be specified when using clientJar option
+ *
+ * Examples:
+ * wsimport stock.wsdl -b stock.xml -b stock.xjb
+ * wsimport -d generated http://example.org/stock?wsdl
+ *
*
*/
- public static String WSIMPORT_WSDLLOCATION_CLIENTJAR() {
- return localizer.localize(localizableWSIMPORT_WSDLLOCATION_CLIENTJAR());
+ public static String WSIMPORT_USAGE_EXAMPLES() {
+ return LOCALIZER.localize(localizableWSIMPORT_USAGE_EXAMPLES());
}
- public static Localizable localizableWSIMPORT_VERSION(Object arg0) {
- return messageFactory.getMessage("wsimport.version", arg0);
+ public static Localizable localizableWSIMPORT_DEBUG_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.DebugMessage", arg0);
}
/**
- * wsimport version "{0}"
+ * [DEBUG] {0}
*
*/
- public static String WSIMPORT_VERSION(Object arg0) {
- return localizer.localize(localizableWSIMPORT_VERSION(arg0));
+ public static String WSIMPORT_DEBUG_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_DEBUG_MESSAGE(arg0));
}
- public static Localizable localizableWSGEN_CLASS_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("wsgen.class.not.found", arg0);
+ public static Localizable localizableWSIMPORT_FULLVERSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.fullversion", arg0);
}
/**
- * Class not found: "{0}"
+ * wsimport full version "{0}"
*
*/
- public static String WSGEN_CLASS_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableWSGEN_CLASS_NOT_FOUND(arg0));
+ public static String WSIMPORT_FULLVERSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_FULLVERSION(arg0));
}
- public static Localizable localizableWSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.httpRedirect", arg0, arg1);
+ public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.noSuchJaxbOption", arg0);
}
/**
- * Server returned HTTP Status code: "{0}", retrying with "{1}"
+ * no such JAXB option: {0}
*
*/
- public static String WSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_HTTP_REDIRECT(arg0, arg1));
+ public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0));
}
- public static Localizable localizableWSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsimport.authInfoNeeded", arg0, arg1, arg2);
+ public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_PROXY", arg0);
}
/**
- * {0}, "{1}" needs authorization, please provide authorization file with read access at {2} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//
+ * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
*
*/
- public static String WSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSIMPORT_AUTH_INFO_NEEDED(arg0, arg1, arg2));
+ public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0));
}
- public static Localizable localizableWSGEN_USAGE_EXAMPLES() {
- return messageFactory.getMessage("wsgen.usage.examples");
+ public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("invoker.needEndorsed", arg0, arg1);
}
/**
- *
- * Examples:
- * wsgen -cp . example.Stock
- * wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'
- *
+ * 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 WSGEN_USAGE_EXAMPLES() {
- return localizer.localize(localizableWSGEN_USAGE_EXAMPLES());
+ public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_FETCHING_METADATA() {
- return messageFactory.getMessage("wsimport.fetchingMetadata");
+ public static Localizable localizableWSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsimport.authInfoNeeded", arg0, arg1, arg2);
}
/**
- *
- * Downloading the WSDL and associated metadata
- *
+ * {0}, "{1}" needs authorization, please provide authorization file with read access at {2} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//
*
*/
- public static String WSIMPORT_FETCHING_METADATA() {
- return localizer.localize(localizableWSIMPORT_FETCHING_METADATA());
+ public static String WSIMPORT_AUTH_INFO_NEEDED(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSIMPORT_AUTH_INFO_NEEDED(arg0, arg1, arg2));
}
- public static Localizable localizableWSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsgen.invalid.protocol", arg0, arg1);
+ public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1);
}
/**
- * "{0}" is not a supported protocol. Supported protocols include: {1}.
+ * line {0} of {1}
*
*/
- public static String WSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) {
- return localizer.localize(localizableWSGEN_INVALID_PROTOCOL(arg0, arg1));
+ public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_USAGE_EXAMPLES() {
- return messageFactory.getMessage("wsimport.usage.examples");
+ public static Localizable localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.missingOptionArgument", arg0);
}
/**
- *
- * Examples:
- * wsimport stock.wsdl -b stock.xml -b stock.xjb
- * wsimport -d generated http://example.org/stock?wsdl
- *
+ * option "{0}" requires an argument
*
*/
- public static String WSIMPORT_USAGE_EXAMPLES() {
- return localizer.localize(localizableWSIMPORT_USAGE_EXAMPLES());
+ public static String WSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(arg0));
}
- public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
- return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1);
+ public static Localizable localizableWSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.archiveArtifact", arg0, arg1);
}
/**
- * 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.
+ * Adding {0} to the archive {1}
*
*/
- public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
- return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1));
+ public static String WSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_ARCHIVE_ARTIFACT(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_MISSING_FILE() {
- return messageFactory.getMessage("wsimport.missingFile");
+ public static Localizable localizableWSGEN_USAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.usage", arg0);
}
/**
- * Missing WSDL_URI
+ * Usage: {0} [options]
+ *
+ * Use "wsgen -help" for a detailed description of options.
*
*/
- public static String WSIMPORT_MISSING_FILE() {
- return localizer.localize(localizableWSIMPORT_MISSING_FILE());
+ public static String WSGEN_USAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_USAGE(arg0));
}
public static Localizable localizableWSIMPORT_USAGE_EXTENSIONS() {
- return messageFactory.getMessage("wsimport.usage.extensions");
+ return MESSAGE_FACTORY.getMessage("wsimport.usage.extensions");
}
/**
@@ -260,324 +290,328 @@
*
*/
public static String WSIMPORT_USAGE_EXTENSIONS() {
- return localizer.localize(localizableWSIMPORT_USAGE_EXTENSIONS());
+ return LOCALIZER.localize(localizableWSIMPORT_USAGE_EXTENSIONS());
}
- public static Localizable localizableWSIMPORT_USAGE(Object arg0) {
- return messageFactory.getMessage("wsimport.usage", arg0);
+ public static Localizable localizableWSIMPORT_WARNING_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.WarningMessage", arg0);
}
/**
- * Usage: {0} [options]
- *
- * Use "wsimport -help" for a detailed description of options.
+ * [WARNING] {0}
*
*/
- public static String WSIMPORT_USAGE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_USAGE(arg0));
+ public static String WSIMPORT_WARNING_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_WARNING_MESSAGE(arg0));
}
- public static Localizable localizableWSGEN_USAGE_EXTENSIONS() {
- return messageFactory.getMessage("wsgen.usage.extensions");
+ public static Localizable localizableWSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsgen.invalid.transport", arg0, arg1);
}
/**
- *
- * Extensions:
- * -Xnocompile do not compile generated Java files
+ * "{0}" is not a supported transport. Supported transport includes: {1}.
*
*/
- public static String WSGEN_USAGE_EXTENSIONS() {
- return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS());
+ public static String WSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSGEN_INVALID_TRANSPORT(arg0, arg1));
}
- public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) {
- return messageFactory.getMessage("wscompile.existingOption", arg0);
+ public static Localizable localizableWSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.document.download", arg0, arg1);
}
/**
- * Ignoring already defined option {0}
*
+ * Downloading metadata document from {0} to {1}
*
*/
- public static String WSCOMPILE_EXISTING_OPTION(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0));
+ public static String WSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_DOCUMENT_DOWNLOAD(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_PARSING_WSDL() {
- return messageFactory.getMessage("wsimport.ParsingWSDL");
+ public static Localizable localizableWSGEN_CLASS_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.class.not.found", arg0);
}
/**
- * parsing WSDL...
- *
+ * Class not found: "{0}"
*
+ */
+ public static String WSGEN_CLASS_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_CLASS_NOT_FOUND(arg0));
+ }
+
+ public static Localizable localizableWSCOMPILE_DUPLICATE_OPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.duplicateOption", arg0);
+ }
+
+ /**
+ * duplicate option: {0}
*
*/
- public static String WSIMPORT_PARSING_WSDL() {
- return localizer.localize(localizableWSIMPORT_PARSING_WSDL());
+ public static String WSCOMPILE_DUPLICATE_OPTION(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_DUPLICATE_OPTION(arg0));
}
- public static Localizable localizableWSGEN_MISSING_FILE() {
- return messageFactory.getMessage("wsgen.missingFile");
+ public static Localizable localizableWSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.unsupportedEncoding", arg0);
}
/**
- * Missing SEI
+ * unsupported encoding: {0}
*
*/
- public static String WSGEN_MISSING_FILE() {
- return localizer.localize(localizableWSGEN_MISSING_FILE());
+ public static String WSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_UNSUPPORTED_ENCODING(arg0));
}
- public static Localizable localizableWSIMPORT_HELP(Object arg0) {
- return messageFactory.getMessage("wsimport.help", arg0);
+ public static Localizable localizableWSIMPORT_COMPILING_CODE() {
+ return MESSAGE_FACTORY.getMessage("wsimport.CompilingCode");
}
/**
*
- * Usage: {0} [options]
+ * Compiling code...
*
- * where [options] include:
- * -b specify jaxws/jaxb binding files or additional schemas
- * (Each must have its own -b)
- * -B Pass this option to JAXB schema compiler
- * -catalog specify catalog file to resolve external entity references
- * supports TR9401, XCatalog, and OASIS XML Catalog format.
- * -classpath specify where to find user class files and wsimport extensions
- * -cp specify where to find user class files and wsimport extensions
- * -d specify where to place generated output files
- * -encoding specify character encoding used by source files
- * -extension allow vendor extensions - functionality not specified
- * by the specification. Use of extensions may
- * result in applications that are not portable or
- * may not interoperate with other implementations
- * -help display help
- * -httpproxy: set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort
- * (port defaults to 8080)
- * -J pass this option to javac
- * -keep keep generated files
- * -p specifies the target package
- * -quiet suppress wsimport output
- * -s specify where to place generated source files
- * -target generate code as per the given JAXWS spec version
- * Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2
- * e.g. 2.0 will generate compliant code for JAXWS 2.0 spec
- * -verbose output messages about what the compiler is doing
- * -version print version information
- * -fullversion print full version information
- * -wsdllocation @WebServiceClient.wsdlLocation value
- * -clientjar creates the jar file of the generated artifacts along with the
- * WSDL metadata required for invoking the web service.
- * -generateJWS generate stubbed JWS implementation file
- * -implDestDir specify where to generate JWS implementation file
- * -implServiceName local portion of service name for generated JWS implementation
- * -implPortName local portion of port name for generated JWS implementation
*
*/
- public static String WSIMPORT_HELP(Object arg0) {
- return localizer.localize(localizableWSIMPORT_HELP(arg0));
+ public static String WSIMPORT_COMPILING_CODE() {
+ return LOCALIZER.localize(localizableWSIMPORT_COMPILING_CODE());
}
- public static Localizable localizableWSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wscompile.cant.get.compiler", arg0, arg1, arg2);
+ public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.servicename.missing.namespace", arg0);
}
/**
- * No Java compiler found. Perhaps environment/JDK problem?
- * Used JVM: {0}, {1}/{2}
+ * The service name "{0}" is missing a namespace.
*
*/
- public static String WSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSCOMPILE_CANT_GET_COMPILER(arg0, arg1, arg2));
+ public static String WSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(arg0));
}
- public static Localizable localizableWSCOMPILE_ERROR(Object arg0) {
- return messageFactory.getMessage("wscompile.error", arg0);
+ public static Localizable localizableWSIMPORT_MAX_REDIRECT_ATTEMPT() {
+ return MESSAGE_FACTORY.getMessage("wsimport.maxRedirectAttempt");
}
/**
- * error: {0}
+ * Can not get a WSDL maximum number of redirects(5) reached
*
*/
- public static String WSCOMPILE_ERROR(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_ERROR(arg0));
+ public static String WSIMPORT_MAX_REDIRECT_ATTEMPT() {
+ return LOCALIZER.localize(localizableWSIMPORT_MAX_REDIRECT_ATTEMPT());
}
- public static Localizable localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) {
- return messageFactory.getMessage("wsgen.protocol.without.extension", arg0);
+ public static Localizable localizableWSIMPORT_READING_AUTH_FILE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.readingAuthFile", arg0);
}
/**
- * The optional protocol "{0}" must be used in conjunction with the "-extension" option.
+ * Trying to read authorization file : "{0}"...
*
*/
- public static String WSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) {
- return localizer.localize(localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(arg0));
+ public static String WSIMPORT_READING_AUTH_FILE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_READING_AUTH_FILE(arg0));
}
- public static Localizable localizableWSIMPORT_COMPILING_CODE() {
- return messageFactory.getMessage("wsimport.CompilingCode");
+ public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1);
}
/**
- *
- * Compiling code...
- *
+ * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {1}
*
*/
- public static String WSIMPORT_COMPILING_CODE() {
- return localizer.localize(localizableWSIMPORT_COMPILING_CODE());
+ public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_READING_AUTH_FILE(Object arg0) {
- return messageFactory.getMessage("wsimport.readingAuthFile", arg0);
+ public static Localizable localizableWSIMPORT_INFO_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.InfoMessage", arg0);
}
/**
- * Trying to read authorization file : "{0}"...
+ * [INFO] {0}
*
*/
- public static String WSIMPORT_READING_AUTH_FILE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_READING_AUTH_FILE(arg0));
+ public static String WSIMPORT_INFO_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_INFO_MESSAGE(arg0));
}
- public static Localizable localizableWSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) {
- return messageFactory.getMessage("wscompile.unsupportedEncoding", arg0);
+ public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.existingOption", arg0);
}
/**
- * unsupported encoding: {0}
+ * Ignoring already defined option {0}
+ *
*
*/
- public static String WSCOMPILE_UNSUPPORTED_ENCODING(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_UNSUPPORTED_ENCODING(arg0));
+ public static String WSCOMPILE_EXISTING_OPTION(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0));
}
- public static Localizable localizableWSGEN_NO_WEBSERVICES_CLASS(Object arg0) {
- return messageFactory.getMessage("wsgen.no.webservices.class", arg0);
+ public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.portname.missing.namespace", arg0);
}
/**
- * wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}.
+ * The port name "{0}" is missing a namespace.
*
*/
- public static String WSGEN_NO_WEBSERVICES_CLASS(Object arg0) {
- return localizer.localize(localizableWSGEN_NO_WEBSERVICES_CLASS(arg0));
+ public static String WSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_PORTNAME_MISSING_NAMESPACE(arg0));
}
- public static Localizable localizableWSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.archiveArtifact", arg0, arg1);
+ public static Localizable localizableWSIMPORT_GENERATING_CODE() {
+ return MESSAGE_FACTORY.getMessage("wsimport.GeneratingCode");
}
/**
- * Adding {0} to the archive {1}
+ *
+ * Generating code...
+ *
*
*/
- public static String WSIMPORT_ARCHIVE_ARTIFACT(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_ARCHIVE_ARTIFACT(arg0, arg1));
+ public static String WSIMPORT_GENERATING_CODE() {
+ return LOCALIZER.localize(localizableWSIMPORT_GENERATING_CODE());
}
- public static Localizable localizableWSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) {
- return messageFactory.getMessage("wscompile.noSuchDirectory", arg0);
+ public static Localizable localizableWSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.authFileNotFound", arg0, arg1);
}
/**
- * directory not found: {0}
+ * Authorization file "{0}" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at {1} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//
*
*/
- public static String WSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_NO_SUCH_DIRECTORY(arg0));
+ public static String WSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_AUTH_FILE_NOT_FOUND(arg0, arg1));
}
- public static Localizable localizableWSCOMPILE_INFO(Object arg0) {
- return messageFactory.getMessage("wscompile.info", arg0);
+ public static Localizable localizableWSIMPORT_WSDLLOCATION_CLIENTJAR() {
+ return MESSAGE_FACTORY.getMessage("wsimport.wsdllocation.clientjar");
}
/**
- * info: {0}
+ * wsdlLocation cannot be specified when using clientJar option
*
*/
- public static String WSCOMPILE_INFO(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_INFO(arg0));
+ public static String WSIMPORT_WSDLLOCATION_CLIENTJAR() {
+ return LOCALIZER.localize(localizableWSIMPORT_WSDLLOCATION_CLIENTJAR());
}
- public static Localizable localizableWSIMPORT_MAX_REDIRECT_ATTEMPT() {
- return messageFactory.getMessage("wsimport.maxRedirectAttempt");
+ public static Localizable localizableWSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.FailedToParse", arg0, arg1);
}
/**
- * Can not get a WSDL maximum number of redirects(5) reached
+ * Failed to parse "{0}": {1}
*
*/
- public static String WSIMPORT_MAX_REDIRECT_ATTEMPT() {
- return localizer.localize(localizableWSIMPORT_MAX_REDIRECT_ATTEMPT());
+ public static String WSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_FAILED_TO_PARSE(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_WARNING_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsimport.WarningMessage", arg0);
+ public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.no.wsdl", arg0);
}
/**
- * [WARNING] {0}
+ * Failed to read the WSDL document: {0}, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .
*
*/
- public static String WSIMPORT_WARNING_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_WARNING_MESSAGE(arg0));
+ public static String WSIMPORT_NO_WSDL(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_NO_WSDL(arg0));
}
- public static Localizable localizableWSCOMPILE_INVALID_OPTION(Object arg0) {
- return messageFactory.getMessage("wscompile.invalidOption", arg0);
+ public static Localizable localizableWSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsgen.invalid.protocol", arg0, arg1);
}
/**
- * unrecognized parameter {0}
+ * "{0}" is not a supported protocol. Supported protocols include: {1}.
*
*/
- public static String WSCOMPILE_INVALID_OPTION(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_INVALID_OPTION(arg0));
+ public static String WSGEN_INVALID_PROTOCOL(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSGEN_INVALID_PROTOCOL(arg0, arg1));
}
- public static Localizable localizableWSIMPORT_ERROR_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsimport.ErrorMessage", arg0);
+ public static Localizable localizableWSGEN_HELP(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wsgen.help", arg0, arg1, arg2);
}
/**
- * [ERROR] {0}
+ *
+ * Usage: {0} [options]
+ *
+ * where [options] include:
+ * -classpath specify where to find input class files and wsgen extensions
+ * -cp specify where to find input class files and wsgen extensions
+ * -d specify where to place generated output files
+ * -encoding specify character encoding used by source files
+ * -extension allow vendor extensions - functionality not specified
+ * by the specification. Use of extensions may
+ * result in applications that are not portable or
+ * may not interoperate with other implementations
+ * -help display help
+ * -J pass this option to javac
+ * -keep keep generated files
+ * -r resource destination directory, specify where to
+ * place resouce files such as WSDLs
+ * -s specify where to place generated source files
+ * -verbose output messages about what the compiler is doing
+ * -version print version information
+ * -fullversion print full version information
+ * -wsdl[:protocol] generate a WSDL file. The protocol is optional.
+ * Valid protocols are {1},
+ * the default is soap1.1.
+ * The non standard protocols {2}
+ * can only be used in conjunction with the
+ * -extension option.
+ * -inlineSchemas inline schemas in the generated wsdl. Must be
+ * used in conjunction with the -wsdl option.
+ * -servicename specify the Service name to use in the generated WSDL
+ * Used in conjunction with the -wsdl option.
+ * -portname specify the Port name to use in the generated WSDL
+ * Used in conjunction with the -wsdl option.
+ * -x specify External Web Service Metadata xml descriptor
*
*/
- public static String WSIMPORT_ERROR_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_ERROR_MESSAGE(arg0));
+ public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSGEN_HELP(arg0, arg1, arg2));
}
- public static Localizable localizableWSIMPORT_GENERATING_CODE() {
- return messageFactory.getMessage("wsimport.GeneratingCode");
+ public static Localizable localizableWSIMPORT_USAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.usage", arg0);
}
/**
+ * Usage: {0} [options]
*
- * Generating code...
- *
+ * Use "wsimport -help" for a detailed description of options.
*
*/
- public static String WSIMPORT_GENERATING_CODE() {
- return localizer.localize(localizableWSIMPORT_GENERATING_CODE());
+ public static String WSIMPORT_USAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_USAGE(arg0));
}
- public static Localizable localizableWSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
- return messageFactory.getMessage("wsimport.NotAFileNorURL", arg0);
+ public static Localizable localizableWSCOMPILE_ERROR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.error", arg0);
}
/**
- * "{0}" is neither a file name nor an URL
+ * error: {0}
*
*/
- public static String WSIMPORT_NOT_A_FILE_NOR_URL(Object arg0) {
- return localizer.localize(localizableWSIMPORT_NOT_A_FILE_NOR_URL(arg0));
+ public static String WSCOMPILE_ERROR(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_ERROR(arg0));
}
public static Localizable localizableWSCOMPILE_WARNING(Object arg0) {
- return messageFactory.getMessage("wscompile.warning", arg0);
+ return MESSAGE_FACTORY.getMessage("wscompile.warning", arg0);
}
/**
@@ -585,11 +619,11 @@
*
*/
public static String WSCOMPILE_WARNING(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_WARNING(arg0));
+ return LOCALIZER.localize(localizableWSCOMPILE_WARNING(arg0));
}
public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2);
+ return MESSAGE_FACTORY.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2);
}
/**
@@ -597,391 +631,365 @@
*
*/
public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2));
+ return LOCALIZER.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2));
}
- public static Localizable localizableWSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
- return messageFactory.getMessage("wsimport.noSuchJaxbOption", arg0);
+ public static Localizable localizableWSIMPORT_VERSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.version", arg0);
}
/**
- * no such JAXB option: {0}
+ * wsimport version "{0}"
*
*/
- public static String WSIMPORT_NO_SUCH_JAXB_OPTION(Object arg0) {
- return localizer.localize(localizableWSIMPORT_NO_SUCH_JAXB_OPTION(arg0));
+ public static String WSIMPORT_VERSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_VERSION(arg0));
}
- public static Localizable localizableWSGEN_VERSION(Object arg0) {
- return messageFactory.getMessage("wsgen.version", arg0);
+ public static Localizable localizableWSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.noSuchDirectory", arg0);
}
/**
- * wsgen version "{0}"
+ * directory not found: {0}
*
*/
- public static String WSGEN_VERSION(Object arg0) {
- return localizer.localize(localizableWSGEN_VERSION(arg0));
+ public static String WSCOMPILE_NO_SUCH_DIRECTORY(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_NO_SUCH_DIRECTORY(arg0));
}
- public static Localizable localizableWSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.authFileNotFound", arg0, arg1);
+ public static Localizable localizableWSIMPORT_MISSING_FILE() {
+ return MESSAGE_FACTORY.getMessage("wsimport.missingFile");
}
/**
- * Authorization file "{0}" not found. If the WSDL access needs Basic Authentication, please provide authorization file with read access at {1} or use -Xauthfile to give the authorization file and on each line provide authorization information using this format : http[s]://user:password@host:port//
+ * Missing WSDL_URI
*
*/
- public static String WSIMPORT_AUTH_FILE_NOT_FOUND(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_AUTH_FILE_NOT_FOUND(arg0, arg1));
+ public static String WSIMPORT_MISSING_FILE() {
+ return LOCALIZER.localize(localizableWSIMPORT_MISSING_FILE());
}
- public static Localizable localizableWSIMPORT_DEBUG_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsimport.DebugMessage", arg0);
+ public static Localizable localizableWSCOMPILE_COMPILATION_FAILED() {
+ return MESSAGE_FACTORY.getMessage("wscompile.compilationFailed");
}
/**
- * [DEBUG] {0}
+ * compilation failed, errors should have been reported
*
*/
- public static String WSIMPORT_DEBUG_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_DEBUG_MESSAGE(arg0));
+ public static String WSCOMPILE_COMPILATION_FAILED() {
+ return LOCALIZER.localize(localizableWSCOMPILE_COMPILATION_FAILED());
}
- public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
- return messageFactory.getMessage("wsgen.could.not.create.file", arg0);
+ public static Localizable localizableWSIMPORT_PARSING_WSDL() {
+ return MESSAGE_FACTORY.getMessage("wsimport.ParsingWSDL");
}
/**
- * Could not create file: "{0}"
+ * parsing WSDL...
+ *
+ *
*
*/
- public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
- return localizer.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0));
+ public static String WSIMPORT_PARSING_WSDL() {
+ return LOCALIZER.localize(localizableWSIMPORT_PARSING_WSDL());
}
- public static Localizable localizableWSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) {
- return messageFactory.getMessage("wsgen.wsdl.arg.no.genwsdl", arg0);
+ public static Localizable localizableWSGEN_USAGE_EXAMPLES() {
+ return MESSAGE_FACTORY.getMessage("wsgen.usage.examples");
}
/**
- * The "{0}" option can only be in conjunction with the "-wsdl" option.
+ *
+ * Examples:
+ * wsgen -cp . example.Stock
+ * wsgen -cp . example.Stock -wsdl -servicename '{http://mynamespace}MyService'
+ *
*
*/
- public static String WSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) {
- return localizer.localize(localizableWSGEN_WSDL_ARG_NO_GENWSDL(arg0));
+ public static String WSGEN_USAGE_EXAMPLES() {
+ return LOCALIZER.localize(localizableWSGEN_USAGE_EXAMPLES());
}
- public static Localizable localizableWSGEN_HELP(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("wsgen.help", arg0, arg1, arg2);
+ public static Localizable localizableWSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.archivingArtifacts", arg0);
}
/**
*
- * Usage: {0} [options]
+ * Archiving the generated artifacts into {0}.
*
- * where [options] include:
- * -classpath specify where to find input class files and wsgen extensions
- * -cp specify where to find input class files and wsgen extensions
- * -d specify where to place generated output files
- * -encoding specify character encoding used by source files
- * -extension allow vendor extensions - functionality not specified
- * by the specification. Use of extensions may
- * result in applications that are not portable or
- * may not interoperate with other implementations
- * -help display help
- * -J pass this option to javac
- * -keep keep generated files
- * -r resource destination directory, specify where to
- * place resouce files such as WSDLs
- * -s specify where to place generated source files
- * -verbose output messages about what the compiler is doing
- * -version print version information
- * -fullversion print full version information
- * -wsdl[:protocol] generate a WSDL file. The protocol is optional.
- * Valid protocols are {1},
- * the default is soap1.1.
- * The non standard protocols {2}
- * can only be used in conjunction with the
- * -extension option.
- * -inlineSchemas inline schemas in the generated wsdl. Must be
- * used in conjunction with the -wsdl option.
- * -servicename specify the Service name to use in the generated WSDL
- * Used in conjunction with the -wsdl option.
- * -portname specify the Port name to use in the generated WSDL
- * Used in conjunction with the -wsdl option.
- * -x specify External Web Service Metadata xml descriptor
*
*/
- public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWSGEN_HELP(arg0, arg1, arg2));
+ public static String WSIMPORT_ARCHIVING_ARTIFACTS(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_ARCHIVING_ARTIFACTS(arg0));
}
- public static Localizable localizableWSIMPORT_INFO_MESSAGE(Object arg0) {
- return messageFactory.getMessage("wsimport.InfoMessage", arg0);
+ public static Localizable localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.protocol.without.extension", arg0);
}
/**
- * [INFO] {0}
+ * The optional protocol "{0}" must be used in conjunction with the "-extension" option.
*
*/
- public static String WSIMPORT_INFO_MESSAGE(Object arg0) {
- return localizer.localize(localizableWSIMPORT_INFO_MESSAGE(arg0));
+ public static String WSGEN_PROTOCOL_WITHOUT_EXTENSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_PROTOCOL_WITHOUT_EXTENSION(arg0));
}
- public static Localizable localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() {
- return messageFactory.getMessage("wsgen.inlineSchemas.only.with.wsdl");
+ public static Localizable localizableWSGEN_MISSING_FILE() {
+ return MESSAGE_FACTORY.getMessage("wsgen.missingFile");
}
/**
- * "-inlineSchemas" must be used in conjunction with the "-wsdl" option
+ * Missing SEI
*
*/
- public static String WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() {
- return localizer.localize(localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL());
+ public static String WSGEN_MISSING_FILE() {
+ return LOCALIZER.localize(localizableWSGEN_MISSING_FILE());
}
- public static Localizable localizableWSGEN_SOAP_12_WITHOUT_EXTENSION() {
- return messageFactory.getMessage("wsgen.soap12.without.extension");
+ public static Localizable localizableWSGEN_VERSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.version", arg0);
}
/**
- * The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option.
+ * wsgen version "{0}"
*
*/
- public static String WSGEN_SOAP_12_WITHOUT_EXTENSION() {
- return localizer.localize(localizableWSGEN_SOAP_12_WITHOUT_EXTENSION());
+ public static String WSGEN_VERSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_VERSION(arg0));
}
- public static Localizable localizableWSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) {
- return messageFactory.getMessage("wsimport.ILLEGAL_AUTH_INFO", arg0);
+ public static Localizable localizableWSGEN_NO_WEBSERVICES_CLASS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.no.webservices.class", arg0);
}
/**
- * "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//.
+ * wsgen did not find any class with @WebService annotation. Please specify @WebService annotation on {0}.
*
*/
- public static String WSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) {
- return localizer.localize(localizableWSIMPORT_ILLEGAL_AUTH_INFO(arg0));
+ public static String WSGEN_NO_WEBSERVICES_CLASS(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_NO_WEBSERVICES_CLASS(arg0));
}
- public static Localizable localizableWSCOMPILE_COMPILATION_FAILED() {
- return messageFactory.getMessage("wscompile.compilationFailed");
+ public static Localizable localizableWSGEN_SOAP_12_WITHOUT_EXTENSION() {
+ return MESSAGE_FACTORY.getMessage("wsgen.soap12.without.extension");
}
/**
- * compilation failed, errors should have been reported
+ * The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option.
*
*/
- public static String WSCOMPILE_COMPILATION_FAILED() {
- return localizer.localize(localizableWSCOMPILE_COMPILATION_FAILED());
+ public static String WSGEN_SOAP_12_WITHOUT_EXTENSION() {
+ return LOCALIZER.localize(localizableWSGEN_SOAP_12_WITHOUT_EXTENSION());
}
- public static Localizable localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) {
- return messageFactory.getMessage("wscompile.missingOptionArgument", arg0);
+ public static Localizable localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.class.must.be.implementation.class", arg0);
}
/**
- * option "{0}" requires an argument
+ * The class "{0}" is not an endpoint implementation class.
*
*/
- public static String WSCOMPILE_MISSING_OPTION_ARGUMENT(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_MISSING_OPTION_ARGUMENT(arg0));
+ public static String WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS(arg0));
}
- public static Localizable localizableWSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.document.download", arg0, arg1);
+ public static Localizable localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() {
+ return MESSAGE_FACTORY.getMessage("wsgen.inlineSchemas.only.with.wsdl");
}
/**
- *
- * Downloading metadata document from {0} to {1}
+ * "-inlineSchemas" must be used in conjunction with the "-wsdl" option
*
*/
- public static String WSIMPORT_DOCUMENT_DOWNLOAD(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_DOCUMENT_DOWNLOAD(arg0, arg1));
+ public static String WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL() {
+ return LOCALIZER.localize(localizableWSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL());
}
- public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.non.soap.binding", arg0, arg1);
+ public static Localizable localizableWRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wrapperTask.loadingIncorrectApi", arg0, arg1, arg2);
}
/**
- * wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1}
+ * You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API.
*
*/
- public static String WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) {
- return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(arg0, arg1));
+ public static String WRAPPER_TASK_LOADING_INCORRECT_API(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWRAPPER_TASK_LOADING_INCORRECT_API(arg0, arg1, arg2));
}
- public static Localizable localizableWSCOMPILE_DUPLICATE_OPTION(Object arg0) {
- return messageFactory.getMessage("wscompile.duplicateOption", arg0);
+ public static Localizable localizableWSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("wscompile.cant.get.compiler", arg0, arg1, arg2);
}
/**
- * duplicate option: {0}
+ * No Java compiler found. Perhaps environment/JDK problem?
+ * Used JVM: {0}, {1}/{2}
*
*/
- public static String WSCOMPILE_DUPLICATE_OPTION(Object arg0) {
- return localizer.localize(localizableWSCOMPILE_DUPLICATE_OPTION(arg0));
+ public static String WSCOMPILE_CANT_GET_COMPILER(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWSCOMPILE_CANT_GET_COMPILER(arg0, arg1, arg2));
}
- public static Localizable localizableWSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.FailedToParse", arg0, arg1);
+ public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.servicename.missing.localname", arg0);
}
/**
- * Failed to parse "{0}": {1}
+ * The service name "{0}" is missing a localname.
*
*/
- public static String WSIMPORT_FAILED_TO_PARSE(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_FAILED_TO_PARSE(arg0, arg1));
+ public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0));
}
- public static Localizable localizableWSIMPORT_NO_WSDL(Object arg0) {
- return messageFactory.getMessage("wsimport.no.wsdl", arg0);
+ public static Localizable localizableWSCOMPILE_INVALID_OPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.invalidOption", arg0);
}
/**
- * Failed to read the WSDL document: {0}, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .
+ * unrecognized parameter {0}
*
*/
- public static String WSIMPORT_NO_WSDL(Object arg0) {
- return localizer.localize(localizableWSIMPORT_NO_WSDL(arg0));
+ public static String WSCOMPILE_INVALID_OPTION(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_INVALID_OPTION(arg0));
}
- public static Localizable localizableWSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsimport.AUTH_INFO_LINENO", arg0, arg1);
+ public static Localizable localizableWSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsimport.httpRedirect", arg0, arg1);
}
/**
- * line {0} of {1}
+ * Server returned HTTP Status code: "{0}", retrying with "{1}"
*
*/
- public static String WSIMPORT_AUTH_INFO_LINENO(Object arg0, Object arg1) {
- return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1));
+ public static String WSIMPORT_HTTP_REDIRECT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSIMPORT_HTTP_REDIRECT(arg0, arg1));
}
- public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) {
- return messageFactory.getMessage("wsgen.servicename.missing.localname", arg0);
+ public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.portname.missing.localname", arg0);
}
/**
- * The service name "{0}" is missing a localname.
+ * The port name "{0}" is missing a localname.
*
*/
- public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) {
- return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0));
+ public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0));
}
- public static Localizable localizableWSGEN_USAGE(Object arg0) {
- return messageFactory.getMessage("wsgen.usage", arg0);
+ public static Localizable localizableWSIMPORT_ERROR_MESSAGE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.ErrorMessage", arg0);
}
/**
- * Usage: {0} [options]
- *
- * Use "wsgen -help" for a detailed description of options.
+ * [ERROR] {0}
*
*/
- public static String WSGEN_USAGE(Object arg0) {
- return localizer.localize(localizableWSGEN_USAGE(arg0));
+ public static String WSIMPORT_ERROR_MESSAGE(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_ERROR_MESSAGE(arg0));
}
- public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("wsgen.servicename.missing.namespace", arg0);
+ public static Localizable localizableWSGEN_FULLVERSION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.fullversion", arg0);
}
/**
- * The service name "{0}" is missing a namespace.
+ * wsgen full version "{0}"
*
*/
- public static String WSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) {
- return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(arg0));
+ public static String WSGEN_FULLVERSION(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_FULLVERSION(arg0));
}
- public static Localizable localizableWSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsgen.invalid.transport", arg0, arg1);
+ public static Localizable localizableWSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.wsdl.arg.no.genwsdl", arg0);
}
/**
- * "{0}" is not a supported transport. Supported transport includes: {1}.
+ * The "{0}" option can only be in conjunction with the "-wsdl" option.
*
*/
- public static String WSGEN_INVALID_TRANSPORT(Object arg0, Object arg1) {
- return localizer.localize(localizableWSGEN_INVALID_TRANSPORT(arg0, arg1));
+ public static String WSGEN_WSDL_ARG_NO_GENWSDL(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_WSDL_ARG_NO_GENWSDL(arg0));
}
- public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
- return messageFactory.getMessage("wsgen.cannot.gen.wsdl.for.soap12.binding", arg0, arg1);
+ public static Localizable localizableWSCOMPILE_INFO(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wscompile.info", arg0);
}
/**
- * wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {1}
+ * info: {0}
*
*/
- public static String WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(Object arg0, Object arg1) {
- return localizer.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(arg0, arg1));
+ public static String WSCOMPILE_INFO(Object arg0) {
+ return LOCALIZER.localize(localizableWSCOMPILE_INFO(arg0));
}
- public static Localizable localizableWSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
- return messageFactory.getMessage("wsimport.ILLEGAL_TARGET_VERSION", arg0);
+ public static Localizable localizableWSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsgen.could.not.create.file", arg0);
}
/**
- * "{0}" is not a valid target version. "2.0" and "2.1" are supported.
+ * Could not create file: "{0}"
*
*/
- public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
- return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0));
+ public static String WSGEN_COULD_NOT_CREATE_FILE(Object arg0) {
+ return LOCALIZER.localize(localizableWSGEN_COULD_NOT_CREATE_FILE(arg0));
}
- public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) {
- return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0);
+ public static Localizable localizableWSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("wsimport.ILLEGAL_AUTH_INFO", arg0);
}
/**
- * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
+ * "{0}" is not a valid authorization information format. The format is http[s]://user:password@host:port//.
*
*/
- public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) {
- return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0));
+ public static String WSIMPORT_ILLEGAL_AUTH_INFO(Object arg0) {
+ return LOCALIZER.localize(localizableWSIMPORT_ILLEGAL_AUTH_INFO(arg0));
}
- public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
- return messageFactory.getMessage("wsgen.portname.missing.localname", arg0);
+ public static Localizable localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("wsgen.cannot.gen.wsdl.for.non.soap.binding", arg0, arg1);
}
/**
- * The port name "{0}" is missing a localname.
+ * wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1}
*
*/
- public static String WSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
- return localizer.localize(localizableWSGEN_PORTNAME_MISSING_LOCALNAME(arg0));
+ public static String WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(arg0, arg1));
}
- public static Localizable localizableWSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("wsgen.portname.missing.namespace", arg0);
+ public static Localizable localizableWSIMPORT_FETCHING_METADATA() {
+ return MESSAGE_FACTORY.getMessage("wsimport.fetchingMetadata");
}
/**
- * The port name "{0}" is missing a namespace.
+ *
+ * Downloading the WSDL and associated metadata
+ *
*
*/
- public static String WSGEN_PORTNAME_MISSING_NAMESPACE(Object arg0) {
- return localizer.localize(localizableWSGEN_PORTNAME_MISSING_NAMESPACE(arg0));
+ public static String WSIMPORT_FETCHING_METADATA() {
+ return LOCALIZER.localize(localizableWSIMPORT_FETCHING_METADATA());
}
- public static Localizable localizableWSIMPORT_FULLVERSION(Object arg0) {
- return messageFactory.getMessage("wsimport.fullversion", arg0);
- }
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
- /**
- * wsimport full version "{0}"
- *
- */
- public static String WSIMPORT_FULLVERSION(Object arg0) {
- return localizer.localize(localizableWSIMPORT_FULLVERSION(arg0));
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WsdlMessages.java 2017-05-03 18:06:57.367093041 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/resources/WsdlMessages.java 2017-05-03 18:06:57.267093044 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* 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,54 +25,62 @@
package com.sun.tools.internal.ws.resources;
+import java.util.Locale;
+import java.util.ResourceBundle;
import com.sun.istack.internal.localization.Localizable;
import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.internal.localization.Localizer;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* Defines string formatting method for each constant in the resource file
*
*/
public final class WsdlMessages {
+
private final static String BUNDLE_NAME = "com.sun.tools.internal.ws.resources.wsdl";
- private final static LocalizableMessageFactory messageFactory =
- new LocalizableMessageFactory(BUNDLE_NAME, WsdlMessages::getResourceBundle);
- private final static Localizer localizer = new Localizer();
+ private final static LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new WsdlMessages.BundleSupplier());
+ private final static Localizer LOCALIZER = new Localizer();
- private static ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ public static Localizable localizablePARSING_NOT_AWSDL(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("Parsing.NotAWSDL", arg0);
}
- public static Localizable localizablePARSING_ELEMENT_EXPECTED() {
- return messageFactory.getMessage("parsing.elementExpected");
+ /**
+ * Failed to get WSDL components, probably {0} is not a valid WSDL file.
+ *
+ */
+ public static String PARSING_NOT_AWSDL(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_NOT_AWSDL(arg0));
+ }
+
+ public static Localizable localizablePARSER_NOT_A_BINDING_FILE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("Parser.NotABindingFile", arg0, arg1);
}
/**
- * unexpected non-element found
+ * not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxws'}'bindings but it is '{'{0}'}'{1}
*
*/
- public static String PARSING_ELEMENT_EXPECTED() {
- return localizer.localize(localizablePARSING_ELEMENT_EXPECTED());
+ public static String PARSER_NOT_A_BINDING_FILE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSER_NOT_A_BINDING_FILE(arg0, arg1));
}
- public static Localizable localizableENTITY_NOT_FOUND_BINDING(Object arg0, Object arg1) {
- return messageFactory.getMessage("entity.notFound.binding", arg0, arg1);
+ public static Localizable localizablePARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.unknownExtensibilityElementOrAttribute", arg0, arg1);
}
/**
- * wsdl:binding "{0}" referenced by wsdl:port "{1}", but it's not found in the wsdl
+ * unknown extensibility element or attribute "{0}" (in namespace "{1}")
*
*/
- public static String ENTITY_NOT_FOUND_BINDING(Object arg0, Object arg1) {
- return localizer.localize(localizableENTITY_NOT_FOUND_BINDING(arg0, arg1));
+ 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 localizablePARSING_UNABLE_TO_GET_METADATA(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.unableToGetMetadata", arg0, arg1);
+ return MESSAGE_FACTORY.getMessage("parsing.unableToGetMetadata", arg0, arg1);
}
/**
@@ -82,240 +90,242 @@
*
*/
public static String PARSING_UNABLE_TO_GET_METADATA(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_UNABLE_TO_GET_METADATA(arg0, arg1));
+ return LOCALIZER.localize(localizablePARSING_UNABLE_TO_GET_METADATA(arg0, arg1));
}
- public static Localizable localizablePARSING_PARSE_FAILED() {
- return messageFactory.getMessage("Parsing.ParseFailed");
+ public static Localizable localizablePARSING_ONLY_ONE_TYPES_ALLOWED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.onlyOneTypesAllowed", arg0);
}
/**
- * Failed to parse the WSDL.
+ * only one "types" element allowed in "{0}"
*
*/
- public static String PARSING_PARSE_FAILED() {
- return localizer.localize(localizablePARSING_PARSE_FAILED());
+ public static String PARSING_ONLY_ONE_TYPES_ALLOWED(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_ONLY_ONE_TYPES_ALLOWED(arg0));
}
- public static Localizable localizablePARSING_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.invalidAttributeValue", arg0, arg1);
+ public static Localizable localizableVALIDATION_SHOULD_NOT_HAPPEN(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("validation.shouldNotHappen", arg0);
}
/**
- * invalid value "{1}" for attribute "{0}"
+ * internal error ("{0}")
*
*/
- public static String PARSING_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
+ public static String VALIDATION_SHOULD_NOT_HAPPEN(Object arg0) {
+ return LOCALIZER.localize(localizableVALIDATION_SHOULD_NOT_HAPPEN(arg0));
}
- public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.invalidAttributeValue", arg0, arg1);
+ public static Localizable localizableWARNING_WSI_R_2003() {
+ return MESSAGE_FACTORY.getMessage("warning.wsi.r2003");
}
/**
- * invalid value "{1}" for attribute "{0}"
+ * Not a WSI-BP compliant WSDL (R2003). xsd:import must only be used inside xsd:schema elements.
*
*/
- public static String VALIDATION_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
+ public static String WARNING_WSI_R_2003() {
+ return LOCALIZER.localize(localizableWARNING_WSI_R_2003());
}
- public static Localizable localizablePARSING_INVALID_TAG(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.invalidTag", arg0, arg1);
+ public static Localizable localizableWARNING_WSI_R_2004() {
+ return MESSAGE_FACTORY.getMessage("warning.wsi.r2004");
}
/**
- * expected element "{1}", found "{0}"
+ * Not a WSI-BP compliant WSDL (R2001, R2004). xsd:import must not import XML Schema definitions embedded inline within the WSDL document.
*
*/
- public static String PARSING_INVALID_TAG(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_INVALID_TAG(arg0, arg1));
+ public static String WARNING_WSI_R_2004() {
+ return LOCALIZER.localize(localizableWARNING_WSI_R_2004());
}
- public static Localizable localizableENTITY_NOT_FOUND_PORT_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("entity.notFound.portType", arg0, arg1);
+ public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.invalidAttribute", arg0, arg1);
}
/**
- * wsdl:portType "{0}" referenced by wsdl:binding "{1}", but it's not found in the wsdl
+ * invalid attribute "{0}" of element "{1}"
*
*/
- public static String ENTITY_NOT_FOUND_PORT_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableENTITY_NOT_FOUND_PORT_TYPE(arg0, arg1));
+ public static String VALIDATION_INVALID_ATTRIBUTE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_INVALID_ATTRIBUTE(arg0, arg1));
}
- public static Localizable localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.missingRequiredAttribute", arg0, arg1);
+ public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.invalidAttributeValue", arg0, arg1);
}
/**
- * missing required attribute "{1}" of element "{0}"
+ * invalid value "{1}" for attribute "{0}"
*
*/
- public static String PARSING_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(arg0, arg1));
+ public static String VALIDATION_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
}
- public static Localizable localizablePARSING_INVALID_ELEMENT(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.invalidElement", arg0, arg1);
+ public static Localizable localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.ioExceptionWithSystemId", arg0);
}
/**
- * invalid element: "{0}" (in namespace "{1}")
+ * failed to parse document at "{0}"
*
*/
- public static String PARSING_INVALID_ELEMENT(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_INVALID_ELEMENT(arg0, arg1));
+ public static String PARSING_IO_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(arg0));
}
- public static Localizable localizableVALIDATION_INVALID_ELEMENT(Object arg0) {
- return messageFactory.getMessage("validation.invalidElement", arg0);
+ public static Localizable localizablePARSING_PARSE_FAILED() {
+ return MESSAGE_FACTORY.getMessage("Parsing.ParseFailed");
}
/**
- * invalid element: "{0}"
+ * Failed to parse the WSDL.
*
*/
- public static String VALIDATION_INVALID_ELEMENT(Object arg0) {
- return localizer.localize(localizableVALIDATION_INVALID_ELEMENT(arg0));
+ public static String PARSING_PARSE_FAILED() {
+ return LOCALIZER.localize(localizablePARSING_PARSE_FAILED());
}
- public static Localizable localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES() {
- return messageFactory.getMessage("Internalizer.TwoVersionAttributes");
+ public static Localizable localizableFAILED_NOSERVICE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("failed.noservice", arg0);
}
/**
- * Both jaxws:version and version are present
+ * 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.
*
*/
- public static String INTERNALIZER_TWO_VERSION_ATTRIBUTES() {
- return localizer.localize(localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES());
+ public static String FAILED_NOSERVICE(Object arg0) {
+ return LOCALIZER.localize(localizableFAILED_NOSERVICE(arg0));
}
- public static Localizable localizableVALIDATION_DUPLICATE_PART_NAME(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.duplicatePartName", arg0, arg1);
+ public static Localizable localizableENTITY_DUPLICATE_WITH_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("entity.duplicateWithType", arg0, arg1);
}
/**
- * Invalid WSDL, duplicate parts in a wsdl:message is not allowed.
- * wsdl:message {0} has a duplicated part name: "{1}"
+ * duplicate "{0}" entity: "{1}"
*
*/
- public static String VALIDATION_DUPLICATE_PART_NAME(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_DUPLICATE_PART_NAME(arg0, arg1));
+ public static String ENTITY_DUPLICATE_WITH_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableENTITY_DUPLICATE_WITH_TYPE(arg0, arg1));
}
- public static Localizable localizablePARSING_INVALID_WSDL_ELEMENT(Object arg0) {
- return messageFactory.getMessage("parsing.invalidWsdlElement", arg0);
+ public static Localizable localizableVALIDATION_DUPLICATE_PART_NAME(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.duplicatePartName", arg0, arg1);
}
/**
- * invalid WSDL element: "{0}"
+ * Invalid WSDL, duplicate parts in a wsdl:message is not allowed.
+ * wsdl:message {0} has a duplicated part name: "{1}"
*
*/
- public static String PARSING_INVALID_WSDL_ELEMENT(Object arg0) {
- return localizer.localize(localizablePARSING_INVALID_WSDL_ELEMENT(arg0));
+ public static String VALIDATION_DUPLICATE_PART_NAME(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_DUPLICATE_PART_NAME(arg0, arg1));
}
- public static Localizable localizablePARSING_NON_WHITESPACE_TEXT_FOUND(Object arg0) {
- return messageFactory.getMessage("parsing.nonWhitespaceTextFound", arg0);
+ public static Localizable localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.onlyOneOfElementOrTypeRequired", arg0);
}
/**
- * found unexpected non-whitespace text: "{0}"
+ * only one of the "element" or "type" attributes is allowed in part "{0}"
*
*/
- public static String PARSING_NON_WHITESPACE_TEXT_FOUND(Object arg0) {
- return localizer.localize(localizablePARSING_NON_WHITESPACE_TEXT_FOUND(arg0));
+ public static String PARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(arg0));
}
- public static Localizable localizableINTERNALIZER_TARGET_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("internalizer.targetNotFound", arg0);
+ public static Localizable localizablePARSING_INCORRECT_ROOT_ELEMENT(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("parsing.incorrectRootElement", arg0, arg1, arg2, arg3);
}
/**
- * No target found for the wsdlLocation: {0}
+ * expected root element "{2}" (in namespace "{3}"), found element "{0}" (in namespace "{1}")
*
*/
- public static String INTERNALIZER_TARGET_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableINTERNALIZER_TARGET_NOT_FOUND(arg0));
+ public static String PARSING_INCORRECT_ROOT_ELEMENT(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizablePARSING_INCORRECT_ROOT_ELEMENT(arg0, arg1, arg2, arg3));
}
- public static Localizable localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
- return messageFactory.getMessage("parsing.saxExceptionWithSystemId", arg0);
+ public static Localizable localizableINVALID_WSDL_WITH_DOOC(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("invalid.wsdl.with.dooc", arg0, arg1);
}
/**
- * invalid WSDL file! failed to parse document at "{0}"
+ * "Not a WSDL document: {0}, it gives "{1}", retrying with MEX..."
*
*/
- public static String PARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
- return localizer.localize(localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(arg0));
+ public static String INVALID_WSDL_WITH_DOOC(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableINVALID_WSDL_WITH_DOOC(arg0, arg1));
}
- public static Localizable localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.requiredExtensibilityElement", arg0, arg1);
+ public static Localizable localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("internalizer.XPathEvaulatesToTooManyTargets", arg0, arg1);
}
/**
- * unknown required extensibility element "{0}" (in namespace "{1}")
+ * XPath evaluation of "{0}" results in too many ({1}) target nodes
*
*/
- public static String PARSING_REQUIRED_EXTENSIBILITY_ELEMENT(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(arg0, arg1));
+ public static String INTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(arg0, arg1));
}
- public static Localizable localizableENTITY_NOT_FOUND_BY_ID(Object arg0) {
- return messageFactory.getMessage("entity.notFoundByID", arg0);
+ public static Localizable localizablePARSING_ELEMENT_EXPECTED() {
+ return MESSAGE_FACTORY.getMessage("parsing.elementExpected");
}
/**
- * invalid entity id: "{0}"
+ * unexpected non-element found
*
*/
- public static String ENTITY_NOT_FOUND_BY_ID(Object arg0) {
- return localizer.localize(localizableENTITY_NOT_FOUND_BY_ID(arg0));
+ public static String PARSING_ELEMENT_EXPECTED() {
+ return LOCALIZER.localize(localizablePARSING_ELEMENT_EXPECTED());
}
- public static Localizable localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.exclusiveAttributes", arg0, arg1);
+ public static Localizable localizableFILE_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("file.not.found", arg0);
}
/**
- * exclusive attributes: "{0}", "{1}"
+ * {0} is unreachable
*
*/
- public static String VALIDATION_EXCLUSIVE_ATTRIBUTES(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(arg0, arg1));
+ public static String FILE_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableFILE_NOT_FOUND(arg0));
}
- public static Localizable localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.missingRequiredSubEntity", arg0, arg1);
+ public static Localizable localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.invalidSimpleTypeInElement", arg0, arg1);
}
/**
- * missing required sub-entity "{0}" of element "{1}"
+ * invalid element: "{1}", has named simpleType: "{0}"
*
*/
- public static String VALIDATION_MISSING_REQUIRED_SUB_ENTITY(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(arg0, arg1));
+ public static String VALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(arg0, arg1));
}
- public static Localizable localizableINTERNALIZER_INCORRECT_VERSION() {
- return messageFactory.getMessage("Internalizer.IncorrectVersion");
+ public static Localizable localizablePARSING_TOO_MANY_ELEMENTS(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("parsing.tooManyElements", arg0, arg1, arg2);
}
/**
- * JAXWS version attribute must be "2.0"
+ * too many "{0}" elements under "{1}" element "{2}"
*
*/
- public static String INTERNALIZER_INCORRECT_VERSION() {
- return localizer.localize(localizableINTERNALIZER_INCORRECT_VERSION());
+ public static String PARSING_TOO_MANY_ELEMENTS(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizablePARSING_TOO_MANY_ELEMENTS(arg0, arg1, arg2));
}
public static Localizable localizableLOCALIZED_ERROR(Object arg0) {
- return messageFactory.getMessage("localized.error", arg0);
+ return MESSAGE_FACTORY.getMessage("localized.error", arg0);
}
/**
@@ -323,566 +333,553 @@
*
*/
public static String LOCALIZED_ERROR(Object arg0) {
- return localizer.localize(localizableLOCALIZED_ERROR(arg0));
+ return LOCALIZER.localize(localizableLOCALIZED_ERROR(arg0));
}
- public static Localizable localizableENTITY_DUPLICATE_WITH_TYPE(Object arg0, Object arg1) {
- return messageFactory.getMessage("entity.duplicateWithType", arg0, arg1);
+ public static Localizable localizablePARSING_FACTORY_CONFIG_EXCEPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.factoryConfigException", arg0);
}
/**
- * duplicate "{0}" entity: "{1}"
+ * invalid WSDL file! parsing failed: {0}
*
*/
- public static String ENTITY_DUPLICATE_WITH_TYPE(Object arg0, Object arg1) {
- return localizer.localize(localizableENTITY_DUPLICATE_WITH_TYPE(arg0, arg1));
+ public static String PARSING_FACTORY_CONFIG_EXCEPTION(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_FACTORY_CONFIG_EXCEPTION(arg0));
}
- public static Localizable localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
- return messageFactory.getMessage("parsing.onlyOneOfElementOrTypeRequired", arg0);
+ public static Localizable localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.unknownImportedDocumentType", arg0);
}
/**
- * only one of the "element" or "type" attributes is allowed in part "{0}"
+ * imported document is of unknown type: {0}
*
*/
- public static String PARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
- return localizer.localize(localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(arg0));
+ public static String PARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(arg0));
}
- public static Localizable localizableVALIDATION_UNSUPPORTED_USE_ENCODED(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.unsupportedUse.encoded", arg0, arg1);
+ public static Localizable localizableVALIDATION_DUPLICATED_ELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("validation.duplicatedElement", arg0);
}
/**
- * "Use of SOAP Encoding is not supported.
- * SOAP extension element on line {0} in {1} has use="encoded" "
+ * duplicated element: "{0}"
*
*/
- public static String VALIDATION_UNSUPPORTED_USE_ENCODED(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_UNSUPPORTED_USE_ENCODED(arg0, arg1));
+ public static String VALIDATION_DUPLICATED_ELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizableVALIDATION_DUPLICATED_ELEMENT(arg0));
}
- public static Localizable localizablePARSING_INCORRECT_ROOT_ELEMENT(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("parsing.incorrectRootElement", arg0, arg1, arg2, arg3);
+ public static Localizable localizablePARSING_INVALID_URI(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidURI", arg0);
}
/**
- * expected root element "{2}" (in namespace "{3}"), found element "{0}" (in namespace "{1}")
+ * invalid URI: {0}
*
*/
- public static String PARSING_INCORRECT_ROOT_ELEMENT(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizablePARSING_INCORRECT_ROOT_ELEMENT(arg0, arg1, arg2, arg3));
+ public static String PARSING_INVALID_URI(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_URI(arg0));
}
- public static Localizable localizableTRY_WITH_MEX(Object arg0) {
- return messageFactory.getMessage("try.with.mex", arg0);
+ public static Localizable localizablePARSING_SAX_EXCEPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.saxException", arg0);
}
/**
- * {0}
- *
- * retrying with MEX...
+ * invalid WSDL file! parsing failed: {0}
*
*/
- public static String TRY_WITH_MEX(Object arg0) {
- return localizer.localize(localizableTRY_WITH_MEX(arg0));
+ public static String PARSING_SAX_EXCEPTION(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_SAX_EXCEPTION(arg0));
}
- public static Localizable localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.missingRequiredAttribute", arg0, arg1);
+ public static Localizable localizableINTERNALIZER_INCORRECT_VERSION() {
+ return MESSAGE_FACTORY.getMessage("Internalizer.IncorrectVersion");
}
/**
- * missing required attribute "{0}" of element "{1}"
+ * JAXWS version attribute must be "2.0"
*
*/
- public static String VALIDATION_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(arg0, arg1));
+ public static String INTERNALIZER_INCORRECT_VERSION() {
+ return LOCALIZER.localize(localizableINTERNALIZER_INCORRECT_VERSION());
}
- public static Localizable localizablePARSING_IO_EXCEPTION(Object arg0) {
- return messageFactory.getMessage("parsing.ioException", arg0);
+ public static Localizable localizablePARSING_NON_WHITESPACE_TEXT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.nonWhitespaceTextFound", arg0);
}
/**
- * parsing failed: {0}
+ * found unexpected non-whitespace text: "{0}"
*
*/
- public static String PARSING_IO_EXCEPTION(Object arg0) {
- return localizer.localize(localizablePARSING_IO_EXCEPTION(arg0));
+ public static String PARSING_NON_WHITESPACE_TEXT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_NON_WHITESPACE_TEXT_FOUND(arg0));
}
- public static Localizable localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(Object arg0, Object arg1) {
- return messageFactory.getMessage("internalizer.XPathEvaulatesToTooManyTargets", arg0, arg1);
+ public static Localizable localizableENTITY_NOT_FOUND_BY_Q_NAME(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("entity.notFoundByQName", arg0, arg1, arg2);
}
/**
- * XPath evaluation of "{0}" results in too many ({1}) target nodes
+ * {0} "{1}" not found in the wsdl: {2}
*
*/
- public static String INTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(Object arg0, Object arg1) {
- return localizer.localize(localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(arg0, arg1));
+ public static String ENTITY_NOT_FOUND_BY_Q_NAME(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableENTITY_NOT_FOUND_BY_Q_NAME(arg0, arg1, arg2));
}
- public static Localizable localizablePARSER_NOT_A_BINDING_FILE(Object arg0, Object arg1) {
- return messageFactory.getMessage("Parser.NotABindingFile", arg0, arg1);
+ public static Localizable localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.missingRequiredAttribute", arg0, arg1);
}
/**
- * not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxws'}'bindings but it is '{'{0}'}'{1}
+ * missing required attribute "{0}" of element "{1}"
*
*/
- public static String PARSER_NOT_A_BINDING_FILE(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSER_NOT_A_BINDING_FILE(arg0, arg1));
+ public static String VALIDATION_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(arg0, arg1));
}
- public static Localizable localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(Object arg0) {
- return messageFactory.getMessage("parsing.unknownNamespacePrefix", arg0);
+ public static Localizable localizableWARNING_FAULT_EMPTY_ACTION(Object arg0, Object arg1, Object arg2) {
+ return MESSAGE_FACTORY.getMessage("warning.faultEmptyAction", arg0, arg1, arg2);
}
/**
- * undeclared namespace prefix: "{0}"
+ * ignoring empty Action in "{0}" {1} element of "{2}" operation, using default instead
*
*/
- public static String PARSING_UNKNOWN_NAMESPACE_PREFIX(Object arg0) {
- return localizer.localize(localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(arg0));
+ public static String WARNING_FAULT_EMPTY_ACTION(Object arg0, Object arg1, Object arg2) {
+ return LOCALIZER.localize(localizableWARNING_FAULT_EMPTY_ACTION(arg0, arg1, arg2));
}
- public static Localizable localizablePARSING_FACTORY_CONFIG_EXCEPTION(Object arg0) {
- return messageFactory.getMessage("parsing.factoryConfigException", arg0);
+ public static Localizable localizablePARSING_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidAttributeValue", arg0, arg1);
}
/**
- * invalid WSDL file! parsing failed: {0}
+ * invalid value "{1}" for attribute "{0}"
*
*/
- public static String PARSING_FACTORY_CONFIG_EXCEPTION(Object arg0) {
- return localizer.localize(localizablePARSING_FACTORY_CONFIG_EXCEPTION(arg0));
+ public static String PARSING_INVALID_ATTRIBUTE_VALUE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_ATTRIBUTE_VALUE(arg0, arg1));
}
- public static Localizable localizableVALIDATION_MISSING_REQUIRED_PROPERTY(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.missingRequiredProperty", arg0, arg1);
+ public static Localizable localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("AbstractReferenceFinderImpl.UnableToParse", arg0, arg1);
}
/**
- * missing required property "{0}" of element "{1}"
+ * Unable to parse "{0}" : {1}
*
*/
- public static String VALIDATION_MISSING_REQUIRED_PROPERTY(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_MISSING_REQUIRED_PROPERTY(arg0, arg1));
+ public static String ABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(arg0, arg1));
}
- public static Localizable localizablePARSING_INVALID_OPERATION_STYLE(Object arg0) {
- return messageFactory.getMessage("parsing.invalidOperationStyle", arg0);
+ public static Localizable localizableENTITY_DUPLICATE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("entity.duplicate", arg0);
}
/**
- * operation "{0}" has an invalid style
+ * duplicate entity: "{0}"
*
*/
- public static String PARSING_INVALID_OPERATION_STYLE(Object arg0) {
- return localizer.localize(localizablePARSING_INVALID_OPERATION_STYLE(arg0));
+ public static String ENTITY_DUPLICATE(Object arg0) {
+ return LOCALIZER.localize(localizableENTITY_DUPLICATE(arg0));
}
- public static Localizable localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(Object arg0) {
- return messageFactory.getMessage("internalizer.XPathEvaluationError", arg0);
+ public static Localizable localizableVALIDATION_MISSING_REQUIRED_PROPERTY(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.missingRequiredProperty", arg0, arg1);
}
/**
- * XPath error: {0}
+ * missing required property "{0}" of element "{1}"
*
*/
- public static String INTERNALIZER_X_PATH_EVALUATION_ERROR(Object arg0) {
- return localizer.localize(localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(arg0));
+ public static String VALIDATION_MISSING_REQUIRED_PROPERTY(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_MISSING_REQUIRED_PROPERTY(arg0, arg1));
}
- public static Localizable localizableVALIDATION_INVALID_SUB_ENTITY(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.invalidSubEntity", arg0, arg1);
+ public static Localizable localizableINVALID_CUSTOMIZATION_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("invalid.customization.namespace", arg0);
}
/**
- * invalid sub-element "{0}" of element "{1}"
+ * Ignoring customization: "{0}", because it has no namespace. It must belong to the customization namespace.
*
*/
- public static String VALIDATION_INVALID_SUB_ENTITY(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_INVALID_SUB_ENTITY(arg0, arg1));
+ public static String INVALID_CUSTOMIZATION_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizableINVALID_CUSTOMIZATION_NAMESPACE(arg0));
}
- public static Localizable localizableVALIDATION_SHOULD_NOT_HAPPEN(Object arg0) {
- return messageFactory.getMessage("validation.shouldNotHappen", arg0);
+ public static Localizable localizableTRY_WITH_MEX(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("try.with.mex", arg0);
}
/**
- * internal error ("{0}")
+ * {0}
*
- */
- public static String VALIDATION_SHOULD_NOT_HAPPEN(Object arg0) {
- return localizer.localize(localizableVALIDATION_SHOULD_NOT_HAPPEN(arg0));
- }
-
- public static Localizable localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(Object arg0, Object arg1) {
- return messageFactory.getMessage("AbstractReferenceFinderImpl.UnableToParse", arg0, arg1);
- }
-
- /**
- * Unable to parse "{0}" : {1}
+ * retrying with MEX...
*
*/
- public static String ABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(Object arg0, Object arg1) {
- return localizer.localize(localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(arg0, arg1));
+ public static String TRY_WITH_MEX(Object arg0) {
+ return LOCALIZER.localize(localizableTRY_WITH_MEX(arg0));
}
- public static Localizable localizableWARNING_FAULT_EMPTY_ACTION(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("warning.faultEmptyAction", arg0, arg1, arg2);
+ public static Localizable localizableINVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return MESSAGE_FACTORY.getMessage("invalid.wsdl", arg0, arg1, arg2, arg3);
}
/**
- * ignoring empty Action in "{0}" {1} element of "{2}" operation, using default instead
+ * Invalid WSDL {0}, expected {1} found {2} at (line {3})
*
*/
- public static String WARNING_FAULT_EMPTY_ACTION(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableWARNING_FAULT_EMPTY_ACTION(arg0, arg1, arg2));
+ public static String INVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
+ return LOCALIZER.localize(localizableINVALID_WSDL(arg0, arg1, arg2, arg3));
}
- public static Localizable localizablePARSING_INVALID_EXTENSION_ELEMENT(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.invalidExtensionElement", arg0, arg1);
+ public static Localizable localizableENTITY_NOT_FOUND_BY_ID(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("entity.notFoundByID", arg0);
}
/**
- * invalid extension element: "{0}" (in namespace "{1}")
+ * invalid entity id: "{0}"
*
*/
- public static String PARSING_INVALID_EXTENSION_ELEMENT(Object arg0, Object arg1) {
- return localizer.localize(localizablePARSING_INVALID_EXTENSION_ELEMENT(arg0, arg1));
+ public static String ENTITY_NOT_FOUND_BY_ID(Object arg0) {
+ return LOCALIZER.localize(localizableENTITY_NOT_FOUND_BY_ID(arg0));
}
- public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(Object arg0) {
- return messageFactory.getMessage("internalizer.XPathEvaluatesToNonElement", arg0);
+ public static Localizable localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("Internalizer.IncorrectSchemaReference", arg0, arg1);
}
/**
- * XPath evaluation of "{0}" needs to result in an element.
+ * "{0}" is not a part of this compilation. Is this a mistake for "{1}"?
*
*/
- public static String INTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(Object arg0) {
- return localizer.localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(arg0));
+ public static String INTERNALIZER_INCORRECT_SCHEMA_REFERENCE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(arg0, arg1));
}
- public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(Object arg0) {
- return messageFactory.getMessage("internalizer.XPathEvaluatesToNoTarget", arg0);
+ public static Localizable localizablePARSING_INVALID_EXTENSION_ELEMENT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidExtensionElement", arg0, arg1);
}
/**
- * XPath evaluation of "{0}" results in an empty target node
+ * invalid extension element: "{0}" (in namespace "{1}")
*
*/
- public static String INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(Object arg0) {
- return localizer.localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(arg0));
+ public static String PARSING_INVALID_EXTENSION_ELEMENT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_EXTENSION_ELEMENT(arg0, arg1));
}
- public static Localizable localizablePARSING_SAX_EXCEPTION(Object arg0) {
- return messageFactory.getMessage("parsing.saxException", arg0);
+ public static Localizable localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.exclusiveAttributes", arg0, arg1);
}
/**
- * invalid WSDL file! parsing failed: {0}
+ * exclusive attributes: "{0}", "{1}"
*
*/
- public static String PARSING_SAX_EXCEPTION(Object arg0) {
- return localizer.localize(localizablePARSING_SAX_EXCEPTION(arg0));
+ public static String VALIDATION_EXCLUSIVE_ATTRIBUTES(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(arg0, arg1));
}
- public static Localizable localizableINVALID_CUSTOMIZATION_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("invalid.customization.namespace", arg0);
+ public static Localizable localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.incorrectTargetNamespace", arg0, arg1);
}
/**
- * Ignoring customization: "{0}", because it has no namespace. It must belong to the customization namespace.
+ * target namespace is incorrect (expected: {1}, found: {0})
*
*/
- public static String INVALID_CUSTOMIZATION_NAMESPACE(Object arg0) {
- return localizer.localize(localizableINVALID_CUSTOMIZATION_NAMESPACE(arg0));
+ public static String VALIDATION_INCORRECT_TARGET_NAMESPACE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(arg0, arg1));
}
- public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.invalidAttribute", arg0, arg1);
+ public static Localizable localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES() {
+ return MESSAGE_FACTORY.getMessage("Internalizer.TwoVersionAttributes");
}
/**
- * invalid attribute "{0}" of element "{1}"
+ * Both jaxws:version and version are present
*
*/
- public static String VALIDATION_INVALID_ATTRIBUTE(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_INVALID_ATTRIBUTE(arg0, arg1));
+ public static String INTERNALIZER_TWO_VERSION_ATTRIBUTES() {
+ return LOCALIZER.localize(localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES());
}
- public static Localizable localizablePARSING_PARSER_CONFIG_EXCEPTION(Object arg0) {
- return messageFactory.getMessage("parsing.parserConfigException", arg0);
+ public static Localizable localizableENTITY_NOT_FOUND_BINDING(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("entity.notFound.binding", arg0, arg1);
}
/**
- * invalid WSDL file! parsing failed: {0}
+ * wsdl:binding "{0}" referenced by wsdl:port "{1}", but it's not found in the wsdl
*
*/
- public static String PARSING_PARSER_CONFIG_EXCEPTION(Object arg0) {
- return localizer.localize(localizablePARSING_PARSER_CONFIG_EXCEPTION(arg0));
+ public static String ENTITY_NOT_FOUND_BINDING(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableENTITY_NOT_FOUND_BINDING(arg0, arg1));
}
- public static Localizable localizablePARSING_ONLY_ONE_TYPES_ALLOWED(Object arg0) {
- return messageFactory.getMessage("parsing.onlyOneTypesAllowed", arg0);
+ public static Localizable localizableVALIDATION_INVALID_SUB_ENTITY(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.invalidSubEntity", arg0, arg1);
}
/**
- * only one "types" element allowed in "{0}"
+ * invalid sub-element "{0}" of element "{1}"
*
*/
- public static String PARSING_ONLY_ONE_TYPES_ALLOWED(Object arg0) {
- return localizer.localize(localizablePARSING_ONLY_ONE_TYPES_ALLOWED(arg0));
+ public static String VALIDATION_INVALID_SUB_ENTITY(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_INVALID_SUB_ENTITY(arg0, arg1));
}
- public static Localizable localizablePARSING_INVALID_URI(Object arg0) {
- return messageFactory.getMessage("parsing.invalidURI", arg0);
+ public static Localizable localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.requiredExtensibilityElement", arg0, arg1);
}
/**
- * invalid URI: {0}
+ * unknown required extensibility element "{0}" (in namespace "{1}")
*
*/
- public static String PARSING_INVALID_URI(Object arg0) {
- return localizer.localize(localizablePARSING_INVALID_URI(arg0));
+ public static String PARSING_REQUIRED_EXTENSIBILITY_ELEMENT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(arg0, arg1));
}
- public static Localizable localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.incorrectTargetNamespace", arg0, arg1);
+ public static Localizable localizablePARSING_IO_EXCEPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.ioException", arg0);
}
/**
- * target namespace is incorrect (expected: {1}, found: {0})
+ * parsing failed: {0}
*
*/
- public static String VALIDATION_INCORRECT_TARGET_NAMESPACE(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(arg0, arg1));
+ public static String PARSING_IO_EXCEPTION(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_IO_EXCEPTION(arg0));
}
- public static Localizable localizableENTITY_NOT_FOUND_BY_Q_NAME(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("entity.notFoundByQName", arg0, arg1, arg2);
+ public static Localizable localizableINTERNALIZER_VERSION_NOT_PRESENT() {
+ return MESSAGE_FACTORY.getMessage("Internalizer.VersionNotPresent");
}
/**
- * {0} "{1}" not found in the wsdl: {2}
+ * JAXWS version attribute must be present
*
*/
- public static String ENTITY_NOT_FOUND_BY_Q_NAME(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizableENTITY_NOT_FOUND_BY_Q_NAME(arg0, arg1, arg2));
+ public static String INTERNALIZER_VERSION_NOT_PRESENT() {
+ return LOCALIZER.localize(localizableINTERNALIZER_VERSION_NOT_PRESENT());
}
- public static Localizable localizableINVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
- return messageFactory.getMessage("invalid.wsdl", arg0, arg1, arg2, arg3);
+ public static Localizable localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("internalizer.XPathEvaluationError", arg0);
}
/**
- * Invalid WSDL {0}, expected {1} found {2} at (line {3})
+ * XPath error: {0}
*
*/
- public static String INVALID_WSDL(Object arg0, Object arg1, Object arg2, Object arg3) {
- return localizer.localize(localizableINVALID_WSDL(arg0, arg1, arg2, arg3));
+ public static String INTERNALIZER_X_PATH_EVALUATION_ERROR(Object arg0) {
+ return LOCALIZER.localize(localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(arg0));
}
- public static Localizable localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(Object arg0) {
- return messageFactory.getMessage("parsing.unknownImportedDocumentType", arg0);
+ public static Localizable localizablePARSING_INVALID_WSDL_ELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidWsdlElement", arg0);
}
/**
- * imported document is of unknown type: {0}
+ * invalid WSDL element: "{0}"
*
*/
- public static String PARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(Object arg0) {
- return localizer.localize(localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(arg0));
+ public static String PARSING_INVALID_WSDL_ELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_WSDL_ELEMENT(arg0));
}
- public static Localizable localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
- return messageFactory.getMessage("parsing.ioExceptionWithSystemId", arg0);
+ public static Localizable localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT() {
+ return MESSAGE_FACTORY.getMessage("internalizer.targetNotAnElement");
}
/**
- * failed to parse document at "{0}"
+ * Target node is not an element
*
*/
- public static String PARSING_IO_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
- return localizer.localize(localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(arg0));
+ public static String INTERNALIZER_TARGET_NOT_AN_ELEMENT() {
+ return LOCALIZER.localize(localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT());
}
- public static Localizable localizableVALIDATION_AMBIGUOUS_NAME(Object arg0) {
- return messageFactory.getMessage("validation.ambiguousName", arg0);
+ public static Localizable localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("warning.inputOutputEmptyAction", arg0, arg1);
}
/**
- * ambiguous operation name: "{0}"
+ * ignoring empty Action in {0} element of "{1}" operation, using default instead
*
*/
- public static String VALIDATION_AMBIGUOUS_NAME(Object arg0) {
- return localizer.localize(localizableVALIDATION_AMBIGUOUS_NAME(arg0));
+ public static String WARNING_INPUT_OUTPUT_EMPTY_ACTION(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(arg0, arg1));
}
- public static Localizable localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(Object arg0) {
- return messageFactory.getMessage("parsing.wsdlNotDefaultNamespace", arg0);
+ public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("internalizer.XPathEvaluatesToNoTarget", arg0);
}
/**
- * default namespace must be "{0}"
+ * XPath evaluation of "{0}" results in an empty target node
*
*/
- public static String PARSING_WSDL_NOT_DEFAULT_NAMESPACE(Object arg0) {
- return localizer.localize(localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(arg0));
+ public static String INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(Object arg0) {
+ return LOCALIZER.localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(arg0));
}
- public static Localizable localizablePARSING_UNKNOWN_EXTENSIBILITY_ELEMENT_OR_ATTRIBUTE(Object arg0, Object arg1) {
- return messageFactory.getMessage("parsing.unknownExtensibilityElementOrAttribute", arg0, arg1);
+ public static Localizable localizablePARSING_INVALID_TAG_NS(Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidTagNS", arg0, arg1, arg2, arg3, arg4);
}
/**
- * unknown extensibility element or attribute "{0}" (in namespace "{1}")
+ * Invalid WSDL at {4}: expected element "{2}" (in namespace "{3}"), found element "{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 String PARSING_INVALID_TAG_NS(Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_TAG_NS(arg0, arg1, arg2, arg3, arg4));
}
- public static Localizable localizableVALIDATION_DUPLICATED_ELEMENT(Object arg0) {
- return messageFactory.getMessage("validation.duplicatedElement", arg0);
+ public static Localizable localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.unknownNamespacePrefix", arg0);
}
/**
- * duplicated element: "{0}"
+ * undeclared namespace prefix: "{0}"
*
*/
- public static String VALIDATION_DUPLICATED_ELEMENT(Object arg0) {
- return localizer.localize(localizableVALIDATION_DUPLICATED_ELEMENT(arg0));
+ public static String PARSING_UNKNOWN_NAMESPACE_PREFIX(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(arg0));
}
- public static Localizable localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT() {
- return messageFactory.getMessage("internalizer.targetNotAnElement");
+ public static Localizable localizablePARSING_INVALID_ELEMENT(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidElement", arg0, arg1);
}
/**
- * Target node is not an element
+ * invalid element: "{0}" (in namespace "{1}")
*
*/
- public static String INTERNALIZER_TARGET_NOT_AN_ELEMENT() {
- return localizer.localize(localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT());
+ public static String PARSING_INVALID_ELEMENT(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_ELEMENT(arg0, arg1));
}
- public static Localizable localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(Object arg0, Object arg1) {
- return messageFactory.getMessage("warning.inputOutputEmptyAction", arg0, arg1);
+ public static Localizable localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.onlyOneDocumentationAllowed", arg0);
}
/**
- * ignoring empty Action in {0} element of "{1}" operation, using default instead
+ * only one "documentation" element allowed in "{0}"
*
*/
- public static String WARNING_INPUT_OUTPUT_EMPTY_ACTION(Object arg0, Object arg1) {
- return localizer.localize(localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(arg0, arg1));
+ public static String PARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(arg0));
}
- public static Localizable localizablePARSING_INVALID_TAG_NS(Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
- return messageFactory.getMessage("parsing.invalidTagNS", arg0, arg1, arg2, arg3, arg4);
+ public static Localizable localizablePARSING_PARSER_CONFIG_EXCEPTION(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.parserConfigException", arg0);
}
/**
- * Invalid WSDL at {4}: expected element "{2}" (in namespace "{3}"), found element "{0}" (in namespace "{1}")
+ * invalid WSDL file! parsing failed: {0}
*
*/
- public static String PARSING_INVALID_TAG_NS(Object arg0, Object arg1, Object arg2, Object arg3, Object arg4) {
- return localizer.localize(localizablePARSING_INVALID_TAG_NS(arg0, arg1, arg2, arg3, arg4));
+ public static String PARSING_PARSER_CONFIG_EXCEPTION(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_PARSER_CONFIG_EXCEPTION(arg0));
}
- public static Localizable localizableINVALID_WSDL_WITH_DOOC(Object arg0, Object arg1) {
- return messageFactory.getMessage("invalid.wsdl.with.dooc", arg0, arg1);
+ public static Localizable localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.missingRequiredAttribute", arg0, arg1);
}
/**
- * "Not a WSDL document: {0}, it gives "{1}", retrying with MEX..."
+ * missing required attribute "{1}" of element "{0}"
*
*/
- public static String INVALID_WSDL_WITH_DOOC(Object arg0, Object arg1) {
- return localizer.localize(localizableINVALID_WSDL_WITH_DOOC(arg0, arg1));
+ public static String PARSING_MISSING_REQUIRED_ATTRIBUTE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(arg0, arg1));
}
- public static Localizable localizablePARSING_NOT_AWSDL(Object arg0) {
- return messageFactory.getMessage("Parsing.NotAWSDL", arg0);
+ public static Localizable localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.missingRequiredSubEntity", arg0, arg1);
}
/**
- * Failed to get WSDL components, probably {0} is not a valid WSDL file.
+ * missing required sub-entity "{0}" of element "{1}"
*
*/
- public static String PARSING_NOT_AWSDL(Object arg0) {
- return localizer.localize(localizablePARSING_NOT_AWSDL(arg0));
+ public static String VALIDATION_MISSING_REQUIRED_SUB_ENTITY(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(arg0, arg1));
}
- public static Localizable localizableENTITY_DUPLICATE(Object arg0) {
- return messageFactory.getMessage("entity.duplicate", arg0);
+ public static Localizable localizableVALIDATION_INVALID_ELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("validation.invalidElement", arg0);
}
/**
- * duplicate entity: "{0}"
+ * invalid element: "{0}"
*
*/
- public static String ENTITY_DUPLICATE(Object arg0) {
- return localizer.localize(localizableENTITY_DUPLICATE(arg0));
+ public static String VALIDATION_INVALID_ELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizableVALIDATION_INVALID_ELEMENT(arg0));
}
- public static Localizable localizableWARNING_WSI_R_2004() {
- return messageFactory.getMessage("warning.wsi.r2004");
+ public static Localizable localizableVALIDATION_AMBIGUOUS_NAME(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("validation.ambiguousName", arg0);
}
/**
- * Not a WSI-BP compliant WSDL (R2001, R2004). xsd:import must not import XML Schema definitions embedded inline within the WSDL document.
+ * ambiguous operation name: "{0}"
*
*/
- public static String WARNING_WSI_R_2004() {
- return localizer.localize(localizableWARNING_WSI_R_2004());
+ public static String VALIDATION_AMBIGUOUS_NAME(Object arg0) {
+ return LOCALIZER.localize(localizableVALIDATION_AMBIGUOUS_NAME(arg0));
}
- public static Localizable localizableWARNING_WSI_R_2003() {
- return messageFactory.getMessage("warning.wsi.r2003");
+ public static Localizable localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.saxExceptionWithSystemId", arg0);
}
/**
- * Not a WSI-BP compliant WSDL (R2003). xsd:import must only be used inside xsd:schema elements.
+ * invalid WSDL file! failed to parse document at "{0}"
*
*/
- public static String WARNING_WSI_R_2003() {
- return localizer.localize(localizableWARNING_WSI_R_2003());
+ public static String PARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(arg0));
}
- public static Localizable localizableWARNING_WSI_R_2002(Object arg0, Object arg1) {
- return messageFactory.getMessage("warning.wsi.r2002", arg0, arg1);
+ public static Localizable localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.wsdlNotDefaultNamespace", arg0);
}
/**
- * Not a WSI-BP compliant WSDL (R2002). wsdl:import must not be used to import XML Schema embedded in the WSDL document. Expected WSDL namespace: {0}, found: {1}
+ * default namespace must be "{0}"
*
*/
- public static String WARNING_WSI_R_2002(Object arg0, Object arg1) {
- return localizer.localize(localizableWARNING_WSI_R_2002(arg0, arg1));
+ public static String PARSING_WSDL_NOT_DEFAULT_NAMESPACE(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(arg0));
}
- public static Localizable localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
- return messageFactory.getMessage("parsing.elementOrTypeRequired", arg0);
+ public static Localizable localizablePARSING_INVALID_OPERATION_STYLE(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidOperationStyle", arg0);
}
/**
- * warning: part {0} is ignored, either the "element" or the "type" attribute is required in part "{0}"
+ * operation "{0}" has an invalid style
*
*/
- public static String PARSING_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
- return localizer.localize(localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(arg0));
+ public static String PARSING_INVALID_OPERATION_STYLE(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_OPERATION_STYLE(arg0));
}
public static Localizable localizableWARNING_WSI_R_2001() {
- return messageFactory.getMessage("warning.wsi.r2001");
+ return MESSAGE_FACTORY.getMessage("warning.wsi.r2001");
}
/**
@@ -890,93 +887,103 @@
*
*/
public static String WARNING_WSI_R_2001() {
- return localizer.localize(localizableWARNING_WSI_R_2001());
+ return LOCALIZER.localize(localizableWARNING_WSI_R_2001());
}
- public static Localizable localizableFILE_NOT_FOUND(Object arg0) {
- return messageFactory.getMessage("file.not.found", arg0);
+ public static Localizable localizableWARNING_WSI_R_2002(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("warning.wsi.r2002", arg0, arg1);
}
/**
- * {0} is unreachable
+ * Not a WSI-BP compliant WSDL (R2002). wsdl:import must not be used to import XML Schema embedded in the WSDL document. Expected WSDL namespace: {0}, found: {1}
*
*/
- public static String FILE_NOT_FOUND(Object arg0) {
- return localizer.localize(localizableFILE_NOT_FOUND(arg0));
+ public static String WARNING_WSI_R_2002(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableWARNING_WSI_R_2002(arg0, arg1));
}
- public static Localizable localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(Object arg0, Object arg1) {
- return messageFactory.getMessage("validation.invalidSimpleTypeInElement", arg0, arg1);
+ public static Localizable localizablePARSING_INVALID_TAG(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("parsing.invalidTag", arg0, arg1);
}
/**
- * invalid element: "{1}", has named simpleType: "{0}"
+ * expected element "{1}", found "{0}"
*
*/
- public static String VALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(Object arg0, Object arg1) {
- return localizer.localize(localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(arg0, arg1));
+ public static String PARSING_INVALID_TAG(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizablePARSING_INVALID_TAG(arg0, arg1));
}
- public static Localizable localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(Object arg0) {
- return messageFactory.getMessage("parsing.onlyOneDocumentationAllowed", arg0);
+ public static Localizable localizableINTERNALIZER_TARGET_NOT_FOUND(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("internalizer.targetNotFound", arg0);
}
/**
- * only one "documentation" element allowed in "{0}"
+ * No target found for the wsdlLocation: {0}
*
*/
- public static String PARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(Object arg0) {
- return localizer.localize(localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(arg0));
+ public static String INTERNALIZER_TARGET_NOT_FOUND(Object arg0) {
+ return LOCALIZER.localize(localizableINTERNALIZER_TARGET_NOT_FOUND(arg0));
}
- public static Localizable localizableINTERNALIZER_VERSION_NOT_PRESENT() {
- return messageFactory.getMessage("Internalizer.VersionNotPresent");
+ public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("internalizer.XPathEvaluatesToNonElement", arg0);
}
/**
- * JAXWS version attribute must be present
+ * XPath evaluation of "{0}" needs to result in an element.
*
*/
- public static String INTERNALIZER_VERSION_NOT_PRESENT() {
- return localizer.localize(localizableINTERNALIZER_VERSION_NOT_PRESENT());
+ public static String INTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(Object arg0) {
+ return LOCALIZER.localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(arg0));
}
- public static Localizable localizableFAILED_NOSERVICE(Object arg0) {
- return messageFactory.getMessage("failed.noservice", arg0);
+ public static Localizable localizableVALIDATION_UNSUPPORTED_USE_ENCODED(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("validation.unsupportedUse.encoded", arg0, arg1);
}
/**
- * 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.
+ * "Use of SOAP Encoding is not supported.
+ * SOAP extension element on line {0} in {1} has use="encoded" "
*
*/
- public static String FAILED_NOSERVICE(Object arg0) {
- return localizer.localize(localizableFAILED_NOSERVICE(arg0));
+ public static String VALIDATION_UNSUPPORTED_USE_ENCODED(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableVALIDATION_UNSUPPORTED_USE_ENCODED(arg0, arg1));
}
- public static Localizable localizablePARSING_TOO_MANY_ELEMENTS(Object arg0, Object arg1, Object arg2) {
- return messageFactory.getMessage("parsing.tooManyElements", arg0, arg1, arg2);
+ public static Localizable localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
+ return MESSAGE_FACTORY.getMessage("parsing.elementOrTypeRequired", arg0);
}
/**
- * too many "{0}" elements under "{1}" element "{2}"
+ * warning: part {0} is ignored, either the "element" or the "type" attribute is required in part "{0}"
*
*/
- public static String PARSING_TOO_MANY_ELEMENTS(Object arg0, Object arg1, Object arg2) {
- return localizer.localize(localizablePARSING_TOO_MANY_ELEMENTS(arg0, arg1, arg2));
+ public static String PARSING_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
+ return LOCALIZER.localize(localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(arg0));
}
- public static Localizable localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(Object arg0, Object arg1) {
- return messageFactory.getMessage("Internalizer.IncorrectSchemaReference", arg0, arg1);
+ public static Localizable localizableENTITY_NOT_FOUND_PORT_TYPE(Object arg0, Object arg1) {
+ return MESSAGE_FACTORY.getMessage("entity.notFound.portType", arg0, arg1);
}
/**
- * "{0}" is not a part of this compilation. Is this a mistake for "{1}"?
+ * wsdl:portType "{0}" referenced by wsdl:binding "{1}", but it's not found in the wsdl
*
*/
- public static String INTERNALIZER_INCORRECT_SCHEMA_REFERENCE(Object arg0, Object arg1) {
- return localizer.localize(localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(arg0, arg1));
+ public static String ENTITY_NOT_FOUND_PORT_TYPE(Object arg0, Object arg1) {
+ return LOCALIZER.localize(localizableENTITY_NOT_FOUND_PORT_TYPE(arg0, arg1));
+ }
+
+ private static class BundleSupplier
+ implements ResourceBundleSupplier
+ {
+
+
+ public ResourceBundle getResourceBundle(Locale locale) {
+ return ResourceBundle.getBundle(BUNDLE_NAME, locale);
+ }
+
}
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/util/WSDLParseException.java 2017-05-03 18:06:57.931093025 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/util/WSDLParseException.java 2017-05-03 18:06:57.835093028 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* 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,9 +27,6 @@
import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* @author WS Development Team
*/
@@ -46,9 +43,4 @@
public String getDefaultResourceBundleName() {
return "com.sun.tools.internal.ws.resources.util";
}
-
- @Override
- public ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(getDefaultResourceBundleName(), locale);
- }
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/version.properties 2017-05-03 18:06:58.479093009 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/version.properties 2017-05-03 18:06:58.355093012 +0300
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
# 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,7 @@
# questions.
#
-build-id=2.3.0-SNAPSHOT
-build-version=JAX-WS RI 2.3.0-SNAPSHOT
-major-version=2.3.0
-svn-revision=e8c5e9697d9b27d83ff35d767939b2f55e667621
+build-id=${project.version}
+build-version=JAX-WS RI ${project.version}
+major-version=${jaxws.majorVersion}.${jaxws.minorVersion}.${jaxws.incrementalVersion}
+svn-revision=${buildNumber}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/framework/ParseException.java 2017-05-03 18:06:58.987092994 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/framework/ParseException.java 2017-05-03 18:06:58.883092997 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* 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,9 +28,6 @@
import com.sun.istack.internal.localization.Localizable;
import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* An exception signalling a parsing error.
*
@@ -53,9 +50,4 @@
public String getDefaultResourceBundleName() {
return "com.sun.tools.internal.ws.resources.wsdl";
}
-
- @Override
- public ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(getDefaultResourceBundleName(), locale);
- }
}
--- old/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java 2017-05-03 18:06:59.475092980 +0300
+++ new/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java 2017-05-03 18:06:59.375092983 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* 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,9 +27,6 @@
import com.sun.xml.internal.ws.util.exception.JAXWSExceptionBase;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
/**
* An exception signalling that validation of an entity failed.
*
@@ -48,9 +45,4 @@
public String getDefaultResourceBundleName() {
return "com.sun.tools.internal.ws.resources.wsdl";
}
-
- @Override
- public ResourceBundle getResourceBundle(Locale locale) {
- return ResourceBundle.getBundle(getDefaultResourceBundleName(), locale);
- }
}
--- old/src/jdk.xml.ws/share/classes/module-info.java 2017-05-03 18:06:59.971092965 +0300
+++ new/src/jdk.xml.ws/share/classes/module-info.java 2017-05-03 18:06:59.871092968 +0300
@@ -23,6 +23,13 @@
* questions.
*/
+/**
+ * Defines tools for JAXWS classes and WSDL generation.
+ *
+ * @moduleGraph
+ * @since 9
+ */
+@Deprecated(since="9", forRemoval=true)
module jdk.xml.ws {
requires java.compiler;
requires java.logging;
--- /dev/null 2017-05-03 13:43:35.667555056 +0300
+++ new/src/java.xml.bind/share/classes/javax/xml/bind/ModuleUtil.java 2017-05-03 18:07:00.375092953 +0300
@@ -0,0 +1,147 @@
+/*
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please 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 javax.xml.bind;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.lang.Module;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Propagates openness of JAXB annottated classess packages to JAXB impl module.
+ *
+ * @author Roman Grigoriadi
+ */
+class ModuleUtil {
+
+ /**
+ * Resolves classes from context path.
+ * Only one class per package is needed to access its {@link java.lang.Module}
+ */
+ static Class[] getClassesFromContextPath(String contextPath, ClassLoader classLoader) throws JAXBException {
+ List