axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client Service.java
Date Wed, 12 Dec 2001 22:54:18 GMT
dug         01/12/12 14:54:18

  Modified:    java/src/org/apache/axis/client Service.java
  Log:
  Make WSDL4J a little less verbose.
  
  **** SAM:  can we get this in the alpha
  
  Revision  Changes    Path
  1.30      +5 -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.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Service.java	2001/12/10 04:16:51	1.29
  +++ Service.java	2001/12/12 22:54:18	1.30
  @@ -71,6 +71,7 @@
   import javax.wsdl.Port;
   import javax.wsdl.PortType;
   import javax.wsdl.factory.WSDLFactory;
  +import javax.wsdl.xml.WSDLReader;
   import javax.xml.rpc.JAXRPCException;
   import javax.xml.rpc.encoding.TypeMappingRegistry;
   import javax.xml.rpc.namespace.QName;
  @@ -210,7 +211,10 @@
               throws JAXRPCException {
           try {
               // Start by reading in the WSDL using WSDL4J
  -            Definition           def    = WSDLFactory.newInstance().newWSDLReader().readWSDL(
null, doc );
  +            WSDLReader           reader = WSDLFactory.newInstance()
  +                                                     .newWSDLReader();
  +            reader.setVerbose( false );
  +            Definition           def    = reader.readWSDL( null, doc );
   
               this.wsdlLocation   = null ;
               this.wsdlDefinition = def ;
  
  
  

Mime
View raw message