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 ng...@apache.org on 2007/02/14 00:59:29 UTC
svn commit: r507313 - in
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server:
JAXWSMessageReceiver.java dispatcher/ProviderDispatcher.java
Author: ngallardo
Date: Tue Feb 13 15:59:28 2007
New Revision: 507313
URL: http://svn.apache.org/viewvc?view=rev&rev=507313
Log:
Fixed double check of 2004 constant.
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/JAXWSMessageReceiver.java
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/ProviderDispatcher.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/JAXWSMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/JAXWSMessageReceiver.java?view=diff&rev=507313&r1=507312&r2=507313
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/JAXWSMessageReceiver.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/JAXWSMessageReceiver.java Tue Feb 13 15:59:28 2007
@@ -36,6 +36,7 @@
import org.apache.axis2.jaxws.util.Constants;
import org.apache.axis2.util.ThreadContextMigratorUtil;
import org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants;
+import org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -159,8 +160,8 @@
private boolean isMepInOnly(String mep){
boolean inOnly = mep.equals(WSDL20_2004_Constants.MEP_URI_ROBUST_IN_ONLY) ||
mep.equals(WSDL20_2004_Constants.MEP_URI_IN_ONLY) ||
- mep.equals(WSDL20_2004_Constants.MEP_URI_ROBUST_IN_ONLY) ||
- mep.equals(WSDL20_2004_Constants.MEP_URI_IN_ONLY);
+ mep.equals(WSDL20_2006Constants.MEP_URI_ROBUST_IN_ONLY) ||
+ mep.equals(WSDL20_2006Constants.MEP_URI_IN_ONLY);
return inOnly;
}
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/ProviderDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/ProviderDispatcher.java?view=diff&rev=507313&r1=507312&r2=507313
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/ProviderDispatcher.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/ProviderDispatcher.java Tue Feb 13 15:59:28 2007
@@ -50,6 +50,7 @@
import org.apache.axis2.jaxws.registry.FactoryRegistry;
import org.apache.axis2.jaxws.utility.ClassUtils;
import org.apache.axis2.wsdl.WSDLConstants.WSDL20_2004_Constants;
+import org.apache.axis2.wsdl.WSDLConstants.WSDL20_2006Constants;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -432,8 +433,8 @@
if (mep.equals(WSDL20_2004_Constants.MEP_URI_ROBUST_IN_ONLY) ||
mep.equals(WSDL20_2004_Constants.MEP_URI_IN_ONLY) ||
- mep.equals(WSDL20_2004_Constants.MEP_URI_ROBUST_IN_ONLY) ||
- mep.equals(WSDL20_2004_Constants.MEP_URI_IN_ONLY)) {
+ mep.equals(WSDL20_2006Constants.MEP_URI_ROBUST_IN_ONLY) ||
+ mep.equals(WSDL20_2006Constants.MEP_URI_IN_ONLY)) {
return true;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org