@Override public InterfaceDescriptionFile getWsdlFile() { return this.wsdlInfo.getWsdlFile(); }
protected File copyResources() { File resourcesDir = getResourcesDir(); resourcesDir.mkdirs(); try { if (this.jaxwsModule != null) { for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) { if (wsdlInfo.getWsdlFile() != null) { wsdlInfo.getWsdlFile().writeTo(resourcesDir); } } } for (SchemaInfo schemaInfo : this.jaxbModule.getJaxbContext().getSchemas().values()) { if (schemaInfo.getSchemaFile() != null) { schemaInfo.getSchemaFile().writeTo(resourcesDir); } } } catch (IOException e) { throw new EnunciateException(e); } return resourcesDir; }
protected File copyResources() { File resourcesDir = getResourcesDir(); resourcesDir.mkdirs(); try { if (this.jaxwsModule != null) { for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) { if (wsdlInfo.getWsdlFile() != null) { wsdlInfo.getWsdlFile().writeTo(resourcesDir); } } } for (SchemaInfo schemaInfo : this.jaxbModule.getJaxbContext().getSchemas().values()) { if (schemaInfo.getSchemaFile() != null) { schemaInfo.getSchemaFile().writeTo(resourcesDir); } } } catch (IOException e) { throw new EnunciateException(e); } return resourcesDir; }
model.put("baseUri", this.enunciate.getConfiguration().getApplicationRoot()); for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) { if (wsdlInfo.getWsdlFile() == null) { throw new EnunciateException("WSDL " + wsdlInfo.getId() + " doesn't have a filename.");
model.put("baseUri", this.enunciate.getConfiguration().getApplicationRoot()); for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) { if (wsdlInfo.getWsdlFile() == null) { throw new EnunciateException("WSDL " + wsdlInfo.getId() + " doesn't have a filename.");