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 aj...@apache.org on 2006/05/18 18:53:46 UTC

svn commit: r407592 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Author: ajith
Date: Thu May 18 09:53:45 2006
New Revision: 407592

URL: http://svn.apache.org/viewvc?rev=407592&view=rev
Log:
switching off verbose mode for the WSDL4J reader in all cases

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?rev=407592&r1=407591&r2=407592&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Thu May 18 09:53:45 2006
@@ -883,12 +883,13 @@
     private Definition readInTheWSDLFile(InputStream in) throws WSDLException {
 
         WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
+        //swithc off the verbose mode for all usecases
+        reader.setFeature("javax.wsdl.verbose", false);
+
         if (customWSLD4JResolver != null) {
             return reader.readWSDL(customWSLD4JResolver);
         } else {
-
             reader.setFeature("javax.wsdl.importDocuments", false);
-            reader.setFeature("javax.wsdl.verbose", false);
             Document doc;
             try {
                 doc = XMLUtils.newDocument(in);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org