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:12:36 UTC

svn commit: r763757 - /ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java

Author: midon
Date: Thu Apr  9 18:12:36 2009
New Revision: 763757

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

Modified:
    ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java

Modified: ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java?rev=763757&r1=763756&r2=763757&view=diff
==============================================================================
--- ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java (original)
+++ ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java Thu Apr  9 18:12:36 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;
@@ -110,9 +111,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