You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/11/10 18:37:35 UTC

svn commit: r473397 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java

Author: dims
Date: Fri Nov 10 09:37:34 2006
New Revision: 473397

URL: http://svn.apache.org/viewvc?view=rev&rev=473397
Log:
Fix for AXIS2-1672 - Codegen stubs from a Policy annotated WSDL throws an Exception during method invocation

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java?view=diff&rev=473397&r1=473396&r2=473397
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/description/AxisDescription.java Fri Nov 10 09:37:34 2006
@@ -246,6 +246,10 @@
      * 
      */
     public void applyPolicy() throws AxisFault {
+        
+        if (this instanceof AxisMessage) {
+            return;
+        }
 
         AxisConfiguration configuration = getAxisConfiguration();
         if (configuration == null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org