servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r791095 - /servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Date Sat, 04 Jul 2009 10:12:40 GMT
Author: ffang
Date: Sat Jul  4 10:12:39 2009
New Revision: 791095

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

Modified:
    servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java

Modified: servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java?rev=791095&r1=791094&r2=791095&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
(original)
+++ servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Sat Jul  4 10:12:39 2009
@@ -311,6 +311,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