jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1337835 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java
Date Sun, 13 May 2012 10:40:28 GMT
Author: pmouawad
Date: Sun May 13 10:40:28 2012
New Revision: 1337835

URL: http://svn.apache.org/viewvc?rev=1337835&view=rev
Log:
Added warn when getBinding fails

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java?rev=1337835&r1=1337834&r2=1337835&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java Sun
May 13 10:40:28 2012
@@ -38,6 +38,8 @@ import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 import org.xml.sax.SAXException;
 import org.apache.jmeter.protocol.http.control.AuthManager;
+import org.apache.jorphan.logging.LoggingManager;
+import org.apache.log.Logger;
 
 /**
  * For now I use DOM for WSDLHelper, but it would be more efficient to use JAXB
@@ -49,7 +51,8 @@ import org.apache.jmeter.protocol.http.c
  *
  */
 public class WSDLHelper {
-    
+    private static final Logger log = LoggingManager.getLoggerForClass();
+
     private static int GET_WDSL_TIMEOUT = 5000; // timeout to retrieve wsdl when server not
response
     
     /**
@@ -164,6 +167,7 @@ public class WSDLHelper {
                 return null;
             }
         } catch (Exception exception) {
+            log.warn("Exception calling getBinding:"+exception.getMessage(),exception);
             return null;
         }
     }



Mime
View raw message