Author: midon
Date: Mon Mar  9 21:50:16 2009
New Revision: 751859

URL: http://svn.apache.org/viewvc?rev=751859&view=rev
Log:
ODE-547: get endpoint from mex by default

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

Modified: 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/httpbinding/HttpMethodConverter.java
URL: 
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/httpbinding/HttpMethodConverter.java?rev=751859&r1=751858&r2=751859&view=diff
==============================================================================
--- 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/httpbinding/HttpMethodConverter.java
 (original)
+++ 
ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/httpbinding/HttpMethodConverter.java
 Mon Mar  9 21:50:16 2009
@@ -90,6 +90,10 @@
     }
 
 
+    public HttpMethod createHttpRequest(PartnerRoleMessageExchange odeMex, 
HttpParams params) throws UnsupportedEncodingException {
+        return createHttpRequest(odeMex, params, ((MutableEndpoint) 
odeMex.getEndpointReference()).getUrl());
+    }
+    
     public HttpMethod createHttpRequest(PartnerRoleMessageExchange odeMex, 
HttpParams params, String baseUrl) throws UnsupportedEncodingException {
         Operation operation = odeMex.getOperation();
         BindingOperation bindingOperation = 
binding.getBindingOperation(operation.getName(), 
operation.getInput().getName(), operation.getOutput().getName());


Reply via email to