axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r384116 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
Date Wed, 08 Mar 2006 04:28:13 GMT
Author: hemapani
Date: Tue Mar  7 20:28:11 2006
New Revision: 384116

URL: http://svn.apache.org/viewcvs?rev=384116&view=rev
Log:
fix the AxisServiceBuilder to use dsame Policy Registry on all PolicyIncludes (Otherwise they
failed in the policy lookup)

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java?rev=384116&r1=384115&r2=384116&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/AxisServiceBuilder.java
Tue Mar  7 20:28:11 2006
@@ -254,7 +254,8 @@
 
                 PolicyInclude operationPolicyInclude = axisOperation
                         .getPolicyInclude();
-
+                operationPolicyInclude.setPolicyRegistry(policyInclude.getPolicyRegistry());
+                
                 List operationPolicies;
 
                 // wsdl:PortType -> wsdl:Operation
@@ -292,7 +293,8 @@
 
                 PolicyInclude inputPolicyInclue = axisInputMessage
                         .getPolicyInclude();
-
+                inputPolicyInclue.setPolicyRegistry(operationPolicyInclude.getPolicyRegistry());
+                
                 List inputMessagePolicies;
 
                 // wsdl:PortType -> wsdl:Operation -> wsdl:Input
@@ -348,7 +350,7 @@
 
                     PolicyInclude outputPolicyInclude = axisOutputMessage
                             .getPolicyInclude();
-
+                    outputPolicyInclude.setPolicyRegistry(operationPolicyInclude.getPolicyRegistry());
                     List outputPolicies;
 
                     // wsdl:Output



Mime
View raw message