You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ve...@apache.org on 2005/01/24 13:57:45 UTC

cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava Namespaces.java

venkat      2005/01/24 04:57:45

  Modified:    java/src/org/apache/axis/wsdl/toJava Namespaces.java
  Log:
  Fix for the issue AXIS-1775 - If the WSDL has same value for name attribute for both <service> and <portType>, WSDL2Java with -p option results in DuplicateFileException.
  
  Revision  Changes    Path
  1.13      +1 -0      ws-axis/java/src/org/apache/axis/wsdl/toJava/Namespaces.java
  
  Index: Namespaces.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/Namespaces.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Namespaces.java	29 Oct 2004 08:40:37 -0000	1.12
  +++ Namespaces.java	24 Jan 2005 12:57:45 -0000	1.13
  @@ -117,6 +117,7 @@
       String getCreate(String key, boolean create) {
   
           if (defaultPackage != null) {
  +            put(key, defaultPackage);
               return defaultPackage;
           }