axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: svn commit: r615387 - in /webservices/axis2/trunk/java/modules: jaxws/src/org/apache/axis2/datasource/jaxb/ jaxws/src/org/apache/axis2/jaxws/client/async/ kernel/src/org/apache/axis2/deployment/util/ kernel/src/org/apache/axis2/description/ kernel/src/...
Date Sat, 26 Jan 2008 18:45:35 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rich,

fyi, minor build break on jdk1.4 as getCanonicalName is not available. Fixed in 615471

thanks,
dims

scheu@apache.org wrote:
| Author: scheu
| Date: Fri Jan 25 14:54:27 2008
| New Revision: 615387
|
| URL: http://svn.apache.org/viewvc?rev=615387&view=rev
| Log:
| Quick Change
| Contributors:Rich Scheuerle & David Strite
| Converted some of the log.info(..) calls into log.debug(..) calls
|
| Modified:
|     webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBXMLStreamWriterFilter.java
|     webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/client/async/CallbackFuture.java
|     webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
|     webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
|     webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java
|     webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
|
| Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBXMLStreamWriterFilter.java
| URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBXMLStreamWriterFilter.java?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| --- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBXMLStreamWriterFilter.java
(original)
| +++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/datasource/jaxb/JAXBXMLStreamWriterFilter.java
Fri
Jan 25 14:54:27 2008
| @@ -70,8 +70,10 @@
|              if (numDefaultNS > 1) {
|                  // Sometimes JAXB writes out the default namespace twice
|                  // This seems to be related to writing out xmlns...see below
| -                log.info("    WHY IS THE DEFAULT NAMESPACE WRITTEN TWICE?");
| -                log.info(JavaUtils.stackToString());
| +                if (log.isDebugEnabled()) {
| +                    log.debug("    WHY IS THE DEFAULT NAMESPACE WRITTEN TWICE?");
| +                    log.debug(JavaUtils.stackToString());
| +                }
|                  return;
|              }
|          }
| @@ -172,8 +174,10 @@
|              }
|              if ("xmlns".equals(prefix)) {
|                  // Sometimes JAXB writes out the XMLNS attribute...need to find out why
| -                log.info("    INVALID XMLNS attribute is removed prefix=");
| -                log.info(JavaUtils.stackToString());
| +                if (log.isDebugEnabled()) {
| +                    log.debug("    INVALID XMLNS attribute is removed prefix=");
| +                    log.debug(JavaUtils.stackToString());
| +                }
|
|                  return;
|              }
|
| Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/client/async/CallbackFuture.java
| URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/client/async/CallbackFuture.java?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| --- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/client/async/CallbackFuture.java
(original)
| +++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/client/async/CallbackFuture.java
Fri Jan 25
14:54:27 2008
| @@ -203,7 +203,7 @@
|
|              } else {
|                  if (log.isDebugEnabled()) {
| -                    log.info(
| +                    log.debug(
|                              "Executor task was not sumbitted as Async Future task was cancelled
by clients");
|                  }
|              }
|
| Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
| URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
(original)
| +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
Fri Jan 25 14:54:27 2008
| @@ -182,7 +182,7 @@
|              f = File.createTempFile("axis2", suffix, tmpDir);
|          }
|          if (log.isDebugEnabled()) {
| -            log.info("Created temporary file : " + f.getAbsolutePath());
| +            log.debug("Created temporary file : " + f.getAbsolutePath());
|          }
|          f.deleteOnExit();
|          FileOutputStream out = new FileOutputStream(f);
|
| 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?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| --- 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
Fri
Jan 25 14:54:27 2008
| @@ -18,12 +18,7 @@
|   */
|  package org.apache.axis2.description;
|
| -import com.ibm.wsdl.util.xml.DOM2Writer;
| -
| -import org.apache.axiom.om.OMAbstractFactory;
|  import org.apache.axiom.om.OMElement;
| -import org.apache.axiom.om.impl.builder.StAXOMBuilder;
| -import org.apache.axiom.om.util.StAXUtils;
|  import org.apache.axiom.soap.SOAP11Constants;
|  import org.apache.axiom.soap.SOAP12Constants;
|  import org.apache.axis2.AxisFault;
| @@ -95,22 +90,21 @@
|  import javax.wsdl.xml.WSDLReader;
|  import javax.xml.namespace.QName;
|  import javax.xml.parsers.ParserConfigurationException;
| -import javax.xml.stream.XMLStreamException;
| -import javax.xml.stream.XMLStreamWriter;
| -import javax.xml.transform.Result;
| -import javax.xml.transform.Source;
| -import javax.xml.transform.Transformer;
| -import javax.xml.transform.TransformerConfigurationException;
| -import javax.xml.transform.TransformerException;
| -import javax.xml.transform.TransformerFactory;
| -import javax.xml.transform.dom.DOMSource;
| -import javax.xml.transform.stream.StreamResult;
|
| -import java.io.ByteArrayInputStream;
| -import java.io.ByteArrayOutputStream;
|  import java.io.IOException;
|  import java.io.InputStream;
| -import java.util.*;
| +import java.util.ArrayList;
| +import java.util.Collection;
| +import java.util.HashMap;
| +import java.util.HashSet;
| +import java.util.Iterator;
| +import java.util.List;
| +import java.util.Map;
| +import java.util.Set;
| +import java.util.TreeMap;
| +import java.util.Vector;
| +
| +import com.ibm.wsdl.util.xml.DOM2Writer;
|
|  public class WSDL11ToAxisServiceBuilder extends WSDLToAxisServiceBuilder {
|
| @@ -1818,7 +1812,14 @@
|          List partsList = null;
|          ExtensibilityElement extElement;
|          for (Iterator iter = extensibilityElements.iterator(); iter.hasNext();) {
| +
| +
|              extElement = (ExtensibilityElement) iter.next();
| +
| +            if (log.isDebugEnabled()) {
| +                log.debug("Extensibility Element type is:" + extElement.getElementType());
| +                log.debug("Extensibility Element class is:" + extElement.getClass().getCanonicalName());
| +            }
|              // SOAP 1.1 body element found!
|              if (extElement instanceof SOAPBody) {
|                  SOAPBody soapBody = (SOAPBody) extElement;
| @@ -1851,7 +1852,7 @@
|                          }
|                      }
|                  }
| -            }
| +            }
|          }
|          if (partsList == null) {
|              log.debug("SOAP body parts have not been set. All the parts in the message
were added to the message.");
|
| Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java
| URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java (original)
| +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Utils.java Fri
Jan 25 14:54:27 2008
| @@ -218,7 +218,9 @@
|                  }
|              }
|          } else {
| -            log.info("Unable to parse request URL [" + path + "][" + servicePath + "]");
| +            if (log.isDebugEnabled()) {
| +                log.debug("Unable to parse request URL [" + path + "][" + servicePath +
"]");
| +            }
|          }
|
|          return values;
|
| 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?rev=615387&r1=615386&r2=615387&view=diff
| ==============================================================================
| ---
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
Fri Jan 25 14:54:27 2008
| @@ -57,8 +57,10 @@
|  import javax.wsdl.extensions.ExtensibilityElement;
|  import javax.wsdl.extensions.http.HTTPBinding;
|  import javax.wsdl.extensions.soap.SOAPAddress;
| +import javax.wsdl.extensions.soap.SOAPBody;
|  import javax.wsdl.extensions.soap12.SOAP12Address;
|  import javax.wsdl.extensions.soap12.SOAP12Binding;
| +import javax.wsdl.extensions.soap12.SOAP12Body;
|  import javax.xml.namespace.QName;
|  import javax.xml.ws.BindingType;
|  import javax.xml.ws.Service;
|
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
| For additional commands, e-mail: axis-cvs-help@ws.apache.org
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHm3/OgNg6eWEDv1kRAoK0AJ9kDNfekWiFV9IrqfSdHNR21RAMBgCfc4YS
hOuCedPi6gkCKfKpEdhcitE=
=1W++
-----END PGP SIGNATURE-----

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


Mime
View raw message