cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r702267 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java
Date Mon, 06 Oct 2008 21:18:40 GMT
Author: dkulp
Date: Mon Oct  6 14:18:40 2008
New Revision: 702267

URL: http://svn.apache.org/viewvc?rev=702267&view=rev
Log:
[CXF-1843] Check all extensors to find the binding.

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

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java?rev=702267&r1=702266&r2=702267&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ServiceProcessor.java
Mon Oct  6 14:18:40 2008
@@ -329,6 +329,7 @@
                     String soapAction = prop.get(soapOPAction) == null ? "" : (String)prop.get(soapOPAction);
                     String soapStyle = prop.get(soapOPStyle) == null ? "" : (String)prop.get(soapOPStyle);
                     jm.setSoapAction(soapAction);
+
                     if (SOAPBindingUtil.getSoapStyle(soapStyle) == null && this.bindingObj
== null) {
                         org.apache.cxf.common.i18n.Message msg =
                             new  org.apache.cxf.common.i18n.Message("BINDING_STYLE_NOT_DEFINED",
@@ -613,11 +614,8 @@
                 bindingObj = (HTTPBinding)ext;
                 return BindingType.HTTPBinding;
             }
-            // TBD XMLBinding
-            return BindingType.XMLBinding;
-
         }
-        return null;
+        return BindingType.XMLBinding;
     }
 
     private int isNonWrappable(BindingOperationInfo bop) {



Mime
View raw message