servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r893408 - in /servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints: HttpSoapConsumerEndpoint.java HttpSoapProviderEndpoint.java
Date Wed, 23 Dec 2009 05:15:02 GMT
Author: ffang
Date: Wed Dec 23 05:15:01 2009
New Revision: 893408

URL: http://svn.apache.org/viewvc?rev=893408&view=rev
Log:
[SMXCOMP-691]Useless Warning in servicemix-http

Modified:
    servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java
    servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapProviderEndpoint.java

Modified: servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java?rev=893408&r1=893407&r2=893408&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java
(original)
+++ servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapConsumerEndpoint.java
Wed Dec 23 05:15:01 2009
@@ -173,7 +173,9 @@
      */
     protected void useProvidedWsdl() throws Exception {
         description = DomUtil.parse(wsdl.getInputStream());
-        definition = javax.wsdl.factory.WSDLFactory.newInstance().newWSDLReader().readWSDL(null,
description);
+        javax.wsdl.xml.WSDLReader reader = javax.wsdl.factory.WSDLFactory.newInstance().newWSDLReader();
+        reader.setFeature("javax.wsdl.verbose", false);
+        definition = reader.readWSDL(null, description);
     }
 
     /**
@@ -418,6 +420,7 @@
     protected class Wsdl2Validator {
         public void validate() throws Exception {
             WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
+            reader.setFeature(WSDLReader.FEATURE_VERBOSE, false);
             DescriptionElement descElement = reader.readWSDL(wsdl.getURL().toString());
             Description desc = descElement.toComponent();
             org.apache.woden.wsdl20.Service svc;

Modified: servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapProviderEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapProviderEndpoint.java?rev=893408&r1=893407&r2=893408&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapProviderEndpoint.java
(original)
+++ servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpSoapProviderEndpoint.java
Wed Dec 23 05:15:01 2009
@@ -248,6 +248,7 @@
     protected class Wsdl2Validator {
         public void validate(HttpSoapProviderMarshaler marshaler) throws Exception {
             WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
+            reader.setFeature(WSDLReader.FEATURE_VERBOSE, false);
             DescriptionElement descElement = reader.readWSDL(wsdl.getURL().toString());
             Description desc = descElement.toComponent();
             org.apache.woden.wsdl20.Service svc;



Mime
View raw message