You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/07/04 12:12:40 UTC

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

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);
     }