@Override public QName getOperationName(InterfaceInfo service, Method method) { boolean fromWsdl = this.getServiceFactory().isFromWsdl(); String ns = service.getName().getNamespaceURI(); String local = method.getName(); QName name = new QName(ns, local); if (fromWsdl && service.getOperation(name) != null) { //just matching the ops in the class to the ops on the wsdl //probably should check the params and such return name; } if (service.getOperation(name) == null) { return name; } int i = 1; while (true) { name = new QName(ns, local + i); if (service.getOperation(name) == null) { return name; } else { i++; } } }
@Override public QName getOperationName(InterfaceInfo service, Method method) { boolean fromWsdl = this.getServiceFactory().isFromWsdl(); String ns = service.getName().getNamespaceURI(); String local = method.getName(); QName name = new QName(ns, local); if (fromWsdl && service.getOperation(name) != null) { //just matching the ops in the class to the ops on the wsdl //probably should check the params and such return name; } if (service.getOperation(name) == null) { return name; } int i = 1; while (true) { name = new QName(ns, local + i); if (service.getOperation(name) == null) { return name; } else { i++; } } }
protected void initializeServiceModel() { if (isFromWsdl()) { buildServiceFromWSDL(getWsdlURL()); } else if (getServiceClass() != null) { buildServiceFromClass(); } else { throw new ServiceConstructionException(new Message("NO_WSDL_NO_SERVICE_CLASS_PROVIDED", LOG, getWsdlURL())); } if (isValidate()) { validateServiceModel(); } }
protected void initializeServiceModel() { if (isFromWsdl()) { buildServiceFromWSDL(getWsdlURL()); } else if (getServiceClass() != null) { buildServiceFromClass(); } else { throw new ServiceConstructionException(new Message("NO_WSDL_NO_SERVICE_CLASS_PROVIDED", LOG, getWsdlURL())); } if (isValidate()) { validateServiceModel(); } }
QName name = getInPartName(o, method, i); part = o.getInput().getMessagePart(name); if (part == null && isFromWsdl()) { part = o.getInput().getMessagePartByIndex(i); QName name = getOutPartName(o, method, i); part = o.getOutput().getMessagePart(name); if (part == null && isFromWsdl()) { part = o.getOutput().getMessagePartByIndex(i + 1); if (part == null && this.isFromWsdl()) { part = o.getInput().getMessagePartByIndex(i);
QName name = getInPartName(o, method, i); part = o.getInput().getMessagePart(name); if (part == null && isFromWsdl()) { part = o.getInput().getMessagePartByIndex(i); QName name = getOutPartName(o, method, i); part = o.getOutput().getMessagePart(name); if (part == null && isFromWsdl()) { part = o.getOutput().getMessagePartByIndex(i + 1); if (part == null && this.isFromWsdl()) { part = o.getInput().getMessagePartByIndex(i);