ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava JavaServiceImplWriter.java JavaStubWriter.java
Date Thu, 20 Jan 2005 21:35:22 GMT
dims        2005/01/20 13:35:22

  Modified:    java/src/org/apache/axis/wsdl/toJava
                        JavaServiceImplWriter.java JavaStubWriter.java
  Log:
  Better to do this in the stub constructor. since locator may not be used.
  
  Revision  Changes    Path
  1.44      +0 -3      ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java
  
  Index: JavaServiceImplWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- JavaServiceImplWriter.java	20 Jan 2005 14:18:05 -0000	1.43
  +++ JavaServiceImplWriter.java	20 Jan 2005 21:35:22 -0000	1.44
  @@ -276,7 +276,6 @@
           pw.println();
           pw.println("    public " + Utils.getJavaLocalName(sEntry.getName())
                   + "Locator() {");
  -        pw.println("        setTypeMappingVersion(\"" + emitter.getTypeMappingVersion()
+ "\");");
           pw.println("    }");
           pw.println();
       	
  @@ -285,7 +284,6 @@
           pw.println("    public " + Utils.getJavaLocalName(sEntry.getName())
                   + "Locator(org.apache.axis.EngineConfiguration config) {");
           pw.println("        super(config);");
  -        pw.println("        setTypeMappingVersion(\"" + emitter.getTypeMappingVersion()
+ "\");");
           pw.println("    }");
   
           //Write a constructor that accepts String wsdl location + Service QName
  @@ -294,7 +292,6 @@
                   + "Locator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) "
                   + "throws " + javax.xml.rpc.ServiceException.class.getName() + " {");
           pw.println("        super(wsdlLoc, sName);");
  -        pw.println("        setTypeMappingVersion(\"" + emitter.getTypeMappingVersion()
+ "\");");
           pw.println("    }");
       }
   
  
  
  
  1.140     +1 -0      ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaStubWriter.java
  
  Index: JavaStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaStubWriter.java,v
  retrieving revision 1.139
  retrieving revision 1.140
  diff -u -r1.139 -r1.140
  --- JavaStubWriter.java	18 Nov 2004 15:26:15 -0000	1.139
  +++ JavaStubWriter.java	20 Jan 2005 21:35:22 -0000	1.140
  @@ -189,6 +189,7 @@
           pw.println("        } else {");
           pw.println("            super.service = service;");
           pw.println("        }");
  +        pw.println("        ((org.apache.axis.client.Service)super.service).setTypeMappingVersion(\""
+ emitter.getTypeMappingVersion() + "\");");
   
           List deferredBindings = new ArrayList();
   
  
  
  

Mime
View raw message