You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2009/04/09 20:04:06 UTC

svn commit: r763753 - /ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java

Author: midon
Date: Thu Apr  9 18:04:06 2009
New Revision: 763753

URL: http://svn.apache.org/viewvc?rev=763753&view=rev
Log:
ODE-415: save a translation

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

Modified: ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java?rev=763753&r1=763752&r2=763753&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java (original)
+++ ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java Thu Apr  9 18:04:06 2009
@@ -28,6 +28,7 @@
 import java.util.Collection;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Map;
 
 import javax.wsdl.Definition;
 import javax.wsdl.Operation;
@@ -111,9 +112,9 @@
 
 
             final WSDL11Endpoint endpoint = new WSDL11Endpoint(wsdlServiceName, portName);
-            Options options = Properties.Axis2.translate(pconf.getEndpointProperties(endpoint));
-            if(options.getProperty(Properties.PROP_SECURITY_POLICY)!=null){
-                AxisUtils.applySecurityPolicy(axisService, (String) options.getProperty(Properties.PROP_SECURITY_POLICY));
+            final Map<String, String> properties = pconf.getEndpointProperties(endpoint);
+            if(properties.get(Properties.PROP_SECURITY_POLICY)!=null){
+                AxisUtils.applySecurityPolicy(axisService, properties.get(Properties.PROP_SECURITY_POLICY));
             }
 
             // In doc/lit we need to declare a mapping between operations and message element names