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 sc...@apache.org on 2002/01/27 03:43:35 UTC

cvs commit: xml-axis/java/test/wsdl Wsdl2javaAntTask.java

scheu       02/01/26 18:43:35

  Modified:    java/src/org/apache/axis/client Service.java
               java/src/org/apache/axis/wsdl/toJava Emitter.java
               java/test/wsdl Wsdl2javaAntTask.java
  Log:
  Comment out wsdl4j verbose setting due to abend
  
  Revision  Changes    Path
  1.36      +2 -1      xml-axis/java/src/org/apache/axis/client/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Service.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- Service.java	24 Jan 2002 17:01:38 -0000	1.35
  +++ Service.java	27 Jan 2002 02:43:35 -0000	1.36
  @@ -211,7 +211,8 @@
               // Start by reading in the WSDL using WSDL4J
               WSDLReader           reader = WSDLFactory.newInstance()
                                                        .newWSDLReader();
  -            reader.setFeature("verbose", false);
  +            // No longer supported
  +            //reader.setFeature("verbose", false);
               Definition           def    = reader.readWSDL( null, doc );
   
               this.wsdlLocation   = null ;
  
  
  
  1.12      +2 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Emitter.java	26 Jan 2002 05:27:12 -0000	1.11
  +++ Emitter.java	27 Jan 2002 02:43:35 -0000	1.12
  @@ -151,7 +151,8 @@
        */
       public void emit(String context, Document doc) throws IOException, WSDLException {
           WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
  -        reader.setFeature("verbose", bVerbose);
  +        // The verbose option is no longer supported.
  +        //reader.setFeature("verbose", bVerbose);
           def = reader.readWSDL(context, doc);
           this.doc = doc;
           namespaces = new Namespaces(outputDir);
  
  
  
  1.15      +1 -0      xml-axis/java/test/wsdl/Wsdl2javaAntTask.java
  
  Index: Wsdl2javaAntTask.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/Wsdl2javaAntTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Wsdl2javaAntTask.java	26 Jan 2002 14:40:51 -0000	1.14
  +++ Wsdl2javaAntTask.java	27 Jan 2002 02:43:35 -0000	1.15
  @@ -144,6 +144,7 @@
   
               // emitter.emit(doc);
           } catch (Throwable t) {
  +            t.printStackTrace();
               throw new BuildException("Error while running " + getClass().getName(), t); 
           }
       }