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 di...@apache.org on 2007/04/16 04:07:57 UTC

svn commit: r529117 - in /webservices/axis2/trunk/java/modules: kernel/src/org/apache/axis2/deployment/ metadata/src/org/apache/axis2/jaxws/description/impl/

Author: dims
Date: Sun Apr 15 19:07:56 2007
New Revision: 529117

URL: http://svn.apache.org/viewvc?view=rev&rev=529117
Log:
add some traces and reduce one log level

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/FileSystemConfigurator.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/FileSystemConfigurator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/FileSystemConfigurator.java?view=diff&rev=529117&r1=529116&r2=529117
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/FileSystemConfigurator.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/FileSystemConfigurator.java Sun Apr 15 19:07:56 2007
@@ -82,9 +82,8 @@
             if (axis2xml != null) {
                 File configFile = new File(axis2xml);
                 if (!configFile.exists()) {
-                    log.info("Config file '" + axis2xml + "' doesn't exist, ignoring.");
+                    log.debug("Config file '" + axis2xml + "' doesn't exist, ignoring.");
                     axis2xml = null;
-//                    throw new AxisFault("Config file '" + axis2xml + "' doesn't exist");
                 }
             }
         }

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?view=diff&rev=529117&r1=529116&r2=529117
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Sun Apr 15 19:07:56 2007
@@ -43,6 +43,7 @@
 import org.apache.axis2.jaxws.description.xml.handler.HandlerChainsType;
 import org.apache.axis2.jaxws.i18n.Messages;
 import org.apache.axis2.jaxws.util.WSDL4JWrapper;
+import org.apache.axis2.jaxws.util.WSDLWrapper;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -743,12 +744,16 @@
             // Note that the axis service builder takes only the localpart of the port qname.
             // TODO:: This should check that the namespace of the definition matches the namespace of the portQName per JAXRPC spec
 
+            WSDLWrapper wrapper = getServiceDescriptionImpl().getWSDLWrapper();
             WSDL11ToAxisServiceBuilder serviceBuilder =
                     new WSDL11ToAxisServiceBuilder(
-                            getServiceDescriptionImpl().getWSDLWrapper().getDefinition(),
+                            wrapper.getDefinition(),
                             getServiceDescription().getServiceQName(),
                             getPortQName().getLocalPart());
 
+            //TODO: Temporary, please change the following log.info to log.debug
+            log.info("Building AxisService from wsdl: " + wrapper.getWSDLLocation());
+            
             if (getServiceDescriptionImpl().isDBCMap()) {
                 //this.class.getClass().getClassLoader();
                 URIResolverImpl uriResolver =

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java?view=diff&rev=529117&r1=529116&r2=529117
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java Sun Apr 15 19:07:56 2007
@@ -53,7 +53,9 @@
 
     public InputSource resolveEntity(String namespace, String schemaLocation,
                                      String baseUri) {
-
+        //TODO: Temporary, please change the following log.info to log.debug
+        log.info("resolveEntity: ["+ namespace + "]["+ schemaLocation + "][ " + baseUri+ "]");
+        
         InputStream is = null;
         URI pathURI = null;
         String pathURIStr = null;
@@ -144,6 +146,8 @@
         // imported XSDs that have been read.  If this value is null, then circular XSDs will 
         // cause infinite recursive reads.
         returnInputSource.setSystemId(pathURIStr != null ? pathURIStr : schemaLocation);
+        //TODO: Temporary, please change the following log.info to log.debug
+        log.info("returnInputSource :" + returnInputSource.getSystemId());
         return returnInputSource;
     }
 



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