cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r696433 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java
Date Wed, 17 Sep 2008 20:21:54 GMT
Author: dkulp
Date: Wed Sep 17 13:21:54 2008
New Revision: 696433

URL: http://svn.apache.org/viewvc?rev=696433&view=rev
Log:
Interface generated without the proper annotations is actually comletely useless.   Make sure
some defaults at least get put on.

Modified:
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java?rev=696433&r1=696432&r2=696433&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/WSDLToJavaProcessor.java
Wed Sep 17 13:21:54 2008
@@ -94,9 +94,7 @@
             if (!interfaces.contains(intf)) {
                 intf.annotate(new WebServiceAnnotator());
                 intf.annotate(new XmlSeeAlsoAnnotator(context.get(ClassCollector.class)));
-                if (serviceInfo.getBindings().size() > 0) {
-                    intf.annotate(new BindingAnnotator());
-                }
+                intf.annotate(new BindingAnnotator());
             }
         }
         return javaModel;



Mime
View raw message