@Test(expected = WsdlParser.WsdlNotFoundException.class) public void readWsdlFromInvalidUrl() throws Exception { WsdlParser.parseWSDL("http: }
public static Collection<ServiceInfo> parseWSDL(String wsdlUrl) throws WsdlNotFoundException, WsdlParseException { try { return internalParseWSDL(wsdlUrl); } catch (PrivateWsdlNotFoundException e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlNotFoundException(e); } catch (Exception e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlParseException(clarifyWsdlParsingException(e)); } }
WsdlParser { public static Collection<ServiceInfo> parseWSDL(String wsdlUrl) throws WsdlNotFoundException, WsdlParseException { try { return internalParseWSDL(wsdlUrl); } catch (PrivateWsdlNotFoundException e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlNotFoundException(e); } catch (Exception e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlParseException(clarifyWsdlParsingException(e)); } } }
WsdlParser { public static Collection<ServiceInfo> parseWSDL(String wsdlUrl) throws WsdlNotFoundException, WsdlParseException { try { return internalParseWSDL(wsdlUrl); } catch (PrivateWsdlNotFoundException e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlNotFoundException(e); } catch (Exception e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlParseException(clarifyWsdlParsingException(e)); } } private  WsdlParser(); }
WsdlParser { public static Collection<ServiceInfo> parseWSDL(String wsdlUrl) throws WsdlNotFoundException, WsdlParseException { try { return internalParseWSDL(wsdlUrl); } catch (PrivateWsdlNotFoundException e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlNotFoundException(e); } catch (Exception e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlParseException(clarifyWsdlParsingException(e)); } } private  WsdlParser(); static Collection<ServiceInfo> parseWSDL(String wsdlUrl); }
WsdlParser { public static Collection<ServiceInfo> parseWSDL(String wsdlUrl) throws WsdlNotFoundException, WsdlParseException { try { return internalParseWSDL(wsdlUrl); } catch (PrivateWsdlNotFoundException e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlNotFoundException(e); } catch (Exception e) { log.error("Reading WSDL from {} failed", wsdlUrl, e); throw new WsdlParseException(clarifyWsdlParsingException(e)); } } private  WsdlParser(); static Collection<ServiceInfo> parseWSDL(String wsdlUrl);  }