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 di...@apache.org on 2002/09/25 02:55:09 UTC
cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd WSDDDeployment.java
dims 2002/09/24 17:55:08
Modified: java/src/org/apache/axis/deployment/wsdd WSDDDeployment.java
Log:
Additional check for http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12737
Revision Changes Path
1.49 +11 -3 xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java
Index: WSDDDeployment.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- WSDDDeployment.java 24 Sep 2002 18:16:37 -0000 1.48
+++ WSDDDeployment.java 25 Sep 2002 00:55:08 -0000 1.49
@@ -558,12 +558,20 @@
/**
* Get an enumeration of the services deployed to this engine
*/
- public Iterator getDeployedServices() throws ConfigurationException {
+ public Iterator getDeployedServices() throws ConfigurationException {
ArrayList serviceDescs = new ArrayList();
for (Iterator i = services.values().iterator(); i.hasNext();) {
WSDDService service = (WSDDService) i.next();
- service.makeNewInstance(this);
- serviceDescs.add(service.getServiceDesc());
+ try {
+ service.makeNewInstance(this);
+ serviceDescs.add(service.getServiceDesc());
+ } catch (WSDDNonFatalException ex) {
+ // If it's non-fatal, just keep on going
+ ex.printStackTrace();
+ } catch (WSDDException ex) {
+ // otherwise throw it upwards
+ throw ex;
+ }
}
return serviceDescs.iterator();
}