axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r486654 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Wed, 13 Dec 2006 14:00:21 GMT
Author: davidillsley
Date: Wed Dec 13 06:00:20 2006
New Revision: 486654

URL: http://svn.apache.org/viewvc?view=rev&rev=486654
Log:
Add a little more trace to WSDL11ToAxisServiceBuilder.

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=486654&r1=486653&r2=486654
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Wed Dec 13 06:00:20 2006
@@ -60,6 +60,7 @@
 
     protected static final Log log = LogFactory
             .getLog(WSDL11ToAxisServiceBuilder.class);
+    private static final boolean isTraceEnabled = log.isTraceEnabled();
 
     protected String portName;
 
@@ -1724,9 +1725,16 @@
                 SOAP12Operation soapOperation = (SOAP12Operation) wsdl4jElement;
                 if (description instanceof AxisOperation) {
                     AxisOperation axisOperation = (AxisOperation) description;
+                    
+                    if(isTraceEnabled){
+                        log.trace("copyExtensibleElements:: AxisOperation "+axisOperation);
+                    }
                     if (soapOperation.getStyle() != null) {
                         axisOperation.setStyle(soapOperation.getStyle());
                     }
+                    if(isTraceEnabled){
+                        log.trace("copyExtensibleElements:: setSoapAction "+soapOperation.getSoapActionURI());
+                    }
                     axisOperation.setSoapAction(soapOperation
                             .getSoapActionURI());
                 }
@@ -1734,8 +1742,15 @@
                 SOAPOperation soapOperation = (SOAPOperation) wsdl4jElement;
                 if (description instanceof AxisOperation) {
                     AxisOperation axisOperation = (AxisOperation) description;
+                    
+                    if(isTraceEnabled){
+                        log.trace("copyExtensibleElements:: AxisOperation "+axisOperation);
+                    }
                     if (soapOperation.getStyle() != null) {
                         axisOperation.setStyle(soapOperation.getStyle());
+                    }
+                    if(isTraceEnabled){
+                        log.trace("copyExtensibleElements:: setSoapAction "+soapOperation.getSoapActionURI());
                     }
                     axisOperation.setSoapAction(soapOperation
                             .getSoapActionURI());



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


Mime
View raw message