You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/07/04 03:43:24 UTC
svn commit: r553036 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Author: dims
Date: Tue Jul 3 18:43:23 2007
New Revision: 553036
URL: http://svn.apache.org/viewvc?view=rev&rev=553036
Log:
Java2WSDL fails if commons-httpclient jar is absent!!!!! - One more spot for AXIS2-2877
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java?view=diff&rev=553036&r1=553035&r2=553036
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java Tue Jul 3 18:43:23 2007
@@ -593,6 +593,21 @@
}
}
+ protected HashMap processMessageFormatters(OMElement messageFormattersElement)
+ throws DeploymentException {
+ try {
+ return super.processMessageFormatters(messageFormattersElement);
+ } catch (NoClassDefFoundError e) {
+ if (deploymentEngine != null) {
+ throw new DeploymentException(e);
+ } else {
+ // Called from createDefaultConfigurationContext in ConfigurationContextFactory
+ // Please don't throw an exception.
+ return new HashMap();
+ }
+ }
+ }
+
protected HashMap processMessageBuilders(OMElement messageBuildersElement)
throws DeploymentException {
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org