servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r791096 - /servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Date Sat, 04 Jul 2009 10:14:38 GMT
Author: ffang
Date: Sat Jul  4 10:14:37 2009
New Revision: 791096

URL: http://svn.apache.org/viewvc?rev=791096&view=rev
Log:
[SMXCOMP-582]servicemix-http Customer processor can't handle servlet request correctly in
servlet container

Modified:
    servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java?rev=791096&r1=791095&r2=791096&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
(original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Sat Jul  4 10:14:37 2009
@@ -298,6 +298,9 @@
         endpoint.reloadWsdl();
 
         Node node = (Node) endpoint.getWsdls().get(path);
+        if (node == null && path.endsWith("main.wsdl")) {
+            node = (Node) endpoint.getWsdls().get("main.wsdl");
+        }
         generateDocument(response, node);
     }
 



Mime
View raw message