axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r168111 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
Date Wed, 04 May 2005 10:30:26 GMT
Author: deepal
Date: Wed May  4 03:30:23 2005
New Revision: 168111

URL: http://svn.apache.org/viewcvs?rev=168111&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java?rev=168111&r1=168110&r2=168111&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/deployment/DeploymentParser.java
Wed May  4 03:30:23 2005
@@ -41,6 +41,7 @@
 import org.apache.axis.engine.MessageReceiver;
 import org.apache.axis.transport.TransportReceiver;
 import org.apache.axis.transport.TransportSender;
+import org.apache.axis.phaseresolver.PhaseMetadata;
 
 
 /**
@@ -963,7 +964,11 @@
                         String attname = pullparser.getAttributeLocalName(0);
                         String attvalue = pullparser.getAttributeValue(0);
                         if (ATTNAME.equals(attname)) {
-                            pahseList.add(attvalue);
+                            if(attvalue.equals(PhaseMetadata.PRE_DISPATCH)){
+                                throw new DeploymentException(attvalue + " is a reserved
phase");
+                            }else {
+                                pahseList.add(attvalue);
+                            }
                         }
                     } else {
                         throw new DeploymentException("parser Exception : un supported element"
+ tagnae);



Mime
View raw message