Author: karthick
Date: Wed Feb  4 23:10:51 2009
New Revision: 740936

URL: http://svn.apache.org/viewvc?rev=740936&view=rev
Log:
Don't change the reply-to header in the case of HTTP URLs.

Modified:
    
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java

Modified: 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java?rev=740936&r1=740935&r2=740936&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java
 Wed Feb  4 23:10:51 2009
@@ -365,6 +365,7 @@
                                }
                                        jmsDestination = 
url.substring(startIndex, jmsEndIndex);
                                options.setProperty(JMSConstants.REPLY_PARAM, 
jmsDestination);
+                                   replyEPR = new EndpointReference(url);
                            } else {
                                    startIndex = url.indexOf("http://";);
                                    if (startIndex != -1) {
@@ -376,7 +377,6 @@
                                        }
                                    }
                            }
-                           replyEPR = new EndpointReference(url);
                    } else {
                        replyEPR = new EndpointReference("jms:/" + 
jmsDestination);
                    }


Reply via email to