protected InterfaceInfo createInterface(ServiceInfo serviceInfo) { QName intfName = getInterfaceName(); InterfaceInfo intf = new InterfaceInfo(serviceInfo, intfName); Method[] methods = getServiceClass().getMethods(); // The BP profile states we can't have operations of the same name // so we have to append numbers to the name. Different JVMs sort methods // differently. // We need to keep them ordered so if we have overloaded methods, the // wsdl is generated the same every time across JVMs and across // client/servers. Arrays.sort(methods, new MethodComparator()); for (Method m : methods) { if (isValidMethod(m)) { createOperation(serviceInfo, intf, m); } } sendEvent(Event.INTERFACE_CREATED, intf, getServiceClass()); return intf; }
protected InterfaceInfo createInterface(ServiceInfo serviceInfo) { QName intfName = getInterfaceName(); InterfaceInfo intf = new InterfaceInfo(serviceInfo, intfName); Method[] methods = getServiceClass().getMethods(); // The BP profile states we can't have operations of the same name // so we have to append numbers to the name. Different JVMs sort methods // differently. // We need to keep them ordered so if we have overloaded methods, the // wsdl is generated the same every time across JVMs and across // client/servers. Arrays.sort(methods, new MethodComparator()); for (Method m : methods) { if (isValidMethod(m)) { createOperation(serviceInfo, intf, m); } } sendEvent(Event.INTERFACE_CREATED, intf, getServiceClass()); return intf; }
protected InterfaceInfo getInterfaceInfo() { if (getEndpointInfo() != null) { return getEndpointInfo().getInterface(); } QName qn = this.getInterfaceName(); for (ServiceInfo si : getService().getServiceInfos()) { if (qn.equals(si.getInterface().getName())) { return si.getInterface(); } } throw new ServiceConstructionException(new Message("COULD_NOT_FIND_PORTTYPE", LOG, qn)); }
protected InterfaceInfo getInterfaceInfo() { if (getEndpointInfo() != null) { return getEndpointInfo().getInterface(); } QName qn = this.getInterfaceName(); for (ServiceInfo si : getService().getServiceInfos()) { if (qn.equals(si.getInterface().getName())) { return si.getInterface(); } } throw new ServiceConstructionException(new Message("COULD_NOT_FIND_PORTTYPE", LOG, qn)); }
if (sf.getServiceFactory().getInterfaceName() != null) { setPojoInterfaceName(sf.getServiceFactory().getInterfaceName()); if (getInterfaceName() == null) { setInterfaceName(sf.getServiceFactory().getInterfaceName());