servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r390159 - /incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java
Date Thu, 30 Mar 2006 15:19:07 GMT
Author: gnodet
Date: Thu Mar 30 07:19:05 2006
New Revision: 390159

URL: http://svn.apache.org/viewcvs?rev=390159&view=rev
Log:
The defaultOperation attribute on consumer endpoints should also be used on soap endpoints.

Modified:
    incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java

Modified: incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java?rev=390159&r1=390158&r2=390159&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java
(original)
+++ incubator/servicemix/trunk/servicemix-soap/src/main/java/org/apache/servicemix/soap/SoapHelper.java
Thu Mar 30 07:19:05 2006
@@ -136,7 +136,7 @@
     public Context createContext(SoapMessage message) {
         Context context = new Context();
         context.setInMessage(message);
-        if (message.getBodyName() == null) {
+        if (endpoint.getDefaultOperation() != null) {
             context.setProperty(Context.OPERATION, endpoint.getDefaultOperation());
         } else {
             context.setProperty(Context.OPERATION, message.getBodyName());



Mime
View raw message