gdaniels 02/03/11 05:45:42 Modified: java/src/org/apache/axis/deployment/wsdd WSDDDocument.java WSDDDeployment.java Log: Fix undeployment bug - remove namespace->service mappings when undeploying a service. Remove unused undeploy() method of WSDDDocument. Revision Changes Path 1.19 +0 -3 xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDocument.java Index: WSDDDocument.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDocument.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- WSDDDocument.java 25 Feb 2002 17:38:15 -0000 1.18 +++ WSDDDocument.java 11 Mar 2002 13:45:42 -0000 1.19 @@ -177,7 +177,4 @@ undeployment.undeployFromRegistry(registry); } } - - public void undeploy(DeploymentRegistry registry) throws DeploymentException { - } } 1.29 +9 -1 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.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- WSDDDeployment.java 1 Mar 2002 17:17:05 -0000 1.28 +++ WSDDDeployment.java 11 Mar 2002 13:45:42 -0000 1.29 @@ -166,7 +166,15 @@ */ public void undeployService(QName qname) { - services.remove(qname); + WSDDService service = (WSDDService)services.get(qname); + if (service != null) { + Vector namespaces = service.getNamespaces(); + for (Iterator i = namespaces.iterator(); i.hasNext();) { + String namespace = (String) i.next(); + namespaceToServices.remove(namespace); + } + services.remove(qname); + } } /**