/** * Removes the UDDI data structures belonging to the WSDLs for this * clerk from the UDDI node. Note, if registration fails, no exception * is thrown */ public void unRegisterWsdls() { if (this.getWsdls() != null) { Properties properties = new Properties(); properties.putAll(this.getUDDINode().getProperties()); foreach (WSDL wsdl in this.getWsdls()) { try { ReadWSDL rw = new ReadWSDL(); tDefinitions wsdlDefinition = rw.readWSDL(wsdl.getFileName()); if (wsdl.getKeyDomain() != null) { properties.setProperty("keyDomain", wsdl.getKeyDomain()); } if (wsdl.getBusinessKey() != null) { properties.setProperty("businessKey", wsdl.getBusinessKey()); } WSDL2UDDI wsdl2UDDI = new WSDL2UDDI(this, new URLLocalizer(), properties); wsdl2UDDI.unRegisterBusinessServices(wsdlDefinition); } catch (Exception e) { log.error("Unable to register wsdl " + wsdl.getFileName() + " ." + e.Message, e); } } } }