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 2008/03/31 05:50:37 UTC
svn commit: r642869 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java
Author: dims
Date: Sun Mar 30 20:50:36 2008
New Revision: 642869
URL: http://svn.apache.org/viewvc?rev=642869&view=rev
Log:
try other classes in the jar, don't just bail out.
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java?rev=642869&r1=642868&r2=642869&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/framework/JAXWSDeployer.java Sun Mar 30 20:50:36 2008
@@ -181,7 +181,12 @@
ArrayList axisServiceList = new ArrayList();
for (int i = 0, size = classList.size(); i < size; i++) {
String className = (String) classList.get(i);
- Class pojoClass = Loader.loadClass(classLoader, className);
+ Class pojoClass;
+ try {
+ pojoClass = Loader.loadClass(classLoader, className);
+ } catch (Exception e){
+ continue;
+ }
WebService wsAnnotation = (WebService) pojoClass.getAnnotation(WebService.class);
WebServiceProvider wspAnnotation = null;
if (wsAnnotation == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org