src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -21,16 +21,15 @@
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
-
 package com.sun.tools.internal.ws.resources;
 
-import com.sun.xml.internal.ws.util.localization.Localizable;
-import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory;
-import com.sun.xml.internal.ws.util.localization.Localizer;
+import com.sun.istack.internal.localization.Localizable;
+import com.sun.istack.internal.localization.LocalizableMessageFactory;
+import com.sun.istack.internal.localization.Localizer;
 
 
 /**
  * Defines string formatting method for each constant in the resource file
  *

@@ -211,11 +210,11 @@
     public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
         return messageFactory.getMessage("invoker.needEndorsed", 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://java.sun.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option.
+     * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option.
      *
      */
     public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) {
         return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1));
     }

@@ -329,11 +328,12 @@
      *   -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:<host>:<port>  specify a HTTP proxy server (port defaults to 8080)
+     *   -httpproxy:<proxy>        set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort
+     *                             (port defaults to 8080)
      *   -keep                     keep generated files
      *   -p <pkg>                  specifies the target package
      *   -quiet                    suppress wsimport output
      *   -s <directory>            specify where to place generated source files
      *   -target <version>         generate code as per the given JAXWS spec version

@@ -566,11 +566,11 @@
     public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
         return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2);
     }
 
     /**
-     * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>.
+     * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>.
      *
      */
     public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) {
         return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2));
     }

@@ -908,10 +908,22 @@
      */
     public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) {
         return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0));
     }
 
+    public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) {
+        return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0);
+    }
+
+    /**
+     * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort
+     *
+     */
+    public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) {
+        return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0));
+    }
+
     public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) {
         return messageFactory.getMessage("wsgen.portname.missing.localname", arg0);
     }
 
     /**