cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r696016 - /cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
Date Tue, 16 Sep 2008 19:26:11 GMT
Author: dkulp
Date: Tue Sep 16 12:26:11 2008
New Revision: 696016

URL: http://svn.apache.org/viewvc?rev=696016&view=rev
Log:
Get the policy off the correct operation info

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java?rev=696016&r1=696015&r2=696016&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/EffectivePolicyImpl.java
Tue Sep 16 12:26:11 2008
@@ -98,6 +98,9 @@
                           BindingOperationInfo boi,  
                           PolicyEngineImpl engine, 
                           boolean requestor) {
+        if (boi.isUnwrapped()) {
+            boi = boi.getUnwrappedOperation();
+        }
         BindingMessageInfo bmi = requestor ? boi.getInput() : boi.getOutput();
         if (requestor) {
             policy = engine.getClientEndpointPolicy(ei, (Conduit)null).getPolicy();



Mime
View raw message