Generated SoapService class doesn't accept classpath WSDL ---------------------------------------------------------
Key: CXF-3517 URL: https://issues.apache.org/jira/browse/CXF-3517 Project: CXF Issue Type: Improvement Components: Tooling Affects Versions: 2.4 Reporter: Igor Nikolaev Priority: Minor Currently {{ServiceGenerator}} generates SoapService classes using {{service.vm}} template that loads WSLD in static initializer block the following way: {code} static { URL url = null; try { url = new URL("$wsdlLocation"); } catch (MalformedURLException e) { System.err.println("Can not initialize the default wsdl from $wsdlLocation"); // e.printStackTrace(); } WSDL_LOCATION = url; } {code} This doesn't allow to specify WSDL as classpath resource: classpath:path/to/wsdl/service.wsdl At the same time, WSDLToJava accepts above mentioned notation. I propose using existing {{URIResolver}} if appropriate and allow classpath WSDL -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira