public List<S> getServices() { return this.wsdl.getServices(); }
protected void convertServices(final List<AbsItfService> services, final Class<SImpl> simpl, final DNew newDesc) throws WSDLException { if (services != null) { final List<SNew> servs = new ArrayList<SNew>(); final Iterator<AbsItfService> it = services.iterator(); AbsItfService oldService = null; SNew newService = null; while (it.hasNext()) { oldService = it.next(); newService = this.convertService(oldService, simpl); servs.add(newService); } newDesc.getServices().clear(); newDesc.getServices().addAll(servs); } }
protected void addIncludeElementsInAllList() { for (final Incl incl : this.includes) { if (incl.getDescription() != null) { this.services.addAll(incl.getDescription().getServices()); this.bindings.addAll(incl.getDescription().getBindings()); this.interfaces.addAll(incl.getDescription().getInterfaces()); if (this.types != null) { this.types.getSchemas().addAll(incl.getDescription().getTypes().getSchemas()); } else { this.types = (T) incl.getDescription().getTypes(); } } } }
protected void addImportElementsInAllList() { for (final Impt impt : this.imports) { if (impt.getDescription() != null) { this.services.addAll(impt.getDescription().getServices()); this.bindings.addAll(impt.getDescription().getBindings()); this.interfaces.addAll(impt.getDescription().getInterfaces()); if (this.types != null) { if (impt.getDescription().getTypes() != null) { this.types.getSchemas().addAll(impt.getDescription().getTypes().getSchemas()); } } else { this.types = (T) impt.getDescription().getTypes(); } } } }
this.convertServices(odlDesc.getServices(), simpl, newDesc); for (final Object service : newDesc.getServices()) { if (service instanceof AbsItfService) { this.convertInternalElmtsInService((AbsItfService) service, eimpl);