axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r555065 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java
Date Tue, 10 Jul 2007 20:20:11 GMT
Author: rott
Date: Tue Jul 10 13:20:10 2007
New Revision: 555065

URL: http://svn.apache.org/viewvc?view=rev&rev=555065
Log:
'createBinding' needs to be client/server aware so that it will call getClientBindingID if
this happens to be a dispatch
instance

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java?view=diff&rev=555065&r1=555064&r2=555065
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/binding/BindingUtils.java
Tue Jul 10 13:20:10 2007
@@ -34,7 +34,11 @@
             // Do we default to the SOAPBinding?            
         }
         
-        String bindingType = ed.getBindingType();
+        String bindingType = 
+            (ed.getServiceDescription().isServerSide()) ? 
+                    ed.getBindingType()
+                    : ed.getClientBindingID();
+        
         if (BindingUtils.isSOAPBinding(bindingType)) {
             return new SOAPBinding(ed);
         }



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


Mime
View raw message