Author: gnodet
Date: Mon Dec 11 12:37:35 2006
New Revision: 485860

URL: http://svn.apache.org/viewvc?view=rev&rev=485860
Log:
SM-762: Address in WSDL is incorrectly adding the protocol information in the 
beginning of the URL
Patch provided by Jeff Puro

Modified:
    
incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java

Modified: 
incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java?view=diff&rev=485860&r1=485859&r2=485860
==============================================================================
--- 
incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
 (original)
+++ 
incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
 Mon Dec 11 12:37:35 2006
@@ -137,7 +137,7 @@
 
             // Set protocol, host, and port in the lifecycle object
             HttpLifeCycle lf = (HttpLifeCycle) 
endpoint.getServiceUnit().getComponent().getLifeCycle();
-            lf.setProtocol(request.getProtocol());
+            lf.setProtocol(request.getScheme());
             lf.setHost(request.getServerName());
             lf.setPort(request.getServerPort());
             lf.setPath(request.getContextPath());


Reply via email to