protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) { QName serviceQName = getQNameOf(wsdlService); String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService); if (isConflictingServiceClassName(serviceInterface)) { serviceInterface += "_Service"; } Service service = new Service( serviceQName, new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService); setDocumentationIfPresent(service, wsdlService.getDocumentation()); boolean hasPorts = false; for (Iterator iter = wsdlService.ports(); iter.hasNext();) { boolean processed = processPort( (com.sun.tools.ws.wsdl.document.Port) iter.next(), service, document); hasPorts = hasPorts || processed; } if (!hasPorts) { // emit a warning if there are no ports warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName())); } else { model.addService(service); } }
protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) { QName serviceQName = getQNameOf(wsdlService); String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService); if (isConflictingServiceClassName(serviceInterface)) { serviceInterface += "_Service"; } Service service = new Service( serviceQName, new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService); setDocumentationIfPresent(service, wsdlService.getDocumentation()); boolean hasPorts = false; for (Iterator iter = wsdlService.ports(); iter.hasNext();) { boolean processed = processPort( (com.sun.tools.ws.wsdl.document.Port) iter.next(), service, document); hasPorts = hasPorts || processed; } if (!hasPorts) { // emit a warning if there are no ports warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName())); } else { model.addService(service); } }
protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) { QName serviceQName = getQNameOf(wsdlService); String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService); if (isConflictingServiceClassName(serviceInterface)) { serviceInterface += "_Service"; } Service service = new Service( serviceQName, new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService); setDocumentationIfPresent(service, wsdlService.getDocumentation()); boolean hasPorts = false; for (Iterator iter = wsdlService.ports(); iter.hasNext();) { boolean processed = processPort( (com.sun.tools.ws.wsdl.document.Port) iter.next(), service, document); hasPorts = hasPorts || processed; } if (!hasPorts) { // emit a warning if there are no ports warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName())); } else { model.addService(service); } }
protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) { QName serviceQName = getQNameOf(wsdlService); String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService); if (isConflictingServiceClassName(serviceInterface)) { serviceInterface += "_Service"; } Service service = new Service( serviceQName, new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService); setDocumentationIfPresent(service, wsdlService.getDocumentation()); boolean hasPorts = false; for (Iterator iter = wsdlService.ports(); iter.hasNext();) { boolean processed = processPort( (com.sun.tools.ws.wsdl.document.Port) iter.next(), service, document); hasPorts = hasPorts || processed; } if (!hasPorts) { // emit a warning if there are no ports warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName())); } else { model.addService(service); } }